NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Flat Channels to Infinity in Neural Loss Landscapes

Flavio Martinelli, Alexander Van Meegen, Berfin Şimşek, Wulfram Gerstner, Johanni Brea

TL;DR

This paper identifies and characterizes "channels to infinity" in the loss landscapes of neural networks—quasi-flat regions where output weights diverge to $\pm\infty$ while input weights converge. Far from being a simple failure mode, wandering down these channels allows a pair of standard neurons to mathematically implement a Gated Linear Unit (GLU) via a directional derivative approximation.

What Problem Does This Paper Address?

Understanding the non-convex loss landscapes of neural networks remains one of the core mysteries of deep learning. Classical theory tells us that duplicating a neuron in a trained network creates a continuous line of critical points (saddle lines), which are generally considered benign. However, the authors discover that standard optimization algorithms often get trapped in nearby, seemingly flat regions where parameters blow up to infinity.

The paper investigates what these regions look like geometrically, why standard optimizers like SGD and ADAM frequently get stuck in them, and what this parameter divergence means for the network's actual mathematical function.

Figure 1: Saddle lines à la Fukumizu & Amari [1] and channels to infinity. Left: Duplicating a neuron in a network trained to convergence generates lines of saddle points in the loss landscape [1]. Duplicated neurons share the input weights of the original neuron while their output weights γa, (1 −γ)a sum to the original neuron’s output weight a. Middle: Loss landscape of duplicated network projected along the saddle line (in red) and the eigenvector of the smallest (most negative) eigenvalue of the loss Hessian. Parallel to the saddle line there are channels to infinity (green curve) along which the loss decreases very slowly. Following the channel, the output weights diverge to infinite norm and the input weights converge to a new value. Right: The solution at infinity implements a new function consisting of a single neuron and a gated linear unit. The gating function is the derivative of the original activation function σ.

Methods

The authors combine theoretical analysis with precise numerical experiments:

  • Gradient Flow via ODE Solvers: To study the exact trajectories of optimization without the noise of discrete steps, they use high-order ODE solvers to integrate the continuous gradient flow dynamics.
  • Taylor Expansion Analysis: They perform a Taylor expansion on the loss function with respect to $\epsilon$ (half the distance between the two merging input weight vectors) to show how the network behaves asymptotically.
  • The Jump Procedure: Because gradient descent crawls incredibly slowly down these flat channels, the authors introduce a "jump procedure" that artificially halves $\epsilon$ and re-optimizes the remaining parameters, allowing them to efficiently probe the landscape near infinity.
  • Population Loss Calculations: To rule out finite-data artifacts, they analytically compute the exact population (infinite-data) loss for networks using error function (erf) and ReLU activations under Gaussian data distributions.

Datasets

The networks were evaluated on diverse regression tasks designed to test different landscape complexities:

  • Modified Rosenbrock Function: A highly non-symmetric, complicated 2D log-polynomial target function used to find a rich variety of local minima.
  • Gaussian Process (GP) Datasets: Target functions generated using a Matérn-3/2 kernel with varying scaling factors $s \in \{0.1, 0.5, 2.0, 10.0\}$. Adjusting $s$ allowed the authors to control the "roughness" or bumpiness of the target function.

Key Insights and Ideas

  • Functional Emergence (The GLU Transformation): As two neurons move down the channel, their output weights explode in opposite directions ($a_i \rightarrow \infty, a_j \rightarrow -\infty$) while their input weights converge ($w_i \rightarrow w_j$). This setup perfectly mimics a central finite difference approximation of a derivative. At infinity, the pair implements a single neuron plus a gated linear unit: $$a_i\sigma(\mathbf{w_i} \cdot \mathbf{x}) + a_j\sigma(\mathbf{w_j} \cdot \mathbf{x}) \rightarrow c\sigma(\mathbf{w} \cdot \mathbf{x}) + (\mathbf{v} \cdot \mathbf{x})\sigma'(\mathbf{w} \cdot \mathbf{x})$$ where $\sigma'$ acts as the gating function.

  • The "Edge of Stability" Trap: Standard optimizers like SGD or ADAM easily find the entrance to these channels but quickly get stuck. This happens because the maximum eigenvalue of the Hessian diverges as $1/\epsilon^2$ along the channel. The optimizer hits its "edge of stability," making the channel look like a finite, flat local minimum unless inspected with high-precision tools.

  • Geometry: These channels run asymptotically parallel to symmetry-induced saddle lines but are physically distinct and often lead to lower loss values than the finite saddle points themselves.

Key Results

  • High Probability of Occurrence: Depending on the dataset, standard gradient-based training from random initialization (Glorot normal) lands in these channels to infinity with a probability ranging from 10% to over 60%.
  • Roughness Correlates with Divergence: The frequency of finding channels to infinity increases significantly when the target function is rougher (higher GP scale $s$), suggesting that networks leverage this GLU-like derivative behavior to fit complex, high-frequency data patterns.
The loss landscape slice showing a channel to infinity running parallel to a saddle line.
  • Hessian Dynamics: As training progresses along a channel, the landscape simultaneously becomes flatter in the direction of the channel (the minimum eigenvalue approaches zero) and sharper in orthogonal directions (the maximum eigenvalue explodes).

Limitations and Future Work

While the paper provides a comprehensive foundational picture, the authors note a few limitations:

  • Stylized Architectures: The theoretical derivations focus primarily on single-hidden-layer MLPs and mean-squared error loss, though empirical evidence shows channels appear in deeper networks too.
  • Scaling to Large Models: Quantifying the exact probability and impact of these channels in massive, practical architectures (like deep Transformers or CNNs) remains an open challenge and is the subject of ongoing work.
  • Multi-Neuron Channels: The authors observed cases where triplets or larger groups of neurons merge simultaneously, which theoretically correspond to higher-order directional derivatives. A full characterization of these multi-neuron channels is left for future research.

Summary updated

BibTeX
@inproceedings{martinelli2025flat,
  author = {Flavio Martinelli and Alexander Van Meegen and Berfin Şimşek and Wulfram Gerstner and Johanni Brea},
  title = {{Flat Channels to Infinity in Neural Loss Landscapes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=KXfIoUMlzA},
}
Figure