Understanding Adam Requires Better Rotation Dependent Assumptions
Mila, Quebec AI Institute(魁北克人工智能研究所);Université de Montréal(蒙特利尔大学);University of British Columbia(不列颠哥伦比亚大学);Samsung SAIL Montreal(三星SAIL蒙特利尔分校);Canada CIFAR AI Chair(加拿大CIFAR人工智能主席);Archimedes Unit, Athena Research Center(阿提卡研究中心阿基米德单位)
Tianyue H. Zhang, Lucas Maes, Alan Milligan, Alexia Jolicoeur-Martineau, Ioannis Mitliagkas, Damien Scieur, Simon Lacoste-Julien, Charles Guille-Escuret
本文通过研究 Adam 对参数空间旋转的敏感性,指出传统旋转不变假设不足以解释其优势,并提出更新正交性可作为建立旋转依赖理论框架的关键指标。
摘要:
尽管 Adam 被广泛采用,但其相对于随机梯度下降(SGD)的优势仍缺乏全面的理论解释。本文研究了 Adam 对参数空间旋转的敏感性。我们观察到,在参数空间发生随机旋转时,Adam 训练 Transformer 的性能会下降,这表明在实际中 Adam 对基的选择具有重要的敏感性。这揭示了传统的旋转不变假设在理论上不足以刻画 Adam 的优势。为了更好地理解有利于 Adam 的旋转依赖性质,我们还识别出能够保持甚至增强其经验性能的结构化旋转。随后,我们考察了文献中已有的旋转依赖假设,发现它们在解释 Adam 在不同旋转类型下的行为方面存在不足。相比之下,我们验证了更新的正交性可以作为 Adam 基敏感性的一个有前景的指标,表明它可能是建立旋转依赖理论框架的关键量,从而更好地解释其经验上的成功。
英文摘要:
Despite its widespread adoption, Adam's advantage over Stochastic Gradient Descent (SGD) lacks a comprehensive theoretical explanation. This paper investigates Adam's sensitivity to rotations of the parameter space. We observe that Adam's performance in training transformers degrades under random rotations of the parameter space, indicating a crucial sensitivity to the choice of basis in practice. This reveals that conventional rotation-invariant assumptions are insufficient to capture Adam's advantages theoretically. To better understand the rotation-dependent properties that benefit Adam, we also identify structured rotations that preserve or even enhance its empirical performance. We then examine the rotation-dependent assumptions in the literature and find that they fall short in explaining Adam's behaviour across various rotation types. In contrast, we verify the orthogonality of the update as a promising indicator of Adam's basis sensitivity, suggesting it may be the key quantity for developing rotation-dependent theoretical frameworks that better explain its empirical success.
How do simple rotations affect the implicit bias of Adam?
Committee on Computational and Applied Mathematics, University of Chicago(计算与应用数学委员会,芝加哥大学);Department of Electrical & Computer Engineering, University of Washington(电气与计算机工程系,华盛顿大学);NSF-Simons National Institute for Theory and Mathematics in Biology(NSF-西蒙斯国家理论与生物数学研究所);Department of Statistics, Department of Computer Science, and Data Science Institute, University of Chicago(统计系、计算机科学系和数据科学研究所,芝加哥大学)
Provable Adaptivity of Adam under Non-uniform Smoothness
University of Science and Technology of China(中国科学技术大学);Microsoft Research Asia(微软亚洲研究院);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Peking University(北京大学);Chinese Academy of Mathematics and Systems Science(中国科学院数学与系统科学研究院);Microsoft(微软);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所)
Why Adam Can Beat SGD: Second-Moment Normalization Yields Sharper Tails
Department of Electrical and Computer Engineering, The Ohio State University(俄亥俄州立大学电气与计算机工程系);School of Electrical, Computer and Energy Engineering, Arizona State University(亚利桑那州立大学电气、计算机与能源工程学院)
On Convergence of Adam for Stochastic Optimization under Relaxed Assumptions
Center for Data Science and School of Mathematical Sciences, Zhejiang University(浙江大学数据科学中心与数学科学学院);Center for Data Science, Zhejiang University(浙江大学数据科学中心)
Mohamed bin Zayed University of Artificial Intelligence(莫萨德·本·泽德人工智能大学);University at Buffalo(布法罗大学);King Abdullah University of Science and Technology(卡布斯国王科学与技术大学)
AdamNX: An Adam improvement algorithm based on a novel exponential decay mechanism for the second-order moment estimate
School of Information Management and Mathematics, Jiangxi University of Finance and Economics(江西财经大学信息管理与数学学院);School of Mathematics and Computer Science, Nanchang University(南昌大学数学与计算机科学学院);Institute of Metaverse, Nanchang University(南昌大学元宇宙研究院);Jiangxi Provincial Key Laboratory of Virtual Reality(江西省虚拟现实重点实验室)
Uniform a priori bounds and error analysis for the Adam stochastic gradient descent optimization method
School of Data Science, The Chinese University of Hong Kong, Shenzhen (CUHK-Shenzhen)(数据科学学院,香港中文大学(深圳));Department of Probability and Statistic, Institute of Mathematics, Vietnam Academy of Science and Technology(概率与统计系,数学研究所,越南科学与技术 academy);School of Data Science and School of Artificial Intelligence, The Chinese University of Hong Kong, Shenzhen (CUHK-Shenzhen)(数据科学学院和人工智能学院,香港中文大学(深圳))
Towards Simple and Provable Parameter-Free Adaptive Gradient Methods
School of Mathematical Sciences, Peking University(北京大学数学科学学院);Department of Computer Science, University of California, Los Angeles(加州大学洛杉矶分校计算机科学系);School of Computing and Data Science, the University of Hong Kong(香港大学计算科学与数据科学学院);Bytedance Inc(字节跳动公司)
提出 AdaGrad++ 和 Adam++ 两种简单无参数自适应梯度方法,在无需预设学习率的情况下实现与 AdaGrad 和 Adam 相当的收敛保证。
Analysis of Adam Algorithms for Stochastic Dynamic Systems
State Key Laboratory of Mathematical Sciences, Academy of Mathematics and Systems Science, Chinese Academy of Sciences(数学科学国家重点实验室,数学与系统科学研究院,中国科学院);School of Mathematical Sciences, University of Chinese Academy of Sciences(中国科学院大学数学科学学院);School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences(中国科学院大学先进交叉学科学院)
A Theoretical and Empirical Study on the Convergence of Adam with an "Exact" Constant Step Size in Non-Convex Settings
Robert Bosch Centre for Cyber-Physical Systems(罗伯特·博世网络物理系统中心);Indian Institute of Science(印度科学学院);Netaji Subhas University of Technology(纳塔吉·苏巴斯·技术大学);TCS Research(塔塔咨询服务公司研究中心)
本文研究非凸优化中 Adam 的固定步长收敛问题,推导并实现“精确”恒定步长,给出确定性与随机版本的收敛保证及运行时间界,并通过分类实验验证其降低梯度范数的效果。