Explorations on high dimensional landscapes

Levent Sagun, V. Ugur Güney, Yann LeCun

TL;DR

This paper explores the "energy landscapes" of complex, high-dimensional functions, common in machine learning and physics. They find that in high dimensions, optimization algorithms tend to get stuck in a narrow band of "floor" energy levels, rather than a wide range of suboptimal points seen in lower dimensions. This phenomenon is observed in both spin glass models and deep neural networks, suggesting a universal behavior in high-dimensional optimization.

What Problem Does This Paper Address?

Finding the minimum of a function is a cornerstone of many scientific and engineering disciplines, particularly in machine learning where it's about minimizing loss functions to train models. However, many of these functions are "non-convex," meaning they have many local minima and saddle points, making it incredibly difficult for optimization algorithms to find the true global minimum. This is especially true in "high-dimensional spaces," which are typical for modern deep neural networks with millions of parameters. The challenge is understanding how these complex landscapes behave and how optimization algorithms navigate them. Specifically, the authors are interested in whether there's a predictable pattern to where algorithms get "stuck" in these high-dimensional landscapes, and if this pattern differs significantly from lower-dimensional cases.

Methods

The paper employs a combination of theoretical insights from statistical physics (specifically, spin glasses) and empirical simulations.

  • Spin Glass Models: They use the mean-field spherical spin glass model, particularly the 3-spin interaction variant, as a theoretical testbed. This model is known to have exponentially many critical points in high dimensions. They leverage existing theoretical work that predicts the existence of an "energy floor" – a narrow band of energy values where the majority of critical points (local minima and saddle points) are concentrated as the dimension of the system approaches infinity.
  • Deep Learning Experiments: To bridge theory and practice, they conduct experiments on the MNIST dataset using a "teacher-student" network setup. A pre-trained "teacher" network generates noisy labels for a "student" network. This setup allows them to study optimization on a realistic deep learning task while having some control over the landscape.
  • Gradient Descent (GD) and Stochastic Gradient Descent (SGD): They compare the behavior of standard Gradient Descent and Stochastic Gradient Descent on both the spin glass models and the deep learning task. They analyze where these algorithms converge and how quickly they reach the predicted "energy floor."

Datasets

  • MNIST Dataset: Used for the teacher-student network experiments. The authors describe a setup where the MNIST training set is split, and a teacher network is trained on the first half. This teacher then generates labels for the second half, which are used to train student networks. This creates a scenario where the "ground truth" is not perfectly defined, introducing ambiguity.

Key Insights and Ideas

  • The "Energy Floor" Phenomenon: The most striking insight is the evidence for a universal "energy floor" in high-dimensional non-convex landscapes. Unlike low-dimensional problems where suboptimal points can be spread widely, in high dimensions, optimization algorithms tend to converge to a narrow band of energy values, regardless of the specific problem (spin glass or deep network).
  • High Dimensions Simplify (in a way): Counter-intuitively, high dimensionality seems to simplify the optimization landscape in terms of where algorithms get stuck. The "floor" is close to the global minimum, making it a practical target for optimization, even if not the absolute best.
  • GD vs. SGD Equivalence at the Floor: Surprisingly, both standard Gradient Descent and Stochastic Gradient Descent appear to reach this energy floor in a similar number of steps. This challenges the common intuition that SGD's noise is crucial for escaping local minima; here, it seems to lead to the same "stuck" region as deterministic GD.
  • Spin Glasses as a Model for Deep Networks: The paper strongly suggests that spin glass models, particularly higher-order ones, can serve as valuable theoretical analogues for understanding the loss landscapes of deep neural networks, hinting at a deeper, yet undiscovered, unifying theory.

Key Results

  • Spin Glass Simulations: Simulations on spin glass models show that as the dimension increases, the distribution of critical points concentrates around a specific energy level (the "floor"), which is close to the global minimum. For small dimensions, critical points are more scattered.
  • MNIST Experiments: In the teacher-student MNIST setup, student networks (especially those as large as or larger than the teacher) also exhibit a similar "floor" behavior. Even when exponentially many zero-cost solutions exist, SGD gets stuck at a critical point or a very flat region away from zero, which the authors conjecture is this floor.
  • GD and SGD Performance: For both spin glasses and MNIST, GD and SGD were observed to reach the energy floor in a comparable number of steps. For MNIST, SGD sometimes achieved slightly better test errors, but the convergence to the floor was similar.

Limitations and Future Work

  • Theoretical Proof for Deep Networks: While empirical evidence is strong, the paper acknowledges the lack of a formal theoretical proof for the "energy floor" phenomenon in deep neural networks, unlike the established theory for spin glasses.
  • "Floor" vs. Global Minimum: The paper notes that while the floor is close to the global minimum, it's not necessarily the global minimum itself. The practical implications of being stuck at the floor versus the true minimum are not fully explored.
  • Generalization of the Floor: The authors propose that this "floor" phenomenon might be a more general property of high-dimensional optimization and encourage further research to identify and quantify it in other complex systems. They hope this work will trigger theoretical research into non-convex surfaces in high-dimensional domains.
  • Understanding the "Dark Knowledge": The MNIST experiment highlights how ambiguity in teacher labels propagates to students. Future work could delve deeper into how this "dark knowledge" is learned and its impact on generalization.

Summary updated

BibTeX
@inproceedings{sagun2015explorations,
  author = {Levent Sagun and V. Ugur Güney and Yann LeCun},
  title = {{Explorations on high dimensional landscapes}},
  booktitle = {International Conference on Learning Representations},
  year = {2015},
  url = {http://arxiv.org/abs/1412.6615},
}
Figure