Entropic Confinement and Mode Connectivity in Overparameterized Neural Networks

Luca Di Carlo, Chase Goddard, David J. Schwab

Introduction

Modern neural networks exhibit a striking property known as "mode connectivity": distinct basins of attraction in the loss landscape—often found by training the same model with different random seeds—are frequently connected by paths where the loss remains nearly constant. This presents a paradox. If these paths are energetically "flat" (exhibiting low loss throughout), why doesn't Stochastic Gradient Descent (SGD) wander freely between these solutions? Why do optimization dynamics generally remain confined to a single convex basin, rarely exploring intermediate points?

This paper resolves this long-standing paradox by demonstrating that while these paths are energetically flat, they are entropically "rugged." Variations in curvature along these paths create invisible entropic barriers that push noisy optimization dynamics back toward the original endpoints.

The Paradox of Confinement

To understand why models stay confined to a single basin despite the existence of low-loss paths, we must look beyond the energy (the loss value) of the landscape. Because SGD is a stochastic, noisy process, its behavior is governed by free energy, which accounts for both energy and entropy.

In the context of parameter space, entropy relates to the "volume" available at a certain loss level. A "flat" region has high entropy (more volume, higher probability of settling), while a "sharp" or highly curved region has low entropy. The authors hypothesize that variations in curvature along low-loss paths create "entropic barriers." These barriers effectively disconnect regions of the landscape that appear connected when looking solely at the loss.

Visualization of the loss landscape and stochastic optimization dynamics.

Methodology

To test the entropic barrier hypothesis, the researchers employed several techniques across standard image classification benchmarks (CIFAR-10 and CIFAR-100) using architectures like Wide ResNet-16-4, ResNet-20, and ResNet-110:

  • Path Finding: The Automatic Nudged Elastic Band (AutoNEB) algorithm was used to find Minimum Energy Paths (MEPs)—non-linear, low-loss strings of parameters connecting two different minima.
  • Curvature Quantification: The "sharpness" of the landscape along these paths was measured using three metrics: the trace of the Hessian matrix, the maximum eigenvalue ($\lambda_{max}$), and the Fisher Information Matrix (FIM) via Singular Value Decomposition.
  • k-step Projected SGD: To isolate the effect of noise and curvature, the authors developed a modified training loop. A model was initialized on a path and allowed to take $k$ steps of SGD before being projected back onto the path. This revealed which direction the "noise" of SGD naturally pushed the model.
  • Linear Mode Connectivity (LMC) Analysis: They examined "sibling" networks (models sharing the first $k$ epochs of training before diverging) to observe how entropic barriers evolve over training time.

Key Findings

The Curvature "Bump"

The most striking empirical finding is that even when the loss is perfectly flat—or even slightly lower—in the middle of a path between two minima, the curvature systematically increases. The path resembles a narrow canyon that constricts in the middle.

Curvature metrics and loss along the Minimum Energy Path. Notice the spike in curvature (A, B) despite the flat loss (C).

Entropy as a Physical Force

In physics, systems naturally move toward states of higher entropy. Because the endpoints (the discovered minima) are "flatter" than the constricted middle of the path, the inherent noise in SGD acts as an "entropic force." This force biases the model back toward those flatter, higher-entropy endpoints. In the projected SGD experiments, models initialized in the high-curvature middle of a path consistently "relaxed" back toward the endpoints.

Noise as "Temperature"

The strength of this entropic confinement depends heavily on the "effective temperature" of the training process. Higher learning rates or smaller batch sizes increase SGD noise, making these entropic barriers feel "taller" and harder to cross. The time it takes for a model to relax back to a minimum was shown to increase exponentially with batch size, confirming that confinement is driven by the interaction between noise and curvature.

Persistence of Entropic Barriers

As training progresses, "energetic" barriers (spikes in loss between solutions) tend to disappear relatively quickly. However, the entropic barriers persist much longer. In LMC analysis, the loss along the linear path between sibling networks becomes flat early on, but the curvature "bump" remains prominent until much later in training. This suggests that curvature, not just loss, ultimately dictates where a model settles in parameter space.

Limitations and Future Directions

The authors acknowledge that their path-finding methods (like AutoNEB) might introduce biases, potentially missing other, even flatter paths. Future work should investigate more principled ways to sample the space of low-loss paths to determine if entropic confinement is a universal law of deep learning landscapes.

Additionally, exploring how these entropic barriers relate to generalization presents a promising frontier. If entropic forces naturally shield "good" (generalizing) minima from "bad" (overfitting) ones, understanding this mechanism could lead to more robust training techniques and improved model merging strategies.

Summary updated

BibTeX
@inproceedings{carlo2026entropic,
  author = {Luca Di Carlo and Chase Goddard and David J. Schwab},
  title = {{Entropic Confinement and Mode Connectivity in Overparameterized Neural Networks}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=XyrNcsJhyN},
}
Figure