arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.00542cs.LG
收藏

重新思考Kronecker因子优化器中的Bregman散度

Rethinking Bregman Divergences in Kronecker-Factored Optimizers

College of Control Science and Engineering, Zhejiang University(浙江大学控制科学与工程学院);State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院人工智能安全国家重点实验室,计算技术研究所)

Bing Liu, Wenjie Zhou, Chengcheng Zhao

AI总结:

本文通过协方差矩阵谱分析,研究了不同Bregman散度(Frobenius、von Neumann、LogDet)在Kronecker近似误差分配中的角色,并提出一种子空间感知的Kronecker优化器,在顶部子空间应用基于特征值的预处理,在底部子空间使用自适应各向同性加速常数。

摘要:

Shampoo风格的优化器使用Kronecker因子结构近似梯度协方差矩阵。最近的工作~\cite{lin2026understanding}表明,这种近似可以视为Bregman矩阵散度下的投影,从而得到不同的Kronecker因子预条件子。然而,当协方差并非精确Kronecker因子化时,散度选择的作用仍不清楚。我们通过协方差矩阵的谱来研究这个问题。我们表明,Frobenius、von Neumann和LogDet散度将不可避免的Kronecker近似误差以不同方式分布在协方差谱上。我们进一步表明,它们的Kronecker因子由散度加权残差而非原始近似误差主导,解释了这些谱偏好如何在所得预条件子中实现。实验上,我们观察到顶部协方差特征空间与Hessian矩阵的对齐程度显著更好,而尾部谱则更加嘈杂且不可靠。受这些发现启发,我们提出一种子空间感知的Kronecker优化器,在顶部子空间应用基于特征值的预处理,在底部子空间使用自适应各向同性加速常数。

英文摘要:

Shampoo-style optimizers approximate gradient covariance matrices using Kronecker-factored structures. Recent work~\cite{lin2026understanding} showed that such approximations can be viewed as projections under Bregman matrix divergences, leading to different Kronecker-factored preconditioners. However, it remains unclear what role the choice of divergence plays when the covariance is not exactly Kronecker-factored. We study this question through the spectrum of the covariance matrix. We show that Frobenius, von Neumann, and LogDet divergences distribute the unavoidable Kronecker approximation error differently across the covariance spectrum. We further show that their Kronecker factors are governed by divergence-weighted residuals rather than the raw approximation error, explaining how these spectral preferences are realized in the resulting preconditioners. Empirically, we observe that the top covariance eigenspace is substantially better aligned with the Hessian matrix, while the tail spectrum is much noisier and unreliable. Motivated by these findings, we propose a subspace-aware Kronecker optimizer that applies eigenvalue-based preconditioning in the top subspace and uses an adaptive isotropic acceleration constant in the bottom subspace.

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

↑