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

Training Scale-Invariant Neural Networks on the Sphere Can Happen in Three Regimes

Maxim Kodryan, Ekaterina Lobacheva, Maksim Nakhodnov, Dmitry Vetrov

TL;DR

By freezing the parameter norm and training scale-invariant neural networks directly on a unit sphere, this paper isolates pure directional dynamics from changing learning rates. The authors discover that optimization unfolds in three distinct regimes—convergence, chaotic equilibrium, and divergence—depending entirely on the chosen effective learning rate (ELR). This framework provides a clean lens to view the intrinsic loss landscape, explaining how standard training schedules navigate these regimes to find flatter, better-generalizing minima.

What Problem Does This Paper Address?

Modern neural networks rely heavily on normalization layers like Batch Normalization (BN) and Layer Normalization (LN). These layers introduce a mathematical property called scale invariance: multiplying the weights preceding a normalization layer by a positive scalar doesn't change the network's output.

Consequently, weight optimization happens on two fronts: the direction of the weights (their projection onto a unit sphere) and the norm (their length). In standard training, the norm fluctuates freely. Because the gradient of a scale-invariant function is inversely proportional to the weight norm, a changing norm constantly alters the effective learning rate (ELR)—the actual step size the network takes on the sphere. This moving target obscures the true geometry of the loss landscape.

To understand the intrinsic properties of scale-invariant networks, the authors strip away the influence of a changing norm by optimizing weights directly on the sphere with a fixed ELR.

Methods

The authors employ Projected Stochastic Gradient Descent (SGD) on a unit sphere. At each step, standard SGD updates the weights, and the algorithm immediately projects them back onto a sphere of fixed radius $\rho$. This ensures the total norm remains constant, which fixes the total ELR ($\tilde{\eta} = \eta / \rho^2$).

To ground their empirical findings, they also construct a simple, analytical toy model: a conical combination of scale-invariant subfunctions: $$F(\mathbf{x}, \mathbf{y}) = \sum_{i=1}^n \alpha_i \frac{x_i^2}{x_i^2 + y_i^2}$$ This allows them to mathematically derive the boundaries and equilibrium states of the training regimes before testing them on deep networks.

Datasets

The authors evaluate their approach across several standard benchmarks:

  • Computer Vision: CIFAR-10 and CIFAR-100 (using ConvNet and ResNet-18 architectures).
  • Image Classification (MLP): MNIST (using a fully scale-invariant Multilayer Perceptron).
  • Text Classification: AG NEWS (using an encoder-only Transformer).

No new benchmarks were introduced.

Key Insights and Ideas

  • The Three Regimes: Depending on the ELR, training falls into three buckets:
  • Convergence (Low ELR): The loss smoothly minimizes. Higher ELRs within this regime traverse flatter regions and land in superior, less sharp minima.
  • Chaotic Equilibrium (Medium ELR): The loss never minimizes; instead, it oscillates around a stable, non-trivial value.
  • Divergence (High ELR): The step size is too large, resulting in chaotic, random-walk behavior.
  • The Negative Feedback Loop: In the chaotic equilibrium regime, individual layers self-regulate. If a layer takes too large an effective step, its individual ELR drops in the next iteration, balancing out the system. This forces the effective step sizes of all layers to concentrate around a single equilibrium value.
  • The Sharpness Bottleneck: The boundary between convergence and chaotic equilibrium is marked by a massive peak in sharpness (gradient norm). Only a sufficiently small ELR can squeeze past this bottleneck into the convergence zone. This peak correlates directly with the famous epoch-wise double descent phenomenon in machine learning.

Key Results

The empirical results on deep networks perfectly mirror the theoretical toy model.

Figure 1: Three regimes of SI neural network training on the sphere: (1) convergence for the lowest ELRs, (2) chaotic equilibrium for medium ELRs, and (3) divergence for the highest ELRs. ConvNet on CIFAR-10. Dashed lines on scatter plots denote borders between the regimes.

As shown in Figure 1, low ELRs lead to standard convergence (Regime 1). Medium ELRs get trapped "hopping along the walls" of the loss landscape in a state of chaotic equilibrium (Regime 2).

Fine-tuning experiments revealed that if you start in Regime 1 and decrease the ELR, the model stays within its original basin. However, if you increase the ELR, the model can "jump out" of its sharp basin and settle into a much flatter, better-generalizing one.

This explains why popular learning rate schedules, like the cosine schedule, work so well in practice: they start with a high learning rate in Regime 2 (exploring the landscape and localizing flat regions) before cooling down into Regime 1 to safely pass the sharpness bottleneck and converge.

Limitations and Future Work

While insightful, the study is limited to Projected SGD on the sphere. Modern training frequently uses adaptive optimizers like Adam, which alter directional dynamics in more complex ways. Additionally, the authors only account for scale invariance, ignoring other structural symmetries inherent to neural networks (like weight permutation).

Future work includes extending this spherical analysis to adaptive optimizers and leveraging these insights to design more efficient, theoretically grounded learning rate schedules.

Summary updated

BibTeX
@inproceedings{kodryan2022training,
  author = {Maxim Kodryan and Ekaterina Lobacheva and Maksim Nakhodnov and Dmitry Vetrov},
  title = {{Training Scale-Invariant Neural Networks on the Sphere Can Happen in Three Regimes}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=edffTbw0Sws},
}
Figure