mlsanityData to 14 Oct 2026

Beyond the Permutation Symmetry of Transformers: The Role of Rotation for Model Fusion

arXiv 2502.00264 ↗First posted 1 Feb 2025cs.LG cs.CVcited by 16

Not on the map. Why?

Abstract (arXiv)

Symmetry in the parameter space of deep neural networks (DNNs) has proven beneficial for various deep learning applications. A well-known example is the permutation symmetry in Multi-Layer Perceptrons (MLPs), where permuting the rows of weight matrices in one layer and applying the inverse permutation to adjacent layers yields a functionally equivalent model. While permutation symmetry fully characterizes the equivalence set for MLPs, its discrete nature limits its utility for transformers. In this paper, we introduce rotation symmetry, a novel form of parameter space symmetry for transformers that generalizes permutation symmetry by rotating parameter matrices in self-attention layers. Unlike permutation symmetry, rotation symmetry operates in a continuous domain, thereby significantly expanding the equivalence set for transformers. Based on this property, we propose a theoretically optimal parameter matching algorithm as a plug-and-play module to enhance model fusion. We evaluate our approach using pre-trained transformers across diverse natural language and vision tasks. Experimental results demonstrate that our rotation symmetry-based matching algorithm substantially improves model fusion, highlighting the potential of parameter space symmetry to facilitate model fusion. Our code is available on https://github.com/zhengzaiyi/RotationSymmetry.

Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 72 of its 100 references that are in the map. First posted on arXiv 1 Feb 2025.

Builds on

72 of 100 references.

References · 72

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020Language Models are Few-Shot Learnerscited by 32,419
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  7. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  8. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  9. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
  10. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  11. 2016Layer Normalizationcited by 5,669
  12. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
38 more
  1. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  2. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
  3. 2016Federated Learning: Strategies for Improving Communication Efficiencycited by 1,475
  4. 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
  5. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  6. 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
  7. 2021Merging Models with Fisher-Weighted Averagingcited by 621
  8. 2020Federated Learning with Matched Averagingcited by 564
  9. 2019Graph Transformer Networkscited by 523
  10. 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 471
  11. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 434
  12. 2019Bayesian Nonparametric Federated Learning of Neural Networkscited by 387
  13. 2022Dataless Knowledge Fusion by Merging Weights of Language Modelscited by 387
  14. 2021The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networkscited by 291
  15. 2023AdaMerging: Adaptive Model Merging for Multi-Task Learningcited by 252
  16. 2019Model Fusion via Optimal Transportcited by 219
  17. 2022Branch-Train-Merge: Embarrassingly Parallel Training of Expert Language Modelscited by 191
  18. 2018Algorithmic Regularization in Learning Deep Homogeneous Models: Layers are Automatically Balancedcited by 177
  19. 2021Ensemble of Averages: Improving Model Selection and Boosting Performance in Domain Generalizationcited by 144
  20. 2021Geometry of the Loss Landscape in Overparameterized Neural Networks: Symmetries and Invariancescited by 127
  21. 2015Path-SGD: Path-Normalized Optimization in Deep Neural Networkscited by 120
  22. 2022Fusing finetuned models for better pretrainingcited by 110
  23. 2024EMR-Merging: Tuning-Free High-Performance Model Mergingcited by 110
  24. 2023Equivariant Architectures for Learning in Deep Weight Spacescited by 107
  25. 2020Neural Mechanics: Symmetry and Broken Conservation Laws in Deep Learning Dynamicscited by 96
  26. 2023Deep Model Fusion: A Surveycited by 91
  27. 2020Optimizing Mode Connectivity via Neuron Alignmentcited by 86
  28. 2023Model Merging by Uncertainty-Based Gradient Matchingcited by 77
  29. 2021Loss Surface Simplexes for Mode Connecting Volumes and Fast Ensemblingcited by 75
  30. 2022On the Symmetries of Deep Learning Models and their Internal Representationscited by 64
  31. 2019Weight-space symmetry in deep networks gives rise to permutation saddles, connected by equal-loss valleys across the loss landscapecited by 63
  32. 2022Re-basin via implicit Sinkhorn differentiationcited by 62
  33. 2020Stochastic Weight Averaging in Parallel: Large-Batch Training that Generalizes Wellcited by 57
  34. 2023Graph Metanetworks for Processing Diverse Neural Architecturescited by 57
  35. 2024What Matters for Model Merging at Scale?cited by 55
  36. 2024MetaGPT: Merging Large Language Models Using Model Exclusive Task Arithmeticcited by 53
  37. 2023Neural Functional Transformerscited by 52
  38. 2022Mechanistic Mode Connectivitycited by 50

50 most cited of 72 All 72 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 3; 2026: 13.

16 papers.

Sort: