mlsanityData to 7 Oct 2026

Merging Text Transformer Models from Different Initializations

arXiv 2403.00986 ↗First posted 1 Mar 2024cs.CL cs.AI cs.LGcited by 16

Not on the map. Why?

Abstract (arXiv)

Recent work on permutation-based model merging has shown impressive low- or zero-barrier mode connectivity between models from completely different initializations. However, this line of work has not yet extended to the Transformer architecture, despite its dominant popularity in the language domain. Therefore, in this work, we investigate the extent to which separate Transformer minima learn similar features, and propose a model merging technique to investigate the relationship between these minima in the loss landscape. The specifics of the architecture, like its residual connections, multi-headed attention, and discrete, sequential input, require specific interventions in order to compute model permutations that remain within the same functional equivalence class. In merging these models with our method, we consistently find lower loss barriers between minima compared to model averaging, across models trained on a masked-language modeling task or fine-tuned on a language understanding benchmark. Our results show that the minima of these models are less sharp and isolated than previously understood, and provide a basis for future work on merging separately trained Transformer models.

Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 31 of its 36 references that are in the map. First posted on arXiv 1 Mar 2024.

Builds on

31 of 36 references.

References · 31

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2016Pointer Sentinel Mixture Modelscited by 2,992
  7. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  8. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
  9. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  10. 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
  11. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
  12. 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 655
19 more
  1. 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 585
  2. 2017Sharp Minima Can Generalize For Deep Netscited by 462
  3. 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 460
  4. 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 384
  5. 2018Essentially No Barriers in Neural Network Energy Landscapecited by 328
  6. 2021The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networkscited by 285
  7. 2016Deep Learning without Poor Local Minimacited by 233
  8. 2020Loss landscapes and optimization in over-parameterized non-linear systems and neural networkscited by 231
  9. 2019Model Fusion via Optimal Transportcited by 217
  10. 2023ZipIt! Merging Models from Different Tasks without Trainingcited by 178
  11. 2022Diverse Weight Averaging for Out-of-Distribution Generalizationcited by 148
  12. 2021Geometry of the Loss Landscape in Overparameterized Neural Networks: Symmetries and Invariancescited by 125
  13. 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 121
  14. 2016Topology and Geometry of Half-Rectified Network Optimizationcited by 102
  15. 2021The MultiBERTs: BERT Reproductions for Robustness Analysiscited by 89
  16. 2020Optimizing Mode Connectivity via Neuron Alignmentcited by 85
  17. 2022Outliers Dimensions that Disrupt Transformers Are Driven by Frequencycited by 55
  18. 2018On the loss landscape of a class of deep neural networks with no bad local valleyscited by 38
  19. 2023All Roads Lead to Rome? Exploring the Invariance of Transformers' Representationscited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 6; 2025: 6; 2026: 4.

16 papers.

Sort:

By area: