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

一种简单易行的方法用于大规模优化正交矩阵

An Embarrassingly Simple Way to Optimize Orthogonal Matrices at Scale

Institute for Machine Learning, University of Edinburgh, GB(机器学习研究所,爱丁堡大学)

Adrián Javaloy, Antonio Vergari

AI总结:

POGO是一种高效优化算法,通过简化方法在大规模问题中有效满足正交约束,提升优化性能。

摘要:

正交约束在鲁棒性和概率机器学习中普遍存在。不幸的是,当前的优化器计算成本高,无法扩展到有数百或数千个约束的问题。一个值得注意的例外是Landing算法(Ablin等人,2024),但该算法却以暂时放松正交性为代价。在本工作中,我们重新审视并改进了Landing背后的思路,使能够包含现代自适应优化器,同时确保正交约束得到有效满足。令人惊讶的是,这些改进几乎不增加成本,并减少了所需的超参数数量。我们的算法POGO速度快且适合GPU,仅包含5次矩阵乘法,在实践中始终保持正交性。在几个具有挑战性的基准测试中,POGO远超最近的优化器,并展示了它可以在几分钟内优化具有数千个正交矩阵的问题,而其他方法则需要数小时。因此,POGO为最终在大规模机器学习中利用正交约束树立了新的里程碑。POGO的PyTorch实现已公开在https://github.com/adrianjav/pogo。

英文摘要:

Orthogonality constraints are ubiquitous in robust and probabilistic machine learning. Unfortunately, current optimizers are computationally expensive and do not scale to problems with hundreds or thousands of constraints. One notable exception is the Landing algorithm (Ablin et al., 2024) which, however comes at the expense of temporarily relaxing orthogonality. In this work, we revisit and improve on the ideas behind Landing, enabling the inclusion of modern adaptive optimizers while ensuring that orthogonal constraints are effectively met. Remarkably, these improvements come at little to no cost, and reduce the number of required hyperparemeters. Our algorithm POGO is fast and GPU-friendly, consisting of only 5 matrix products, and in practice maintains orthogonality at all times. On several challenging benchmarks, POGO greatly outperforms recent optimizers and shows it can optimize problems with thousands of orthogonal matrices in minutes while alternatives would take hours. As such, POGO sets a milestone to finally exploit orthogonality constraints in ML at scale. A PyTorch implementation of POGO is publicly available at https://github.com/adrianjav/pogo.

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

↑