Prune&Comp: Free Lunch for Layer-Pruned LLMs via Iterative Pruning with Magnitude Compensation
Xinrui Chen, Hongxing Zhang, Fanyi Zeng, Yongxian Wei, Yizhi Wang, Xitong Ling, Guanghao Li, Chun Yuan
摘要
Layer pruning is a viable technique for compressing large language models while achieving acceleration proportional to the pruning ratio. In this work, we identify that removing any layer induces a magnitude gap in hidden states, and demonstrate that a simple compensation operation leads to superior performance in iterative layer pruning. This key observation motivates us to propose Prune&Comp, a novel, plug-and-play iterative layer pruning scheme that leverages magnitude compensation to mitigate such gaps in a training-free manner. Specifically, we first estimate the magnitude gap of layer removal and then eliminate it by rescaling the remaining weights offline. We further demonstrate the advantages of Prune&Comp in improving the stability of iterative pruning. When integrated with an iterative prune-and-compensate loop, Prune&Comp consistently enhances existing layer pruning metrics. For instance, when 5 layers of LLaMA-3-8B are pruned with the prevalent Taylor+ metric, Prune&Comp reduces PPL from 512.78 to 16.34 and retains 90.57% of the original performance across 9 question-answering tasks, outperforming the baseline by 24.72%.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- A Simple and Effective Pruning Approach for Large Language Models 引用了 Measuring Massive Multitask Language Understanding
- A Simple and Effective Pruning Approach for Large Language Models 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- PIQA: Reasoning about Physical Commonsense in Natural Language 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- Measuring Massive Multitask Language Understanding 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- A Simple Linear Patch Revives Layer-Pruned Large Language Models 引用了 A Simple and Effective Pruning Approach for Large Language Models
- A Simple Linear Patch Revives Layer-Pruned Large Language Models 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- A Simple Linear Patch Revives Layer-Pruned Large Language Models 引用了 Measuring Massive Multitask Language Understanding
- A Simple Linear Patch Revives Layer-Pruned Large Language Models 引用了 LLM-Pruner: On the Structural Pruning of Large Language Models
- LLM-Pruner: On the Structural Pruning of Large Language Models 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- LLM-Pruner: On the Structural Pruning of Large Language Models 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- Bring Future Vision: Dynamic Computation Allocation Guided by Lightweight Feature Forecaster 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
引用它的顶会 Paper3
- A Simple Linear Patch Revives Layer-Pruned Large Language ModelsXinrui Chen, Haoli Bai, Tao Yuan, Ruikang Liu 等NeurIPS 2025 · 7 次引用
- What Do Visual Tokens Really Encode? Uncovering Sparsity and Redundancy in Multimodal Large Language ModelsYingqi Fan, Junlong Tong, Anhao Zhao, Xiaoyu ShenCVPR 2026 · 6 次引用
- Bring Future Vision: Dynamic Computation Allocation Guided by Lightweight Feature ForecasterChao Han, Yijuan Liang, Zihao Xuan, Daokuan Wu 等ICML 2026
它引用的 Paper17
- Measuring Massive Multitask Language UnderstandingDan Hendrycks, Collin Burns, Steven Basart, Andy Zou 等ICLR 2021 · 7,905 次引用
- WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
- PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用
- LLM-Pruner: On the Structural Pruning of Large Language ModelsXinyin Ma, Gongfan Fang, Xinchao WangNeurIPS 2023 · 994 次引用
- A Simple and Effective Pruning Approach for Large Language ModelsMingjie Sun, Zhuang Liu, Anna Bair, J. Zico KolterICLR 2024 · 794 次引用
相关 Paper
- Targeted Low-rank Refinement: Enhancing Sparse Language Models with PrecisionLi Shen, Anke Tang, Yong Luo, Tao Sun 等ICML 2025
- Pruning Pre-trained Language Models with Principled Importance and Self-regularizationSiyu Ren, Kenny Q. ZhuACL Findings 2023
- Efficient Plug-and-Play Weight Refinement for Sparse Large ModelsJingcheng Xie, Yinda Chen, Xiaoyu Liu, Yinglong Li 等AAAI 2026
- Streamlining Redundant Layers to Compress Large Language ModelsXiaodong Chen, Yuxuan Hu, Jing Zhang, Yanling Wang 等ICLR 2025 · 3 次引用
- Fluctuation-Based Adaptive Structured Pruning for Large Language ModelsYongqi An, Xu Zhao, Tao Yu, Ming Tang 等AAAI 2024 · 130 次引用
