Lune

ICLR2024Top-tier venue

Lion Secretly Solves a Constrained Optimization: As Lyapunov Predicts

Lizhang Chen, Bo Liu, Kaizhao Liang, Qiang Liu

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Cautious Weight Decay cites Symbolic Discovery of Optimization Algorithms
  • Cautious Weight Decay cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Cautious Weight Decay cites Implicit Bias of AdamW: ℓ∞-Norm Constrained Optimization
  • Symbolic Discovery of Optimization Algorithms cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Symbolic Discovery of Optimization Algorithms cites AutoML-Zero: Evolving Machine Learning Algorithms From Scratch
  • Implicit Bias of AdamW: ℓ∞-Norm Constrained Optimization cites Symbolic Discovery of Optimization Algorithms
  • Implicit Bias of AdamW: ℓ∞-Norm Constrained Optimization cites Robustness to Unbounded Smoothness of Generalized SignSGD
  • Implicit Bias of AdamW: ℓ∞-Norm Constrained Optimization cites 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 cites Symbolic Discovery of Optimization Algorithms
  • How Memory in Optimization Algorithms Implicitly Modifies the Loss cites Implicit Bias of AdamW: ℓ∞-Norm Constrained Optimization
  • How Memory in Optimization Algorithms Implicitly Modifies the Loss cites 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 cites Symbolic Discovery of Optimization Algorithms
  • The Implicit Bias of Adam on Separable Data cites Implicit Bias of AdamW: ℓ∞-Norm Constrained Optimization
  • The Implicit Bias of Adam on Separable Data cites 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 cites 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 cites 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 cites Robustness to Unbounded Smoothness of Generalized SignSGD
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

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

Builds on5

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Symbolic Discovery of Optimization AlgorithmsXiangning Chen, Chen Liang, Da Huang, Esteban Real et al.NeurIPS 2023 · 734 citations
  3. AutoML-Zero: Evolving Machine Learning Algorithms From ScratchEsteban Real, Chen Liang, David R. So, Quoc V. LeICML 2020 · 265 citations
  4. Robustness to Unbounded Smoothness of Generalized SignSGDMichael Crawshaw, Mingrui Liu, Francesco Orabona, Wei Zhang et al.NeurIPS 2022 · 111 citations
  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 citations

Related papers

  1. Communication Efficient Distributed Training with Distributed LionBo Liu, Lemeng Wu, Lizhang Chen, Kaizhao Liang et al.NeurIPS 2024 · 21 citations
  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 citations
  4. Deconstructing What Makes a Good Optimizer for Autoregressive Language ModelsRosie Zhao, Depen Morwani, David Brandfonbrener, Nikhil Vyas et al.ICLR 2025
  5. Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed NoiseMaria-Eleni Sfyraki, Jun-Kun WangICML 2026 · 37 citations
Dusk over the sea between two cliffs drawn in fine vertical lines