arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.04006cs.LGmath.OCstat.ML
收藏

对softmax进行对角化:用于可计算交叉熵动力学的Hadamard初始化

Diagonalizing the Softmax: Hadamard Initialization for Tractable Cross-Entropy Dynamics

Connall Garrod, Jonathan P. Keating, Christos Thrampoulidis

AI总结:

本文通过Hadamard初始化对角化softmax操作符,揭示了交叉熵训练动态的全局收敛性,并首次证明梯度流在CE下收敛至神经崩溃几何。

摘要:

交叉熵(CE)训练损失主导了深度学习实践,但现有理论往往依赖于简化,要么将其替换为平方损失,要么限制在凸模型中,这些简化忽略了本质行为。CE和平方损失生成根本不同的动态,而凸线性模型无法捕捉非凸优化的复杂性。我们通过分析一个标准基向量作为输入的典型两层线性神经网络,深入表征了多类CE优化动态,超越凸领域:这是最简单的非凸扩展,其中隐含偏置仍然未知。该模型与用于研究神经崩溃的无约束特征模型一致,使我们的工作成为首次证明梯度流在CE上收敛到神经崩溃几何的证明。我们构建了一个显式的Lyapunov函数,建立了全局收敛性,尽管非凸景观中存在伪极小点。我们的分析背后的洞察力是显而易见的发现:Hadamard初始化对角化了softmax操作符,冻结了权重矩阵的奇异向量,并将动态完全减少到其奇异值。这项技术为分析CE训练动态开辟了道路,远超我们在此考虑的特定设置。

英文摘要:

Cross-entropy (CE) training loss dominates deep learning practice, yet existing theory often relies on simplifications, either replacing it with squared loss or restricting to convex models, that miss essential behavior. CE and squared loss generate fundamentally different dynamics, and convex linear models cannot capture the complexities of non-convex optimization. We provide an in-depth characterization of multi-class CE optimization dynamics beyond the convex regime by analyzing a canonical two-layer linear neural network with standard-basis vectors as inputs: the simplest non-convex extension for which the implicit bias remained unknown. This model coincides with the unconstrained features model used to study neural collapse, making our work the first to prove that gradient flow on CE converges to the neural collapse geometry. We construct an explicit Lyapunov function that establishes global convergence, despite the presence of spurious critical points in the non-convex landscape. A key insight underlying our analysis is an inconspicuous finding: Hadamard Initialization diagonalizes the softmax operator, freezing the singular vectors of the weight matrices and reducing the dynamics entirely to their singular values. This technique opens a pathway for analyzing CE training dynamics well beyond our specific setting considered here.

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

↑