mlsanityData to 14 Oct 2026

ReplaceMe: Network Simplification via Depth Pruning and Transformer Block Linearization

arXiv 2505.02819 ↗First posted 5 May 2025cs.CL cs.AI cs.LGcited by 13

Not on the map. Why?

Abstract (arXiv)

We introduce ReplaceMe, a generalized training-free depth pruning method that effectively replaces transformer blocks with a linear operation, while maintaining high performance for low compression ratios. In contrast to conventional pruning approaches that require additional training or fine-tuning, our approach requires only a small calibration dataset that is used to estimate a linear transformation, which approximates the pruned blocks. The estimated linear mapping can be seamlessly merged with the remaining transformer blocks, eliminating the need for any additional network parameters. Our experiments show that ReplaceMe consistently outperforms other training-free approaches and remains highly competitive with state-of-the-art pruning methods that involve extensive retraining/fine-tuning and architectural modifications. Applied to several large language models (LLMs), ReplaceMe achieves up to 25% pruning while retaining approximately 90% of the original model's performance on open benchmarks - without any training or healing steps, resulting in minimal computational overhead. We provide an open-source library implementing ReplaceMe alongside several state-of-the-art depth pruning techniques, available at https://github.com/mts-ai/ReplaceMe

Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 35 of its 52 references that are in the map. First posted on arXiv 5 May 2025.

Builds on

35 of 52 references.

References · 35

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  5. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,371
  6. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  8. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  9. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  10. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  11. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  12. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
23 more
  1. 2019Similarity of Neural Network Representations Revisitedcited by 1,755
  2. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,496
  3. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
  4. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
  5. 2017RACE: Large-scale ReAding Comprehension Dataset From Examinationscited by 861
  6. 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 800
  7. 2017Crowdsourcing Multiple Choice Science Questionscited by 765
  8. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 650
  9. 2023CMMLU: Measuring massive multitask language understanding in Chinesecited by 449
  10. 2019A Large-scale Study of Representation Learning with the Visual Task Adaptation Benchmarkcited by 425
  11. 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 383
  12. 2018Insights on representational similarity in neural networks with canonical correlationcited by 324
  13. 2020CLUE: A Chinese Language Understanding Evaluation Benchmarkcited by 278
  14. 2024SVD-LLM: Truncation-aware Singular Value Decomposition for Large Language Model Compressioncited by 243
  15. 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 226
  16. 2024Compact Language Models via Pruning and Knowledge Distillationcited by 148
  17. 2023Fluctuation-based Adaptive Structured Pruning for Large Language Modelscited by 111
  18. 2024Shortened LLaMA: Depth Pruning for Large Language Models with Comparison of Retraining Methodscited by 82
  19. 2019Investigating Prior Knowledge for Challenging Chinese Machine Reading Comprehensioncited by 81
  20. 2019ChID: A Large-scale Chinese IDiom Dataset for Cloze Testcited by 65
  21. 2023The LLM Surgeoncited by 38
  22. 2024Your Transformer is Secretly Linearcited by 23
  23. 2022Exploring Extreme Parameter Compression for Pre-trained Language Modelscited by 15

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 12.

13 papers.

Sort:

By area: