Large Scale Structure of Neural Network Loss Landscapes

Stanislav Fort, Stanislaw Jastrzebski

Abstract

This paper proposes the n-wedge model, a unified phenomenological framework to describe the high-dimensional geometry of neural network loss landscapes. By modeling the landscape as a collection of intersecting high-dimensional manifolds, the authors explain why optimization is surprisingly simple, how hyperparameters like learning rate and $L_2$ regularization widen the "tunnels" we travel through, and why certain ensembling techniques succeed or fail.

Introduction

Despite having millions of parameters, deep neural networks are surprisingly easy to optimize. Previous research has shown counter-intuitive properties: you can train a model in a tiny random subspace of the full parameter space, and you can find "low-loss paths" connecting seemingly distant solutions. However, these observations often felt like isolated pieces of a puzzle. The authors aim to provide a unified phenomenological model—a conceptual framework that explains why these properties exist simultaneously. They specifically address the "large-scale structure": how the landscape looks globally, how optima are connected, and how our choice of "training knobs" (hyperparameters) changes the specific regions of the landscape the model explores.

Methods

The authors introduce the n-wedge model, imagining the loss landscape as a union of high-dimensional "wedges" (thick, flat disks in high-dimensional space) that all intersect at a central initialization point. To validate this model, they used several approaches:

  1. Toy Model: They built a simplified mathematical version where the "loss" is the distance to the nearest wedge, testing if high-dimensional geometry alone can replicate neural network behaviors.
  2. Connector Algorithm: To find paths between optima, they create a linear path between two solutions and optimize the loss within hyperplanes perpendicular to that path at various segments.
  3. Radial Probing: They analyze the "width" of regions the optimizer visits by probing the loss in random directions at different distances from the origin, characterizing the landscape as a network of "radial tunnels."
The connector algorithm finds low-loss paths by optimizing within hyperplanes perpendicular to the linear path between optima.

The researchers validated their model using standard image classification benchmarks like CIFAR-10/100 and MNIST/Fashion MNIST, primarily using a SimpleCNN architecture to ensure the geometric properties were fundamental to the architecture type.

Key Insights and Ideas

The central thesis is the "Wedge" Geometry. In high dimensions, a "low-loss" region isn't just a point; it’s a massive manifold. Because these manifolds are so large, they almost inevitably intersect. This explains why we can find low-loss paths between any two optima: you just travel up one wedge to the intersection and down the other.

Visualization of the n-wedge model showing intersecting manifolds and their representation on a high-dimensional sphere.
  • Hyperparameters as "Tunnel" Expanders: Increasing the learning rate, increasing $L_2$ regularization, or decreasing batch size all push the optimizer into "wider" radial tunnels. This provides a geometric explanation for why these different regularizers often feel interchangeable.
  • m-Connectors: While previous work focused on paths between two optima, this model predicts $m$-dimensional hypersurfaces connecting $m+1$ optima. They experimentally verified this by finding low-loss subspaces connecting up to 10 different solutions at once.
  • Why SWA Fails at High Learning Rates: Stochastic Weight Averaging (SWA) works by averaging weights along a trajectory. If the learning rate is too high, the model "jumps" between different wedges. Averaging weights from two different wedges lands you in the "high-loss wall" between them.

Key Results

  • Dimensionality Match: The "intrinsic dimension" predicted by their toy wedge model closely matches the empirical results found in real-world CNNs.
  • Curvature and Regularization: They quantified the "angular width" of low-loss tunnels, showing that increasing the learning rate significantly increases the width of the explored tunnel.
  • Connectivity: They successfully demonstrated that for a CNN on CIFAR-10, the "high-loss wall" on a direct linear path between two optima can be bypassed by a low-loss "tunnel" constructed using their hyperplane optimization method.

Conclusion and Future Work

The model is phenomenological, describing what the landscape looks like based on observation without deriving the structure from first principles. While the authors suggest these properties are universal, testing on massive Transformers or GANs remains for future work. Additionally, understanding this wedge structure could lead to more efficient training algorithms that "hop" between wedges more effectively.

Summary updated

BibTeX
@inproceedings{fort2019large,
  author = {Stanislav Fort and Stanislaw Jastrzebski},
  title = {{Large Scale Structure of Neural Network Loss Landscapes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure