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.
Figures & tables
Figure 1: Loss is smooth while sensitivity varies sevenfold: a 10−5 perturbation changes 28 of 200 PIQA answers at unchanged 56.0% accuracy from step 2000, but none from step 4000.
Figure 2: One perturbation, two checkpoints. Red: sensitive checkpoint (step 2000); blue: stable checkpoint (step 4000). A: validation loss and sensitivity score. B–F: update, parameter, and gradient separation; held-out loss; logits KL; top-1 disagreement; unchanged outputs after a 10−5 weight perturbation.
Figure 3: Checkpoint and channel landscape. A: 200-step update separation at 10−5 across ten checkpoints and three state channels. B: separation versus amplitude; solid/dashed: sensitive/stable checkpoint. C–D: batch-order versus state perturbations for update separation and held-out loss (log scale).
Seed
High step
Low step
High response
Low response
1
2000
4000
0.960
0.039
2
1500
5000
0.957
0.021
3
3500
5000
0.236
0.022
Table 1: Seed replication. Response is median update separation across perturbation channels at each run’s high- and low-score checkpoint.
Observable
200 steps
1000 steps
Absolute loss difference
5.61×10−4
2.30×10−4
Symmetric logits KL
8.75×10−4
8.32×10−4
Top-1 disagreement
2.27%
2.30%
Generation exact match
65.7%
63.6%
PIQA disagreement
0.23%
0.45%
HellaSwag disagreement
1.48%
1.25%
Table 2: OLMo-1B output comparison at 200 and 1000 continuation steps.
Figure 4: Sensitivity transfers across runs. A: sensitivity scores across checkpoints for three seeds and a 0.8× -learning-rate run; hollow markers: selected sensitive checkpoints. B: high-to-low response ratio. C–D: OLMo-1B scores and output change after 1000 steps.
Figure 5: Timing of stabilization. A: response reduction versus validation-loss increase. B: matched-budget update separation by state channel. C: output disagreement and generation divergence; lower is better.
Method / schedule
Response
Val. loss
AdamW
0.514
3.919
Sensitivity / basic
0.453
3.934
Sensitivity / tuned
0.227
4.030
Sensitivity / strong
0.137
4.143
Gradient / matched
0.244
4.028
Update / matched
0.245
4.088
Table 3: Controller comparison. Response is 200-step update separation averaged over ten checkpoints and three channels; the last three rows share a scheduled budget.
Method
sKL
Top-1 dis.
Gen. EM
Bench. dis.
AdamW
0.319993
35.71%
0.8%
16.21%
Cautious AdamW
0.372854
38.55%
0.0%
18.45%
SPAM
0.307452
34.89%
0.0%
15.31%
Gradient schedule
0.000153
0.76%
80.5%
0.13%
Sensitivity schedule
0.000167
0.83%
88.3%
0.07%
Table 4: Output agreement after 200 continuation steps at the shared sensitive checkpoint. sKL: symmetric KL; dis.: disagreement; Gen. EM: greedy-generation exact match.
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
Diagnostic
Endpoint
Growth
Early growth
Norm. score
0.640
0.731
0.628
Gradient norm
-0.229
-0.177
-0.370
Update norm
0.979
0.892
0.979
Learning rate
0.984
0.872
0.991
Curvature proxy
0.216
0.182
0.133
Appendix
Table 5: Pearson correlations of checkpoint statistics with future update separation and growth over ten checkpoints.
Figure 6: Checkpoint statistics and endpoint prediction. A: sensitivity score versus log-update growth. B: leave-one-checkpoint-out MAE relative to the mean baseline; lower is better.
Prediction target
MAE reduction
Seed-block interval (%)
Sign-flip p
Early log-update growth
-4.1%
[−11.9,−0.6]
0.25
Parameter separation
-3.4%
[−7.1,3.5]
0.75
Update separation
4.0%
[−0.8,7.8]
0.50
Token disagreement
6.3%
[−0.9,14.4]
0.50
Appendix
Table 6: Cross-seed incremental prediction. MAE reduction from adding the sensitivity score to the simple feature set; intervals resample whole-seed errors and the last column gives the exact sign-flip test.
Table 7: Training configurations. Effective batch sizes include gradient accumulation.
Variant
τ
γ
cmin
γm
γv
γp
ϵ boost
cu
Basic
0.70
1.00
0.50
0.05
0
0
0
0
Internal-tuned / matched
0.70
0.35
0.80
0.03
3.0
0.20
200
6.0×10−4
Internal
0.60
0.50
0.70
0.08
8.0
0.50
1000
4.2×10−4
Appendix
Table 8: Controller settings. Rows increase stabilization strength; columns give the activation threshold and update modifications. Matched schedules use the tuned setting.
System / role
Score points
Intervention states
Channels
Amplitudes
Horizons
Pairs
60M dense map
10
500–5000
θ,m,v , order
10−6,10−5,10−4
200; 500/1000/2000
118
60M replications
2×10
run-specific high/low
θ,m,v
10−5
200/1000
16
OLMo-1B transfer
8
750/1000/1250/2000
θ,m,v , order
10−6,10−5
200/1000
56
Stability controls
5×10
500–5000
θ,m,v
10−5
200
150
0.8× -LR AdamW
10
run-specific high/low
θ,m,v
10−5
200/1000
8
SPAM / C-AdamW
2×20
run-specific high/low
θ,m,v
10−5
200/1000
16
Appendix
Table 9: Experimental coverage. Each row lists a cohort, its perturbation conditions, and its paired continuations.
Optimizer
θ update dist.
Adam- m
Adam- v
Final val loss
AdamW baseline
0.505
0.507
0.529
3.919
Sensitivity schedule (basic)
0.443
0.441
0.475
3.934
Sensitivity schedule (internal-tuned)
0.219
0.213
0.249
4.030
Sensitivity schedule (internal)
0.128
0.131
0.152
4.143
Gradient schedule (matched)
0.239
0.239
0.254
4.028
Update schedule (matched)
0.231
0.240
0.264
4.088
Appendix
Table 10: Controller responses by perturbation channel. Lower separation is better.
Figure 7: Parameter separation at high- and low-score checkpoints. A–C: weight, first-moment, and second-moment perturbations.
Figure 8: Full amplitude response. Color denotes checkpoint score; rows show early growth and endpoint separation.
Figure 9: Long-horizon responses by state channel for high- and low-score launches.
Figure 10: Full small-model response matrix. A–B: state-perturbation responses; C: batch-order responses; D: loss differences.
Optimizer
Val. loss
Grad. norm
Score mean [range]
Response high / low
AdamW
3.919
0.287 / 0.373
0.620 [0.163, 1.116]
0.962 / 0.040
C-AdamW
3.932
0.313 / 0.417
1.177 [0.596, 1.524]
1.190 / 0.088
SPAM
3.884
0.187 / 0.269
0.236 [0.024, 0.839]
1.045 / 0.594
Appendix
Table 11: Optimizer comparison. Gradient norm reports the post-warmup mean and 95th percentile; response compares high- and low-score launches for each optimizer.
Perturbation
Final update
Log-update slope
Early log slope
θ
0.652
0.719
0.624
Adam- m
0.652
0.721
0.469
Adam- v
0.615
0.424
0.095
Batch order
0.488
0.173
-0.143
Appendix
Table 12: Checkpoint-level Pearson correlations by perturbation channel.
Figure 13: Replication and diagnostic controls. Panels compare diagnostic batches, learning rate, and continuation behavior.
Figure 14: Behavior across models. A–C: small-model token, generation, and benchmark outcomes; D–F: OLMo-1B.
Figure 15: Muon/AdamW hybrid response. A: relative parameter separation; B: symmetric logits KL; C: generation exact match, with the total number of changed benchmark answers across six conditions above each checkpoint (192 questions per condition). Lines average six conditions per checkpoint; open circles mark individual conditions.
ID
Step
Channel
ϵ
Update sep.
Parameter sep.
sKL
Top-1
Gen. match
Flips
M04
250
weights
10−6
0.070
2.29×10−4
6.62×10−4
1.20%
56.2%
0
M05
250
weights
10−5
0.062
2.08×10−4
6.37×10−4
1.44%
65.6%
0
M06
250
weights
10−4
0.064
2.38×10−4
6.65×10−4
1.22%
65.6%
1
M07
250
Muon mom.
10−6
0.067
2.32×10−4
6.67×10−4
1.12%
65.6%
0
M08
250
Muon mom.
10−5
0.063
2.19×10−4
6.57×10−4
1.39%
53.1%
1
M09
250
Muon mom.
10−4
0.066
2.19×10−4
6.34×10−4
1.17%
50.0%
0
Appendix
Table 13: All 18 all-model Muon/AdamW conditions after 200 continuation steps. Top-1 and generation match are percentages over 4096 positions and 32 prompts; flips count changed answers per condition over the same 192 benchmark questions.
ID
Step
Channel
Scope
ϵ
Update sep.
Parameter sep.
sKL
Top-1
Gen. match
M29
1000
weights
shallow
10−5
0.070
1.43×10−4
9.71×10−4
1.73%
50.0%
M30
1000
weights
middle
10−5
0.084
1.09×10−4
9.27×10−4
1.46%
59.4%
M31
1000
weights
deep
10−5
0.067
1.24×10−4
9.54×10−4
1.54%
53.1%
M32
1000
Muon mom.
shallow
10−5
0.069
1.12×10−4
9.32×10−4
1.59%
62.5%
M33
1000
Muon mom.
middle
10−5
0.062
1.09×10−4
9.16×10−4
1.37%
50.0%
M34
1000
Muon mom.
deep
10−5
0.062
1.10×10−4
9.20×10−4
1.56%
68.8%
Appendix
Table 14: Layer, optimizer-state, and data-stream conditions after 200 continuation steps.
ID
Step
Direction
N0
N3
g3
M02
250
9101
1.00×10−6
0.0262
3.391
M03
250
9102
1.00×10−6
0.0242
3.364
M11
1000
9101
1.00×10−6
0.0715
3.726
M12
1000
9102
1.00×10−6
0.0339
3.477
M20
2000
9101
1.00×10−6
0.0265
3.395
M21
2000
9102
1.00×10−6
0.0264
3.393
Appendix
Table 15: Three-step finite-difference state growth for weight perturbations at ϵ=10−6 .