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

Amir Joudaki, Thomas Hofmann

Introduction

Understanding how neural networks transform input data across layers is fundamental to unraveling their learning and generalization capabilities. A persistent mystery in deep learning is the evolution of data representations: as inputs pass through dozens or hundreds of layers, how does their mathematical similarity change? While it is known that deep networks can suffer from "forgetting"—where nuances of the original input are lost to rank collapse or covariance degeneracy—a global, theoretical understanding of this process has remained elusive.

This research provides a rigorous framework to show that the similarity between different inputs inevitably converges to a single, globally attracting fixed point. By employing Mean-Field Theory and Hermite polynomial expansions, the authors demonstrate how specific activation functions and architectural choices, such as Residual Connections (ResNets) or Layer Normalization, dictate whether a network biases representations toward being perfectly aligned, completely orthogonal, or somewhere in between.

Theoretical Framework

To analyze the evolution of representations, the authors utilize three primary mathematical pillars:

  1. Mean-Field Theory: By analyzing networks in the "infinite-width" limit, the random fluctuations of individual weights average out. This allows the evolution of the "kernel"—the similarity measure between two inputs—to be treated as a deterministic, predictable sequence across layers.
  2. Hermite Polynomial Expansion: The authors expand activation functions (such as ReLU, sigmoid, or tanh) into a basis of Hermite polynomials. This algebraic approach allows them to derive an explicit form for the "kernel map," which describes how similarity at layer $l$ transforms into similarity at layer $l+1$.
  3. Kernel ODE: By treating the discrete steps between layers as a continuous process, the authors develop an Ordinary Differential Equation (ODE) that describes the "flow" of similarity. This framework identifies Lyapunov functions to prove that the system will always settle into a specific stable state, known as the fixed point.

The Geometry of Convergence

The core finding of the paper is that for any nonlinear activation, there exists exactly one unique, globally attractive fixed point $\rho^*$ in the range $[0, 1]$. The authors categorize all nonlinear activations into four distinct cases based on where this fixed point resides:

  • Case 1 (Orthogonality Bias): Representations are pushed to be perpendicular. This is common in activations like tanh and SeLU, where the fixed point $\rho^* = 0$.
  • Case 2 & 3 (Strong Similarity Bias): Representations are pushed to be identical. Activations like ReLU, sigmoid, and exp naturally bias the network toward a similarity of $\rho^* = 1$, leading to potential representation collapse.
  • Case 4 (Weak Similarity Bias): Representations settle at a specific angle between 0 and 90 degrees. This occurs with activations like GELU and ELU ($0 < \rho^* < 1$).

Architectural Implications

The research extends beyond simple multilayer perceptrons to examine how modern architectural components influence these biases:

The Role of Normalization

Layer Normalization acts as a fundamental "reset" for the kernel sequence. The authors show that adding normalization after an activation function can shift a network's inherent bias. For instance, it can transform a network from a Strong Similarity bias (where all inputs eventually look the same) to an Orthogonality bias (where inputs are treated as independent).

ResNets and Signal Preservation

Residual connections act as a "blender," mixing the nonlinear transformation of a layer with the original identity of the input. This mechanism significantly slows down the convergence to the fixed point. This explains why ResNets can be scaled to much greater depths than standard architectures without the signal collapsing into the fixed point too early.

The Forgetting Threshold

The authors introduce a formula to calculate the "Forgetting Threshold"—the specific depth at which two inputs become numerically indistinguishable. For standard 32-bit floats, if a network is sufficiently deep, the representations of any two inputs will eventually collapse to the same fixed point, which may render training impossible if the architecture is not carefully tuned.

Conclusion and Future Work

This work provides a comprehensive map of the implicit biases of deep neural networks at initialization. It quantifies how fast representations converge—noting that most activations converge exponentially fast, while the exp activation is a rare case of polynomial convergence.

While the theory relies on the infinite-width assumption, it provides a vital baseline for understanding real-world networks. Future research may extend this global analysis to the training phase, examining how the "Neural Tangent Kernel" (NTK) evolves as weights are updated, and how these fixed points influence the vanishing gradient problem during backpropagation.

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