TL;DR
This paper introduces AdamO, a novel optimizer that decouples the control of parameter norm (magnitude) from feature learning (direction) in deep neural networks. By treating these as distinct geometric components, AdamO achieves significantly improved generalization and training stability compared to existing optimizers like AdamW, without adding complex constraints.
What Problem Does This Paper Address?
Training deep neural networks often involves a delicate balance between learning new features and preventing overfitting. Optimizers like AdamW attempt to manage this by decoupling weight decay (a regularization technique that shrinks parameter magnitudes) from adaptive gradient scaling. However, the authors argue that this doesn't fully resolve a fundamental conflict: the "Radial Tug-of-War."
In essence, gradients push parameters outwards to increase the model's capacity and learn features, while weight decay pulls them inwards, indiscriminately suppressing growth. This push-pull action can lead to oscillations in parameter norms, injecting noise into the optimizer's internal states and hindering the learning of subtle feature directions. The paper posits that this entanglement of magnitude and direction control is suboptimal and proposes a new approach to disentangle them.
Methods
The core innovation is Orthogonal Dynamics Decoupling (ODD), which decomposes parameter updates into radial (norm control) and tangential (feature learning) components.
- Radial-Tangential Decomposition: Each parameter block is projected onto its radial direction (norm) and its tangential subspace (direction). Gradients and optimizer states are then split accordingly.
- Decoupled Updates:
- Radial Control: A simple SGD-style update with an adaptive step size is used for norm control. This step size is dynamically adjusted based on a "curvature proxy" (estimated from gradient changes) to slow down in high-curvature regions and speed up on flatter ones, aiming to suppress oscillations.
- Tangential Control: Adam's adaptive preconditioning is confined to the tangential subspace, ensuring that feature learning is not corrupted by radial noise.
- Architecture-Awareness: AdamO incorporates specific rules for:
- Low-dimensional parameters (e.g., biases): A standard Adam update is used, as their dimensionality is limited.
- Scale-invariant layers (e.g., BatchNorm, LayerNorm): Radial steps are deemed uninformative, so only tangential updates are applied, similar to AdamP.
- Pure Radial Weight Decay: Weight decay is applied exclusively in the radial direction, preventing it from interfering with feature directions.
Datasets
The paper evaluates AdamO on:
- CIFAR-100: A standard image classification dataset with 100 classes and 32x32 resolution images.
- Modular Arithmetic: A custom benchmark for studying "grokking," a phenomenon where models transition from memorization to generalization.
Key Insights and Ideas
- The "Radial Tug-of-War" is a real problem: The paper provides a compelling theoretical argument and empirical evidence that the conflict between gradient-driven norm growth and weight decay is a significant source of instability and noise in optimizers like AdamW.
- Geometric separation is key: Decoupling the control of parameter magnitude (radial) from feature direction (tangential) is a more principled way to handle optimization dynamics.
- Curvature-adaptive radial steps are beneficial: Dynamically adjusting the radial step size based on curvature helps to smooth out oscillations and improve stability.
- Architecture-awareness matters: Recognizing that different layer types have different sensitivities to radial updates allows for more effective and efficient optimization.
- Radial-only weight decay is superior: Applying weight decay purely radially, rather than isotropically, is crucial for AdamO's success, reinforcing the importance of disentangling magnitude control.
Key Results
- Significant Accuracy Gains: AdamO achieves state-of-the-art accuracy on CIFAR-100, reaching 79.74±0.09%, a substantial improvement of +4.99% over AdamW (74.75±0.15%).
- Improved Stability: Visualizations of training dynamics show that AdamO exhibits smoother trajectories and less radial wandering compared to AdamW. Gradient statistics also indicate reduced fluctuations.
- Robustness to Hyperparameters: AdamO maintains strong performance across a wider range of learning rates and weight decay values compared to AdamW, suggesting reduced tuning burden.
- Effective Grokking: On the modular arithmetic task, AdamO achieves the best final accuracy and exhibits a later, more robust transition to generalization, consistent with its capacity control mechanisms.
- Ablation Studies Confirm Design Choices: Removing curvature adaptation, dimension-aware handling, or projection individually leads to performance degradation, highlighting the importance of each component. AdamO-Isotropic (which uses isotropic decay) performs similarly to AdamW, underscoring the necessity of radial-only decay.
Limitations and Future Work
- Computational Overhead: While the paper claims AdamO does not introduce "additional complex constraints," the decomposition and re-projection steps likely add some computational overhead compared to simpler optimizers. The paper does not explicitly quantify this.
- Hyperparameter Tuning: Although AdamO is shown to be more robust, it still has its own set of hyperparameters (e.g., tangential LR, radial LR, curvature smoothing). Further research could explore more automated ways to set these.
- Broader Applicability: While tested on vision and language tasks, exploring AdamO's performance on a wider range of architectures and tasks would be valuable.
- Theoretical Understanding: Further theoretical analysis of the convergence properties and the impact of ODD on the optimization landscape could provide deeper insights.
Summary updated