VeLO: Training Versatile Learned Optimizers by Scaling Up

Luke Metz, James Harrison, C. Daniel Freeman, Amil Merchant, Lucas Beyer +6 more
11/17/2022
91 citations
cs.LGmath.OCstat.ML

Official code: google/learned_optimization (816 stars, Python, Apache-2.0, last commit 2026-10-20).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
81675Python, Jupyter NotebookNov 5, 20211 months agoApache-2.0

Similar Papers

Cite this paper

@article{metz2022velo,
  title  = {VeLO: Training Versatile Learned Optimizers by Scaling Up},
  author = {Luke Metz and James Harrison and C. Daniel Freeman and Amil Merchant and Lucas Beyer and James Bradbury and Naman Agrawal and Ben Poole and Igor Mordatch and Adam Roberts and Jascha Sohl-Dickstein},
  year   = {2022},
  eprint = {2211.09760},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.09760}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.09760.svg)](https://codeofpaper.com/paper/2211.09760)

Discussion