Introduction
Training massive foundation models relies almost entirely on hand-designed optimizers like Adam or SGD. Learned Optimizers (LOs)—which use small neural networks to discover better optimization rules from data—promise to speed up this process. However, they have historically suffered from two massive roadblocks:
- Poor Meta-Generalization: An LO trained on small MLPs usually crashes and burns when asked to train a massive Transformer or a Reinforcement Learning policy.
- Exorbitant Training Costs: To force LOs to generalize, prior state-of-the-art models like Google's VeLO used brute-force scale, requiring a staggering 4,000 TPU months to meta-train. Even then, VeLO failed to scale beyond 600M parameter models.
Celo2 is a new learned optimizer that achieves state-of-the-art performance on billion-parameter models (like GPT-3) despite being meta-trained in just 4.5 GPU hours on tiny 8x8 images. By decoupling the learning rate schedule and applying clever output normalization, it solves the notorious generalization and cost problems of prior learned optimizers, offering a highly scalable drop-in replacement for AdamW.
Methods: Designing for Stability
Instead of relying on massive compute, Celo2 achieves stability through smart architectural constraints:
- Decoupled Step-Size: Unlike VeLO, which tries to predict both the update direction and the learning rate schedule, Celo2 only learns the update rule. It leaves the global learning rate schedule (e.g., cosine decay) as a tunable knob for the user. This prevents the optimizer from overfitting to the specific training lengths it saw during meta-training.
- Normalized Learned Updates: Prior LOs fed normalized inputs into their MLP but used the raw outputs for the parameter update. Celo2 applies Root Mean Square (RMS) normalization to the outputs of the MLP. This forces the network to learn a scale-invariant update rule.
- Modern Optimization Harness: Celo2 plays nice with recent hand-crafted optimization tricks. It applies Newton-Schulz orthogonalization to the MLP updates for 2D+ parameters (like weight matrices) and uses standard Adam for 1D parameters (like biases and embeddings).
The Magic of Output Normalization: As seen in the update norm dynamics, simply normalizing the step update by its own RMS magnitude is the secret sauce for stability. It prevents the learned MLP from outputting wildly exploding gradients and naturally mimics the reliable training dynamics of AdamW.
Key Results
Celo2 was meta-trained using Persistent Evolutionary Strategies (PES) on a mixture of tiny image classification tasks (MNIST, CIFAR-10, etc., resized to 8x8 pixels). Despite this incredibly simple training setup, it demonstrates remarkable zero-shot generalization.
- Extreme Compute Efficiency: Celo2 was meta-trained in just 4.5 GPU hours on a single NVIDIA L40S GPU. This is orders of magnitude cheaper than VeLO's 4,000 TPU months.
- Billion-Scale Generalization: The "free lunch" of scale is real. Celo2 was trained exclusively on toy 8x8 image datasets, yet it flawlessly optimized a 1.3B parameter LLM—a task $1,000,000\times$ larger than its training distribution. On the GPT-3 XL pretraining task, Celo2 remained perfectly stable and outperformed both VeLO (which failed to generalize) and a well-tuned AdamW baseline.
- Length Generalization: When training a ViT on ImageNet for 50,000 steps (an unroll $25\times$ longer than anything it saw during meta-training), Celo2 hit VeLO's target validation loss roughly $2\times$ faster.
- Robustness to Noise: Evaluated zero-shot on Reinforcement Learning tasks (which have notoriously noisy, non-stationary gradients), Celo2 significantly outperformed VeLO and matched highly-tuned AdamW.
Limitations and Future Work
While Celo2 represents a massive leap forward in practical learned optimization, it has a few limitations:
- Manual Hyperparameter Tuning: Because Celo2 decouples the step size, practitioners still have to manually tune the learning rate. The authors leave the development of a general, learned LR scheduler to future work.
- Memory and Runtime Overhead: Celo2 maintains more accumulators than Adam, resulting in a ~5x memory overhead per parameter (compared to Adam's 3x). Additionally, the Newton-Schulz orthogonalization adds a ~1.3x runtime compute cost per step.
- Precision Studies Needed: While initial tests in
bfloat16showed no instability, a targeted study on mixed/lower precision training is needed to help reduce the optimizer's memory footprint.
Summary updated