mlsanityData to 7 Oct 2026

Merging Feed-Forward Sublayers for Compressed Transformers

arXiv 2501.06126 ↗First posted 10 Jan 2025cs.CL cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

With the rise and ubiquity of larger deep learning models, the need for high-quality compression techniques is growing in order to deploy these models widely. The sheer parameter count of these models makes it difficult to fit them into the memory constraints of different hardware. In this work, we present a novel approach to model compression by merging similar parameter groups within a model, rather than pruning away less important parameters. Specifically, we select, align, and merge separate feed-forward sublayers in Transformer models, and test our method on language modeling, image classification, and machine translation. With our method, we demonstrate performance comparable to the original models while combining more than a third of model feed-forward sublayers, and demonstrate improved performance over a strong layer-pruning baseline. For instance, we can remove over 21% of total parameters from a Vision Transformer, while maintaining 99% of its original performance. Additionally, we observe that some groups of feed-forward sublayers exhibit high activation similarity, which may help explain their surprising mergeability.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 49 of its 63 references that are in the map. First posted on arXiv 10 Jan 2025.

Builds on

49 of 63 references.

References · 49

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  5. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  6. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  7. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,355
  8. 2016Pointer Sentinel Mixture Modelscited by 2,992
  9. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  10. 2018A Call for Clarity in Reporting BLEU Scorescited by 1,790
  11. 2020GLU Variants Improve Transformercited by 1,724
  12. 2019Similarity of Neural Network Representations Revisitedcited by 1,695
37 more
  1. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 881
  2. 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
  3. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
  4. 2018Universal Transformerscited by 613
  5. 2024OLMo: Accelerating the Science of Language Modelscited by 599
  6. 2017The NarrativeQA Reading Comprehension Challengecited by 590
  7. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
  8. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 475
  9. 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 460
  10. 2022DeepSpeed Inference: Enabling Efficient Inference of Transformer Models at Unprecedented Scalecited by 403
  11. 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 378
  12. 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 369
  13. 2021The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networkscited by 285
  14. 2016Using the Output Embedding to Improve Language Modelscited by 266
  15. 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
  16. 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 219
  17. 2024MobileLLM: Optimizing Sub-billion Parameter Language Models for On-Device Use Casescited by 216
  18. 2015Convergent Learning: Do different neural networks learn the same representations?cited by 215
  19. 2024Arcee's MergeKit: A Toolkit for Merging Large Language Modelscited by 189
  20. 2021Block Pruning For Faster Transformerscited by 176
  21. 2020The Tatoeba Translation Challenge -- Realistic Data Sets for Low Resource and Multilingual MTcited by 127
  22. 2024LaCo: Large Language Model Pruning via Layer Collapsecited by 124
  23. 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 121
  24. 2020On the Effect of Dropping Layers of Pre-trained Transformer Modelscited by 118
  25. 2023Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policycited by 104
  26. 2016Tying Word Vectors and Word Classifiers: A Loss Framework for Language Modelingcited by 87
  27. 2020Optimizing Mode Connectivity via Neuron Alignmentcited by 85
  28. 2021Lessons on Parameter Sharing across Layers in Transformerscited by 85
  29. 2021Subformer: Exploring Weight Sharing for Parameter Efficiency in Generative Transformerscited by 42
  30. 2020Training Large Neural Networks with Constant Memory using a New Execution Algorithmcited by 34
  31. 2023Analyzing Feed-Forward Blocks in Transformers through the Lens of Attention Mapscited by 33
  32. 2024Merging Text Transformer Models from Different Initializationscited by 16
  33. 2023One Wide Feedforward is All You Needcited by 15
  34. 2024Dynamic Layer Tying for Parameter-Efficient Transformerscited by 10
  35. 2024Towards Meta-Pruning via Optimal Transportcited by 8
  36. 2023Diffused Redundancy in Pre-trained Representationscited by 5
  37. 2024PyMarian: Fast Neural Machine Translation and Evaluation in Pythoncited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.