Abstract
Descent methods for deep networks are notoriously capricious: they require careful tuning of step size, momentum and weight decay, and which method will work best on a new benchmark is a priori unclear. To address this problem, this paper conducts a combined study of neural architecture and optimisation, leading to a new optimiser called Nero: the neuronal rotator. Nero trains reliably without momentum or weight decay, works in situations where Adam and SGD fail, and requires little to no learning rate tuning. Also, Nero's memory footprint is ~ square root that of Adam or LAMB. Nero combines two ideas: (1) projected gradient descent over the space of balanced networks; (2) neuron-specific updates, where the step size sets the angle through which each neuron's hyperplane turns. The paper concludes by discussing how this geometric connection between architecture and optimisation may impact theories of generalisation in deep learning.
1. Introduction
Deep learning optimization often suffers from a "tuning" problem, where achieving convergence requires meticulous adjustment of hyperparameters like learning rates, momentum, and weight decay. This brittleness frequently arises from a hidden coupling between optimization algorithms and the neural architectures they are tasked to train. Standard descent methods like SGD and Adam treat weights as a flat vector in $\mathbb{R}^d$, largely ignoring the structural properties of the network.
In "Learning by Turning: Neural Architecture Aware Optimisation," Liu et al. propose Nero (the Neuronal Rotator), an optimizer designed to internalize architectural awareness. By shifting from synapse-level updates to a neuron-centric geometric approach, Nero provides a more stable and reliable training process that minimizes the need for hyperparameter tuning.
2. The Nero Optimizer
Nero is built upon two fundamental pillars that leverage the geometric structure of neural networks:
2.1 Projected Gradient Descent on Balanced Networks
Nero constrains the network to a "balanced" state. Specifically, it ensures that every neuron's weight vector maintains a zero mean (balancing excitation and inhibition) and a unit $\ell_2$ norm. This approach mimics the benefits of Batch Normalization—standardizing activation statistics—directly within the optimizer, thereby avoiding the need for additional computational layers.
2.2 Per-Neuron Relative Updates
While Adam operates at the granularity of individual synapses and LAMB at the level of entire layers, Nero identifies a "sweet spot" at the neuron level. By performing updates per-neuron, the step size effectively determines the angle through which each neuron's weight vector "turns" on its hypersphere. This geometric invariance makes the optimizer robust to the initial scale of weights and provides the stability necessary for deep architectures.
Furthermore, Nero is exceptionally memory-efficient. By tracking statistics per-neuron rather than per-synapse, its memory overhead is approximately the square root of that required by Adam or LAMB.
3. Experimental Evaluation
The authors evaluated Nero across a diverse set of benchmarks, including image classification (CIFAR-10, ImageNet), generative modeling (BigGAN), natural language processing (Transformers on Wikitext-2 and WMT16), and reinforcement learning (Atari Pong).
In most tasks, Nero's default configuration ($\eta=0.01$) outperformed or matched baseline optimizers that had been specifically tuned for those benchmarks. Notably, Nero demonstrated superior stability in extreme cases, such as training a 100-layer MLP without modern architectural aids like skip connections or Batch Normalization.
4. Analysis and Ablation
A critical component of Nero's success is the combination of its geometric constraints. An ablation study reveals that both the mean and norm constraints are essential for maintaining high performance.
The results indicate that removing either constraint leads to significant degradation in performance, confirming that the "balanced" state is vital for the optimizer's effectiveness.
5. Conclusion
Nero represents a significant step toward architecture-aware optimization. By treating training as a series of rotations on a hypersphere and enforcing neuronal balance, it eliminates the need for traditional "crutches" like momentum and weight decay. While challenges remain regarding overfitting on massive datasets like ImageNet—where explicit regularization is still beneficial—Nero's robustness and efficiency offer a promising new direction for deep learning optimization.
Summary updated