Lune

ICLR2023Top-tier venue

Git Re-Basin: Merging Models modulo Permutation Symmetries

Samuel K. Ainsworth, Jonathan Hayase, Siddhartha S. Srinivasa

Abstract

The success of deep learning is due in large part to our ability to solve certain massive non-convex optimization problems with relative ease. Though non-convex optimization is NP-hard, simple algorithms -often variants of stochastic gradient descent -exhibit surprising effectiveness in fitting large neural networks in practice. We argue that neural network loss landscapes often contain (nearly) a single basin after accounting for all possible permutation symmetries of hidden units a la Entezari et al. (2021) . We introduce three algorithms to permute the units of one model to bring them into alignment with a reference model in order to merge the two models in weight space. This transformation produces a functionally equivalent set of weights that lie in an approximately convex basin near the reference model. Experimentally, we demonstrate the single basin phenomenon across a variety of model architectures and datasets, including the first (to our knowledge) demonstration of zero-barrier linear mode connectivity between independently trained ResNet models on CIFAR-10. Additionally, we investigate intriguing phenomena relating model width and training time to mode connectivity. Finally, we discuss shortcomings of the linear mode connectivity hypothesis, including a counterexample to the single basin theory.

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.

218 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • TIES-Merging: Resolving Interference When Merging Models cites Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Models
  • TIES-Merging: Resolving Interference When Merging Models cites Federated Learning with Matched Averaging
  • TIES-Merging: Resolving Interference When Merging Models cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • TIES-Merging: Resolving Interference When Merging Models cites Linear Mode Connectivity and the Lottery Ticket Hypothesis
  • Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Models cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Models cites A ConvNet for the 2020s
  • Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Models cites Linear Mode Connectivity and the Lottery Ticket Hypothesis
  • ZipIt! Merging Models from Different Tasks without Training cites Federated Learning with Matched Averaging
  • ZipIt! Merging Models from Different Tasks without Training cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • ZipIt! Merging Models from Different Tasks without Training cites Linear Mode Connectivity and the Lottery Ticket Hypothesis
  • Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time cites Linear Mode Connectivity and the Lottery Ticket Hypothesis
  • Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewards cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewards cites Linear Mode Connectivity and the Lottery Ticket Hypothesis
  • AdaMerging: Adaptive Model Merging for Multi-Task Learning cites Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Models
  • AdaMerging: Adaptive Model Merging for Multi-Task Learning cites Federated Learning with Matched Averaging
  • AdaMerging: Adaptive Model Merging for Multi-Task Learning cites ZipIt! Merging Models from Different Tasks without Training
  • AdaMerging: Adaptive Model Merging for Multi-Task Learning cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
  • AdaMerging: Adaptive Model Merging for Multi-Task Learning cites Tent: Fully Test-Time Adaptation by Entropy Minimization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers218

  1. TIES-Merging: Resolving Interference When Merging ModelsPrateek Yadav, Derek Tam, Leshem Choshen, Colin A. Raffel et al.NeurIPS 2023 · 999 citations
  2. Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewardsAlexandre Ramé, Guillaume Couairon, Corentin Dancette, Jean-Baptiste Gaya et al.NeurIPS 2023 · 295 citations
  3. Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained ModelsGuillermo Ortiz-Jiménez, Alessandro Favero, Pascal FrossardNeurIPS 2023 · 272 citations
  4. AdaMerging: Adaptive Model Merging for Multi-Task LearningEnneng Yang, Zhenyi Wang, Li Shen, Shiwei Liu et al.ICLR 2024 · 230 citations
  5. ZipIt! Merging Models from Different Tasks without TrainingGeorge Stoica, Daniel Bolya, Jakob Bjorner, Pratik Ramesh et al.ICLR 2024 · 185 citations

Builds on30

  1. A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer et al.CVPR 2022 · 6,782 citations
  2. Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
  3. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timeMitchell Wortsman, Gabriel Ilharco, Samir Yitzhak Gadre, Rebecca Roelofs et al.ICML 2022 · 1,464 citations
  4. Federated Learning with Matched AveragingHongyi Wang, Mikhail Yurochkin, Yuekai Sun, Dimitris S. Papailiopoulos et al.ICLR 2020 · 1,368 citations
  5. Linear Mode Connectivity and the Lottery Ticket HypothesisJonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICML 2020 · 750 citations

Related papers

  1. Linear Mode Connectivity between Multiple Models modulo Permutation SymmetriesAkira Ito, Masanori Yamada, Atsutoshi KumagaiICML 2025
  2. The Empirical Impact of Neural Parameter Symmetries, or Lack ThereofDerek Lim, Theo (Moe) Putterman, Robin Walters, Haggai Maron et al.NeurIPS 2024 · 25 citations
  3. On Linear Mode Connectivity of Mixture-of-Experts ArchitecturesViet-Hoang Tran, Van-Hoan Trinh, Khanh Vinh Bui, Tan M. NguyenNeurIPS 2025 · 9 citations
  4. Optimizing Mode Connectivity via Neuron AlignmentN. Joseph Tatro, Pin-Yu Chen, Payel Das, Igor Melnyk et al.NeurIPS 2020 · 104 citations
  5. Understanding Mode Connectivity via Parameter Space SymmetryBo Zhao, Nima Dehmamy, Robin Walters, Rose YuICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines