arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2508.13898cs.LGcs.AI

超越均值:用于大规模批量训练的自然梯度下降的Fisher-正交投影

Beyond the Mean: Fisher-Orthogonal Projection for Natural Gradient Descent in Large Batch Training

Yishun Lu, Wesley Armour

AI总结:

本文提出Fisher-正交投影技术,用于在大规模批量训练中提升自然梯度下降的性能,实现更优的泛化能力和更快的收敛速度。

摘要:

现代GPU配备了大量高带宽内存,使它们能够支持多达上万训练样本的mini-batch大小。然而,大多数现有优化器在如此大的批量大小下难以有效工作。随着批量大小的增加,由于对许多样本的平均,梯度噪声减少,限制了一阶方法逃离尖锐或次优极小值并达到全局最小值的能力。同时,像自然梯度结合Kronecker-因式近似曲率(KFAC)这样的二阶方法在大批量大小下通常需要极高的阻尼以保持稳定。这种高阻尼会抹去给这些方法带来优势的曲率信息,使它们的性能降低到简单的梯度下降水平。在本文中,我们引入了Fisher-正交投影(FOP),一种新的技术,能够在非常大的批量大小下恢复二阶方法的有效性,使可扩展训练在改进的泛化能力和更快的收敛速度下成为可能。FOP通过利用来自两个子批次的梯度构建一个具有方差意识的更新方向,增强平均梯度,加入一个与Fisher度量下平均值正交的梯度差分分量。

英文摘要:

Modern GPUs are equipped with large amounts of high-bandwidth memory, enabling them to support mini-batch sizes of up to tens of thousands of training samples. However, most existing optimizers struggle to perform effectively at such a large batch size. As batch size increases, gradient noise decreases due to averaging over many samples, limiting the ability of first-order methods to escape sharp or suboptimal minima and reach the global minimum. Meanwhile, second-order methods like the natural gradient with Kronecker-Factored Approximate Curvature (KFAC) often require excessively high damping to remain stable at large batch sizes. This high damping effectively washes out the curvature information that gives these methods their advantage, reducing their performance to that of simple gradient descent. In this paper, we introduce Fisher-Orthogonal Projection (FOP), a novel technique that restores the effectiveness of the second-order method at very large batch sizes, enabling scalable training with improved generalization and faster convergence. FOP constructs a variance-aware update direction by leveraging gradients from two sub-batches, enhancing the average gradient with a component of the gradient difference that is orthogonal to the average under the Fisher-metric.

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

↑