arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.01878cs.LG
收藏

基于几何原则的随机优化用于高效的LLM训练

Geometrically Principled Randomized Optimization for Efficient LLM Training

CriticalML Lab, University of Waterloo(滑铁卢大学CriticalML实验室)

Sahar Rajabi, Nayeema Nonta, Sirisha Rambhatla

AI总结:

本文提出GrassWalk和GrassJump算法,通过随机游走和跳跃在Grassmannian流形上导航,结合子空间感知优化器和恢复丢失的梯度信号,实现LLM预训练的最优性能。

摘要:

大型语言模型的低秩梯度优化目前分为两类:结构化方法严格识别子空间,以及主要为计算效率的随机方法。本文质疑随机投影有效性的直观原因,追溯到梯度子空间的几何特性,发现子空间优化景观具有近似平坦的曲率,而大量梯度信息位于核心子空间之外。基于这些见解和随机线性代数,理论证明随机低秩投影保持几何特性,并引入GrassWalk和GrassJump算法,通过随机游走和跳跃导航Grassmannian流形。结合随机探索与子空间感知优化器和恢复丢失的梯度信号,在LLaMA-1B、LLaMA-7B和Qwen-1.5B预训练中取得最佳性能。发现表明,随机化不仅是计算捷径,而是高维优化的几何原理方法。

英文摘要:

Low-rank gradient optimization for large language models is currently divided into two categories: structured methods that rigorously identify subspaces, and randomized approaches employed primarily for computational efficiency. In this work, we question the intuition behind why random projections are effective. We trace this phenomenon to the geometry of the gradient subspaces, which exhibits subspace optimization landscape has a nearly flat curvature, while a significant portion of gradient information lies outside the core subspace. Leveraging these insights, and drawing on randomized linear algebra, we theoretically establish that random low-rank projections preserve the geometry, and we introduce GrassWalk and GrassJump, algorithms that navigate the Grassmannian manifold via random walks and jumps. By coupling this randomized exploration with subspace-aware optimizer and recovering the lost gradient signals, we achieve state-of-the-art results on LLaMA-1B, LLaMA-7B, and Qwen-1.5B pretraining. Our findings reframe randomization not merely as a computational shortcut, but as a geometrically principled approach to high-dimensional optimizations.

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

↑