菜单

关于 🐙 GitHub
arXiv 提交日期: 2026-03-10
📄 Abstract - Lost in Backpropagation: The LM Head is a Gradient Bottleneck

The last layer of neural language models (LMs) projects output features of dimension $D$ to logits in dimension $V$, the size of the vocabulary, where usually $D \ll V$. This mismatch is known to raise risks of limited expressivity in neural LMs, creating a so-called softmax bottleneck. We show the softmax bottleneck is not only an expressivity bottleneck but also an optimization bottleneck. Backpropagating $V$-dimensional gradients through a rank-$D$ linear layer induces unavoidable compression, which alters the training feedback provided to the vast majority of the parameters. We present a theoretical analysis of this phenomenon and measure empirically that 95-99% of the gradient norm is suppressed by the output layer, resulting in vastly suboptimal update directions. We conduct controlled pretraining experiments showing that the gradient bottleneck makes trivial patterns unlearnable, and drastically affects the training dynamics of LLMs. We argue that this inherent flaw contributes to training inefficiencies at scale independently of the model architecture, and raises the need for new LM head designs.

顶级标签: llm model training theory
详细标签: gradient bottleneck softmax bottleneck optimization language model head backpropagation 或 搜索:

迷失在反向传播中:语言模型输出层是梯度瓶颈 / Lost in Backpropagation: The LM Head is a Gradient Bottleneck


1️⃣ 一句话总结

这篇论文发现,大型语言模型输出层中巨大的词汇表维度会严重压缩和抑制反向传播的梯度信号,导致大部分参数无法获得有效的训练反馈,从而造成显著的优化瓶颈和训练效率低下。

源自 arXiv: 2603.10145