Evolved Optimizer for Vision
Abstract
We present an optimizer, Hero-Lion (EvoLved Sign Momentum), discovered by evolutionary search from basic math operations in the AutoML-Hero project. It keeps track of only the momentum and leverages the sign operation to calculate the update to the weights. Despite the simplicity, Hero-Lion outperforms the commonly used optimizer, such as AdamW, AdafactorW, and SGD with momentum, for training a variety of architectures on different tasks. Notably, it improves the accuracy of Vision Transformer for up to 2\% when trained from scratch on ImageNet. When used in pre-training with larger data and model sizes, Hero-Lion still outperforms AdamW and AdafactorW, and can save 2-5x compute. On JFT-300M, ViT-L/16 trained by Hero-Lion matches the accuracy of the previous ViT-H/14 trained by AdamW. By replacing AdafactorW with Hero-Lion, we improve the ImageNet accuracy of ViT-G/14, pre-trained on JFT-3B, from 90.45\% to 90.71\%. Besides, Hero-Lion improves the contrastive pre-training of multi-modal Transformers by achieving $\sim$1\% gain of ImageNet zero-shot accuracy.
BibTeX
@inproceedings{chen2022evolved,
author = {Xiangning Chen and Chen Liang and Da Huang and Esteban Real and Yao Liu and Kaiyuan Wang and Cho-Jui Hsieh and Yifeng Lu and Quoc V Le},
title = {{Evolved Optimizer for Vision}},
booktitle = {Late Breaking @ AutoML},
year = {2022},
url = {https://openreview.net/forum?id=jK_eS5BxOuu},
}Ask Althea to put this paper to the test.
Loading related content...