跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2402.03496 (cs)
[提交于 2024年2月13日 (v1),最后修订于 2024年8月30日 (此版本, v10)]

标题:Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspective

作者:Wu Lin, Felix Dangel, Runa Eschenhagen, Juhan Bae, Richard E. Turner, Alireza Makhzani
查看论文《Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspective》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Adaptive gradient optimizers like Adam(W) are the default training algorithms for many deep learning architectures, such as transformers. Their diagonal preconditioner is based on the gradient outer product which is incorporated into the parameter update via a square root. While these methods are often motivated as approximate second-order methods, the square root represents a fundamental difference. In this work, we investigate how the behavior of adaptive methods changes when we remove the root, i.e., strengthen their second-order motivation. Surprisingly, we find that such square-root-free adaptive methods close the generalization gap to SGD on convolutional architectures, while maintaining their root-based counterpart's performance on transformers. The second-order perspective also has practical benefits for developing non-diagonal methods that can incorporate arbitrary curvature approximations through the concept of preconditioner invariance. In contrast to root-based methods like Shampoo, root-free counterparts work well and fast with half-precision since they do not require numerically unstable matrix root decompositions and inversions. Overall, our findings provide new insights into the development of adaptive methods and raise important questions regarding the overlooked role of adaptivity in their success. (experiment code: https://github.com/yorkerlin/remove-the-square-root optimizer code: https://github.com/f-dangel/sirfshampoo)
评论: A long version of the ICML 2024 paper. Updated the caption of Fig 4 to emphasize the importance of the scale invariance of root-free methods
主题: 机器学习 (cs.LG); 优化与控制 (math.OC)
引用方式: arXiv:2402.03496 [cs.LG]
  (或者 arXiv:2402.03496v10 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2402.03496

提交历史

来自:Wu Lin
[v3] 2024年2月13日 星期二 14:33:15 UTC
[v6] 2024年6月17日 星期一 06:23:51 UTC
[v7] 2024年6月20日 星期四 05:29:07 UTC
[v8] 2024年7月15日 星期一 05:23:41 UTC
[v9] 2024年7月27日 星期六 09:32:03 UTC
[v10] 2024年8月30日 星期五 16:45:58 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

math
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-08
切换浏览方式为:
cs
cs.LG
math.OC

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站