TL;DR
Meta-training learned optimizers (LOs) is notoriously inefficient and unstable over long horizons, often causing them to underperform standard hand-designed algorithms. This paper introduces Efficient Long-hOrizon (ELO) learning, a framework that recycles compute via a failure-aware resume buffer and stabilizes training using decoupled expert supervision. The resulting learned optimizers consistently outperform AdamW and match Muon on large downstream tasks, all while requiring less than 7 H100 GPU-hours to meta-train.
What Problem Does This Paper Address?
Learned optimization replaces hand-designed update rules (like AdamW or SGD) with a small neural network that learns how to update the parameters of an "optimizee" model. While conceptually powerful, meta-training these learned optimizers is incredibly difficult.
To learn how to optimize over long periods (long horizons), the meta-training process typically has to unroll the optimization trajectory over many steps. This introduces two massive headaches:
- Wasted Compute: Existing methods constantly restart optimization from scratch (random initialization). Once the LO learns how to handle the easy, early steps of training, these random restarts waste valuable compute re-covering well-trodden ground.
- Instability: Compounding errors over long unrolls lead to exploding or vanishing meta-gradients, causing the meta-training loop to diverge or collapse.
As a result, LOs have historically struggled to compete with highly tuned, hand-designed optimizers on realistic, large-scale downstream tasks.
Methods
ELO tackles these challenges with a two-pronged approach:
- Failure-Aware Resume Buffer: Instead of resetting to step zero when an unroll ends, ELO tracks a cumulative "difficulty score" based on where the optimizee's loss stalls or diverges. It saves these high-difficulty states into a buffer and resumes from them with an 80% probability ($P_B = 0.8$). This shifts the meta-training compute away from easy early-stage optimization and directly into the late-stage, failure-prone regimes.
- Decoupled Progressive Expert Supervision: To prevent the LO from diverging during these difficult long-horizon unrolls, ELO regularizes the LO by forcing it to imitate a reliable "expert" optimizer (like AdamW or Muon). Crucially, instead of using a standard Mean Squared Error (MSE) loss, ELO decouples this imitation into separate direction (cosine similarity) and magnitude (norm difference) objectives. A progressive schedule ($\alpha_t$) gradually phases out this expert guidance, allowing the LO to eventually surpass the expert.
Datasets
- Meta-Training: The LOs are meta-trained on a tiny scale: four simple $8 \times 8$ downsampled image classification datasets (MNIST, Fashion-MNIST, CIFAR-10, and SVHN) using a basic one-layer MLP.
- Downstream Evaluation (Generalization):
- Image Classification: ImageNet-1K trained on ResNet-50 and ViT-B/16.
- Language Modeling: FineWeb dataset trained on GPT-2-small (124M parameters) and GPT-2-medium (350M parameters).
Key Insights and Ideas
- Direction Matters More Than Magnitude: When imitating an expert optimizer, matching the direction of the weight update is far more critical than matching its exact scale. Decoupling the loss function prevents scale mismatches from destabilizing training and yields significantly better meta-evaluation performance.
- Expert-Architecture Alignment: The choice of the expert optimizer matters and depends heavily on the LO's architecture. Element-wise LOs perform best when imitating AdamW, whereas matrix-based LOs (like Celo2, which utilizes tensor orthonormalization) excel when imitating Muon.
- Extreme Scaling Law Defiance: Remarkably, an optimizer meta-trained entirely on a tiny 32-width MLP over toy $8 \times 8$ images successfully generalizes to training a 350-million-parameter GPT-2 model on billions of tokens.
Key Results
- Outperforming AdamW: ELO-Celo2 consistently outperformed well-tuned AdamW across all evaluated downstream vision and language tasks.
- Matching State-of-the-Art: On GPT-2 language modeling benchmarks, ELO-Celo2 performed on par with Muon, a highly specialized, state-of-the-art hand-designed matrix optimizer.
- Highly Accessible Meta-Training: Thanks to the compute efficiency of the resume buffer, all ELO baselines were trained in less than 7 H100 GPU-hours, making learned optimization research viable without industrial-scale compute budgets.
Limitations and Future Work
- Scale Limitations: The authors only evaluated downstream models up to 350M parameters due to academic compute constraints. Testing on multi-billion parameter models remains future work.
- Architectural Scope: The evaluation focused on standard dense Transformers and CNNs/ViTs; it did not explore Mixture-of-Experts (MoEs) or alternative attention mechanisms.
- Framework Overhead: Due to current constraints within the JAX framework, ELO introduces a noticeable data-movement overhead on very small meta-training tasks. However, the authors note this overhead becomes negligible as the scale of the optimizee task increases.
Summary updated