矩阵白化优化器中真正重要的是什么?
What Really Matters in Matrix-Whitening Optimizers?
AI总结:
本研究系统拆解矩阵白化优化器,发现其性能优势并非仅源于谱归一化,被忽视的方差适配组件才是关键,且低秩方差估计器可在不降性能的同时降低内存开销。
摘要:
近年来出现了一系列以不同方式近似同一种“矩阵白化”变换的优化器。在本研究中,我们系统地拆解了这类优化器,旨在厘清决定其性能的关键组件。在所有超参数均经过调优的情况下,各类矩阵白化方法都稳定地优于逐元素优化器(如Adam)。矩阵白化通常与谱下降相关,但实验表明,性能提升并不能仅用准确的谱归一化来解释——尤其是SOAP展现出最大的单步增益,尽管Muon能更准确地沿最陡谱下降方向下降。相反,我们认为矩阵白化具有两个作用,其中矩阵白化的方差适配组件是解释这一性能差距的被忽视的因素。实验显示,经方差适配的优化器版本始终优于其符号下降对应版本,包括Muon的自适应版本。我们进一步对方差适配策略进行消融实验,发现尽管前瞻式近似效果不佳,但低秩方差估计器能在不损失性能的前提下有效降低内存开销。
英文摘要:
A range of recent optimizers have emerged that approximate the same "matrix-whitening" transformation in various ways. In this work, we systematically deconstruct such optimizers, aiming to disentangle the key components that explain performance. Across tuned hyperparameters across the board, all flavors of matrix-whitening methods reliably outperform elementwise counterparts, such as Adam. Matrix-whitening is often related to spectral descent -- however, experiments reveal that performance gains are *not explained solely by accurate spectral normalization* -- particularly, SOAP displays the largest per-step gain, even though Muon more accurately descends along the steepest spectral descent direction. Instead, we argue that matrix-whitening serves two purposes, and the variance adaptation component of matrix-whitening is the overlooked ingredient explaining this performance gap. Experiments show that variance-adapted versions of optimizers consistently outperform their sign-descent counterparts, including an adaptive version of Muon. We further ablate variance adaptation strategies, finding that while lookahead style approximations are not as effective, low-rank variance estimators can effectively reduce memory costs without a performance loss.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。