Lune

ICLR2024顶会

Lion Secretly Solves a Constrained Optimization: As Lyapunov Predicts

Lizhang Chen, Bo Liu, Kaizhao Liang, Qiang Liu

摘要

Lion (Evolved Sign Momentum), a new optimizer discovered through program search, has shown promising results in training large AI models. It achieves results comparable to AdamW but with greater memory efficiency. As what we can expect from the result of the random search, Lion blends a number of elements from existing algorithms, including signed momentum, decoupled weight decay, Polayk and Nesterov momentum, but doesn't fit into any existing category of theoretically grounded optimizers. Thus, even though Lion appears to perform well as a general-purpose optimizer for a wide range of tasks, its theoretical basis remains uncertain. This absence of theoretical clarity limits opportunities to further enhance and expand Lion's efficacy. This work aims to demystify Lion. Using both continuous-time and discrete-time analysis, we demonstrate that Lion is a novel and theoretically grounded approach for minimizing a general loss function f(x)f(x) while enforcing a bound constraint ∣∣x∣∣∞≤1/λ||x||_\infty \leq 1/\lambda. Lion achieves this through the incorporation of decoupled weight decay, where λ\lambda represents the weight decay coefficient. Our analysis is facilitated by the development of a new Lyapunov function for the Lion updates. It applies to a wide range of Lion-ϕ\phi algorithms, where the sign(⋅)sign(\cdot) operator in Lion is replaced by the subgradient of a convex function ϕ\phi, leading to the solution of the general composite optimization problem min⁡xf(x)+ϕ∗(x)\min_x f(x) + \phi^*(x). Our findings provide valuable insights into the dynamics of Lion and pave the way for further enhancements and extensions of Lion-related algorithms.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Cautious Weight Decay 引用了 Symbolic Discovery of Optimization Algorithms
  • Cautious Weight Decay 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Cautious Weight Decay 引用了 Implicit Bias of AdamW: ℓ∞-Norm Constrained Optimization
  • Symbolic Discovery of Optimization Algorithms 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Symbolic Discovery of Optimization Algorithms 引用了 AutoML-Zero: Evolving Machine Learning Algorithms From Scratch
  • Implicit Bias of AdamW: ℓ∞-Norm Constrained Optimization 引用了 Symbolic Discovery of Optimization Algorithms
  • Implicit Bias of AdamW: ℓ∞-Norm Constrained Optimization 引用了 Robustness to Unbounded Smoothness of Generalized SignSGD
  • Implicit Bias of AdamW: ℓ∞-Norm Constrained Optimization 引用了 Noise Is Not the Main Factor Behind the Gap Between Sgd and Adam on Transformers, But Sign Descent Might Be
  • How Memory in Optimization Algorithms Implicitly Modifies the Loss 引用了 Symbolic Discovery of Optimization Algorithms
  • How Memory in Optimization Algorithms Implicitly Modifies the Loss 引用了 Implicit Bias of AdamW: ℓ∞-Norm Constrained Optimization
  • How Memory in Optimization Algorithms Implicitly Modifies the Loss 引用了 Noise Is Not the Main Factor Behind the Gap Between Sgd and Adam on Transformers, But Sign Descent Might Be
  • The Implicit Bias of Adam on Separable Data 引用了 Symbolic Discovery of Optimization Algorithms
  • The Implicit Bias of Adam on Separable Data 引用了 Implicit Bias of AdamW: ℓ∞-Norm Constrained Optimization
  • The Implicit Bias of Adam on Separable Data 引用了 Noise Is Not the Main Factor Behind the Gap Between Sgd and Adam on Transformers, But Sign Descent Might Be
  • Convergence Analysis of the Lion Optimizer in Centralized and Distributed Settings 引用了 Symbolic Discovery of Optimization Algorithms
  • Noise Is Not the Main Factor Behind the Gap Between Sgd and Adam on Transformers, But Sign Descent Might Be 引用了 Symbolic Discovery of Optimization Algorithms
  • Noise Is Not the Main Factor Behind the Gap Between Sgd and Adam on Transformers, But Sign Descent Might Be 引用了 Robustness to Unbounded Smoothness of Generalized SignSGD
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Implicit Bias of AdamW: ℓ∞-Norm Constrained OptimizationShuo Xie, Zhiyuan LiICML 2024 · 46 次引用
  2. The Implicit Bias of Adam on Separable DataChenyang Zhang, Difan Zou, Yuan CaoNeurIPS 2024 · 37 次引用
  3. Cautious Weight DecayLizhang Chen, Jonathan Li, Kaizhao Liang, Baiyu Su 等ICLR 2026 · 14 次引用
  4. How Memory in Optimization Algorithms Implicitly Modifies the LossMatias D. Cattaneo, Boris ShigidaNeurIPS 2025 · 6 次引用
  5. Convergence Analysis of the Lion Optimizer in Centralized and Distributed SettingsWei Jiang, Mao Xu, Wenhao Yang, Yibo Wang 等ICML 2026 · 6 次引用

它引用的 Paper5

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
  2. Symbolic Discovery of Optimization AlgorithmsXiangning Chen, Chen Liang, Da Huang, Esteban Real 等NeurIPS 2023 · 734 次引用
  3. AutoML-Zero: Evolving Machine Learning Algorithms From ScratchEsteban Real, Chen Liang, David R. So, Quoc V. LeICML 2020 · 265 次引用
  4. Robustness to Unbounded Smoothness of Generalized SignSGDMichael Crawshaw, Mingrui Liu, Francesco Orabona, Wei Zhang 等NeurIPS 2022 · 111 次引用
  5. Noise Is Not the Main Factor Behind the Gap Between Sgd and Adam on Transformers, But Sign Descent Might BeFrederik Kunstner, Jacques Chen, Jonathan Wilder Lavington, Mark SchmidtICLR 2023 · 5 次引用

相关 Paper

  1. Communication Efficient Distributed Training with Distributed LionBo Liu, Lemeng Wu, Lizhang Chen, Kaizhao Liang 等NeurIPS 2024 · 21 次引用
  2. OLion: Approaching the Hadamard Ideal by Intersecting Spectral and L inf Implicit BiasesZixiao Wang, Yifei Shen, Huishuai ZhangICML 2026
  3. Cautious Optimizers: Improving Training with One Line of CodeKaizhao Liang, Lizhang Chen, Bo Liu, qiang liuICLR 2026 · 38 次引用
  4. Deconstructing What Makes a Good Optimizer for Autoregressive Language ModelsRosie Zhao, Depen Morwani, David Brandfonbrener, Nikhil Vyas 等ICLR 2025
  5. Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed NoiseMaria-Eleni Sfyraki, Jun-Kun WangICML 2026 · 37 次引用
黄昏的海面,两侧是细线勾勒的悬崖