跳到正文
arXiv (AI + Vision + Imaging)· Bo Liu, Yuan Xie, Junan Chen, Fujun Han·· 1 天前AI 评分36

LLM预训练中的隐藏敏感性:动态系统视角下的诊断与稳定化

Hidden Sensitivity in LLM Pre-training: A Dynamic System View

AI 导读

研究将LLM预训练建模为权重与Adam优化器状态联合演化的非自治动力系统,并提出优化器相对坐标下的归一化敏感性评分来识别敏感检查点。在其中一个检查点,仅10^(-5)的权重扰动经200步训练后导致top-1预测35.7%不一致、基准答案16.2%不一致,验证损失却几乎不变。基于该诊断的定向稳定化将top-1不一致降至0.83%、生成完全匹配升至88.3%,代价是验证损失增加0.11 nat。

正文 · 原文

arXiv:2611.28830v1 Announce Type: new Abstract: In Large Language Model (LLM) pre-training, loss curves can conceal substantial instability, i.e., even small perturbations may lead to dramatically different predictions while leaving loss nearly unchanged. To investigate this phenomenon and reveal the underlying mechanisms, we first formulate LLM pre-training as a non-autonomous dynamical system that jointly evolves model weights and Adam optimizer states. Based on this formulation, we introduce a normalized sensitivity score in optimizer-relative coordinates to identify sensitive training checkpoints. At one such checkpoint, a weight perturbation of only 10^(-5) leads to 35.7% disagreement in top-1 predictions and 16.2% disagreement in benchmark answers after 200 training steps, with only 0.8% of greedy generations remaining identical despite similar validation losses. Furthermore, we find that perturbations to Adam's first and second moments induce comparably large effects, with similar sensitivity patterns observed in OLMo-1B. Finally, guided by our diagnostic, targeted stabilization reduces top-1 disagreement to 0.83% and increases generation exact match to 88.3%, at the cost of a 0.11-nat increase in validation loss. Our findings reveal a hidden form of optimizer-state-dependent sensitivity in LLM pre-training that conventional loss-based evaluations may overlook, while demonstrating its potential for diagnosis and mitigation.

来源:arXiv (AI + Vision + Imaging) · arxiv.org