English

CLion: Efficient Cautious Lion Optimizer with Enhanced Generalization

Machine Learning 2026-04-17 v1 Optimization and Control Machine Learning

Abstract

Lion optimizer is a popular learning-based optimization algorithm in machine learning, which shows impressive performance in training many deep learning models. Although convergence property of the Lion optimizer has been studied, its generalization analysis is still missing. To fill this gap, we study generalization property of the Lion via algorithmic stability based on the mathematical induction. Specifically, we prove that the Lion has a generalization error of O(1NτT)O(\frac{1}{N\tau^T}), where NN is training sample size, and τ>0\tau>0 denotes the smallest absolute value of non-zero element in gradient estimator, and TT is the total iteration number. In addition, we obtain an interesting byproduct that the SignSGD algorithm has the same generalization error as the Lion. To enhance generalization of the Lion, we design a novel efficient Cautious Lion (i.e., CLion) optimizer by cautiously using sign function. Moreover, we prove that our CLion has a lower generalization error of O(1N)O(\frac{1}{N}) than O(1NτT)O(\frac{1}{N\tau^T}) of the Lion, since the parameter τ\tau generally is very small. Meanwhile, we study convergence property of our CLion optimizer, and prove that our CLion has a fast convergence rate of O(dT1/4)O(\frac{\sqrt{d}}{T^{1/4}}) under 1\ell_1-norm of gradient for nonconvex stochastic optimization, where dd denotes the model dimension. Extensive numerical experiments demonstrate effectiveness of our CLion optimizer.

Keywords

Cite

@article{arxiv.2604.14587,
  title  = {CLion: Efficient Cautious Lion Optimizer with Enhanced Generalization},
  author = {Feihu Huang and Guanyi Zhang and Songcan Chen},
  journal= {arXiv preprint arXiv:2604.14587},
  year   = {2026}
}

Comments

30 pages

R2 v1 2026-07-01T12:11:57.120Z