arXiv:2606.07559cs.CLcs.AI2026-06

研究语言模型微调中正确答案始终排不上的隐性失败现象。

Phantom Transitions in Language Model Fine-Tuning: A Density-Matrix Analysis

论文配图:Phantom Transitions in Language Model Fine-Tuning: A Density-Matrix Analysis
图 1 · 摘自论文原文
  • 用密度矩阵建模概率分布与嵌入重叠,拆解出信号与拖累两项
  • 发现两种失败模式:信号太弱或拖累随训练恶化导致性能退化
  • 揭示训练过程中的突变跳跃非相变,而是软分类器输出的内在特性

当语言模型微调任务要求正确完成项必须压倒近义竞争项时,常出现无声失败:交叉熵损失持续下降,但正确词从未在模型排名中超越对手。我们在五个跨六倍参数范围的Transformer架构上,针对十个具有显著嵌入重叠的上下文进行研究。构建一个结合预测分布与嵌入重叠的序参量,作为密度矩阵(因分布定义于非正交基)。该参量可分解为追踪正确项承诺的信号项和由嵌入整体泄漏概率至得分所设定的拖累项。由此识别出两种失败模式:运动学失败(信号过小,无法承诺)与结构性失败(拖累随微调加剧,导致性能几何级退化)。序参量还显示类似相变的突跳。通过每步梯度跟踪验证,排除了自发对称性破缺解释;即使在LoRA下嵌入矩阵不变,突跳仍存在。当几何无法改变时,不可能发生几何相变,故突变完全源于softmax读出机制。少数无量纲量可统一描述跨架构轨迹:其一在全部五模型中全微调下保持一致;其二依据嵌入分布将架构分为两类,并预测仅用LoRA能否使句子承诺。盲测中,框架对未见架构的关键学习率预测误差小于2.1%。这些结果刻画了近义词机制,提示外推前需重新校准。

原文摘要 · Abstract (English)

Language models fine-tuned where the correct completion must outrank a near-synonym competitor often fail silently. The cross-entropy loss falls monotonically while the correct token never overtakes the competitor in the model's ranking. We study this across five transformer architectures from two families spanning a sixfold parameter range, on ten contexts whose correct and competing completions share substantial embedding overlap. We build an order parameter combining the predicted distribution with embedding overlap, as a density matrix because that distribution lives over a non-orthogonal basis. It decomposes additively into a signal term tracking commitment to the correct token and a drag term set by how the embedding bulk leaks probability into the score. This isolates two failure modes. In kinematic failure the signal stays too small and the model never commits. In structural failure the drag worsens during fine-tuning, so the model degrades geometrically as its loss falls. The order parameter also shows sharp jumps resembling phase transitions. We test the spontaneous-symmetry-breaking reading by tracking it after every gradient step, and rule it out. The jumps persist under LoRA even though the token embedding matrix never changes. No geometric phase transition is possible when that geometry cannot move, so the discontinuity lies entirely in the softmax readout. A few dimensionless quantities organize the trajectory across architectures. One is consistent across all five models under full fine-tuning. A second sorts architectures into two classes by their bulk embedding distribution and predicts whether LoRA alone can make a sentence commit. As a blind test, the framework predicts a held-out architecture's critical learning rate to within 2.1% of a later sweep. These results characterize this near-synonym mechanism and need recalibration before extrapolation.

语言模型微调失败密度矩阵软分类器

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。