Symbolic Discovery of Optimization Algorithms

杠杆(统计) 计算机科学 算法 一般化 单调函数 深层神经网络 简单(哲学) 人工神经网络 人工智能 机器学习 数学 认识论 数学分析 哲学
作者
Xiangning Chen,Liang Chen,Da Huang,Esteban Real,Kaiyuan Wang,Yao Liu,Hieu Pham,Xuanyi Dong,Thang M. Luong,Cho‐Jui Hsieh,Yifeng Lu,Quoc V. Le
出处
期刊:Cornell University - arXiv [arXiv]
被引量:92
标识
DOI:10.48550/arxiv.2302.06675
摘要

We present a method to formulate algorithm discovery as program search, and apply it to discover optimization algorithms for deep neural network training. We leverage efficient search techniques to explore an infinite and sparse program space. To bridge the large generalization gap between proxy and target tasks, we also introduce program selection and simplification strategies. Our method discovers a simple and effective optimization algorithm, $\textbf{Lion}$ ($\textit{Evo$\textbf{L}$ved S$\textbf{i}$gn M$\textbf{o}$me$\textbf{n}$tum}$). It is more memory-efficient than Adam as it only keeps track of the momentum. Different from adaptive optimizers, its update has the same magnitude for each parameter calculated through the sign operation. We compare Lion with widely used optimizers, such as Adam and Adafactor, for training a variety of models on different tasks. On image classification, Lion boosts the accuracy of ViT by up to 2% on ImageNet and saves up to 5x the pre-training compute on JFT. On vision-language contrastive learning, we achieve 88.3% $\textit{zero-shot}$ and 91.1% $\textit{fine-tuning}$ accuracy on ImageNet, surpassing the previous best results by 2% and 0.1%, respectively. On diffusion models, Lion outperforms Adam by achieving a better FID score and reducing the training compute by up to 2.3x. For autoregressive, masked language modeling, and fine-tuning, Lion exhibits a similar or better performance compared to Adam. Our analysis of Lion reveals that its performance gain grows with the training batch size. It also requires a smaller learning rate than Adam due to the larger norm of the update produced by the sign function. Additionally, we examine the limitations of Lion and identify scenarios where its improvements are small or not statistically significant. Lion is also successfully deployed in production systems such as Google search ads CTR model.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
白熊完成签到,获得积分10
刚刚
爱听歌的八宝粥完成签到 ,获得积分10
1秒前
1秒前
1秒前
1秒前
小马甲的应助被ning采纳,获得20
1秒前
tctianna发布了新的文献求助10
2秒前
yys完成签到 ,获得积分10
2秒前
bb发布了新的文献求助10
2秒前
WWW完成签到,获得积分10
3秒前
听闻完成签到 ,获得积分10
3秒前
五五完成签到,获得积分10
3秒前
是吉给是吉的求助进行了留言
5秒前
xiaoluo发布了新的文献求助10
6秒前
解杰发布了新的文献求助10
6秒前
zzzzz关注了科研通微信公众号
7秒前
天真的问寒给天真的问寒的求助进行了留言
7秒前
7秒前
7秒前
酷炫晓博发布了新的文献求助30
8秒前
10秒前
小云完成签到,获得积分10
10秒前
yun发布了新的文献求助10
10秒前
叶然完成签到,获得积分10
13秒前
解杰完成签到,获得积分10
14秒前
上官若男的应助被ydq采纳,获得10
14秒前
xuetian发布了新的文献求助10
14秒前
blind完成签到,获得积分10
14秒前
Wandering发布了新的文献求助10
14秒前
15秒前
xiaoluo完成签到,获得积分20
15秒前
朴素新儿发布了新的文献求助10
16秒前
Asxx发布了新的文献求助10
19秒前
19秒前
科研通AI6.3的应助被Lgy采纳,获得10
19秒前
万能图书馆的应助被bb采纳,获得10
20秒前
勤恳的怜菡完成签到,获得积分10
22秒前
zs发布了新的文献求助10
23秒前
努力地小夏完成签到,获得积分10
23秒前
23秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Current status of early diagnosis of pancreatic cancer 600
Comparison of cardiorespiratory responses, kinematic changes and psychological responses between tachi run and moderate intensity constant run 500
Cortex activity fluctuations during TaiChi Run by functional near-inferred spectroscopy 500
高速电流舵型数字模拟转换器 500
Data Driven Casing Collar Feature Detection and Identification for Automated Depth Estimation for Wireline 500
Cellulose and Cellulose Derivatives PART III 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8263768
求助须知:如何正确求助?哪些是违规求助? 9637490
关于积分的说明 22204376
捐赠科研通 7889085
什么是DOI,文献DOI怎么找? 3461770
关于科研通互助平台的介绍 2581482
邀请新用户注册赠送积分活动 2514035