Emergence of Globally Attracting Fixed Points in Deep Neural Networks With Nonlinear Activations

Amir Joudaki, Thomas Hofmann

TL;DR

This paper provides a comprehensive global analysis of how data similarity changes as it propagates through the layers of a deep neural network. By leveraging Hermite polynomial expansions under a mean-field (infinite-width) regime, the authors prove that for any nonlinear activation function, hidden representations inevitably converge to a single, globally attracting fixed point. This framework uncovers the intrinsic geometric biases of network architectures, explicitly showing whether they inherently push data toward total independence or complete alignment.

What Problem Does This Paper Address?

As data travels deeper into a neural network, each layer transforms its geometry. Understanding this transformation is crucial to figuring out why deep networks generalize well or why they sometimes fail (e.g., due to vanishing gradients or rank collapse). While prior work like the Neural Tangent Kernel (NTK) has shed light on infinite-width networks, most existing analyses only look at local behaviors or specific initialization conditions.

A major unanswered question remains: How does the similarity between two different inputs evolve globally across an arbitrary number of layers? If a network is infinitely deep, do all inputs eventually look identical, or do their representations become completely orthogonal? This paper tackles this gap by characterizing the global dynamics of the "kernel sequence"—the layer-by-layer evolution of similarity between hidden representations.

Methods

The authors analyze a Multilayer Perceptron (MLP) under the mean-field regime (where layer width $d \to \infty$). In this limit, the stochastic fluctuations of random weights average out, causing the similarity between representations to evolve deterministically via a scalar function called the kernel map ($\kappa$).

To fully unpack this map, the authors introduce a novel mathematical approach:

  1. Hermite Polynomial Expansion: They expand the network's activation functions ($\phi$) into an orthonormal basis of Hermite polynomials. Because Hermite polynomials are perfectly suited for Gaussian distributions, they align naturally with the Gaussian pre-activations guaranteed by the Central Limit Theorem in wide networks.
  2. Mehler’s Lemma: By applying this classical algebraic tool, the authors eliminate complex cross-terms, simplifying the kernel map into an elegant power series: $\kappa(\rho) = \sum c_k^2 \rho^k$, where $c_k$ are the Hermite coefficients of the activation function.
  3. Kernel ODE: To gain intuition about discrete layer-wise updates, they cast the dynamics into a continuous-time ordinary differential equation (ODE), allowing them to derive worst-case convergence rates.

The framework is also extended to modern architectural components, including residual connections and normalization layers (Layer Norm and RMS Norm).

Datasets

No real-world datasets were used in this study. As a purely theoretical paper, the authors validated their mathematical theorems using numerical simulations of the derived kernel equations across various standard activation functions (ReLU, tanh, Sigmoid, GELU, SeLU, CELU, and ELU).

Key Insights and Ideas

  • The Universality of a Single Fixed Point: For any nonlinear activation function, the kernel sequence converges globally to a unique, non-negative fixed point ($\rho^* \in [0, 1]$). Geometric constraints prevent negative attracting fixed points from existing.
  • Four Categories of Implicit Bias: The authors categorize activations based on their mathematical destination:
  • Orthogonality Bias ($\rho^* = 0$): Representations become completely perpendicular (independent) exponentially fast (e.g., tanh, SeLU).
  • Strong Similarity Bias ($\rho^* = 1$, Exponential): Representations collapse into perfect alignment exponentially fast (e.g., ReLU, Sigmoid).
  • Strong Similarity Bias ($\rho^* = 1$, Polynomial): Representations align, but at a slower, polynomial rate (e.g., exponential activation).
  • Weak Similarity Bias ($\rho^* \in (0, 1)$): Representations stabilize at an intermediate angle, preserving some distinction without complete independence (e.g., GELU, ELU).
  • The "Information Forgetting" Threshold: The paper quantifies exactly when a network becomes "too deep." For activations with a strong similarity bias (like ReLU), they provide a formula showing the exact layer depth at which two distinct inputs become numerically indistinguishable under standard floating-point precision (e.g., float32).
  • Architectural Modifiers:
  • Layer Normalization acts as a centering mechanism. Adding Layer Norm after a ReLU or Sigmoid shifts its bias from strong similarity ($\rho^* = 1$) to absolute orthogonality ($\rho^* = 0$).
  • Residual Connections blend the kernel map with the identity function, acting as a brake that slows down convergence and protects against representation collapse.

Key Results

The authors explicitly calculate the fixed points and contraction rates ($\alpha$) for the most widely used activation functions (summarized in the paper's Table S.1):

  • The Sigmoid vs. Tanh Paradox: Even though $\tanh(x) = 2 \cdot \text{sigmoid}(2x) - 1$, they behave oppositely. Tanh has an orthogonality bias ($\rho^* = 0.00$), while Sigmoid has a strong similarity bias ($\rho^* = 1.00$). This happens because Tanh's shifting ensures zero-mean post-activations.
  • ReLU's Collapse: ReLU quickly drives representations to complete alignment ($\rho^* = 1.00$) with a contraction rate of $\alpha = 0.95$.
  • GELU's Middle Ground: GELU stabilizes at a weak similarity fixed point of $\rho^* = 0.76$.

Numerical simulations perfectly match these theoretical bounds, showing that for almost all activations, the distance to the fixed point decays linearly on a log scale as depth increases.

Limitations and Future Work

  • Infinite-Width Limit: The proofs rely on the mean-field assumption ($d \to \infty$). In practical, finite-width networks, stochastic noise might alter these deterministic trajectories.
  • Initialization Only: The analysis maps out the network at random initialization. It does not account for how these geometric properties change during gradient descent training.
  • Future Directions: The authors suggest extending this Hermite framework to study finite-width discrepancies, self-normalizing activation functions, and the behavior of first- and second-order gradients during training.

Summary updated

BibTeX
@inproceedings{joudaki2025emergence,
  author = {Amir Joudaki and Thomas Hofmann},
  title = {{Emergence of Globally Attracting Fixed Points in Deep Neural Networks With Nonlinear Activations}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=QDLKRmx07M},
}
Figure