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.
Progressive Data Dropout: An Embarrassingly Simple Approach to Faster Training
Department of Computer Science, University of Manchester(曼彻斯特大学计算机科学系);School of Informatics, University of Edinburgh(爱丁堡大学信息学院);School of Informatics, Xiamen University(厦门大学信息学院);School of Computer Science, University of Nottingham(诺丁汉大学计算机科学系)
Momentum Stiefel Optimizer, with Applications to Suitably-Orthogonal Attention, and Optimal Transport
Georgia Institute of Technology(佐治亚理工学院)
Stiefel流形上的优化问题,即,满足正交性约束的(不一定是正方形的)矩阵的最小化函数已经被广泛研究。然而,提出了一种新的方法的基础上,第一次,精心设计的连续和离散动态之间的相互作用。它导致了一个基于梯度的优化器,具有内在的附加动量。该方法精确地保持了流形结构,但不需要额外的操作来保持变化的(余)切空间中的动量,因此具有较低的计算成本和令人满意的精度。它的推广自适应学习率也证明。在实际任务中观察到显著的性能。例如,我们发现,当使用我们的优化器时,对从头开始训练的视觉Transformer [Dosovitskiy et al. 2022]的注意力头部设置正交约束可以显著提高其性能,并且每个头部最好在其自身内正交,但不一定与其他头部正交。该优化器还使投影鲁棒Wasserstein距离[Paty & Cuturi 2019; Lin et al. 2020]的有用概念对于高维度最优传输更加有效。
MoE Key Lab of Artificial Intelligence, AI Institute, School of Computer Science, Shanghai Jiao Tong University(人工智能微电子实验室、人工智能学院、计算机科学学院、上海交通大学);Xiaohongshu Inc.(小红书公司)
Salzburg University of Applied Sciences(萨尔茨堡应用科学大学);Paris Lodron University Salzburg(帕拉塞尔苏斯大学萨尔茨堡);Josef Ressel Centre for Intelligent and Secure Industrial Automation(约瑟夫·雷塞尔智能与安全工业自动化中心)
TriShield: Zero-Utility-Loss Defense Against Privacy Backdoors in Federated Language Model Fine-Tuning via Orthogonal Gradient Projection and Optimizer State Entanglement
Restricted Orthogonal Gradient Projection for Continual Learning
Tsinghua University(清华大学);Institute for AI Industry Research, Tsinghua University(清华大学人工智能产业研究院);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Beijing Academy of Artificial Intelligence(北京人工智能研究院);International Innovation Center of Tsinghua University(清华大学国际创新中心);Quan Cheng Laboratory(泉城实验室)