Are Saddles Good Enough for Deep Learning?

Adepu Ravi Sankar, Vineeth N. BalasubramanianarXiv 2017

TL;DR

This paper challenges the long-held belief that deep neural networks (DNNs) converge to local minima. Instead, it presents compelling empirical evidence that DNNs actually converge to saddle points, specifically "degenerate" ones with flat regions. This finding has significant implications for how we design and understand optimization algorithms for deep learning.

What Problem Does This Paper Address?

For decades, the primary concern in training neural networks was avoiding local minima, which were thought to trap models and prevent them from reaching optimal performance. While recent research has suggested that global minima might not be as crucial as previously believed, and that many local minima are actually quite good, the dominant narrative has still been convergence to minima. However, in high-dimensional spaces, saddle points are theoretically much more prevalent than local minima. This paper directly addresses the question: where do deep neural networks actually converge during training? Are they finding minima, or are they settling into saddle points, and if so, are these saddles problematic or perhaps even beneficial?

Methods

The core of this paper's methodology involves empirical validation of two key hypotheses:

  1. Hypothesis 1: Deep neural network models converge at saddle points. To test this, the authors train various DNN architectures on standard datasets. At convergence, they compute the Hessian matrix of the loss function. The presence of both positive and negative eigenvalues in the Hessian is used to identify a critical point as a saddle point.
  2. Hypothesis 2: Deep neural network models converge at degenerate saddle points. Building on Hypothesis 1, they further analyze the Hessian. Degeneracy is defined as the presence of zero eigenvalues in the Hessian, indicating flat directions in the loss landscape. They quantify this degeneracy by counting the number of zero eigenvalues.

They also investigate existing "saddle-escaping" methods (like noisy-SGD and saddle-free Newton) to see where they converge.

Datasets

The paper uses the following standard datasets:

  • MNIST: A dataset of handwritten digits (28x28 grayscale images).
  • CIFAR-10: A dataset of color images across 10 classes.

The authors note that for CIFAR-10, they used features from a pre-trained Wide ResNet as input to a single-layer MLP to achieve performance comparable to state-of-the-art, as training deeper networks for Hessian computation was computationally prohibitive.

Key Insights and Ideas

  • Saddles, not minima, are the destination: The most striking finding is that DNNs, even with standard gradient descent variants like Momentum, Adam, and Adagrad, consistently converge to saddle points, not local minima. This fundamentally shifts the optimization paradigm from "avoiding bad minima" to "understanding saddle behavior."
  • Degenerate saddles are the norm: The paper strongly suggests that the saddles DNNs converge to are not "strict" (where all non-positive eigenvalues are strictly negative) but "degenerate." This means they have flat directions (zero eigenvalues), creating plateaus in the loss landscape.
  • "Good" saddles might be the goal: The authors propose that these degenerate saddles, when associated with low error, might be what makes DNNs effective. They coin the term "(κ,ε,ρ, δ)-good saddle" to describe such points.
  • Saddle-escaping methods still find degenerate saddles: Even methods explicitly designed to escape saddle points ultimately converge to degenerate saddles, suggesting that these points are robust attractors.
  • Wigner's Semicircle Law holds: The paper empirically validates Wigner's Semicircle Law for the distribution of eigenvalues of the Hessian in DNNs, which predicts a high probability of zero eigenvalues in large random matrices. This law helps explain why degenerate saddles are so common.
  • Initialization and depth matter less for saddle type: While initialization and depth affect accuracy, the type of converged saddle (degenerate) appears to be consistent across different initialization strategies and network depths.

Key Results

  • Empirical validation of Hypothesis 1: For both MNIST and CIFAR-10, the Hessian at convergence consistently showed a significant number of negative eigenvalues, indicating saddle points.
  • Empirical validation of Hypothesis 2: A substantial number of zero eigenvalues were observed at convergence for all tested methods and datasets, confirming the convergence to degenerate saddles. For example, on MNIST with Momentum, approximately 1600 zero eigenvalues were found.
  • Accuracy is competitive: Despite converging to saddles, the models achieved accuracies comparable to state-of-the-art results on MNIST (around 96%) and CIFAR-10 (around 95%).
  • Saddle-escaping methods' convergence: Noisy-SGD and Saddle-free Newton also converged to degenerate saddles, with similar accuracy levels. For instance, Noisy-SGD on MNIST resulted in about 1625 zero eigenvalues.

Limitations and Future Work

  • Computational constraints: The primary limitation is the computational cost of computing the Hessian, which restricted the size and depth of the networks that could be analyzed. This prevented them from testing state-of-the-art, very deep, and wide networks.
  • Theoretical implications: The authors plan to explore the theoretical implications of their findings, particularly concerning random matrix theory and its connection to saddle degeneracy.
  • Higher-order saddles: Future work will investigate methods for escaping higher-order saddles, building upon the current findings about degenerate saddles.
  • Defining "good" saddles: While they propose a definition for a "(κ,ε,ρ, δ)-good saddle," further work is needed to fully understand and leverage this concept.

Summary updated

Abstract

Recent years have seen a growing interest in understanding deep neural networks from an optimization perspective. It is understood now that converging to low-cost local minima is sufficient for such models to become effective in practice. However, in this work, we propose a new hypothesis based on recent theoretical findings and empirical studies that deep neural network models actually converge to saddle points with high degeneracy. Our findings from this work are new, and can have a significant impact on the development of gradient descent based methods for training deep networks. We validated our hypotheses using an extensive experimental evaluation on standard datasets such as MNIST and CIFAR-10, and also showed that recent efforts that attempt to escape saddles finally converge to saddles with high degeneracy, which we define as `good saddles'. We also verified the famous Wigner's Semicircle Law in our experimental results.
BibTeX
@misc{sankar2017are,
  author = {Adepu Ravi Sankar and Vineeth N. Balasubramanian},
  title = {{Are Saddles Good Enough for Deep Learning?}},
  year = {2017},
  eprint = {1706.02052},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.02052},
}
Figure