AdamW has been the default optimizer for transformer pretraining. For many years, our community searched for faster and more stable optimizers with only constrained positive outcomes. In this work, we propose a \textbf{one-line modification in Pytorch} to any momentum-based optimizer, which we rename cautious optimizer, e.g. C-AdamW and C-Lion. Our theoretical result shows that this modification preserves Adam's Hamiltonian function and it does not break the convergence guarantee under the Lyapunov analysis. In addition, a whole new family of optimizers is revealed by our theoretical insight. Among them, we pick the simplest one for empirical experiments, showing not only consistent speed-up on LLM pretraining, but also image classification, with minimum extra tuning on hyperparameters. Code is available at https://github.com/kyleliang919/C-Optim.
MiMuon: Mixed Muon Optimizer with Improved Generalization for Large Models
College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics(南京航空航天大学计算机科学与技术学院);MIIT Key Laboratory of Pattern Analysis and Machine Intelligence(信息科技部模式分析与机器智能重点实验室);College of Design and Engineering, National University of Singapore(新加坡国立大学设计与工程学院)
CLion: Efficient Cautious Lion Optimizer with Enhanced Generalization
College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics(南京航空航天大学计算机科学与技术学院);MIIT Key Laboratory of Pattern Analysis and Machine Intelligence(信息与机器智能重点实验室)
Unleashing the Potential of Large Language Models as Prompt Optimizers: Analogical Analysis with Gradient-based Model Optimizers
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);International School, Beijing University of Posts and Telecommunications(北京邮电大学国际学院);Alibaba Group(阿里巴巴集团)
Taming Momentum: Rethinking Optimizer States Through Low-Rank Approximation
University of Science and Technology of China(中国科学技术大学);NLPR & MAIS, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院)
Generative Explore-Exploit: Training-free Optimization of Generative Recommender Systems using LLM Optimizers
Center for Information and Language Processing (CIS), LMU Munich(慕尼黑大学信息与语言处理中心(CIS));Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心(MCML));Amazon.com, Inc.(亚马逊公司)
Exploring Conversational Design Choices in LLMs for Pedagogical Purposes: Socratic and Narrative Approaches for Improving Instructor's Teaching Practice
PC Layer: Polynomial Weight Preconditioning for Improving LLM Pre-Training
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Google LLC(谷歌公司);Shenzhen International Center for Industrial and Applied Mathematics(深圳国际工业与应用数学中心);Shenzhen Research Institute of Big Data(深圳大数据研究院);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校)
Memory-Efficient LLM Training with Dynamic Sparsity: From Stability to Practical Scaling
University of Waterloo(滑铁卢大学);University of California, Berkeley(加州大学伯克利分校);ETH Zurich(苏黎世联邦理工学院);University of Texas at Austin(德克萨斯大学奥斯汀分校);University of Michigan(密歇根大学)
TriShield: Zero-Utility-Loss Defense Against Privacy Backdoors in Federated Language Model Fine-Tuning via Orthogonal Gradient Projection and Optimizer State Entanglement
AnalogAgent: Self-Improving Analog Circuit Design Automation with LLM Agents
Nanyang Technological University(南洋理工大学);Institute for Infocomm Research(信息通信研究所);Institute of Microelectronics(微电子研究所);Eindhoven University of Technology(埃因霍温理工大学);Singapore University of Technology(新加坡科技学院)
Improving the Adaptive Moment Estimation (ADAM) stochastic optimizer through an Implicit-Explicit (IMEX) time-stepping approach
Computational Science Laboratory(计算科学实验室);Virginia Tech(弗吉尼亚理工大学);The University of Texas at Austin(德克萨斯大学奥斯汀分校);California State University, Long Beach(加州州立大学长滩分校)
FastAdaBelief: Improving Convergence Rate for Belief-based Adaptive Optimizers by Exploiting Strong Convexity
University of Science and Technology of China(中国科学技术大学);Duke Kunshan University(昆山杜克大学);Edinburgh Napier University(爱丁堡龙比亚大学);Gusu Laboratory of Materials(姑苏材料实验室)
Optimizers Qualitatively Alter Solutions And We Should Leverage This
Google DeepMind(谷歌DeepMind);Mila, Québec AI Institute(魁北克AI研究院);Institute of Science and Technology Austria (ISTA)(奥地利科学与技术研究所);Technische Universität Berlin(柏林技术大学);BIFOLD Berlin(柏林BIFOLD);Red Hat AI(红帽AI);Cambridge University(剑桥大学);Politechnique Montreal(蒙特利尔理工学院)