arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01586cs.LG
收藏

SubTrack++:面向可扩展大语言模型训练的梯度子空间跟踪

SubTrack++ : Gradient Subspace Tracking for Scalable LLM Training

Critical ML, Department of Management Science and Engineering, University of Waterloo(Critical ML,管理科学与工程系,滑铁卢大学)

Sahar Rajabi, Nayeema Nonta, Sirisha Rambhatla

AI总结:

SubTrack++通过格拉斯曼梯度子空间跟踪与投影感知优化器,在保持内存不变下,将LLM预训练时间最多缩短65%,微调时间缩短36%。

摘要:

训练大型语言模型(LLM)因其庞大的参数数量和优化器状态的开销而高度消耗资源。尽管近期工作致力于降低内存消耗,但此类努力往往需要在内存效率、训练时间和模型性能之间进行权衡。然而,真正实现LLM的普及化需要在这三个维度上同时取得进展。为此,我们提出了SubTrack++,该方法利用格拉斯曼流形上的梯度子空间跟踪并结合投影感知优化器,使Adam的内部统计量能够适应子空间的变化。此外,采用恢复缩放技术——一种通过低秩投影恢复丢失信息的技术——进一步提升了模型性能。我们的方法通过利用格拉斯曼几何实现了最先进的收敛性能,与现有最先进方法相比,预训练墙钟时间最多减少65%,微调时间减少36%,同时保持相同的内存占用。

英文摘要:

Training large language models (LLMs) is highly resource-intensive due to their massive number of parameters and the overhead of optimizer states. While recent work has aimed to reduce memory consumption, such efforts often entail trade-offs among memory efficiency, training time, and model performance. Yet, true democratization of LLMs requires simultaneous progress across all three dimensions. To this end, we propose SubTrack++ that leverages Grassmannian gradient subspace tracking combined with projection-aware optimizers, enabling Adam's internal statistics to adapt to subspace changes. Additionally, employing recovery scaling, a technique that restores information lost through low-rank projections, further enhances model performance. Our method demonstrates SOTA convergence by exploiting Grassmannian geometry, reducing pre-training wall-time by up to 65% and fine-tuning time by 36% compared to existing SOTA methods, while maintaining the same memory footprint.

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

↑