Embedding Principle of Loss Landscape of Deep Neural Networks

Yaoyu Zhang, Zhongwang Zhang, Tao Luo, Zhi-Qin John Xu

Despite the massive success of deep learning, the "loss landscape"—the high-dimensional surface representing how network error changes with its parameters—remains a mystery. Because these landscapes are non-convex and incredibly complex, it is theoretically difficult to explain why gradient descent consistently finds good solutions in wide networks.

A common paradox in machine learning is that while larger models have more capacity to overfit, they often generalize better and are easier to train than small ones. To tackle this, researchers have proposed an embedding principle: the loss landscape of any wide network naturally "contains" all the critical points (minima, maxima, and saddle points) of all its narrower versions. This mathematical framework explains why overparameterized networks are often easier to optimize and suggests that wide networks possess an implicit bias toward low-complexity solutions inherited from their simpler counterparts.

The Core Concept: Critical Embedding

The authors introduce a mathematical operation called critical embedding. The core idea is a "one-step embedding" where a single neuron in a "narrow" network is split into two neurons in a "wider" network.

Illustration of one-step embedding. A neuron is split into two; input weights are copied, and output weights are divided by a ratio $\alpha$ and $(1-\alpha)$.

To ensure the network's output remains identical after splitting:

  1. Input weights of the new neurons are copied exactly from the original.
  2. Output weights are split using a hyperparameter $\alpha$, such that their sum equals the original output weight.

The authors prove that if the original parameters were a critical point (where the gradient is zero) in the narrow network, the new parameters remain a critical point in the wider network. By repeating this process, any narrow network can be "embedded" into a wider one of the same depth.

Key Insights into the Loss Landscape

This embedding principle reveals several profound insights into the geometry of deep learning:

  • The "Containment" Principle: The loss landscape of a wide network isn't just a bigger version of a narrow one; it literally encompasses the critical points of all narrower architectures. This provides a structural "skeleton" for the landscape.
  • Minimum-to-Saddle Transition: A local or global minimum in a narrow network often becomes a saddle point when embedded into a wider network. This is a breakthrough for optimization theory: it suggests that "traps" in small networks become "passageways" in larger ones, allowing gradient descent to escape and find even better minima.
  • Implicit Regularization: During training, wide networks are often "attracted" to these highly degenerate critical points embedded from narrow networks. This explains why they don't always overfit; they are effectively behaving like lower-complexity models.

Empirical Evidence and Key Results

The researchers validated their theory using synthetic 1D data, the Iris dataset, and MNIST. They provide striking empirical evidence showing how wide networks traverse these embedded points.

In one experiment, they trained a width-500 network and observed it "stagnating" at specific loss levels.

The training loss shows plateaus. The output at the first plateau matches a width-1 network's global minimum, while the second matches a width-3 network.

As shown above, the wide network first mimics a width-1 network, then a width-3 network, before finally converging. This suggests the training process is a journey through the critical points of increasingly complex "narrower" models.

Furthermore, in an MNIST experiment, they took a trained width-400 network and "compressed" it by merging neurons with similar weights (the reverse of embedding). They reduced it to a width-58 network that maintained 98.5% prediction agreement with the original, confirming that the wide network had indeed converged to a point unraveled by the embedding principle.

Limitations and Future Work

While foundational, the current work primarily considers embedding across different widths. Whether a similar principle exists for networks of different depths (e.g., embedding a shallow net into a ResNet) remains an open question. Additionally, while the principle applies to differentiable losses, for losses like cross-entropy, parameters can sometimes diverge to infinity, making "finite" critical points harder to define.

Ultimately, this embedding principle provides a rigorous skeleton for understanding DNN loss landscapes and could pave the way for new, highly efficient neural network pruning algorithms in the future.

Summary updated

BibTeX
@inproceedings{zhang2021embedding,
  author = {Yaoyu Zhang and Zhongwang Zhang and Tao Luo and Zhi-Qin John Xu},
  title = {{Embedding Principle of Loss Landscape of Deep Neural Networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=oDud0xCyQs},
}
Figure