对角化Softmax:用于可处理交叉熵动力学的Hadamard初始化 Diagonalizing the Softmax: Hadamard Initialization for Tractable Cross-Entropy Dynamics 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2025-12-03
👁️ 预览文献
💡 AI 中文简介
这篇论文研究深度学习中最常用的交叉熵损失函数在训练时的动态行为。以往理论常把交叉熵简化成平方损失或只研究凸模型,但两者动态本质不同。作者分析了一个简单的两层线性神经网络,首次证明梯度流会收敛到神经坍缩的几何结构,并构造了Lyapunov函数保证全局收敛。关键发现是:Hadamard初始化能让softmax算子对角化,从而把复杂动态简化为奇异值的变化,为分析交叉熵训练提供了新工具。
领域深度学习理论 / 优化动力学
适合谁读需要一定专业背景(深度学习理论、优化或线性代数基础)
核心贡献1. 首次证明在标准基输入的两层线性网络上,交叉熵梯度流收敛到神经坍缩几何。2. 发现Hadamard初始化可对角化softmax算子,将权重矩阵动态简化为奇异值动态,为分析交叉熵训练提供通用新方法。
关键数据暂无显著硬数据
推荐理由如果你好奇交叉熵训练背后到底发生了什么,这篇论文用巧妙的数学工具揭示了收敛到神经坍缩的机制,值得一读。
关键词["交叉熵", "Hadamard初始化", "神经坍缩", "梯度流", "非凸优化", "Softmax"]

原文摘要

查看英文原文摘要

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.