Introduction
In the realm of deep learning, practitioners typically rely on hand-designed analytical optimizers like SGD or Adam. Learning to Optimize (L2O) offers an intriguing alternative: replacing these manual algorithms with a neural network (the optimizer) that learns how to update the weights of another network (the optimizee).
While L2O is gaining traction, current models often suffer from instability, poor generalization, and limited applicability. Consequently, the research community has largely focused on engineering increasingly complex L2O architectures. This paper proposes an orthogonal, under-explored approach: instead of building more complex models, can we bridge the performance gap by simply training existing, simpler models better?
The L2O Training Dilemma
L2O models face a notorious "Goldilocks" dilemma during their training phase, balancing between two extremes:
- Truncation Bias: If the optimizer is trained for only a few steps (short unrolling), it fails to learn the long-term behavior required for a full training run.
- Gradient Explosion: Conversely, attempting to train the optimizer for the full duration (long unrolling) often causes gradients to explode, rendering training unstable or entirely impossible.
Because of these optimization hurdles, many early L2O models were abandoned in favor of highly complex architectures.
Proposed Methods: Better Training Recipes
The authors introduce two primary training "boosters" designed to be plugged into any existing L2O model to overcome these fundamental training challenges.
1. Curriculum Learning (CL)
To solve the unrolling dilemma, the authors implement a progressive, curriculum-based training scheme. Training begins with very short optimization trajectories. As the L2O model improves, the "unroll length" (the number of steps the optimizer takes) is gradually increased. This allows the model to master simple, short-term patterns before tackling the complex, long-term dependencies of a complete training cycle. It effectively balances exploration (seeing many different starting points in the loss landscape) and exploitation (learning to reach the very bottom of a specific landscape).
2. Off-Policy Imitation Learning (IL)
To stabilize training and improve generalization, the authors utilize classical optimizers (such as Adam, SGD, or Adagrad) as "teachers." During training, the L2O model is periodically tasked with predicting the exact update that a classical optimizer would have made. This off-policy imitation learning injects decades of human design knowledge into the learned model, acting as a powerful regularizer that prevents the optimizer from making erratic updates or "spiking."
Key Insights and Results
The authors evaluated their techniques across several "optimizee" tasks, ranging from simple Multi-Layer Perceptrons (MLPs) on MNIST to Convolutional Neural Networks (Conv-MNIST, Conv-CIFAR) and even complex architectures sampled from the NAS-Bench-201 search space.
The "Simple" Baseline is Underrated
The most striking insight from the study is that L2O-DM, a relatively simple LSTM-based optimizer introduced in 2016, can outperform much newer, more complex models simply by changing how it is trained. This suggests the field may have been over-engineering architectures to compensate for poor training recipes.
New State-of-the-Art Stability and Generalization
- Performance: The enhanced version of the oldest baseline (L2O-DM-CL-IL) consistently achieved lower training losses than recent state-of-the-art models like RNNprop and L2O-Scale across almost all testing tasks.
- Stability: While vanilla L2O models often "collapsed" or diverged when training for 10,000 steps, the models trained with CL and IL remained stable and continued to decrease the loss.
- Generalization: An optimizer trained only on a simple MLP successfully optimized a much more complex NAS-CIFAR model—a transfer task where previous L2O models failed completely.
Limitations and Future Work
While the paper demonstrates impressive generalization from MLPs to small CNNs, it leaves a few open questions for future research:
- Scale: It remains to be seen whether these learned optimizers can scale to massive modern workloads, such as ImageNet training or large language models (Transformers).
- Computational Overhead: Training an L2O model with long unrolling and imitation learning is computationally expensive compared to simply using Adam. The "meta-training" phase requires a significant upfront investment.
- Teacher Selection: The success of imitation learning relies heavily on choosing good "teacher" optimizers. Future work could explore how to automatically select or weight these teachers dynamically for different types of tasks.
By proving that better training techniques can unlock the latent potential of simple L2O models, this work prompts a valuable reconsideration of recent progress in the Learning to Optimize domain.
Summary updated