跳到正文
arXiv (AI + Vision + Imaging)· Florentin Beck, William Rudman, Carsten Eickhoff·· 1 天前AI 评分40

TRIM:面向极端稀疏度的逐行迭代度量剪枝方法

TRIM: Achieving Extreme Sparsity with Targeted Row-wise Iterative Metric-driven Pruning

AI 导读

TRIM 是一种基于前向统计的逐行稀疏度分配方法,在冻结模型权重的前提下为每个输出行分配不同稀疏比例,并将"剪哪些权重"与"每行剪多少"解耦。

正文 · 原文

arXiv:2505.16743v3 Announce Type: replace Abstract: Large language models (LLMs) present substantial computational and memory challenges. Existing one-shot pruning methods often use a uniform sparsity target for all rows within a layer, which can be too coarse at high sparsity. This work introduces TRIM (Targeted Row-wise Iterative Metric-driven pruning), a forward-statistics-based wrapper that allocates different sparsity ratios to individual output rows while keeping model weights frozen. TRIM separates the choice of which weights to prune (scoring) from how many to prune in each row (allocation), and composes with existing scorers and layer-wise allocations. Across Qwen2.5, LLaMA-2, and OPT models, its largest gains occur at 70-80% sparsity. At 80%, adding TRIM to OWL reduces WikiText-2 perplexity from 348.48 to 180.67 for Qwen2.5-14B and from 6461.43 to 324.14 for OPT-13B. We conclude that fine-grained, row-wise allocation is an effective mechanism for substantially improving one-shot pruning quality in the extreme-sparsity regime. Code: https://github.com/flobk/TRIM.

来源:arXiv (AI + Vision + Imaging) · arxiv.org