A Simple Linear Patch Revives Layer-Pruned Large Language Models
Not on the map. Why?
Abstract (arXiv)
Layer pruning has emerged as a widely used technique for compressing large language models (LLMs). However, existing layer pruning approaches often incur substantial performance degradation. We identify the majority of this degradation to a single yet previously overlooked issue: textitthe mismatch of activation magnitudes at the pruning interface. The pre-interface activations exhibit significantly different scales from the post-interface ones, causing the distributional shift as it propagates through the remaining layers. To address this issue, we introduce textscLinearPatch, a lightweight and plug-and-play technique that fuses two operations into one matrix multiply at the pruning interface: (i) a Hadamard transformation that suppresses massive outliers at particular tokens and (ii) a channel-wise scaling that aligns activation statistics. On LLaMA-3-8B, textscLinearPatch preserves up to 94.15% of the original model's performance when pruning 5 out of 32 layers, outperforming the previous state of the art by 4%. The patch can be further refined with 5K unlabeled samples via memory-efficient offline distillation, pushing the retention to 95.16% within only 30 minutes on a single GPU. Code is available at https://github.com/chenxinrui-tsinghua/LinearPatch.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 40 of its 57 references that are in the map. First posted on arXiv 30 May 2025.
Builds on
40 of 57 references.
References · 40
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2023Mistral 7Bcited by 3,164
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
28 more
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2024Qwen2 Technical Reportcited by 2,120
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2019SuperGlue: Learning Feature Matching with Graph Neural Networkscited by 1,443
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2025Kimi k1.5: Scaling Reinforcement Learning with LLMscited by 1,210
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
- 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 800
- 2023Baichuan 2: Open Large-scale Language Modelscited by 670
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 650
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 634
- 2024SpinQuant: LLM quantization with learned rotationscited by 471
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 415
- 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
- 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 385
- 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 383
- 2024Massive Activations in Large Language Modelscited by 294
- 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 226
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 178
- 2024FlatQuant: Flatness Matters for LLM Quantizationcited by 131
- 2024SLEB: Streamlining LLMs through Redundancy Verification and Elimination of Transformer Blockscited by 97
- 2024Shortened LLaMA: Depth Pruning for Large Language Models with Comparison of Retraining Methodscited by 82
- 2025Quantization Hurts Reasoning? An Empirical Study on Quantized Reasoning Modelscited by 73
- 2024IntactKV: Improving Large Language Model Quantization by Keeping Pivot Tokens Intactcited by 52
- 2025Modeling Multi-Task Model Merging as Adaptive Projective Gradient Descentcited by 39
- 2024LLaMA-NAS: Efficient Neural Architecture Search for Large Language Modelscited by 9
- 2023rm SP3: Enhancing Structured Pruning via PCA Projectioncited by 5
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2026Ghosted Layers: Unconstrained Activation Alignment for Recovering Layer-Pruned LLMscited by 2
- 2025E3-Pruner: Towards Efficient, Economical, and Effective Layer Pruning for Large Language Modelscited by 0
- 2026Compressing LLMs with MoP: Mixture of Prunerscited by 0
- 2026Does the VGGT Family Need All Its Layers?cited by 0
- 2026Does the VGGT Family Need All Its Layers?29 Sep 2026
- 2026Ghosted Layers: Unconstrained Activation Alignment for Recovering Layer-Pruned LLMs15 May 2026
- 2026Compressing LLMs with MoP: Mixture of Pruners5 Feb 2026
- 2025E3-Pruner: Towards Efficient, Economical, and Effective Layer Pruning for Large Language Models21 Nov 2025