Exponential expressivity in deep neural networks through transient chaos

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

TL;DR

This paper mathematically proves why deep neural networks are exponentially more expressive than shallow ones by analyzing signal propagation through the lens of chaos theory and Riemannian geometry. The authors identify an "order-to-chaos" phase transition where deep networks compute highly complex, curved functions that grow exponentially with depth, a feat that shallow networks cannot efficiently replicate regardless of their width.

What Problem Does This Paper Address?

For years, the deep learning community relied on two intuitive ideas:

  1. Deep networks can represent complex functions far more compactly than shallow networks.
  2. Deep networks can "disentangle" highly warped manifolds in the input space into flat, easily separable representations in hidden layers.

However, proving these ideas rigorously for general networks and arbitrary nonlinearities remained an open challenge. Previous proofs were limited to very specific architectures (like sum-product networks) or specific activation functions (like ReLU). This paper provides a unifying, rigorous mathematical framework to explain the geometric and functional complexity that arises purely as a consequence of depth.

Methods

The authors combine dynamical mean field theory (a tool from statistical physics) with Riemannian geometry. They study ensembles of deep feedforward networks with random weights and biases initialized via Gaussian distributions.

By taking the limit of large layer widths ($N_l \gg 1$), signal propagation takes on a deterministic character. The authors derive iterative maps to track two key properties as inputs pass through the layers:

  • The Length Map: Tracks the normalized squared length of a single input vector.
  • The Correlation Map (C-map): Tracks how the correlation between two different inputs changes layer by layer.

Using Riemannian geometry, they track how the extrinsic curvature and Euclidean length of an input manifold (such as a circle) evolve as it propagates through the network.

Datasets

Not discussed in the paper. The paper relies entirely on theoretical derivations and synthetic simulations (e.g., propagating a 1D circular manifold through random networks) to validate the mathematical theory.

Key Insights and Ideas

  • The Order-to-Chaos Transition: Network behavior is governed by a phase transition boundary ($\chi_1 = 1$). In the ordered phase ($\chi_1 < 1$), different inputs converge and become identical over depth. In the chaotic phase ($\chi_1 > 1$), nearby inputs rapidly separate—a phenomenon termed transient chaos because it occurs over a finite depth.
  • Exponential Growth of Global Curvature: In the chaotic phase, a network stretches the input space. Unlike linear expansion (which increases length but reduces curvature), the nonlinearity of the network injects new curvature at each layer. Consequently, the global curvature of the representation grows exponentially with depth, but not with width.
  • Disentangling Manifolds: The paper formalizes the long-standing intuition of manifold flattening. While a forward pass through a chaotic network wraps an input manifold into an exponentially tangled shape, looking at the decision boundary in reverse shows that flat boundaries in the output layer backpropagate into highly curved, complex boundaries in the input space.
  • The Inadequacy of Width: The authors prove a hard upper bound showing that shallow networks can only increase the length of a curve linearly with width, meaning they cannot efficiently match the exponential expressivity provided by depth.

Key Results

  • Exact Recursive Formulas: The authors derive exact recursive formulas for the evolution of the Euclidean metric ($g^{E,l}$) and extrinsic curvature ($(\bar{\kappa}^l)^2$) across layers.
  • Theorem 1 (Shallow Bound): The authors prove that the Euclidean length of a hidden representation in a shallow network is bounded by $L^E \le N_1(1+s)R$. This demonstrates that a shallow network's expressive capacity scales at most as the square root of its width when normalized, whereas a deep network scales exponentially with depth ($D$).
  • Simulation Verification: Simulations with networks of 1,000 hidden units and tanh activations perfectly match their theoretical predictions for length and correlation convergence within just a few layers.
Figure 1: Dynamics of the squared length ql for a sigmoidal network (φ(h) = tanh(h)) with 1000 hidden units. (A) The iterative length map in (3) for 3 different σw at σb = 0.3. Theoretical predictions (solid lines) match well with individual network simulations (dots). Stars reflect fixed points q∗of the map. (B) The iterative dynamics of the length map yields rapid convergence of ql to its fixed point q∗, independent of initial condition (lines=theory; dots=simulation). (C) q∗as a function of σw and σb. (D) Number of iterations required to achieve ≤1% fractional deviation off the fixed point. The (σb, σw) pairs in (A,B) are marked with color matched circles in (C,D).

Limitations and Future Work

  • Untrained Networks: The analysis focuses primarily on random, untrained networks. While this provides an essential "null model" for understanding the architectural capacity of deep networks, it remains an open question how gradient descent training modifies these chaotic dynamics and geometric properties.
  • Layer Width Assumptions: The mean field theory assumes large layer widths ($N_l \gg 1$), though simulations show the results hold remarkably well even at moderate widths (e.g., 1,000 units).
  • Future Extensions: The authors suggest that studying the geometry of the network's input-output graph as a Riemannian manifold could uncover further secrets of deep learning, including how it changes during training.

Summary updated

BibTeX
@inproceedings{poole2016exponential,
  author = {Ben Poole and Subhaneil Lahiri and Maithra 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