This paper, recently presented at NeurIPS, explores a fundamental mystery in deep learning: why do neural network weights often "blow up" (diverge to infinity) even as the training loss successfully drops toward zero? The authors introduce the concept of SAD (Sublinear Analytic Definable) activation functions to prove that for many common architectures, this divergence isn't just a quirk of training—it’s a mathematical necessity for reaching optimal performance.
TL;DR
The authors prove a fundamental dichotomy for smooth neural networks: gradient flows either converge to a critical point or diverge to infinity. For polynomial target functions, they show that zero loss can only be achieved asymptotically as weights grow to infinity, a theoretical finding they confirm across tasks ranging from simple regression to solving PDEs and classifying MNIST digits.
What Problem Does This Paper Address?
Most theoretical analyses of neural network convergence rely on "stability" assumptions—the idea that weights stay within a bounded region. However, in practice, we often see weight norms climb steadily during training. This is particularly evident in simple cases like linear classifiers with logistic loss, but less understood in deep, non-convex networks.
The authors aim to bridge this gap by answering: Under what conditions does gradient flow converge to a "good" local minimum versus wandering off to infinity? And if it does diverge, what happens to the loss?
Methods
The paper leverages o-minimal structures, a concept from mathematical model theory. O-minimal geometry deals with "tame" sets and functions that avoid pathological behaviors (like infinite oscillations).
The authors define a new class of activation functions called SAD (Sublinear Analytic Definable). To be SAD, a function must be:
- Sublinear: It doesn't grow faster than a linear function (e.g., $\tanh$, logistic, GELU).
- Analytic: It can be locally represented by a power series.
- Definable: It belongs to an o-minimal structure (it is "tame").
By using the rigidity properties of these functions, the authors analyze the "gradient flow"—the continuous-time version of gradient descent—on the loss landscape.
Datasets
The authors validated their theory using a mix of synthetic and standard benchmarks:
- Polynomial Target Functions: Synthetic 1D, 2D, and 4D polynomials of degree $\ge 2$.
- Partial Differential Equations (PDEs): Solutions to the Heat equation and the Black-Scholes equation using the Deep Kolmogorov Method.
- MNIST: The classic handwritten digit classification dataset.
Key Insights and Ideas
- The Dichotomy Theorem: For a wide class of smooth networks (logistic, tanh, softplus, GELU, Swish), the gradient flow follows a strict "either-or" path: it either settles at a critical point (like a local minimum) or the weights diverge to infinity while the loss converges to a "generalized critical value."
- The Representation Gap: A core "aha!" moment is the proof that a SAD neural network (which is sublinear) can never perfectly represent a polynomial of degree 2 or higher with finite weights. Because the network is "too straight" at the edges, it can only approximate the curvature of a polynomial by pushing its weights to infinity to reach the asymptotic regime of the activation functions.
- Threshold for Success: The authors prove there is a threshold $\varepsilon > 0$. If you initialize your network with a loss value less than $\varepsilon$ above the global optimum, the gradient flow is guaranteed to converge to that optimal loss level, even if the weights themselves have to diverge to get there.
Key Results
The theoretical predictions were closely matched by numerical experiments using both Gradient Descent (GD) and Adam.
- Weight Growth: In all experiments (polynomials, PDEs, and MNIST), the parameter norms increased as the loss decreased. For GD, this growth is theoretically $O(\sqrt{t})$, though empirically it often appeared logarithmic.
- Asymptotic Optimality: As shown in Figure 1, while the loss (bottom row) drops toward zero, the parameter norm (top row) continues to climb across all tested activation functions.
- Universality: The "blow-up" phenomenon persisted even in complex tasks like MNIST classification, suggesting that the divergence analyzed in the polynomial case is a broader feature of smooth neural network training.
Limitations and Future Work
- ReLU is Excluded: The analysis requires functions to be $C^1$ (smooth) or analytic. Therefore, the results do not apply to the popular ReLU activation, which is non-smooth. Interestingly, for shallow ReLU networks, global minima can exist at finite weights.
- Gradient Flow vs. SGD: The primary proofs are for continuous gradient flow. While experiments show similar behavior for discrete-time optimizers like Adam and SGD, the formal proof for the stochastic case remains future work due to the difficulty of controlling the Hessian in unstable regimes.
- Weight Decay: The authors note that adding $L^2$ regularization (weight decay) prevents divergence by design, as it penalizes large weights, changing the landscape to ensure global minima exist at finite distances.
Summary updated