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

PRISM:分布无关的自适应矩阵函数计算以加速神经网络训练

PRISM: Distribution-free Adaptive Computation of Matrix Functions for Accelerating Neural Network Training

International Computer Science Institute(国际计算机科学研究所);University of California Berkeley(加州大学伯克利分校);Lawrence Berkeley National Laboratory(伯克利国家实验室)

Shenghao Yang, Zhichao Wang, Oleg Balabanov, N. Benjamin Erichson, Michael W. Mahoney

AI总结:

PRISM通过自适应多项式拟合和随机迭代草图技术,加速神经网络训练中的矩阵函数计算,无需显式谱界或奇异值估计。

摘要:

矩阵函数如平方根、逆根和正交化在预条件梯度方法中扮演着核心角色,用于神经网络训练。这促使了开发迭代算法的出现,这些算法避免显式特征分解,主要依赖矩阵乘法,使其非常适合现代GPU加速器。我们提出了PRISM(多项式拟合和随机迭代草图用于矩阵函数计算),这是一个加速迭代算法计算矩阵函数的一般框架。PRISM结合了自适应多项式近似与随机草图:在每次迭代中,通过草图最小二乘问题拟合一个多项式替代物,适应于当前的谱,以最小的开销适应实例。我们将PRISM应用于加速牛顿-施楚兹类迭代用于矩阵平方根和正交化,这些是机器学习中的核心原语。与先前方法不同,PRISM不需要显式的谱界或奇异值估计;并且它会自动适应演化的谱。经验上,PRISM在整合到Shampoo和Muon优化器中时加速了训练。

英文摘要:

Matrix functions such as square root, inverse roots, and orthogonalization play a central role in preconditioned gradient methods for neural network training. This has motivated the development of iterative algorithms that avoid explicit eigendecompositions and rely primarily on matrix multiplications, making them well suited for modern GPU accelerators. We present PRISM (Polynomial-fitting and Randomized Iterative Sketching for Matrix functions computation), a general framework for accelerating iterative algorithms for computing matrix functions. PRISM combines adaptive polynomial approximation with randomized sketching: at each iteration, it fits a polynomial surrogate to the current spectrum via a sketched least-squares problem, adapting to the instance at hand with minimal overhead. We apply PRISM to accelerate Newton-Schulz-like iterations for matrix square roots and orthogonalization, which are core primitives in machine learning. Unlike prior methods, PRISM requires no explicit spectral bounds or singular value estimates; and it adapts automatically to the evolving spectrum. Empirically, PRISM accelerates training when integrated into Shampoo and Muon optimizers.

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

↑