Exponential expressivity in deep neural networks through transient chaos

Ben Poole, Subhaneil Lahiri, Maithreyi Raghu, Jascha Sohl-Dickstein, Surya Ganguli

Overview

This paper provides a rigorous mathematical foundation for why deep neural networks are significantly more powerful than their shallow counterparts. By combining Riemannian geometry with mean field theory, the authors demonstrate that deep networks undergo a phase transition from "order" to "chaos." In this chaotic regime, the complexity—or curvature—of the functions they compute grows exponentially with depth, achieving a level of expressivity that shallow networks cannot replicate, even with massive width.

The Problem: Expressivity and Disentangling

For years, the deep learning community has relied on two intuitive but poorly formalized ideas regarding network architecture:

  1. Expressivity: Deep networks can represent complex functions much more efficiently than shallow ones.
  2. Disentangling: Deep networks can take "tangled," highly curved manifolds in input space (akin to a crumpled piece of paper) and flatten them out in hidden layers to make classification tasks trivial.

Previous attempts to mathematically prove these ideas were often limited to specific architectures, such as networks using only ReLU activations or sum-product networks. The authors of this paper sought a unifying theoretical framework applicable to arbitrary nonlinearities and generic random networks to explain why depth is the primary driver of functional complexity.

Methods: Mean Field Theory and Riemannian Geometry

To tackle this problem, the authors combine two sophisticated mathematical toolsets:

  • Mean Field Theory: The authors treat signal propagation through a large, random network as a stochastic process. By examining the limit of infinite width, they derive deterministic "maps" that describe how the length of a vector and the correlation between two different inputs change as they pass through successive layers.
  • Riemannian Geometry: To quantify "complexity," the authors measure the extrinsic curvature and Grassmannian length of manifolds (such as a 1-dimensional circle) as they are transformed by the network. This geometric approach allows them to track exactly how "wiggly" or "tangled" a manifold becomes layer by layer.

The core of their analysis revolves around a parameter $\chi_1$, which acts similarly to a Lyapunov exponent in dynamical systems. If $\chi_1 > 1$, the network is in a chaotic phase where nearby points diverge; if $\chi_1 < 1$, it is in an ordered phase where inputs collapse toward each other.

Key Insights and Ideas

The Order-to-Chaos Transition

There is a specific phase boundary defined by the variance of the network's weights ($\sigma_w$) and biases ($\sigma_b$). In the chaotic regime, the network acts as a "stretching and folding" machine, exponentially increasing the complexity of the input.

Iterative correlation map and the phase transition defined by $\chi_1$.

Depth vs. Width

The paper proves a fundamental asymmetry in network architecture. While increasing the depth of a chaotic network increases the curvature of the functions it computes exponentially, increasing the width of a shallow network only increases it linearly (or at most as a square root in terms of Euclidean length).

Transient Chaos

Unlike classical dynamical systems that run indefinitely, neural networks have a finite depth. The "chaos" observed here is transient. However, even over a few dozen layers, this transient chaos is sufficient to generate immense functional complexity.

Formalizing Disentangling

The authors show that a decision boundary that appears as a simple flat plane in the final layer actually corresponds to an exponentially curved, "tangled" surface in the original input space. This quantitatively confirms the long-held "disentangling" intuition: the network spends its layers "un-curving" the complex real world into linearly separable representations.

Key Results

  • Exponential Growth: In the chaotic phase, the global curvature (measured as Grassmannian length $\mathcal{L}^G$) of an input manifold grows exponentially with the network's depth $D$.
  • Theoretical Bounds (Theorem 1): The authors provide a formal proof that for a shallow network with $N_1$ neurons, the Euclidean length of the hidden representation is bounded by $O(N_1)$. In stark contrast, for deep networks, this length grows as $O(\chi_1^D)$.
  • Functional Fitting: Simulations demonstrate that shallow networks, regardless of how wide they are made (tested up to 10,000 units), fail to capture high-frequency components of a random function that a deep network (with only 1,000 units per layer) captures easily.

Limitations and Future Work

While groundbreaking, the study focuses primarily on networks with random weights. This provides an excellent "null model" for understanding what networks are capable of at initialization, but it does not fully account for how the geometry of these manifolds changes during gradient descent and active training.

Furthermore, the chaotic regime—while highly expressive—is notoriously difficult to train because gradients tend to explode. The authors note that the most useful, trainable networks likely sit right "at the edge of chaos."

Finally, while the theory is general, the specific curvature measures used (like the second derivative) evaluate to zero for piecewise linear networks like ReLUs. The authors suggest using "tangent vector auto-correlations" as a proxy metric for ReLU networks in future research.

Summary updated

BibTeX
@inproceedings{poole2016exponential,
  author = {Ben Poole and Subhaneil Lahiri and Maithreyi Raghu and Jascha Sohl-Dickstein and Surya Ganguli},
  title = {{Exponential expressivity in deep neural networks through transient chaos}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2016},
  url = {https://openreview.net/forum?id=ry-i38-uWr},
}
Figure