[Paper Review] VeLO: Training Versatile Learned Optimizers by Scaling Up
VeLO is a versatile, hyperparameter-free learned optimizer trained via large-scale meta-learning on 4,000+ TPU-months of compute across diverse tasks. It outperforms learning rate-tuned Adam by up to 16x on 14% of tasks and generalizes effectively to real-world models including vision, language, and decision transformers, demonstrating the viability of learned optimization at scale.
While deep learning models have replaced hand-designed features across many domains, these models are still trained with hand-designed optimizers. In this work, we leverage the same scaling approach behind the success of deep learning to learn versatile optimizers. We train an optimizer for deep learning which is itself a small neural network that ingests gradients and outputs parameter updates. Meta-trained with approximately four thousand TPU-months of compute on a wide variety of optimization tasks, our optimizer not only exhibits compelling performance, but optimizes in interesting and unexpected ways. It requires no hyperparameter tuning, instead automatically adapting to the specifics of the problem being optimized. We open source our learned optimizer, meta-training code, the associated train and test data, and an extensive optimizer benchmark suite with baselines at velo-code.github.io.
Motivation & Objective
- To develop a general-purpose, versatile learned optimizer that eliminates the need for manual hyperparameter tuning.
- To scale meta-training of learned optimizers far beyond prior work, leveraging massive compute and diverse task distributions.
- To evaluate generalization performance on unseen tasks and real-world models, including vision, language, and graph networks.
- To understand the behavior and mechanisms of learned optimizers through introspection and benchmarking.
- To establish a foundation for future research in scalable, adaptive optimization for deep learning.
Proposed method
- VeLO is a neural network that ingests gradients and outputs parameter updates, trained via meta-learning across a large, diverse distribution of optimization tasks.
- The optimizer is meta-trained using approximately 4,000 TPU-months of compute on a wide range of deep learning tasks, including vision, NLP, and reinforcement learning models.
- Meta-training employs a curriculum-based approach with asynchronous, batched gradient updates, using large outer-gradient batches to mitigate gradient staleness across long-horizon tasks.
- The learned optimizer architecture is designed for low per-step computational overhead, enabling efficient inference and scalability to larger models.
- Evaluation is conducted via VeLOdrome, a benchmark suite of 83 canonical tasks, and real-world model training across multiple domains.
- The system is open-sourced with full meta-training code, data, and a comprehensive benchmark suite at velo-code.github.io.
Experimental results
Research questions
- RQ1Can a learned optimizer generalize across a wide range of deep learning tasks without hyperparameter tuning?
- RQ2How does scaling meta-training compute and task diversity impact the performance and robustness of learned optimizers?
- RQ3What mechanisms do large-scale learned optimizers develop to adaptively optimize diverse training dynamics?
- RQ4How does a hyperparameter-free optimizer compare to hand-designed, tuned optimizers like Adam and NAdamW across diverse benchmarks?
- RQ5What are the failure modes and stability issues of learned optimizers when extrapolating beyond meta-training distributions?
Key findings
- VeLO achieves a speedup of over 4x compared to learning rate-tuned Adam on 50% of the 83 tasks in the VeLOdrome benchmark.
- On more than 14% of tasks, VeLO is over 16x faster than learning rate-tuned Adam, demonstrating strong generalization and adaptability.
- VeLO surpasses prior learned optimizers, including the RNN-MLP and STAR optimizers, in both performance and efficiency.
- The optimizer generalizes well to real-world models, including ResNets, NERF, detection models, Transformers, and graph networks, with no task-specific tuning.
- VeLO achieves competitive performance across diverse architectures and datasets without requiring any hyperparameter adjustments.
- Despite strong performance, VeLO occasionally diverges on out-of-distribution tasks, highlighting the need for improved stability mechanisms.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.