Hidden Sensitivity in LLM Pre-training: A Dynamic System View
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.
Create a lesson
Related papers
Mirrored Min-of-K Training
Shared title terminology · Jiaru Zhang, Zeyun Deng, Hyunsoo Yun et al.
Interaction Retention and Output-Likelihood Training in Parallel Sampling
Shared title terminology · Da Li, Bo Jin, Xiaopeng Wei et al.
Dynamic Model Merging with Multi-Layer Aggregated Routing Evidence
Shared title terminology · Yuxi Li, Jiacong Hu, Jie Song et al.
BitShare: Sensitivity-Aware Binning and Bit Sharing for Compacting LLM Weight Storage
Shared title terminology · Qiuyu Ren, Sudipta Paria, Aritra Dasgupta et al.
State of Mind: Learning and Evaluating World Models of Naturalistic Brain Dynamics
Shared title terminology · Yuxiang Wei, Zundong Wu, Weiyu Sun et al.
Don't Train It, Write It: An AI Agent Writes New Capabilities into Language Model Weights
Shared title terminology · Santiago Rivadeneira Quintero