arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.09176cs.LGcs.AImath.OC
收藏

在大语言模型谷中导航:从AdamW到内存高效和矩阵优化器

Navigating LLM Valley: From AdamW to Memory-Efficient and Matrix-Based Optimizers

Center for Applied Scientific Computing(应用科学计算中心)

Aditya Ranganath

AI总结:

本文探讨了大语言模型优化器的发展,从传统方法到内存高效和矩阵优化器,强调了在大规模训练中优化器的统计有效性、计算和内存效率。

摘要:

训练大型语言模型需要统计上有效且在极端规模下计算和内存高效优化算法。尽管Adam仍是大规模语言模型预训练和微调的主要优化器,但近期研究重新审视了优化堆栈的几乎所有组件:自适应矩估计、解耦权重衰减、内存足迹、曲率近似、基于符号的更新、大批次稳定性、低秩梯度结构和矩阵化正交更新。本文通过系统和优化的视角回顾了大语言模型的优化器设计。我们把文献分为经典一阶优化器、自适应优化器、内存高效变体、二阶和曲率感知方法、基于符号和发现的优化器、低秩和投影方法,以及如Muon这样的矩阵优化器。我们还讨论了基准测试方法,包括超参数公平性、规模依赖性、墙钟效率、令牌效率、内存开销和下游评估。我们认为大语言模型的优化器研究正进入新阶段:从单一算法加速主张转向严谨、规模感知的比较,共同评估收敛性、稳定性、内存和实现复杂性。

英文摘要:

Training large language models requires optimization algorithms that are not only statistically effective, but also computationally and memory efficient at extreme scale. Although Adam remains the dominant optimizer for large-scale language-model pretraining and fine-tuning, recent work has revisited nearly every component of the optimization stack: adaptive moment estimation, decoupled weight decay, memory footprint, curvature approximation, sign-based updates, large-batch stability, low-rank gradient structure, and matrix-wise orthogonalized updates. This survey reviews optimizer design for large language models through a systems-and-optimization lens. We organize the literature into classical first-order optimizers, adaptive optimizers, memory-efficient variants, second-order and curvature-aware methods, sign-based and discovered optimizers, low-rank and projection-based methods, and matrix-based optimizers such as Muon. We also discuss benchmarking methodology, including hyperparameter fairness, scale dependence, wall-clock efficiency, token efficiency, memory overhead, and downstream evaluation. We argue that optimizer research for LLMs is entering a new phase: moving from single-algorithm speedup claims toward rigorous, scale-aware comparisons that jointly evaluate convergence, stability, memory, and implementation complexity.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑