Linear Connectivity Reveals Generalization Strategies
Jeevesh Juneja, Rachit Bansal, Kyunghyun Cho, João Sedoc, Naomi Saphra
Abstract
In the mode connectivity literature, it is widely accepted that there are common circumstances in which two neural networks, trained similarly on the same data, will maintain loss when interpolated in the weight space. In particular, transfer learning is presumed to ensure the necessary conditions for linear mode connectivity across training runs. In contrast to existing results from image classification, we find that among text classifiers (trained on MNLI, QQP, and CoLA), some pairs of finetuned models have large barriers of increasing loss on the linear paths between them. On each task, we find distinct clusters of models which are linearly connected on the test loss surface, but are disconnected from models outside the clustermodels that occupy separate basins on the surface. By measuring performance on specially-crafted diagnostic datasets, we find that these clusters correspond to different generalization strategies. For example, on MNLI, one cluster behaves like a bag of words model under domain shift, while another cluster uses syntactic heuristics. Our work demonstrates how the geometry of the loss surface can guide models towards different heuristic functions in standard finetuning settings.
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.
34 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization cites What is being transferred in transfer learning?
- Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization cites Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewards
- Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewards cites Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization
- Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization cites Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution
- Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization cites Linear Mode Connectivity and the Lottery Ticket Hypothesis
- Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Mechanistically analyzing the effects of fine-tuning on procedurally defined tasks cites Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time cites Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution
- Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time 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 WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewards cites What is being transferred in transfer learning?
- 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
- Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
- WARM: On the Benefits of Weight Averaged Reward Models cites What is being transferred in transfer learning?
- WARM: On the Benefits of Weight Averaged Reward Models cites Model Ratatouille: Recycling Diverse Models for Out-of-Distribution Generalization
- WARM: On the Benefits of Weight Averaged Reward Models cites Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time
- WARM: On the Benefits of Weight Averaged Reward Models cites Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewards
- WARM: On the Benefits of Weight Averaged Reward Models cites Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution
- WARM: On the Benefits of Weight Averaged Reward Models cites Linear Mode Connectivity and the Lottery Ticket Hypothesis
- WARM: On the Benefits of Weight Averaged Reward Models cites WILDS: A Benchmark of in-the-Wild Distribution Shifts
Cited by top-tier papers34
- 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
- WARM: On the Benefits of Weight Averaged Reward ModelsAlexandre Ramé, Nino Vieillard, Léonard Hussenot, Robert Dadashi et al.ICML 2024 · 145 citations
- Sudden Drops in the Loss: Syntax Acquisition, Phase Transitions, and Simplicity Bias in MLMsAngelica Chen, Ravid Shwartz-Ziv, Kyunghyun Cho, Matthew L. Leavitt et al.ICLR 2024 · 119 citations
- Model Ratatouille: Recycling Diverse Models for Out-of-Distribution GeneralizationAlexandre Ramé, Kartik Ahuja, Jianyu Zhang, Matthieu Cord et al.ICML 2023 · 108 citations
- Mechanistically analyzing the effects of fine-tuning on procedurally defined tasksSamyak Jain, Robert Kirk, Ekdeep Singh Lubana, Robert P. Dick et al.ICLR 2024 · 108 citations
Builds on22
- WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
- 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
- Fine-Tuning can Distort Pretrained Features and Underperform Out-of-DistributionAnanya Kumar, Aditi Raghunathan, Robbie Matthew Jones, Tengyu Ma et al.ICLR 2022 · 911 citations
- Linear Mode Connectivity and the Lottery Ticket HypothesisJonathan Frankle, Gintare Karolina Dziugaite, Daniel M. Roy, Michael CarbinICML 2020 · 750 citations
- What is being transferred in transfer learning?Behnam Neyshabur, Hanie Sedghi, Chiyuan ZhangNeurIPS 2020 · 654 citations
Related papers
- Generalized Linear Mode Connectivity for TransformersAlexander Theus, Alessandro Cabodi, Sotiris Anagnostidis, Antonio Orvieto et al.NeurIPS 2025 · 18 citations
- Going Beyond Linear Mode Connectivity: The Layerwise Linear Feature ConnectivityZhanpeng Zhou, Yongyi Yang, Xiaojiang Yang, Junchi Yan et al.NeurIPS 2023 · 56 citations
- On Linear Mode Connectivity of Mixture-of-Experts ArchitecturesViet-Hoang Tran, Van-Hoan Trinh, Khanh Vinh Bui, Tan M. NguyenNeurIPS 2025 · 9 citations
- Linear Mode Connectivity between Multiple Models modulo Permutation SymmetriesAkira Ito, Masanori Yamada, Atsutoshi KumagaiICML 2025
- Mechanistic Mode ConnectivityEkdeep Singh Lubana, Eric J. Bigelow, Robert P. Dick, David Scott Krueger et al.ICML 2023 · 57 citations
