Optimizer-Induced Mode Connectivity: From AdamW to Muon
Fangzhao Zhang, Sungyoon Kim, Erica Zhang, Yiqi Jiang, Mert Pilanci
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Optimization & Federated Learning › Muon Optimization · Type: theory · Keywords: optimizer-induced connectivity, mode connectivity, neural network training, theoretical analysis, implicit regularization
Summary
The paper investigates how different optimizers induce mode connectivity in neural networks, showing that optimizer-specific solution sets can be connected or disconnected depending on width and regularization.
Explained to a 5-year-old
We look at how computers learn things using different recipes. Some recipes keep the learned ideas close together, while others make separate groups. When we use a big recipe, the ideas stay connected; when we use a small recipe, they can be far apart. We also see that using the same recipe keeps the ideas similar, but mixing recipes smooths the change. This helps us understand how computers can learn more reliably.
Explained to a 5-year-old, longer
Computers learn by practicing on many examples. They use different ways to practice, called recipes. Some recipes help the computer remember similar things together. Other recipes make the computer remember different groups that are far apart. When the computer practices a lot with a recipe, the groups stay connected. When it practices a little, the groups can become separate. We also look at what happens when we use the same recipe for learning, and when we switch recipes. Using the same recipe keeps the groups stable. Switching recipes creates a smooth change between groups. This helps us see how to make computers learn better and more reliably. Understanding these patterns can improve how we train big models for language and other tasks.
For a technical reader
The work examines how the optimizer used during training shapes the connectivity of learned solutions in neural networks. It proves that with wider networks, solutions from the same optimizer tend to form connected regions, while narrower networks can yield disconnected components separated by a loss barrier. Empirically, the study observes that staying within the same optimizer preserves model spectral properties, whereas switching optimizers yields smooth transitions. These findings highlight that optimizer choice is a critical factor beyond classical mode connectivity analyses.
Problem
Understanding how the choice of optimizer influences the connectivity of solutions in neural networks, and whether solutions from the same optimizer form connected regions, remains an open question.
Method
The authors analyze optimizer-induced implicit regularization, theoretically characterize connectivity for two-layer ReLU networks under different optimizers, and empirically evaluate connectivity paths in GPT-2 pretraining.
Results
The approach demonstrates that optimizer-specific solution sets become connected at large network width, while at small width they can be disconnected with a provable loss barrier, and in GPT-2 pretraining same-optimizer paths preserve model spectra whereas cross-optimizer paths show smooth transitions.
Contributions
The paper provides theoretical analysis of optimizer-induced connectivity for ReLU networks, reveals conditions under which optimizer regions overlap or are disjoint, and empirically shows optimizer-dependent connectivity patterns in large-scale language model training.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction