The LLM Surgeon
Tycho F. A. van der Ouderaa, Markus Nagel, Mart van Baalen, Tijmen Blankevoort
Abstract
State-of-the-art language models are becoming increasingly large in an effort to achieve the highest performance on large corpora of available textual data. However, the sheer size of the Transformer architectures makes it difficult to deploy models within computational, environmental or device-specific constraints. We explore data-driven compression of existing pretrained models as an alternative to training smaller models from scratch. To do so, we scale Kronecker-factored curvature approximations of the target loss landscape to large language models. In doing so, we can compute both the dynamic allocation of structures that can be removed as well as updates of remaining weights that account for the removal. We provide a general framework for unstructured, semi-structured and structured pruning and improve upon weight updates to capture more correlations between weights, while remaining computationally efficient. Experimentally, our method can prune rows and columns from a range of OPT models and Llamav2-7B by 20%-30%, with a negligible loss in performance, and achieve state-of-the-art results in unstructured and semi-structured pruning of large language models.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
25 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A Simple and Effective Pruning Approach for Large Language Models cites Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
- A Simple and Effective Pruning Approach for Large Language Models cites SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
- Pruner-Zero: Evolving Symbolic Pruning Metric From Scratch for Large Language Models cites A Simple and Effective Pruning Approach for Large Language Models
- SliceGPT: Compress Large Language Models by Deleting Rows and Columns cites A Simple and Effective Pruning Approach for Large Language Models
- SliceGPT: Compress Large Language Models by Deleting Rows and Columns cites Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
- SliceGPT: Compress Large Language Models by Deleting Rows and Columns cites SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models cites A Simple and Effective Pruning Approach for Large Language Models
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models cites Pruner-Zero: Evolving Symbolic Pruning Metric From Scratch for Large Language Models
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language Models cites SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
- ReplaceMe: Network Simplification via Depth Pruning and Transformer Block Linearization cites A Simple and Effective Pruning Approach for Large Language Models
- ReplaceMe: Network Simplification via Depth Pruning and Transformer Block Linearization cites SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
- DISP-LLM: Dimension-Independent Structural Pruning for Large Language Models cites A Simple and Effective Pruning Approach for Large Language Models
- DISP-LLM: Dimension-Independent Structural Pruning for Large Language Models cites SliceGPT: Compress Large Language Models by Deleting Rows and Columns
- DISP-LLM: Dimension-Independent Structural Pruning for Large Language Models cites Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
- DISP-LLM: Dimension-Independent Structural Pruning for Large Language Models cites SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning cites Accurate Post Training Quantization With Small Calibration Sets
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning cites Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
- SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot cites Accurate Post Training Quantization With Small Calibration Sets
- SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot cites Learning N: M Fine-grained Structured Sparse Neural Networks From Scratch
- SparseGPT: Massive Language Models Can be Accurately Pruned in One-Shot cites Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruning
Cited by top-tier papers25
- SliceGPT: Compress Large Language Models by Deleting Rows and ColumnsSaleh Ashkboos, Maximilian L. Croci, Marcelo Gennari Do Nascimento, Torsten Hoefler et al.ICLR 2024 · 346 citations
- Pruner-Zero: Evolving Symbolic Pruning Metric From Scratch for Large Language ModelsPeijie Dong, Lujun Li, Zhenheng Tang, Xiang Liu et al.ICML 2024 · 64 citations
- Discovering Sparsity Allocation for Layer-wise Pruning of Large Language ModelsLujun Li, Peijie Dong, Zhenheng Tang, Xiang Liu et al.NeurIPS 2024 · 51 citations
- DISP-LLM: Dimension-Independent Structural Pruning for Large Language ModelsShangqian Gao, Chi-Heng Lin, Ting Hua, Zheng Tang et al.NeurIPS 2024 · 42 citations
- ReplaceMe: Network Simplification via Depth Pruning and Transformer Block LinearizationDmitriy Shopkhoev, Ammar Ali, Magauiya Zhussip, Valentin Malykh et al.NeurIPS 2025 · 10 citations
Builds on9
- SparseGPT: Massive Language Models Can be Accurately Pruned in One-ShotElias Frantar, Dan AlistarhICML 2023 · 1,240 citations
- A Simple and Effective Pruning Approach for Large Language ModelsMingjie Sun, Zhuang Liu, Anna Bair, J. Zico KolterICLR 2024 · 794 citations
- Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and PruningElias Frantar, Dan AlistarhNeurIPS 2022 · 440 citations
- Learning N: M Fine-grained Structured Sparse Neural Networks From ScratchAojun Zhou, Yukun Ma, Junnan Zhu, Jianbo Liu et al.ICLR 2021 · 301 citations
- Accurate Post Training Quantization With Small Calibration SetsItay Hubara, Yury Nahshan, Yair Hanani, Ron Banner et al.ICML 2021 · 238 citations
Related papers
- Dual-Assessment Driven Pruning: Iterative Optimizing Layer-wise Sparsity for Large Language ModelQinghui Sun, Weilun Wang, Yanni Zhu, Shenghuan He et al.KDD 2024 · 3 citations
- Pruning Large Language Models with Semi-Structural Adaptive Sparse TrainingWeiyu Huang, Yuezhou Hu, Guohao Jian, Jun Zhu et al.AAAI 2025 · 25 citations
- Lua-LLM: Learning Unstructured-Sparsity Allocation for Large Language ModelsMingge Lu, Jingwei Sun, Junqing Lin, Zechun Zhou et al.NeurIPS 2025 · 1 citation
- FISTAPruner: Layer-wise Post-training Pruning for Large Language ModelsPengxiang Zhao, Hanyu Hu, Ping Li, Yi Zheng et al.EMNLP 2025
- OSSCAR: One-Shot Structured Pruning in Vision and Language Models with Combinatorial OptimizationXiang Meng, Shibal Ibrahim, Kayhan Behdin, Hussein Hazimeh et al.ICML 2024 · 17 citations
