Essentially No Barriers in Neural Network Energy Landscape

Felix Draxler, Kambis Veschgini, Manfred Salmhofer, Fred A Hamprecht · OpenReview

Abstract

The high-dimensional loss landscapes of deep neural networks are traditionally viewed as a collection of isolated local minima. This paper challenges that intuition by demonstrating that for modern architectures, independently trained minima are connected by continuous paths of nearly constant low loss. Using an automated version of the Nudged Elastic Band (NEB) algorithm, the authors reveal that the low-loss region of the parameter space forms a single, highly connected manifold. These findings provide new insights into why over-parameterized networks generalize effectively despite the non-convexity of their optimization objectives.

Introduction

In deep learning, the loss function exists in a parameter space with millions of dimensions. The standard mental model for this landscape is one of "isolated valleys"—distinct local minima separated by high-loss ridges. Under this view, stochastic gradient descent (SGD) converges to one of many disconnected basins, and the choice of initialization determines which valley the model ends up in.

While previous research has identified flat regions around specific minima, the broader topological connectivity of independent minima remained an open question. This paper investigates whether completely independent, randomly initialized minima in state-of-the-art networks are truly isolated, or if there exists a "scenic route" through the landscape that maintains low loss between them.

Methodology: Automated Nudged Elastic Band

To map these connections, the authors adapt the Nudged Elastic Band (NEB) algorithm from molecular statistical mechanics. NEB is designed to find the "Minimum Energy Path" (MEP) between two stable states.

The Nudged Elastic Band (NEB) algorithm iteratively optimizes a path (string of pivots) to find the Minimum Energy Path (MEP) between two minima.

The authors introduce AutoNEB, which applies this concept to neural network parameters:

  1. The String Model: A path between two minima is represented as a sequence of "pivot" points in parameter space.
  2. Springs and Gradients: Gradient descent is applied to these pivots to pull them into lower-loss regions. To prevent the pivots from collapsing into the endpoints, simulated "springs" maintain uniform spacing along the path.
  3. Dynamic Insertion: The algorithm identifies "saddle points"—the highest loss points along the current path—and dynamically inserts new pivots there to refine the path and minimize the barrier.
  4. Minimum Spanning Tree (MST): To scale this to multiple minima, the authors use an MST heuristic to find the lowest-barrier connections across an entire ensemble of trained models.

Key Insights: The Single Manifold Paradigm

The primary discovery is that for sufficiently deep and wide networks, the "isolated valley" intuition is incorrect. Instead, the landscape resembles a single, massive, connected manifold of low loss.

A comparison between a direct linear interpolation (dashed) and the discovered low-loss path (solid white), showing how the latter avoids high-loss regions.

The authors found that network architecture plays a critical role in this connectivity. While shallow CNNs still exhibit noticeable loss barriers between minima, modern architectures like ResNets and DenseNets have essentially none. This suggests that over-parameterization doesn't just create more minima; it fundamentally changes the topology of the landscape to make those minima reachable from one another.

The authors propose the "Helper Neuron" intuition to explain this phenomenon. In over-parameterized networks, there is significant functional redundancy. During the transition from one minimum to another, the network can temporarily shift the "workload" to underutilized neurons, allowing the parameters to rearrange without a spike in total loss.

Empirical Results

The study evaluated these paths on CIFAR-10 and CIFAR-100 using various architectures. The results were consistent:

  • Negligible Barriers: For deep residual networks, the highest loss point (saddle point) on the discovered paths is remarkably low—often two orders of magnitude smaller than the barriers found in shallow networks.
  • Generalization Stability: Along these paths, the test error remains nearly constant. On CIFAR-10, the maximum error increase was only 0.5%, indicating that the entire path consists of models that generalize well.
  • Path Geometry: These low-loss paths are highly non-linear and significantly longer (50% to 250%) than a direct straight-line interpolation, which would otherwise cross a massive high-loss barrier.

Conclusion and Future Directions

This work shifts the focus from finding "good" local minima to understanding the structure of the global low-loss manifold. While the findings are empirical and lack a formal mathematical proof for general data distributions, they open several avenues for future research.

The existence of these paths suggests that one could sample continuous ensembles of models along the manifold for improved uncertainty estimation. Furthermore, the techniques developed here, such as AutoNEB and landscape mapping via MST, provide a toolkit for researchers to visualize and analyze the high-dimensional surfaces of modern deep learning models. Ultimately, this connectivity may be a key reason why local optimization algorithms like SGD are so successful in training complex neural networks.

Summary updated

BibTeX
@inproceedings{draxler2018essentially,
  author = {Felix Draxler and Kambis Veschgini and Manfred Salmhofer and Fred A Hamprecht},
  title = {{Essentially No Barriers in Neural Network Energy Landscape}},
  booktitle = {International Conference on Machine Learning},
  year = {2018},
}
Figure