arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.07529cs.LGmath.OC
收藏

使用范数约束线性最小化预言机训练深度学习模型

Training Deep Learning Models with Norm-Constrained LMOs

EPFL(苏黎世联邦理工学院)

Thomas Pethick, Wanyun Xie, Kimon Antonakopoulos, Zhenyu Zhu, Antonio Silveti-Falls, Volkan Cevher

AI总结:

本文提出基于范数球线性最小化预言机(LMO)的随机优化算法族Scion,可统一多种现有方法并用于无约束问题,在nanoGPT训练上无需Adam即可显著加速,且内存高效、支持半精度存储。

摘要:

在这项工作中,我们研究了利用范数球上的线性最小化预言机(LMO)的优化方法。我们提出了一类新的随机算法族,该算法族利用LMO来适应问题的几何结构,并且可能令人惊讶的是,我们证明了它们可以应用于无约束问题。由此产生的更新规则在单一框架下统一了多种现有的优化方法。此外,我们针对深度架构提出了一种显式的范数选择,作为一个附带的好处,这使得超参数能够跨模型规模迁移。在实验上,我们展示了使用我们的算法Scion在nanoGPT训练上取得了显著的加速,且完全不依赖Adam。所提出的方法具有内存高效性,只需要一组模型权重和一组梯度,并且可以以半精度存储。代码可在https://github.com/LIONS-EPFL/scion获取。

英文摘要:

In this work, we study optimization methods that leverage the linear minimization oracle (LMO) over a norm-ball. We propose a new stochastic family of algorithms that uses the LMO to adapt to the geometry of the problem and, perhaps surprisingly, show that they can be applied to unconstrained problems. The resulting update rule unifies several existing optimization methods under a single framework. Furthermore, we propose an explicit choice of norm for deep architectures, which, as a side benefit, leads to the transferability of hyperparameters across model sizes. Experimentally, we demonstrate significant speedups on nanoGPT training using our algorithm, Scion, without any reliance on Adam. The proposed method is memory-efficient, requiring only one set of model weights and one set of gradients, which can be stored in half-precision. The code is available at https://github.com/LIONS-EPFL/scion .

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

↑