Blow up phenomena for gradient descent optimization methods in the training of artificial neural networks

Davide Gallon, Arnulf jentzen, Felix Lindner

In the world of deep learning, we often take for granted that if our loss function is decreasing, our model is "learning." We visualize gradient descent as a ball rolling down a hill into a stable valley. But what if that valley doesn't exist? What if the only way to reach the bottom of the hill is to travel infinitely far away?

A recent paper titled "Blow up phenomena for gradient descent optimization methods in the training of artificial neural networks" by Davide Gallon, Arnulf Jentzen, and Felix Lindner dives deep into the mathematical mechanics of why neural network parameters sometimes "blow up"—diverging to infinity—during training.

TL;DR

The authors mathematically prove that for many common neural network setups, global minima simply do not exist. In these cases, gradient descent is forced to push model parameters toward infinity to minimize risk, a phenomenon known as "blow up." Interestingly, they find that piecewise affine functions like ReLU are actually more stable in this regard than smooth functions like Sigmoid or Tanh.

What Problem Does This Paper Address?

Most convergence proofs for neural network training rely on a crucial, often unspoken assumption: that the model parameters stay within a bounded range. If the parameters (weights and biases) fly off to infinity, the standard math used to guarantee that a model will converge falls apart.

The authors tackle a fundamental question: Under what conditions does gradient descent fail to find a stable point and instead cause parameters to diverge? They focus on shallow networks (one hidden layer) and investigate how the choice of activation function (ReLU, Sigmoid, Tanh, etc.) and the target function the model is trying to learn contribute to this instability.

Methods

The researchers employed rigorous mathematical analysis, focusing on two optimization regimes:

  1. Gradient Flow (GF): The continuous-time version of optimization, modeled as a differential equation.
  2. Gradient Descent (GD): The discrete-time version actually used in practice.

They analyzed the "risk landscape"—the geometric shape of the loss function—for shallow networks with $h$ hidden neurons. By constructing specific "target functions" (the ground truth the network tries to mimic), they were able to prove whether a global minimum exists at any finite parameter value. They also utilized the concept of "generalized gradients" to handle non-differentiable functions like ReLU.

Datasets

As a theoretical mathematics paper, this work does not use empirical datasets like ImageNet or MNIST. Instead, it uses synthetic target functions to test the limits of the architecture. These include:

  • Indicator functions: Simple step functions (e.g., 0 if $x < 0.5$, 1 if $x \ge 0.5$).
  • Polynomials: Smooth curves used to test how activations like Tanh or Sigmoid behave.
  • Lipschitz continuous functions: Functions that don't change too abruptly.

Key Insights and Ideas

  • The ReLU "Risk Gap": For ReLU networks with at least two hidden neurons, the authors found a surprising "threshold." If you start training with a risk (loss) already below a certain value, and there are no critical points (valleys) in that region, the gradient has no choice but to push the parameters to infinity.
  • Smoothness is a Double-Edged Sword: We often prefer smooth activation functions (like Sigmoid or Tanh) because they are easier to differentiate. However, the authors prove that for many target functions, these smooth activations never reach a global minimum at finite weight values. To get the "best" fit, the weights must become infinitely large to make the smooth curve "sharp" enough to match the target.
  • The Superiority of ReLU: One of the most striking insights is that piecewise affine functions (like ReLU) are "superior" regarding the existence of minima. Because they are already composed of straight lines, they can often perfectly match a target function using finite weights, whereas smooth functions are stuck in an infinite chase.

Key Results

  • Divergence Proofs: The authors established that for ReLU networks, if the initial risk is lower than a specific bound (for example, $1/864$ in a specific two-neuron case), the gradient flow trajectory must diverge to infinity.
  • Non-existence Theorems: They proved that for a wide range of popular activations—including softplus, logistic, tanh, and arctangent—there are simple polynomial target functions for which no global minimum exists.
  • Quantitative Bounds: The paper provides concrete lower bounds for the risk of critical points. If the "infimum" (the theoretical lowest possible loss) is 0, but the lowest "critical point" (a flat spot in the landscape) is at a loss of 0.1, any training that reaches a loss of 0.05 is guaranteed to blow up.

Limitations and Future Work

While the math is rigorous, the scope is currently limited to:

  • Shallow Networks: The proofs focus on networks with only one hidden layer. Deep networks likely exhibit even more complex blow-up phenomena.
  • Low Dimensionality: The analysis is primarily 1D (one input, one output).
  • Specific Loss Functions: The work focuses on mean squared error (square integrable functions).

The authors suggest that future work should extend these findings to deeper architectures and multi-dimensional inputs to see if the "ReLU superiority" holds true in the complex models used in modern AI. For practitioners, this paper serves as a reminder that a disappearing loss curve isn't always a sign of a healthy model—sometimes, it's just a sign that your weights are headed for the stars.

Summary updated

BibTeX
@misc{gallon2022blow,
  author = {Davide Gallon and Arnulf jentzen and Felix Lindner},
  title = {{Blow up phenomena for gradient descent optimization methods in the training of artificial neural networks}},
  year = {2022},
  eprint = {2211.15641},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.15641},
}
Figure