Embedding Principle of Loss Landscape of Deep Neural Networks

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

Abstract

Understanding the structure of the loss landscape of deep neural networks (DNNs) is fundamental to explaining their success. We prove an embedding principle: the loss landscape of a DNN "contains" all the critical points of all narrower DNNs. Through a "critical embedding" operation, any critical point (local/global minima or saddle points) of a narrow network can be mapped to a critical point of a wider network, preserving the output function while increasing degeneracy. This principle explains why overparameterized networks are easier to optimize and suggests an implicit low-complexity regularization during training.

Introduction: The Paradox of Wide Networks

Deep learning presents a theoretical paradox. Standard optimization theory suggests that high-dimensional loss landscapes should be riddled with local minima that trap training. Furthermore, "wide" networks with vast numbers of parameters ought to overfit by memorizing noise. In practice, however, wider networks are often easier to train and generalize better than their narrow counterparts. This work provides a rigorous mathematical framework—the Embedding Principle—to resolve this discrepancy by examining how the geometry of the loss landscape evolves as network width increases.

Methods: The Critical Embedding

The core of this theory is the Critical Embedding operation. This mathematical transformation allows us to embed a "narrow" network into a "wider" target network while preserving its functional behavior and its status as a critical point in the loss landscape.

The one-step embedding process: a neuron in layer $l$ is split into two, with input weights copied and output weights distributed by a factor $\alpha$.

As illustrated above, a "one-step embedding" involves:

  1. Splitting a neuron: A single hidden neuron is divided into two.
  2. Copying inputs: Both new neurons receive the exact same input weights as the original.
  3. Splitting outputs: The original output weight is divided between the two new neurons using a ratio $\alpha$ and $(1-\alpha)$.

We prove that if the narrow network is at a critical point (where the gradient is zero), the resulting wider network is also at a critical point. Analysis of the Hessian matrix reveals that this embedding increases the "degeneracy" of the point, often transforming what was a local minimum in a narrow landscape into a saddle point in the wider landscape.

Key Insights: The "Russian Doll" Landscape

The Embedding Principle suggests that the loss landscape of a wide network is structured like a set of Russian Matryoshka dolls; it literally contains the landscapes of all its narrower versions.

Minimum-to-Saddle Transition

A critical insight is the transition of stability. A point that acts as a "trap" (local minimum) in a narrow network often becomes a saddle point when embedded into a wider network. The additional dimensions provide "escape routes"—directions where the gradient can become negative—allowing the optimizer to find paths downward that were geometrically impossible in the narrower model. This explains why overparameterization makes optimization "easy."

Implicit Low-Complexity Regularization

During training, wide networks are frequently "attracted" to these highly degenerate critical points inherited from narrower models. Because these points represent simpler, lower-complexity functions, the network naturally favors solutions that generalize well rather than those that merely memorize data.

Empirical Validation and Results

The researchers validated the embedding principle across synthetic data, the Iris dataset, and MNIST.

Empirical evidence of the embedding principle: (a) training loss plateaus correspond to narrow-network critical points; (b, c) a wide network (width-500) fits the data using functions equivalent to much narrower networks (width-1 and width-3) during these stages.

Key findings include:

  • Stagnation as Embedding: As shown in the figure above, the "plateaus" often seen in training loss (a) correspond to the network being near a critical point of a narrower model. In (b), a width-500 network at a plateau fits the data identically to a width-1 network. Later, it escapes to a more complex fit (c) equivalent to a width-3 network.
  • MNIST Compression: In a striking experiment, a width-400 ReLU network that reached a training plateau was "reduced" to a width-58 network by merging neurons with similar weights. The reduced network maintained a 98.5% prediction similarity, proving the wide network was essentially stuck at a critical point inherited from a much simpler model.

Discussion and Future Work

While this work establishes a theoretical "skeleton" for the loss landscape of DNNs, several avenues remain for future research. The current principle focuses on network width; whether a similar inclusion property applies to depth (e.g., in ResNets) is an open question. Ultimately, the Embedding Principle provides a foundation for developing more principled pruning algorithms and optimization strategies that leverage the hierarchical nature of the loss landscape.

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