betaFeedback

WorksComputer Science

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.

Introduction

Small perturbations are everywhere: batch order, dropout masks, numerical kernels, and optimizer state introduce differences that cannot be eliminated. The Butterfly Effect for pre-training is when such a difference is amplified into a different model. Loss and benchmark accuracy can look stable while two runs answer different questions correctly [28, 8]. Aggregate metrics compare average performance, not whether

Diagram showing smooth loss and varying sensitivity across training, trajectory sensitivity, and output behavior

Figure 1. Loss is smooth while sensitivity varies sevenfold: a 10−510^{-5} perturbation changes 28 of 200 PIQA answers at unchanged 56.0% accuracy from step 2000, but none from step 4000.

training preserves the state from which models emerge. We locate the training windows where a small state difference is amplified and follow it from optimizer state to updates, parameters, logits, and individual predictions.

Studies of Transformer instability examine loss divergence, gradient scale, and adaptive updates [22, 29, 14]. Floating-point computations can introduce discrepancies even when the intended training procedure is unchanged [24]. Sensitivity asks what happens if the checkpoint is slightly changed and training continues: an update can be small in the original run yet change substantially under that perturbation.

We study this response in AdamW language-model training [16, 21]. Because AdamW carries gradient history in its first and second moments, weights alone do not determine the next iterate; we include this memory in the state (θ,m,v)(\theta,m,v) and differentiate the full update. Dynamical analyses of learning motivate measuring trajectory separation [13] (Li et al. 2017), and finite-time Lyapunov exponents measure displacement growth over a window, depending on that window, the metric, and the initial direction [25]. We build a related finite-window score in relative coordinates tied to weights, preconditioned updates, and adaptive scaling. A raw Euclidean norm mixes parameters, gradients, and squared gradients in incompatible units; our relative coordinates keep them on a common scale, so moment differences enter alongside weight differences.

Our central test perturbs one checkpoint component and continues both branches on the same future batches, isolating state amplification and connecting the local diagnostic to later predictions. Sensitivity varies during smooth optimization, moment perturbations affect updates as strongly as weight perturbations, and after 1000 steps top-1 disagreement reaches 27% from the sensitive checkpoint versus 1–1.5% from an insensitive one. Independent seeds and an OLMo-1B continuation reproduce the pattern.

Stabilization must balance trajectory agreement against progress: stronger damping lowers separation to about 0.14 but raises validation loss to 4.143. At matched strength and activation, gradient-norm, update-norm, and sensitivity schedules differ only in placement, and the sensitivity timing cuts separation a further 7% at comparable loss.

Our contributions are:

  1. A striking phenomenon. We find that a tiny perturbation to one checkpoint changes a large share of top-1 predictions after a short continuation, while validation loss and aggregate accuracy stay close. The amplification concentrates in short training windows and recurs across seeds and model size.

  1. A diagnostic metric. We formulate LLM pre-training as a dynamical system and define a sensitivity score that measures displacement in weights, update directions, and preconditioner state on a common scale. High-scoring checkpoints produce far more top-1 disagreement over the long term than low-scoring ones.

  1. An effective control. We schedule AdamW stabilization where the offline sensitivity scores are highest. With the same damping budget, this timing sharply reduces top-1 disagreement and recovers almost all greedy generations at a small validation-loss cost.

Related Work

Sensitivity of optimization. Algorithmic stability studies how training-data changes affect the learned predictor [12]. For a fixed objective, edge-of-stability analysis relates gradient descent to loss curvature [7]; dynamical stability constrains the minima selected by SGD [30, 4]. Adaptive optimizers add memory-dependent effects: Adam’s preconditioner can trigger loss spikes [1], while cautious optimizers modify updates according to momentum–gradient agreement [20]. Open checkpoints support analysis across training stages [2]. We perturb checkpoint weights or moments while replaying identical future batches, then measure trajectory separation and prediction disagreement during otherwise smooth optimization.

Dynamical systems in deep learning. Weinan E proposed representing high-dimensional functions through continuous dynamical systems (E, 2017). Subsequent work derives training algorithms from Pontryagin’s maximum principle (Li et al., 2018), designs stable architectures through differential-equation analysis [11], and learns continuous hidden-state dynamics with neural ODEs [5]. Here network depth acts as evolution time. A complementary approach treats optimization steps as time: stochastic gradient algorithms are approximated by stochastic differential equations (Li et al., 2019), and transient-chaos analysis examines learning at large learning rates [15]. FTLE also measures input sensitivity across network depth [27]. Our analysis follows perturbations across training steps, with weights and Adam memory forming the evolving state; paired continuations connect local sensitivity to later behavior.

Method

Training Dynamics

Let BtB_t be the batch at step tt and gt=∇θℓ(θt;Bt)g_t = \nabla_\theta\ell(\theta_t; B_t). AdamW remembers past gradients in two moving averages: mtm_t tracks their direction, while vtv_t tracks their squared magnitude and sets a separate scale for each coordinate. With learning rate ηt\eta_t and weight decay λw\lambda_w, its updates are

mt+1=β1mt+(1−β1)gt,(1)m_{t+1} = \beta_1 m_t + (1-\beta_1)g_t, \tag*{(1)}
vt+1=β2vt+(1−β2)gt2,(2)v_{t+1} = \beta_2 v_t + (1-\beta_2)g_t^2, \tag*{(2)}
ut+1=m^t+1v^t+1+ϵ,(3)u_{t+1} = \frac{\widehat{m}_{t+1}}{\sqrt{\widehat{v}_{t+1}}+\epsilon}, \tag*{(3)}
θt+1=(1−ηtλw)θt−ηtut+1.(4)\theta_{t+1} = (1-\eta_t\lambda_w)\theta_t - \eta_t u_{t+1}. \tag*{(4)}

Products, squares, and divisions of vectors are element-wise; hats denote bias correction. In particular, ut+1u_{t+1} is the Adam direction before multiplying by the learning rate and excludes decoupled weight decay.

Two checkpoints with identical weights can take different next steps if their moment memories differ. We therefore define the training state as xt=(θt,mt,vt)x_t = (\theta_t, m_t, v_t). Given the batch and optimizer settings, this state determines xt+1=x_{t+1} = Tt(xt)T_t(x_t). The map changes with the batch and learning-rate schedule. Replaying the same batches and schedule in both branches isolates the amplification of their initial state difference; changing batch order changes the map itself.

To follow a very small difference between states, write its first-order approximation as qt=(qθ,t,qm,t,qv,t)q_t=(q_{\theta,t},q_{m,t},q_{v,t}). The corresponding gradient change is ht=Htqθ,th_t=H_tq_{\theta,t}, where HtH_t is the batch-loss Hessian. Differentiating the update gives

qm,t+1=β1qm,t+(1−β1)ht,(5)q_{m,t+1}=\beta_1q_{m,t}+(1-\beta_1)h_t, \tag*{(5)}
qv,t+1=β2qv,t+2(1−β2)gt⊙ht,(6)q_{v,t+1}=\beta_2q_{v,t}+2(1-\beta_2)g_t\odot h_t, \tag*{(6)}
qu,t+1=q^m,t+1dt−m^t+1⊙q^v,t+12v^t+1⊙dt2,(7)q_{u,t+1}=\frac{\widehat{q}_{m,t+1}}{d_t}-\frac{\widehat{m}_{t+1}\odot\widehat{q}_{v,t+1}}{2\sqrt{\widehat{v}_{t+1}}\odot d_t^2}, \tag*{(7)}
qθ,t+1=(1−ηtλw)qθ,t−ηtqu,t+1,(8)q_{\theta,t+1}=(1-\eta_t\lambda_w)q_{\theta,t}-\eta_tq_{u,t+1}, \tag*{(8)}

where dt=v^t+1+ϵd_t=\sqrt{\widehat{v}_{t+1}}+\epsilon. A weight difference first changes the gradient through hth_t. That gradient difference enters both moment memories, changes the update direction, and produces the next weight difference. The recurrence explains why a perturbation to optimizer memory can influence the model even when its initial weights are unchanged. Hessian–vector products evaluate this interaction without materializing the Hessian. Appendix § 9 describes how the differentiable AdamW map relates to clipping, rounding, and quantized state.

Finite-Time Sensitivity

For Jt=DTt(xt)J_t=DT_t(x_t), a conventional directional finite-time exponent is

λt,K(q)=1Klog⁡∥Jt+K−1⋯Jtq∥t+K∥q∥t.(9)\lambda_{t,K}(q)=\frac{1}{K}\log\frac{\lVert J_{t+K-1}\cdots J_tq\rVert_{t+K}}{\lVert q\rVert_t}. \tag*{(9)}

The numerator measures how large the initial displacement becomes after the window, and the logarithm gives its average multiplicative growth per step: positive values indicate amplification and negative values contraction in the chosen distance. The exponent depends on window, metric, and direction. Maximizing over directions gives the maximal FTLE. Our probe instead follows a Gaussian parameter-block direction through the full state and reports a renormalized finite-window score (Appendix § 9).

Relative State Geometry

The tangent recurrence identifies what propagates, but comparing its components requires a choice of distance. A raw Euclidean norm adds perturbations to weights, gradients, and squared gradients, so its value depends on their units: rescaling the loss by cc rescales mm by cc and vv by c2c^2 while leaving the Adam direction unchanged away from the numerical floor.

We measure relative weight displacement, relative update displacement, and multiplicative change to the preconditioner. The dynamical state remains (θ,m,v)(\theta,m,v): the update direction uu and log-preconditioner ρ\rho are functions of the moments. They provide coordinates for measuring a state displacement. For tensors indexed by ℓ=1,…,L\ell=1,\ldots,L, define

R(a;b)2=1L∑ℓRMS⁡(aℓ)2RMS⁡(bℓ)2+f2.(10)\mathcal{R}(a;b)^2=\frac{1}{L}\sum_{\ell}\frac{\operatorname{RMS}(a_\ell)^2}{\operatorname{RMS}(b_\ell)^2+f^2}. \tag*{(10)}

Here RMS is the square root of the mean squared entries of a tensor. Each ratio compares a displacement with the typical size of its corresponding tensor, rather than dividing by individual entries that may be close to zero. The floor is f=10−12f=10^{-12}. Equal tensor averaging prevents a large embedding tensor from dominating by size alone. The denominator of the Adam update controls how strongly each gradient coordinate affects the weights. We use its logarithm, ρ=log⁡(v^+ϵ)\rho=\log(\sqrt{\widehat{v}}+\epsilon), so that a change measures the fractional change in this scaling. Its tangent is

qρ=q^v2v^⊙(v^+ϵ).(11)q_\rho=\frac{\widehat{q}_v}{2\sqrt{\widehat{v}}\odot(\sqrt{\widehat{v}}+\epsilon)}. \tag*{(11)}

The norm used to evaluate each local tangent is

N(q)2=R(qθ;θ)2+R(qu;u)2+1L∑ℓRMS⁡(qρ,ℓ)2.(12)N(q)^2=\mathcal{R}(q_\theta;\theta)^2+\mathcal{R}(q_u;u)^2+\frac{1}{L}\sum_\ell\operatorname{RMS}(q_{\rho,\ell})^2. \tag*{(12)}

The first term measures how far the weights move relative to their own size. The second measures how much the direction of the next update changes, and the third measures how much its adaptive scaling changes. We give these three contributions equal weight. Finite-time growth depends on the metric; fixing it gives a common basis for checkpoint comparison. Appendices § 15 and § 14 give the metric transformation and full Jacobian.

Checkpoint Estimation

The probe starts from (qθ,0,0)(q_\theta,0,0), propagates this direction through the Adam tangent recurrence, and evaluates Equation (12). It uses three local iterations on a fixed checkpoint batch for the small model and one for OLMo, leaving the checkpoint unchanged. Algorithm 1 in Appendix § 9 specifies the normalization and the reported score. We test the checkpoint ranking with separate paired continuations on subsequent shared batches.

For a twice-differentiable realized KK-step map FF,

F(x+δ)−F(x)=DF(x)δ+O(∥δ∥2).(13)F(x+\delta)-F(x)=DF(x)\delta+O(\lVert\delta\rVert^2). \tag*{(13)}

The linear term describes the response while the displacement is small; as the branches separate, nonlinear effects change it, so we use actual paired continuations to measure later separation and output differences rather than extrapolating the local tangent through training.

Experiments

Experimental Setup

We use a LLaMA-style model with 76.8M implemented parameters, previously labeled “60M” in run names, trained on C4 (Raffel et al., [23]) for 5000 steps, and continue OLMo-2-0425-1B (1.485B parameters) (Groeneveld et al., [10]) on Dolma (Soldaini et al., [26]) for 2000 steps. The evidence comprises 364 paired trajectories, summarized in Table 9; Appendix § 17 lists settings and grouping.

System / roleScore pointsIntervention statesChannelsAmplitudesHorizonsPairs
60M dense map10500–5000θ,m,v\theta, m, v, order10−6,10−5,10−410^{-6}, 10^{-5}, 10^{-4}200; 500/1000/2000118
60M replications2×102 \times10run-specific high/lowθ,m,v\theta, m, v10−510^{-5}200/100016
OLMo-1B transfer8750/1000/1250/2000θ,m,v\theta, m, v, order10−6,10−510^{-6}, 10^{-5}200/100056
Stability controls5×105 \times10500–5000θ,m,v\theta, m, v10−510^{-5}200150
0.8×-LR AdamW10run-specific high/lowθ,m,v\theta, m, v10−510^{-5}200/10008
SPAM / C-AdamW2×202 \times20run-specific high/lowθ,m,v\theta, m, v10−510^{-5}200/100016

Table 9. Experimental coverage. Each row lists a cohort, its perturbation conditions, and its paired continuations.

At each checkpoint, one branch is unchanged and another receives a perturbation to exactly one of θ\theta, mm, or vv; both then replay the same batches. Nominal magnitudes are 10−610^{-6}, 10−510^{-5}, and 10−410^{-4} for the small model, with the largest omitted for OLMo, and second moments are clamped to remain nonnegative. Separate conditions change batch order. Short continuations last 200 steps; selected checkpoints are followed for 1000 or 2000 steps. Repeated amplitudes and channels at one checkpoint are dependent conditions, so we report checkpoint-level results.

We measure relative separation ∥zpert−zref∥2/(∥zref∥2+10−12)\lVert z^{\mathrm{pert}}-z^{\mathrm{ref}}\rVert_2/(\lVert z^{\mathrm{ref}}\rVert_2+10^{-12}) in updates, parameters, and gradients, and use symmetric logits KL, top-1 disagreement, and greedy-generation exact match for outputs. Multiple-choice disagreement measures changed answers separately from net accuracy on PIQA, HellaSwag, and ARC-Easy ([3, 31, 6]), which test physical commonsense, continuation selection, and elementary science. These readouts show whether comparable aggregate performance also means comparable predictions on individual inputs.

Checkpoint Sensitivity

Checkpoint variation. Validation loss decreases from 5.48 to 3.92 on the dense small-model trajectory, while the normalized diagnostic spans 0.163 at step 4000 to 1.116 at step 2000 (Figure 2A). Figure 3A tests the response at all ten sampled checkpoints. Each checkpoint receives the same channel and amplitude conditions, followed by the same continuation horizon; separation changes across the matrix for both updates and parameters, so the response depends on where the perturbation enters training.

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−510^{-5} weight perturbation.

Figure 3. Checkpoint and channel landscape. A: 200-step update separation at 10−510^{-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).

At nominal magnitude 10−510^{-5}, weight perturbations produce 200-step relative update distances of 0.960 at step 2000 and 0.039 at step 4000. At the sensitive checkpoint the perturbed update differs from the reference by almost its full norm, so the branches take nearly independent steps from an imperceptible initial difference; at the stable checkpoint the updates agree to within four percent of their norm, so they continue along nearly the same trajectory. Both values lie on opposite sides of the 90-condition mean of 0.505, a change in regime rather than a small modulation around a common level. Because the two branches replay the same batches, the disparity can only come from how the state amplifies the initial difference.

Perturbation response. The same pattern appears when the perturbation enters through Adam memory: across 90 state-perturbation conditions, both moment channels follow the checkpoint pattern of weight perturbations (Figure 3A). Appendix Figure 10 gives the full batch-order and loss comparisons. At 10−510^{-5}, mean 200-step update distances are 0.505 for weights, 0.507 for first moments, and 0.529 for second moments. Comparable responses across all three channels mean that a checkpoint’s sensitivity cannot be read from its weights alone.

The channels differ in how their response depends on amplitude: second-moment mean parameter separation rises from 0.113 at 10−610^{-6} to 0.171 at 10−510^{-5} and 0.818 at 10−410^{-4}, while weight and first-moment separation changes little, and even second-moment 200-step update separation stays nearly flat (Figure 3B). This flattening marks saturation, so we measure growth during the continuation as well as separation at its endpoint.

Batch-order changes give a different comparison. Their mean update distance is near 1.43, consistent with the continuing effect of different input streams, and held-out loss differences stay below 0.06 nats for state perturbations and near 0.5 nats for batch-order changes. Unlike an initial state perturbation, this condition repeatedly injects differences into the branches, so we analyze it separately.

Behavioral Effects

Long-term effects. We follow the selected high- and low-sensitivity checkpoints for longer and evaluate their outputs on shared inputs; Figure 2 shows the response. At 1000 continuation steps, perturbations from the high-sensitivity checkpoint reach relative parameter distances of 0.39–0.40 and gradient distances near 0.85. From the low-sensitivity checkpoint, the corresponding distances remain below 0.015 and near 0.03. This contrast persists to 2000 steps across weights and both moment channels; Appendix Figure 9 gives the full trajectories.

Output differences follow the same ordering. High-checkpoint continuations have logits KL near 0.20 and about 27% top-1 disagreement; low-checkpoint continuations have KL near 4–6 × 10−410^{-4} and 1–1.5% disagreement. Average held-out loss differs by at most 0.06 nats, even as the branches disagree on which token to choose. At 1000 steps, 75% of greedy generations from the low-sensitivity checkpoint remain exact versus 0% from the high-sensitivity one, and 99% versus 87% of benchmark answers are unchanged.

Low-margin predictions explain how this happens. Average cross-entropy weights all positions equally, so changing the leading token where the model is nearly undecided moves the mean loss only slightly, just as individually flipped benchmark answers can cancel when gains on some examples offset losses on others. Net loss and accuracy therefore stay near their reference values even when a sizeable share of predictions differs. Greedy generation compounds the effect instead of averaging it: one early flip changes the prefix, and every later token is conditioned on that prefix, so exact match can fall from most generations to none while the per-position distribution changes far less. The three readouts measure different objects, mean continuous fit, per-decision agreement, and whole-sequence agreement, so a run judged by loss and aggregate accuracy alone can look like a valid continuation after its predictions and generations have mostly changed.

Seed replication. The high/low response contrast recurs across three independent small-model seeds, with different timing and magnitude, as Table 1 and Figure 4A summarize. High-to-low response ratios range from 5×5 \times to 46×46 \times, as Figure 4B shows. Table 1 lists the checkpoint pair behind each row: the high checkpoint falls between steps 1500 and 3500 and the low one between 4000 and 5000, so the contrast does not follow a fixed schedule. A 0.8×0.8 \times-learning-rate AdamW run retains a 0.783/0.160 high/low update-distance contrast, so the effect does not depend on optimization speed. Repeated tangent seeds give similar diagnostic values conditional on a batch, while changing the diagnostic batch produces greater variation. Appendix Figure 13 reports these controls and the independent runs.

SeedHigh stepLow stepHigh responseLow response
1200040000.9600.039
2150050000.9570.021
3350050000.2360.022

Table 1. Seed replication. Response is median update separation across perturbation channels at each run’s high- and low-score checkpoint.

Figure 4. Sensitivity transfers across runs. A: sensitivity scores across checkpoints for three seeds and a 0.8×0.8\times-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.

OLMo-1B results. OLMo provides one continuation trajectory with eight diagnostic checkpoints and 28 perturbation conditions evaluated at both 200 and 1000 steps. It differs in corpus, tokenizer, and recipe, so a shared response does not depend on one pipeline. Table 2 reports loss, logits KL, top-1, generation, and benchmark readouts. The loss difference shrinks by half between 200 and 1000 steps while top-1 disagreement and generation match barely move, so the horizon changes the continuous distance more than the discrete decisions. Mean absolute accuracy changes remain below 0.75 percentage points. The OLMo scores select steps 750 and 1250, as Figure 4C shows; continuations from these checkpoints reproduce the small-model pattern at 1.485B parameters (Figure 4D), and Table 2 shows the same split across channels. Appendix Figures 11 and 12 give channel and horizon breakdowns.

Observable200 steps1000 steps
Absolute loss difference5.61×10−45.61 \times10^{-4}2.30×10−42.30 \times10^{-4}
Symmetric logits KL8.75×10−48.75 \times10^{-4}8.32×10−48.32 \times10^{-4}
Top-1 disagreement2.27%2.30%
Generation exact match65.7%63.6%
PIQA disagreement0.23%0.45%
HellaSwag disagreement1.48%1.25%
ARC-Easy disagreement0.91%1.02%

Table 2. OLMo-1B output comparison at 200 and 1000 continuation steps.

Muon/AdamW hybrid. The 1.485B model also runs under a Muon/AdamW hybrid, with Muon on the twodimensional hidden matrices and AdamW on the embeddings, head, and vectors, and it shows the same ordering. Muon orthogonalizes the momentum update instead of preconditioning it with a second moment, so its state carries sensitivity differently from AdamW. Averaged over six conditions per checkpoint, relative parameter separation contracts from 2.24×10−42.24 \times10^{-4} to 3.60×10−53.60 \times10^{-5}, while symmetric logits KL grows from 6.5×10−46.5 \times10^{-4} to 1.0×10−31.0 \times10^{-3} and generation agreement falls from 59.4% to 39.6%. Answer flips summed over the six conditions rise from 2 to 14 (192 questions each), while top-1 disagreement stays near 1.3%.

Perturbing the Muon momentum buffer is as consequential as perturbing the weights: across nine matched amplitudes the median momentum-to-weight ratio is 0.97 for update separation and 0.93 for parameter separation. Because the buffer is orthogonalized before each update, perturbing it changes the direction of later updates even when the weights are identical. Within the state perturbations, the second moment carries the amplitude response: raising ϵ\epsilon from 10−610^{-6} to 10−410^{-4} lifts parameter separation from 4.1×10−44.1 \times10^{-4} to 1.8×10−31.8 \times10^{-3}, while the other channels stay near 10−410^{-4}. The second moment thus controls how strongly a state difference is converted into an update. The first moment sets the direction of the next update, while v\sqrt{v} sets how far the update travels along it.

A different data stream instead gives update separation near 1.39 at every checkpoint, more than an order of magnitude above any state perturbation. A state perturbation enters once and then propagates through unchanged maps, whereas a different batch stream changes the map at every step, so the comparison separates divergence seeded by the checkpoint from divergence sustained by continuing inputs. At step 1000 the data-stream condition still shows 8.7% top-1 disagreement, against at most 1.9% for the state conditions, and its parameter separation of 3.37×10−33.37 \times10^{-3} exceeds the state range of 1.11.1–7.1×10−47.1 \times10^{-4}. The divergence therefore persists at the token level as well as in the weights. Appendix § 20 gives the full conditions.

Training Control

If sensitivity changes across training, stabilization timing should matter. We vary controller strength to measure how much separation can be reduced and at what validation-loss cost, then hold the scheduled activation budget fixed to test whether sensitivity-chosen windows beat gradient- and update-norm schedules. The sweep spans basic, tuned, and strong variants, so it traces a frontier rather than one operating point.

Intervention design. We use the baseline diagnostic scores to decide when to apply AdamW stabilization. The schedule is offline and replayed in a subsequent training run. The basic variant reduces the effective learning rate and damps first-moment memory; stronger variants also slow second-moment adaptation, damp the preconditioner, and cap update size relative to weight norm.

The design follows the state differential in Equation (7). Write the update perturbation as

qu,t+1=∑z∈{θ,m,v}Dz,tqz,t,q_{u,t+1} = \sum_{z\in\{\theta,m,v\}} D_{z,t}q_{z,t},

where Dz,tD_{z,t} is its linear coefficient with respect to state block zz. The next weight displacement obeys

∥qθ,t+1∥≤∣1−ηtλw∣∥qθ,t∥+ηt∑z∈{θ,m,v}∥Dz,t∥∥qz,t∥.(14)\lVert q_{\theta,t+1}\rVert\le\lvert1-\eta_t\lambda_w\rvert\lVert q_{\theta,t}\rVert+ \eta_t\sum_{z\in\{\theta,m,v\}}\lVert D_{z,t}\rVert\lVert q_{z,t}\rVert. \tag*{(14)}

The bound separates an inherited weight difference from differences introduced through the next update: reducing the learning rate weakens the latter, while first-moment damping, preconditioner damping, slower second-moment adaptation, and update caps each limit another contribution. Appendix § 18 gives the full local-bound argument and all constants.

Matched budgets. To test window selection, we keep the intervention strengths and the number of intervals at each strength unchanged, so all schedules use the same activation budget. Sensitivity intervals follow the offline scores; the gradient and update schedules take the checkpoints where that norm is largest, so only the checkpoints at which they act differ. Their scheduled mean activation is 0.0759 and mean learning-rate scale is 0.976. Table 3 averages 200-step update separation over ten checkpoints and three state channels; its final three rows share this scheduled budget. Separation alone cannot show whether timing helps: suppressing optimization also suppresses separation. Validation loss therefore measures whether the reduction preserves learning progress. Stronger intervention lowers separation to about 0.14 but raises validation loss to 4.143, as Figure 5A shows. At matched scheduled strength, the sensitivity schedule instead reduces separation by 7.0% relative to gradient selection and 7.3% relative to update selection, with loss between the two, as Table 3 reports.

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 / scheduleResponseVal. loss
AdamW0.5143.919
Sensitivity / basic0.4533.934
Sensitivity / tuned0.2274.030
Sensitivity / strong0.1374.143
Gradient / matched0.2444.028
Update / matched0.2454.088
Sensitivity / matched0.2274.030

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.

Output agreement. Table 4 evaluates a 10−510^{-5} weight perturbation after 200 continuation steps. AdamW, cautious AdamW, and SPAM use their own high-score checkpoints (steps 2000, 2000, and 1750); both matched schedules use 2000. Token metrics average 40 held-out batches; generation uses 128 prompts and 64 greedy tokens; benchmark disagreement covers the full validation sets.

MethodsKLTop-1 dis.Gen. EMBench. dis.
AdamW0.31999335.71%0.8%16.21%
Cautious AdamW0.37285438.55%0.0%18.45%
SPAM0.30745234.89%0.0%15.31%
Gradient schedule0.0001530.76%80.5%0.13%
Sensitivity schedule0.0001670.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.

At the shared checkpoint, sensitivity timing reduces top-1 disagreement from 35.7% to 0.83% and benchmark disagreement from 16.2% to 0.07%, and raises generation exact match from 0.8% to 88.3% (Table 4, Figure 5C). The gradient schedule is close on disagreement but lower on exact match; KL averages steps, whereas exact match scores whole sequences. Appendix comparisons with SPAM ([14]) and cautious AdamW ([20]) leave top-1 disagreement near 35–39% while controlling gradient scale, so the properties are distinct.

The two readings also differ in what they average. The 7% figure spans ten checkpoints and three channels, whereas behavior is measured at the single shared checkpoint. There, small changes settle near-ties and flips concentrate at low-margin positions, so a modest cut in mean separation removes most of the disagreement. The gradient schedule matches this on top-1 (0.76% versus 0.83%) but trails by 7.8 points of exact match, damping the wrong window. Strength alone reaches 0.137 but costs 4.143 validation loss, 0.11 nats above the matched schedule.

Conclusion

We study how small perturbations propagate through pre-training by treating weights and optimizer memory as an evolving dynamical state. A normalized score measures local sensitivity, and paired continuations trace perturbations to logits, generations, and benchmark decisions. At a sensitive checkpoint, a 10−510^{-5} weight perturbation leaves validation loss close yet changes 35.7% of top-1 predictions and 16.2% of benchmark answers after 200 steps. Moments matter as much as weights, the pattern transfers to 1B parameters, and offline-timed stabilization reduces top-1 disagreement to 0.83% while recovering 88.3% exact generation match at a validation-loss cost of 0.11 nats. The effect persists from 200 to 2000 steps and across amplitudes, so the sensitive windows are not tied to one horizon. Across seeds, scales, and channels, sensitivity concentrates in identifiable windows, is predicted by the score, and can be controlled at small cost.

Impact Statement

Modeling language-model pre-training as a dynamical system provides a way to study the effects of small perturbations with tools developed over decades in dynamical systems and control. Our work connects this perspective to optimizer state, measurable sensitivity, and subsequent model behavior. It supports further investigation of stability, bifurcations, and feedback control during pre-training, offering concrete questions about how training regimes change and how interventions shape their trajectories. The broader scientific opportunity is to bring these established analytical methods into the study and design of large-model pretraining.

References

The appendix documents the probe, its validation, and the full result summaries. Appendices A and B give the implementation and scope; Appendices C–D test endpoint prediction; Appendix E relates local response to output changes; Appendices F–H derive the state map, the relative geometry, and the perturbation channels; and Appendices I–L record settings, controller details, full summaries, and the Muon pilot.

Probe Implementation and Interpretation

Probe cost is material. On one RTX 3090, a small-model AdamW step takes 71.54 ± 0.55 ms; a three-iteration probe takes 1.002 ± 0.007 s and 11.61 GB, versus 5.80 GB for training. Probing every 500 steps adds about 2.8% amortized time. Controller steps take 86.56 ± 0.10 ms, a separate 21.0% overhead. An end-to-end compute comparison must include both costs.

The diagnostic reports a local tangent response.

The parameter block is initialized with Gaussian noise and the moment blocks with zero. The initial tangent is normalized in the raw extended-state RMS norm, not (12). At local iteration jj, the code applies the analytical Adam tangent recurrence, evaluates the relative norm nj=N(q~j+1)+10−12n_j = N(\tilde{q}_{j+1}) + 10^{-12}, and records it. The reported score uses the last recorded factor,

SK=log⁡nK−1K.(15)S_K = \frac{\log n_{K-1}}{K}. \tag*{(15)}

Each preceding iteration renormalizes the tangent before the next step, so nK−1n_{K-1} measures the relative response of a locally unit-sized tangent over the final Adam step, not the cumulative growth of an unnormalized tangent across the window. The 1/K1/K factor gives the score the same per-step scaling as (9), but SKS_K is not an estimate of that finite-time exponent: (9) accumulates growth over the entire window, whereas the numerator of SKS_K is the final step’s local response, measured after every preceding iteration has renormalized the tangent. We therefore treat the score as a local ranking statistic for checkpoint comparison and intervention timing, not as a contraction certificate, and validate its association with finite responses empirically. For the small-model implementation, the tangent passed to the next iteration is q~j+1/nj\tilde{q}_{j+1}/n_j. For the model-parallel OLMo implementation, it is normalized by its raw RMS norm instead. OLMo uses K=1K = 1, so intermediate normalization does not affect its reported single-iteration result. The update-space score is defined analogously; the raw-state variant has its own normalization convention and should not be interpreted as an otherwise identical change of metric.

The small-model probe holds checkpoint parameters, the batch gradient, Hessian action, and learning rate fixed while advancing analytical moment recurrences and bias-correction counters. Parameter denominators use the checkpoint tensors, and update denominators use each local iteration’s computed direction. This avoids simulating the nonlinear model trajectory but does not produce the Jacobian product along subsequent realized training states and batches.

Square roots use a 10−3010^{-30} second-moment floor. Clipping and optimizer masks are piecewise differentiable, while floating-point rounding and 8-bit moment storage are not represented by the smooth tangent recurrence. OLMo moment buffers are dequantized into FP32 coordinates for the probe. The result describes an analytical local surrogate, not an exact derivative of quantized hardware execution. Finite perturbations must be measured after casting, since sufficiently small changes may be rounded away.

Scope and Further Validation

The dense predictive comparison uses ten checkpoints from one trajectory. The reported MAE interval includes zero improvement, and the sign-flip test does not establish a statistically reliable advantage. Nearby checkpoints share history. High/low checkpoints also differ in training stage, learning rate, and optimizer state. Replications cover three small-model seeds and one OLMo continuation; repeated amplitudes, channels, and horizons are dependent conditions.

The additional validation uses the existing three training seeds and checkpoints to measure independent perturbation responses and evaluate prediction on a held-out training seed. Repeated directions refine each checkpoint response. SPAM and cautious AdamW test Adam-family variants; a different optimizer family requires its own state and update derivative. Offline schedule comparisons match activation strength, and probe cost is reported separately from training cost.

Endpoint Prediction from Checkpoint Statistics

The checkpoint contrasts raise a second explanation: sensitivity may largely follow the size of the training step. We compare the sensitivity score against learning rate, update norm, gradient norm, and curvature using responses from the separate paired continuations; Table 5 reports the correlations. After averaging continuous-perturbation responses within each of ten checkpoints, learning rate and update norm correlate with final update separation at 0.984 and 0.979, compared with 0.640 for the sensitivity score. For empirical log-update growth, the correlations are 0.872, 0.892, and 0.731. Step-scale statistics thus explain much of the endpoint response.

DiagnosticEndpointGrowthEarly growth
Norm. score0.6400.7310.628
Gradient norm−0.229−0.177−0.370
Update norm0.9790.8920.979
Learning rate0.9840.8720.991
Curvature proxy0.2160.1820.133

Table 5. Pearson correlations of checkpoint statistics with future update separation and growth over ten checkpoints.

The score retains an association with growth after controlling for learning rate and update norm: the partial correlation is 0.692 (p=0.057p = 0.057, six degrees of freedom). In nested leave-one-checkpoint-out ridge regression, adding the score to the simple features reduces growth MAE by 14.5%, as Figure 6B shows; the bootstrap 95% interval is −3.3% to 30.7%, and the paired sign-flip test gives p=0.143p = 0.143. The original result concerns growth on this trajectory. Independent cross-seed validation gives target-dependent changes without a consistent advantage over combined simple baselines; Appendix § 12 reports the comparison.

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.

Independent Cross-Seed Prediction Validation

The additional validation reuses the three existing training trajectories and their ten checkpoints. Three independent parameter-perturbation directions at each checkpoint give 90 paired continuations and 30 checkpoint-level observations. Each continuation lasts 200 steps. The response batches and directions are separate from the diagnostic probe. Both branches use an effective response batch of 16 sequences, accumulated from microbatches of two to bound memory. This numerical cohort is analyzed separately from the original 364 paired trajectories.

Directions are aggregated by the checkpoint median. An outer fold holds out one complete training seed. Standardization and ridge regularization use only the remaining seeds, with inner validation also split by training seed. The combined simple baseline includes gradient norm, update norm, update-to-weight ratio, learning rate, current training loss, and the change in mean training loss between the two preceding 100-step windows. These features are available before the continuation. The augmented predictor adds the existing checkpoint sensitivity score.

The interval in Table 6 resamples entire seed error blocks conditional on fitted out-of-fold predictions. With three trajectories it is descriptive; the last column gives the exact whole-seed sign-flip test. The incremental changes depend on the prediction target. Adding the score reduces the point-estimate errors for final update separation and token disagreement, while increasing errors for early growth and final parameter separation. These three-seed results do not establish a consistent predictive advantage over the combined simple baseline. They complement the original ten-checkpoint analysis, which uses a different growth horizon and feature set.

Prediction targetMAE reductionSeed-block interval (%)Sign-flip pp
Early log-update growth-4.1%[−11.9,−0.6][-11.9,-0.6]0.25
Parameter separation-3.4%[−7.1,3.5][-7.1,3.5]0.75
Update separation4.0%[−0.8,7.8][-0.8,7.8]0.50
Token disagreement6.3%[−0.9,14.4][-0.9,14.4]0.50

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.

For the training-stage comparison, checkpoints are matched at exactly the same global step with at most a 1% relative learning-rate difference. A separate performance-matched analysis adds a 0.05-nat pre-continuation validation-loss calibr. Within each step, the eligible pair with the largest score gap is selected without using subsequent responses. Ten stage pairs satisfy the performance caliper. Their median high-minus-low update-separation difference is 0.00315, whereas the corresponding median token-disagreement difference is −0.00244. Thus matched trajectory and behavioral effects must be reported separately. These pairs reuse the same three training trajectories and are descriptive comparisons, not ten independent training replications.

The primary growth target is the log-update-distance slope over steps 1–20. Final parameter separation uses the predefined reference-endpoint normalization ∥θHpert−θHref∥2/(∥θHref∥2+10−12)\lVert\theta_H^{\mathrm{pert}}-\theta_H^{\mathrm{ref}}\rVert_2/(\lVert\theta_H^{\mathrm{ref}}\rVert_2+10^{-12}). Token behavior is evaluated on four shared validation batches, separately from the original full benchmark and 128-prompt evaluations. The analysis design was revised after partial collection and is not a preregistered experiment.

Local Response and Output Changes

For a twice continuously differentiable realized-window map FF, assume ∥D2F(z)∥≤L\lVert D^2F(z)\rVert\le L on the line segment between xx and x+δx+\delta. Taylor’s theorem gives

∥F(x+δ)−F(x)−DF(x)δ∥≤12L∥δ∥2.(16)\lVert F(x+\delta)-F(x)-DF(x)\delta\rVert\le\frac{1}{2}L\lVert\delta\rVert^2. \tag*{(16)}

This bounds the error of the tangent response in a fixed norm. It does not justify extrapolating the frozen checkpoint score to a 200-step saturated response.

For held-out loss, ΔL=∇LTΔθ+O(∥Δθ∥2)\Delta L = \nabla L^{\mathsf{T}}\Delta\theta+ O(\lVert\Delta\theta\rVert^2). Logits instead change as Δz=JzΔθ+O(∥Δθ∥2)\Delta z = J_z\Delta\theta+ O(\lVert\Delta\theta\rVert^2). A displacement can have a small projection onto the average-loss gradient and still change individual logits. If the original top-logit margin is μ\mu, the top prediction is preserved whenever ∥Δz∥∞<μ/2\lVert\Delta z\rVert_\infty< \mu/2. Small-margin tokens can therefore flip with small loss changes. Loss and prediction agreement measure different projections of the model change.

Mathematical Construction of Optimizer-Aware Finite-Time Stability

This appendix derives the AdamW state map and the geometry underlying the local sensitivity analysis. Adam moments belong to the state, and local response is conditioned on the realized batches and optimizer settings. The relative coordinates specify the distance used to compare displacements.

Pre-training as a random non-autonomous dynamical system

Let (Ω,F,P)(\Omega,\mathcal{F},\mathbb{P}) describe all exogenous randomness in pre-training. A realization ω∈Ω\omega\in\Omega determines the batch stream, dropout masks, numerical kernels, collective-reduction order, and finite precision effects. Write

ξt(ω)=(Bt,ζt)(17)\xi_t(\omega) = (B_t,\zeta_t) \tag*{(17)}

for the batch and remaining numerical randomness at step tt. Deterministic controls such as the learning-rate schedule and optimizer hyperparameters are collected in

αt=(ηt,β1,t,β2,t,ϵt,λw,t).(18)\alpha_t = (\eta_t,\beta_{1,t},\beta_{2,t},\epsilon_t,\lambda_{w,t}). \tag*{(18)}

For parameters θt∈Rd\theta_t \in\mathbb{R}^d and Adam memory mt,vt∈Rdm_t,v_t \in\mathbb{R}^d, the endogenous state is

xt=(θt,mt,vt)∈X=R3d.(19)x_t = (\theta_t,m_t,v_t) \in\mathcal{X} = \mathbb{R}^{3d}. \tag*{(19)}

The realized training process is the random cocycle

xt+1=Tt,ω(xt):=T(xt;αt,ξt(ω)).(20)x_{t+1} = T_{t,\omega}(x_t) := T(x_t;\alpha_t,\xi_t(\omega)). \tag*{(20)}

It is non-autonomous because αt\alpha_t and ξt\xi_t change with tt, and stochastic before conditioning on ω\omega. Once a realized environment is fixed, (20) is a deterministic finite sequence of maps. This conditional object is what our same-batch paired trajectories probe.

Two notions of sensitivity must be separated. An endogenous state perturbation changes xtx_t while holding the future drive fixed:

xt′=xt+δxt,ξt:t+K−1′=ξt:t+K−1.(21)x'_t = x_t+\delta x_t,\qquad\xi'_{t: t+K-1}=\xi_{t:t+K-1}. \tag*{(21)}

An exogenous perturbation, such as batch-order change, instead uses xt′=xtx'_t=x_t but ξj′≠ξj\xi'_j\ne\xi_j for some j≥tj\ge t. Only the first is governed by the homogeneous tangent map. The second obeys a forced tangent equation, derived below.

The exact AdamW state map

For the realized mini-batch loss ℓt(θ)=ℓ(θ;Bt,ζt)\ell_t(\theta)=\ell(\theta;B_t,\zeta_t), define

gt=∇ℓt(θt),Ht=∇2ℓt(θt).(22)g_t = \nabla\ell_t(\theta_t),\qquad H_t = \nabla^2\ell_t(\theta_t). \tag*{(22)}

With elementwise product ⊙\odot, AdamW performs

mt+1=β1mt+(1−β1)gt,(23)m_{t+1} = \beta_1 m_t + (1-\beta_1)g_t, \tag*{(23)}
vt+1=β2vt+(1−β2)(gt⊙gt),(24)v_{t+1} = \beta_2 v_t + (1-\beta_2)(g_t \odot g_t), \tag*{(24)}
m^t+1=c1,t+1mt+1,c1,t+1=(1−β1t+1)−1,(25)\widehat{m}_{t+1} = c_{1,t+1}m_{t+1}, \qquad c_{1,t+1} = (1-\beta_1^{t+1})^{-1}, \tag*{(25)}
v^t+1=c2,t+1vt+1,c2,t+1=(1−β2t+1)−1,(26)\widehat{v}_{t+1} = c_{2,t+1}v_{t+1}, \qquad c_{2,t+1} = (1-\beta_2^{t+1})^{-1}, \tag*{(26)}
ut+1=m^t+1⊘(v^t+1+ϵ),(27)u_{t+1} = \widehat{m}_{t+1} \oslash\left(\sqrt{\widehat{v}_{t+1}}+\epsilon\right), \tag*{(27)}
θt+1=(1−ηtλw)θt−ηtut+1.(28)\theta_{t+1} = (1-\eta_t\lambda_w)\theta_t-\eta_tu_{t+1}. \tag*{(28)}

Here ut+1u_{t+1} is the preconditioned Adam direction before multiplication by ηt\eta_t. Decoupled weight decay appears only in (28); this distinction matters in the Jacobian.

Linearization of the extended AdamW state

Let

qt=(qθ,t,qm,t,qv,t)=∂xt(r)∂r∣r=0(29)q_t=(q_{\theta,t},q_{m,t},q_{v,t})=\left.\frac{\partial x_t(r)}{\partial r}\right|_{r=0} \tag*{(29)}

be the tangent generated by a differentiable perturbation family xt(r)=xt+rqt+o(r)x_t(r)=x_t+rq_t+o(r). Because Dθgt[qθ,t]=Htqθ,tD_{\theta}g_t[q_{\theta,t}]=H_tq_{\theta,t}, define

ht=Htqθ,t.(30)h_t=H_tq_{\theta,t}. \tag*{(30)}

The implementation evaluates this Hessian–vector product without constructing HtH_t. Differentiating the two moment recurrences in (24) gives

qm,t+1=β1qm,t+(1−β1)ht,(31)q_{m,t+1}=\beta_1q_{m,t}+(1-\beta_1)h_t, \tag*{(31)}
qv,t+1=β2qv,t+2(1−β2)Diag⁡(gt)ht.(32)q_{v,t+1}=\beta_2q_{v,t}+2(1-\beta_2)\operatorname{Diag}(g_t)h_t. \tag*{(32)}

Bias-correction factors are state-independent, hence

q^m,t+1=c1,t+1qm,t+1,q^v,t+1=c2,t+1qv,t+1.(33)\widehat{q}_{m,t+1}=c_{1,t+1}q_{m,t+1}, \qquad\widehat{q}_{v,t+1}=c_{2,t+1}q_{v,t+1}. \tag*{(33)}

To differentiate the adaptive direction, let

rt+1=(v^t+1+ϵ)−1,ut+1=m^t+1⊙rt+1.(34)r_{t+1}=\left(\sqrt{\widehat{v}_{t+1}}+\epsilon\right)^{-1}, \qquad u_{t+1}=\widehat{m}_{t+1}\odot r_{t+1}. \tag*{(34)}

Coordinatewise differentiation yields

qr,t+1=−q^v,t+12v^t+1(v^t+1+ϵ)2,(35)q_{r,t+1}=-\frac{\widehat{q}_{v,t+1}}{2\sqrt{\widehat{v}_{t+1}}\left(\sqrt{\widehat{v}_{t+1}}+\epsilon\right)^2}, \tag*{(35)}
qu,t+1=rt+1⊙q^m,t+1−m^t+1⊙q^v,t+12v^t+1(v^t+1+ϵ)2.(36)q_{u,t+1}=r_{t+1}\odot\widehat{q}_{m,t+1}-\frac{\widehat{m}_{t+1}\odot\widehat{q}_{v,t+1}}{2\sqrt{\widehat{v}_{t+1}}\left(\sqrt{\widehat{v}_{t+1}}+\epsilon\right)^2}. \tag*{(36)}

All square roots use a small positive floor in computation. Finally,

qθ,t+1=(1−ηtλw)qθ,t−ηtqu,t+1.(37)q_{\theta,t+1}=(1-\eta_t\lambda_w)q_{\theta,t}-\eta_tq_{u,t+1}. \tag*{(37)}

Equations (31)–(37) are the recurrence implemented by the single-device and model-parallel probes.

For clarity, let Rt=Diag⁡(rt+1)R_t=\operatorname{Diag}(r_{t+1}) and

St=Diag⁡(m^t+12v^t+1(v^t+1+ϵ)2).(38)S_t=\operatorname{Diag}\left(\frac{\widehat{m}_{t+1}}{2\sqrt{\widehat{v}_{t+1}}\left(\sqrt{\widehat{v}_{t+1}}+\epsilon\right)^2}\right). \tag*{(38)}

Then the update-direction differential is

qu,t+1=Rtc1,t+1[β1qm,t+(1−β1)Htqθ,t]−Stc2,t+1[β2qv,t+2(1−β2)Diag⁡(gt)Htqθ,t].(39)\begin{aligned} q_{u,t+1}={}&R_tc_{1,t+1}\left[\beta_1q_{m,t}+(1-\beta_1)H_tq_{\theta,t}\right]\\ &-S_tc_{2,t+1}\left[\beta_2q_{v,t}+2(1-\beta_2)\operatorname{Diag}(g_t)H_tq_{\theta,t}\right]. \tag*{(39)} \end{aligned}

This expression exposes three amplification mechanisms: curvature HtH_t, first-moment memory, and the second-moment/preconditioner factor StS_t. When coordinates of v^\widehat{v} are small, StS_t can be large even if the loss curve is smooth. This is why parameter-only stability is insufficient for AdamW.

The block Jacobian and finite-time propagator

Equations above define a block Jacobian Jt=DxTt,ω(xt)J_t=D_xT_{t,\omega}(x_t) such that qt+1=Jtqtq_{t+1}=J_tq_t. Writing Dθ,tD_{\theta,t}, Dm,tD_{m,t}, Dv,tD_{v,t} for the three linear coefficients in (39),

qu,t+1=Dθ,tqθ,t+Dm,tqm,t+Dv,tqv,t,(40)q_{u,t+1}=D_{\theta,t}q_{\theta,t}+D_{m,t}q_{m,t}+D_{v,t}q_{v,t}, \tag*{(40)}

the block Jacobian JtJ_t is specified without materializing a matrix by

[Jtq]θ=[(1−ηtλw)I−ηtDθ,t]qθ(41)[J_tq]_{\theta}=\left[(1-\eta_t\lambda_w)I-\eta_tD_{\theta,t}\right]q_{\theta} \tag*{(41)}
−ηtDm,tqm−ηtDv,tqv,(42)-\eta_tD_{m,t}q_m-\eta_tD_{v,t}q_v, \tag*{(42)}
[Jtq]m=(1−β1)Htqθ+β1qm,(43)[J_tq]_m=(1-\beta_1)H_tq_{\theta}+\beta_1q_m, \tag*{(43)}
[Jtq]v=2(1−β2)Diag⁡(gt)Htqθ+β2qv.(44)[J_tq]_v=2(1-\beta_2)\operatorname{Diag}(g_t)H_tq_{\theta}+\beta_2q_v. \tag*{(44)}

The KK-step tangent propagator conditional on the realized drive is

Φt,K(ω)=Jt+K−1(ω)⋯Jt(ω),qt+K=Φt,Kqt.(45)\Phi_{t,K}(\omega)=J_{t+K-1}(\omega)\cdots J_t(\omega), \qquad q_{t+K}=\Phi_{t,K}q_t. \tag*{(45)}

No stationarity or asymptotic limit is required.

For a discrete exogenous change, define its finite one-step injection along the reference trajectory by

dtexog:=T(xt;αt,ξt′)−T(xt;αt,ξt).(46)d_t^{\mathrm{exog}}:=T(x_t;\alpha_t,\xi'_t)-T(x_t;\alpha_t,\xi_t). \tag*{(46)}

Linearizing only with respect to the continuous state displacement gives the first-order forced response

Δxt+K≃Φt,KΔxt+∑j=0K−1Φt+j+1,K−j−1dt+jexog.(47)\Delta x_{t+K}\simeq\Phi_{t,K}\Delta x_t+\sum_{j=0}^{K-1}\Phi_{t+j+1,K-j-1}d_{t+j}^{\mathrm{exog}}. \tag*{(47)}

Thus batch-order experiments measure both injection magnitude and subsequent amplification. They are displayed separately from homogeneous state perturbations in our figures.

Optimizer-Relative Geometry and Finite-Time Growth

The raw extended state adds parameters, moments, and squared moments, so its Euclidean norm changes with loss scaling and unit choice. The following sections define the layer-balanced coordinates, the resulting optimizer-relative norm, and the directional exponents computed in it, then connect tangent growth to finite perturbations.

Coordinate dependence of raw Euclidean state distance

The raw norm ∥q∥22=∥qθ∥22+∥qm∥22+∥qv∥22\lVert q\rVert_2^2=\lVert q_\theta\rVert_2^2+\lVert q_m\rVert_2^2+\lVert q_v\rVert_2^2 adds parameters, gradients, and squared gradients and changes with the choice of units. If the loss is rescaled by c>0c>0, then approximately m↦cmm\mapsto cm, v↦c2vv\mapsto c^2v, while the Adam direction m^/(v^+ϵ)\hat{m}/(\sqrt{\hat{v}}+\epsilon) is nearly unchanged away from the ϵ\epsilon floor. A raw state norm can therefore change by orders of magnitude without a comparable change in optimizer behavior. The negative raw-state score in our ablation reflects this coordinate dependence alongside update-space expansion.

Layer-balanced relative coordinates

Partition parameters into tensors or layers L\mathcal{L}. For aligned collections a=(aℓ)ℓ∈La=(a_\ell)_{\ell\in\mathcal{L}} and b=(bℓ)ℓ∈Lb=(b_\ell)_{\ell\in\mathcal{L}}, define

R(a;b)2=1∣L∣∑ℓ∈LRMS⁡(aℓ)2RMS⁡(bℓ)2+ϵfloor2.(48)\mathcal{R}(a;b)^2=\frac{1}{|\mathcal{L}|}\sum_{\ell\in\mathcal{L}}\frac{\operatorname{RMS}(a_\ell)^2}{\operatorname{RMS}(b_\ell)^2+\epsilon_{\mathrm{floor}}^2}. \tag*{(48)}

where ϵfloor\epsilon_{\mathrm{floor}} is a numerical floor. Equal averaging over tensors prevents a large embedding matrix from automatically dominating every smaller normalization or projection tensor.

The preconditioner coordinate is

ρt+1=log⁡(v^t+1+ϵ).(49)\rho_{t+1}=\log\left(\sqrt{\hat{v}_{t+1}}+\epsilon\right). \tag*{(49)}

Its tangent is

qρ,t+1=qv^,t+12v^t+1(v^t+1+ϵ).(50)q_{\rho,t+1}=\frac{q_{\hat{v},t+1}}{2\sqrt{\hat{v}_{t+1}}\left(\sqrt{\hat{v}_{t+1}}+\epsilon\right)}. \tag*{(50)}

This is dimensionless and directly measures multiplicative change in the diagonal coordinate system used by Adam.

Our optimizer-relative tangent norm is

∥qt∥opt2=wθR(qθ,t;θt)2+wuR(qu,t;ut)2+wρ∣L∣∑ℓ∈LRMS⁡(qρ,t(ℓ))2.(51)\lVert q_t\rVert_{\mathrm{opt}}^2=w_\theta\mathcal{R}(q_{\theta,t};\theta_t)^2+w_u\mathcal{R}(q_{u,t};u_t)^2+\frac{w_\rho}{|\mathcal{L}|}\sum_{\ell\in\mathcal{L}}\operatorname{RMS}(q_{\rho,t}^{(\ell)})^2. \tag*{(51)}

The reported experiments use equal weights. The three terms answer distinct questions: relative motion of the model, relative motion of the direction that will update it, and deformation of Adam’s preconditioning geometry.

Directional and maximal finite-time exponents

For a nonzero initial tangent qtq_t, the directional finite-time exponent is

λt,K(qt;ω)=1Klog⁡∥Φt,K(ω)qt∥opt,t+K∥qt∥opt,t.(52)\lambda_{t,K}(q_t;\omega)=\frac{1}{K}\log\frac{\lVert\Phi_{t,K}(\omega)q_t\rVert_{\mathrm{opt},t+K}}{\lVert q_t\rVert_{\mathrm{opt},t}}. \tag*{(52)}

The maximal exponent in this metric is

λt,Kmax⁡(ω)=1Klog⁡∥Mt+K1/2Φt,KMt−1/2∥2,(53)\lambda_{t,K}^{\max}(\omega)=\frac{1}{K}\log\left\lVert M_{t+K}^{1/2}\Phi_{t,K}M_t^{-1/2}\right\rVert_2, \tag*{(53)}

where MtM_t is the local positive metric associated with (51). Computing (53) exactly is infeasible at LLM scale. Matrix-free directional multiplication evaluates parameter-initiated displacements through the extended dynamics. Channel-specific nonlinear replays separately initialize perturbations in θ\theta, mm, and vv. At LLM dimension and short KK, a random-direction probe characterizes typical parameter-seeded expansion; maximal expansion requires singular-vector optimization. Multiple tangent seeds test directional robustness; multiple diagnostic batches test dependence on the realized local map. Appendix A defines the score reported in the experiments.

For the conventional realized-window exponent, metric renormalization gives the Benettin-style construction

q~j+1=Jt+jqj,\widetilde{q}_{j+1}=J_{t+j}q_j,
rj=∥q~j+1∥opt,t+j+1,r_j=\lVert\widetilde{q}_{j+1}\rVert_{\mathrm{opt},t+j+1},
qj+1=q~j+1/rj,q_{j+1}=\widetilde{q}_{j+1}/r_j,
λ^t,Kstate=1K∑j=0K−1log⁡rj.(54)\widehat{\lambda}_{t,K}^{\mathrm{state}}=\frac{1}{K}\sum_{j=0}^{K-1}\log r_j. \tag*{(54)}

The corresponding mathematical update-space projection replaces the full norm by

∥qt∥u=R(qu,t;ut),λ^t,Kupdate=1K∑j=0K−1log⁡ru,j.(55)\lVert q_t\rVert_u=\mathcal{R}(q_{u,t};u_t),\qquad\widehat{\lambda}_{t,K}^{\mathrm{update}}=\frac{1}{K}\sum_{j=0}^{K-1}\log r_{u,j}. \tag*{(55)}

The raw-state projection uses the RMS norm of (qθ,qm,qv)(q_\theta,q_m,q_v). The score used in the reported ablations is defined in Appendix A.

Frozen-local and realized-window interpretations

The ideal realized-window propagator uses the sequence Jt,Jt+1,…,Jt+K−1J_t,J_{t+1},\ldots,J_{t+K-1} evaluated on subsequent batches and states. The small-model checkpoint diagnostic instead uses a short frozen-local probe: it reuses the checkpoint loss geometry while advancing the analytical Adam memory recurrence. It estimates repeated local expansion of the checkpoint map conditional on one batch. The OLMo model-parallel diagnostic uses K=1K=1, for which frozen-local and one-step realized interpretations coincide. Its saved AdamW8bit moment buffers are dequantized into FP32 tangent coordinates before the analytical recurrence. Our paired 200–2000-step trajectories are the nonlinear test of whether the local diagnostic transfers beyond this short probe.

The distinction also explains why the conventional exponent at a checkpoint is not unique before specifying a diagnostic batch. Formally,

λt,K=λt,K(qt;ξt:t+K−1).(56)\lambda_{t,K}=\lambda_{t,K}(q_t;\xi_{t:t+K-1}). \tag*{(56)}

Averaging across tangent seeds estimates directional uncertainty conditional on a batch; averaging across diagnostic batches estimates variability across local realized maps. Neither repeated perturbation amplitudes nor different perturbation channels create additional independent checkpoint score samples.

From tangent growth to finite perturbation response

The link between tangent growth and paired trajectories follows from Taylor’s theorem. Assume the KK-step map Ft,K=Tt+K−1∘⋯∘TtF_{t,K}=T_{t+K-1}\circ\cdots\circ T_t is twice continuously differentiable in a neighborhood of xtx_t and sup⁡z∥D2Ft,K(z)∥≤Lt,K\sup_z\lVert D^2F_{t,K}(z)\rVert\le L_{t,K}. Then

Ft,K(xt+δx)−Ft,K(xt)=Φt,Kδx+Rt,K(δx),(57)F_{t,K}(x_t+\delta x)-F_{t,K}(x_t)=\Phi_{t,K}\delta x+R_{t,K}(\delta x), \tag*{(57)}

with

∥Rt,K(δx)∥≤Lt,K2∥δx∥2.(58)\lVert R_{t,K}(\delta x)\rVert\le\frac{L_{t,K}}{2}\lVert\delta x\rVert^2. \tag*{(58)}

Consequently, for sufficiently small ε=∥δx∥\varepsilon=\lVert\delta x\rVert,

∥Ft,K(xt+δx)−Ft,K(xt)∥∥δx∥=∥Φt,Kδx∥∥δx∥+O(ε).(59)\frac{\lVert F_{t,K}(x_t+\delta x)-F_{t,K}(x_t)\rVert}{\lVert\delta x\rVert} = \frac{\lVert\Phi_{t,K}\delta x\rVert}{\lVert\delta x\rVert} +O(\varepsilon). \tag*{(59)}

Thus the local tangent growth rate predicts the initial log-distance growth. Once the quadratic remainder is non-negligible, trajectories may cross a threshold, saturate, or enter another basin. This is why our score comparison is strongest against empirical log-distance slope, while the amplitude sweep separately identifies the nonlinear regime.

Perturbation Channels and Observable Projections

The experiments perturb one state block at a time and compare the result against a batch-order change. This section defines those perturbations and projects the resulting displacement onto loss, logits, and discrete decisions.

State perturbations used in the experiments

For a state component z∈{θ,m,v}z\in\{\theta,m,v\}, a random directional perturbation is constructed as

z′=z+ε∥z∥2r∥r∥2,r∼N(0,I),(60)z'=z+\varepsilon\lVert z\rVert_2\frac{r}{\lVert r\rVert_2},\qquad r\sim\mathcal{N}(0,I), \tag*{(60)}

with the other two components unchanged. The achieved relative distance is always measured after the perturbation is represented in the actual numerical dtype. For second moments, nonnegativity is enforced after perturbation. The three channels correspond to initial tangents

qt(θ)=(r,0,0),qt(m)=(0,r,0),qt(v)=(0,0,r).(61)q_t^{(\theta)}=(r,0,0),\qquad q_t^{(m)}=(0,r,0),\qquad q_t^{(v)}=(0,0,r). \tag*{(61)}

They excite different columns of the block Jacobian (44), but all can reach quq_u and subsequently qθq_\theta. This formally explains why moment perturbations can be as consequential as parameter perturbations.

Batch-order perturbation has qt=0q_t=0 and enters through the forcing term in (47). Its gradient/update directional distance can approach 2\sqrt{2} when two high-dimensional directions decorrelate: for unit vectors a,ba,b with a⊤b≈0a^\top b\approx0,

∥a−b∥2=2−2a⊤b≈2.(62)\lVert a-b\rVert_2=\sqrt{2-2a^\top b}\approx\sqrt{2}. \tag*{(62)}

Why aggregate loss can remain close

Let L(θ)L(\theta) be held-out loss. For a parameter displacement Δθ\Delta\theta,

L(θ+Δθ)−L(θ)=∇L(θ)⊤Δθ+12Δθ⊤∇2L(θˉ)Δθ.(63)L(\theta+\Delta\theta)-L(\theta)=\nabla L(\theta)^\top\Delta\theta+\frac{1}{2}\Delta\theta^\top\nabla^2L(\bar{\theta})\Delta\theta. \tag*{(63)}

Even a large trajectory displacement can have small loss projection when it is nearly orthogonal to the held-out gradient or lies in a low-curvature subspace. Loss is therefore a scalar projection of a high-dimensional difference and provides a scalar projection of the training trajectories.

For an input xx, let logits be zθ(x)z_\theta(x) and probabilities pθ(⋅∣x)=softmax⁡(zθ(x))p_\theta(\cdot\mid x)=\operatorname{softmax}(z_\theta(x)). Locally,

Δz(x)=Jz(x)Δθ+O(∥Δθ∥2).(64)\Delta z(x)=J_z(x)\Delta\theta+O(\lVert\Delta\theta\rVert^2). \tag*{(64)}

The symmetric KL has the second-order form

SKL⁡(pθ,pθ+Δθ)=Δz⊤[Diag⁡(p)−pp⊤]Δz+O(∥Δz∥3),(65)\operatorname{SKL}(p_\theta,p_{\theta+\Delta\theta})=\Delta z^\top[\operatorname{Diag}(p)-pp^\top]\Delta z+O(\lVert\Delta z\rVert^3), \tag*{(65)}

up to the conventional factor determined by the symmetric-KL definition. This retains many directions that a dataset-averaged scalar loss cancels.

Discrete predictions are controlled by margins. If i∗i^* is the top logit and

μ(x)=zi∗(x)−max⁡j≠i∗zj(x),(66)\mu(x)=z_{i^*}(x)-\max_{j\ne i^*}z_j(x), \tag*{(66)}

then the top-1 prediction is guaranteed unchanged whenever

∥Δz(x)∥∞<μ(x)/2.(67)\lVert\Delta z(x)\rVert_\infty<\mu(x)/2. \tag*{(67)}

Examples with small margins can therefore change class under perturbations that barely move mean loss or aggregate accuracy. Generation compounds this effect autoregressively: after the first token disagreement, the two models condition on different prefixes, adding an exogenous forcing term at every later decoding step. For a multiple-choice candidate cc, let Sc=∑j=1Tclog⁡p(wjc∣x,w<jc)S_c = \sum_{j=1}^{T_c} \log p(w_j^c \mid x, w_{<j}^c) and let μseq=Sc∗−max⁡c≠c∗Sc\mu_{\mathrm{seq}} = S_{c^*} - \max_{c\ne c^*} S_c. The selected candidate remains unchanged whenever 2max⁡c∑j=1Tc∣Δlog⁡p(wjc∣x,w<jc)∣<μseq2\max_c \sum_{j=1}^{T_c} \lvert\Delta\log p(w_j^c \mid x, w_{<j}^c)\rvert< \mu_{\mathrm{seq}}. Thus token-level probability changes accumulate against a sequence-score margin. Equations (66)–(70) motivate the experimental observable hierarchy from loss to KL, token churn, generation divergence, and benchmark answer churn.

Experimental Settings and Existing Result Inventory

This section records the full training and controller configuration and the coverage of every perturbation cohort. Both learning-rate schedules in Table 7 use linear warmup followed by cosine decay to 0.1 of the peak learning rate. Table 9 lists each cohort with its checkpoints, channels, amplitudes, horizons, and paired continuations; repeated channels and amplitudes are controlled conditions within a training run, not additional independent runs. Table 8 gives the controller constants, and both matched schedules use the tuned row.

Configuration60M trajectoryOLMo-1B continual pre-training
Checkpoint / architecture8 layers, d=512d = 512, 8 heads, MLP 1376OLMo-2-0425-1B; 16 layers, d=2048d = 2048, 16 heads, MLP 8192
Implemented parameters76.8M1.485B
Data / contextC4 / 256Dolma v1.6 sample / 1024
Microbatch ×\times accumulation16×3216 \times32 (131,072 tokens/step)1×321 \times32 (32,768 tokens/step)
Steps / warmup5000 / 10002000 / 100
Peak LR / minimum ratio8×10−4/0.18 \times10^{-4} / 0.12×10−5/0.12 \times10^{-5} / 0.1
Adam (β1,β2,ϵ,λw\beta_1, \beta_2, \epsilon, \lambda_w)(0.9,0.999,10−8,0.1)(0.9, 0.999, 10^{-8}, 0.1)(0.9,0.95,10−8,0.1)(0.9, 0.95, 10^{-8}, 0.1)
Precision / optimizerBF16 AMP / AdamWBF16 / bitsandbytes AdamW8bit
Gradient clipping1.01.0

Table 7. Training configurations. Effective batch sizes include gradient accumulation.

Variantτ\tauγ\gammacmin⁡c_{\min}γm\gamma_mγv\gamma_vγp\gamma_pϵ\epsilon boostcuc_u
Basic0.701.000.500.050000
Internal-tuned / matched0.700.350.800.033.00.202006.0×10−46.0 \times10^{-4}
Internal0.600.500.700.088.00.5010004.2×10−44.2 \times10^{-4}

Table 8. Controller settings. Rows increase stabilization strength; columns give the activation threshold and update modifications. Matched schedules use the tuned setting.

For the expanded control evaluation, generation prompts are a seed-2027 stratified sample of 43 PIQA contexts, 43 HellaSwag contexts, and 42 ARC-Easy contexts with answer choices and labels removed. Greedy decoding produces 64 new tokens. Multiple-choice evaluation uses length-normalized candidate sequence log-likelihood on every validation example. We report exact flip counts and Wilson intervals in the accompanying JSONL files.

The controller score at checkpoint tt is held over the following 500-step interval. The sensitivity schedule is active on intervals beginning at steps 1500, 2000, 2500, and 3500. Matched schedules assign the same effective strengths according to gradient or update norm. After each active optimizer step, moment damping multiplies the first moment by max⁡(0.05,1−γmat)\max(0.05, 1-\gamma_m a_t).

From Diagnosis to Stability Control

The main text uses the checkpoint score as an offline schedule. This section writes the controller, identifies the terms in the state differential that each operation targets, and derives the local bound used to choose them.

Let λ^t\hat{\lambda}_t be the piecewise-constant score from an offline baseline run and define activation

at=(λ^t−τ)+.(68)a_t = (\hat{\lambda}_t-\tau)_+. \tag*{(68)}

Our controller modifies factors that appear explicitly in the Jacobian (44). The effective learning-rate scale is

ct=max⁡(cmin⁡,11+γat),ηteff=ctηt.(69)c_t = \max\left(c_{\min}, \frac{1}{1+\gamma a_t}\right), \qquad\eta_t^{\mathrm{eff}} = c_t\eta_t. \tag*{(69)}

The first moment is damped by

mt←max⁡(0.05,1−γmat)mt,(70)m_t \leftarrow\max(0.05,1-\gamma_m a_t)m_t, \tag*{(70)}

and second-moment adaptation is slowed via

1−β2,teff=1−β21+γvat.(71)1-\beta_{2,t}^{\mathrm{eff}} = \frac{1-\beta_2}{1+\gamma_v a_t}. \tag*{(71)}

The numerical floor and preconditioner denominator are enlarged in sensitive windows, reducing the magnitude of RtR_t and StS_t in (39). Finally, the preconditioned Adam displacement ΔθtAdam\Delta\theta_t^{\mathrm{Adam}} before decoupled weight decay obeys the cap

∥ΔθtAdam∥2≤cu∥θt∥2.(72)\lVert\Delta\theta_t^{\mathrm{Adam}}\rVert_2 \le c_u\lVert\theta_t\rVert_2. \tag*{(72)}

These operations target identifiable terms in a local upper bound. For any induced norm,

∥qθ,t+1∥≤∣1−ηtλw∣∥qθ,t∥+ηt(∥Dθ,t∥∥qθ,t∥+∥Dm,t∥∥qm,t∥+∥Dv,t∥∥qv,t∥).(73)\lVert q_{\theta,t+1}\rVert\le\lvert1-\eta_t\lambda_w\rvert\lVert q_{\theta,t}\rVert + \eta_t\left(\lVert D_{\theta,t}\rVert\lVert q_{\theta,t}\rVert+ \lVert D_{m,t}\rVert\lVert q_{m,t}\rVert + \lVert D_{v,t}\rVert\lVert q_{v,t}\rVert\right). \tag*{(73)}

At a fixed local state, learning-rate scaling reduces the update-mediated terms. Moment damping changes persistent qmq_m, slower vv adaptation reduces gradient injection into qvq_v, and denominator damping acts on the factors in Dm,tD_{m,t} and Dv,tD_{v,t}. Their combined effect is measured by the intervention experiments. The validation-loss cost arises because the same operations can also reduce useful optimization progress. Hence the theoretically appropriate evaluation is a stability–optimization Pareto frontier, exactly the comparison reported in the control experiment. Table 10 breaks the response down by perturbation channel. The ordering of variants is the same in all three channels, so the controller does not act on one state block alone; the validation-loss column is the cost side of the frontier.

Optimizerθ\theta update dist.Adam-mmAdam-vvFinal val loss
AdamW baseline0.5050.5070.5293.919
Sensitivity schedule (basic)0.4430.4410.4753.934
Sensitivity schedule (internal-tuned)0.2190.2130.2494.030
Sensitivity schedule (internal)0.1280.1310.1524.143
Gradient schedule (matched)0.2390.2390.2544.028
Update schedule (matched)0.2310.2400.2644.088

Table 10. Controller responses by perturbation channel. Lower separation is better.

Full Response and Behavior Summaries

This section collects the shared-input summaries behind Figure 2–Figure 5. It is organized by claim rather than by run: amplitude and horizon effects, the full response matrix, optimizer and channel comparisons, scale transfer, and replication. Repeated conditions are averaged within a checkpoint, and none of the panels adds an independent training run.

Amplitude and long-horizon response

Figure 7 reports endpoint separation for weight, first-moment, and second-moment perturbations at the selected high- and low-sensitivity checkpoints. Separation orders the two checkpoints at every amplitude. Weight and first-moment parameter separation changes little across the sweep, whereas second-moment parameter separation rises from 0.113 at 10−610^{-6} to 0.818 at 10−410^{-4}, while its 200-step update separation stays nearly flat. The flat update response marks saturation, which is why the analysis also measures growth during the continuation.

Figure 8 repeats the sweep across all ten checkpoints, with color giving the checkpoint score and rows separating early growth from endpoint separation. Pooled across channels, growth follows the score more consistently than endpoint separation does, and the second-moment column saturates at the largest amplitude. We therefore use growth as the primary target and treat endpoint separation as a downstream readout.

Figure 8. Full amplitude response. Color denotes checkpoint score; rows show early growth and endpoint separation.

Figure 9 follows the two selected checkpoints over 200, 500, 1000, and 2000 steps. The high-checkpoint curves stay above the low-checkpoint curves in every channel and

Figure 9. Long-horizon responses by state channel for high- and low-score launches.

at every horizon. At 1000 steps, parameter separation reaches 0.39–0.40 from the high checkpoint and stays below 0.015 from the low one. The ordering persists at 2000 steps, so the contrast is not a transient of the 200-step window.

Full response matrix

Figure 10 gives the complete small-model response matrix. Panels A–B cover update and parameter separation for the three state channels across ten checkpoints and three amplitudes, panel C gives the batch-order response, and panel D gives held-out loss differences. The state channels produce comparable update separation at 10−510^{-5}, which means a checkpoint’s sensitivity cannot be read from its weights alone. Batch-order changes instead hold update separation near 1.43 at every checkpoint while state perturbations produce loss differences below 0.06 nats. The contrast separates a persistent input-stream effect from a state perturbation that the training dynamics amplify.

Figure 10. Full small-model response matrix. A–B: state-perturbation responses; C: batch-order responses; D: loss differences.

Figure 7. Parameter separation at high- and low-score checkpoints. A–C: weight, first-moment, and second-moment perturbations.

Optimizer and channel comparisons

Table 11 compares AdamW, cautious AdamW, and SPAM at each optimizer’s own selected high- and low-score checkpoints. Gradient norm gives the post-warmup mean and 95th percentile, and response averages final update separation across the three state channels. All three optimizers show a positive high-to-low response ratio, and SPAM reaches the lowest validation loss and gradient norm. The selected checkpoints differ across optimizers, so the table does not isolate the optimizer choice from checkpoint selection.

OptimizerVal. lossGrad. normScore mean [range]Response high / low
AdamW3.9190.287 / 0.3730.620 [0.163, 1.116]0.962 / 0.040
C-AdamW3.9320.313 / 0.4171.177 [0.596, 1.524]1.190 / 0.088
SPAM3.8840.187 / 0.2690.236 [0.024, 0.839]1.045 / 0.594

Table 11. Optimizer comparison. Gradient norm reports the post-warmup mean and 95th percentile; response compares high- and low-score launches for each optimizer.

Table 12 repeats the correlation analysis by channel over ten checkpoints. Final update separation correlates between 0.49 and 0.65 across channels, while the early log slope drops from 0.62 for weights to 0.10 for second moments: that response reaches the endpoint without proportional early growth. Batch order shows the weakest association, consistent with an external forcing term.

PerturbationFinal updateLog-update slopeEarly log slope
θ\theta0.6520.7190.624
Adam-mm0.6520.7210.469
Adam-vv0.6150.4240.095
Batch order0.4880.173-0.143

Table 12. Checkpoint-level Pearson correlations by perturbation channel.

Scale transfer

Figure 11 gives the channel-level separations and the output comparisons behind Figure 4C–D. Continuations from the two selected checkpoints reproduce the small-model ordering at 1.485B parameters. Panels C–E report the token, generation, and benchmark differences at the two selected checkpoints. The same loss–output discrepancy appears at the larger scale: mean loss differences stay near 10−410^{-4} while prediction and generation differences remain nonzero.

Figure 12 pairs the 200- and 1000-step outcome for each condition. Several channels contract in parameter and continuous logit distance between the two horizons, while top-1 disagreement and generation differences remain. The two horizons therefore separate transient trajectory growth from persistent behavioral difference, as the main text reports.

Figure 12. OLMo-1B horizon comparison. Panels pair 200- and 1000-step outcomes.

Replication and behavior summaries

Figure 13 collects the diagnostic-batch and learning-rate controls behind the seed-replication paragraph. The 0.8×-learning-rate run keeps a 0.783/0.160 high/low update-distance contrast. Repeated tangent seeds change the score less than alternative diagnostic batches, so a checkpoint value is conditional on the batch used to probe it.

Replication and diagnostic controls

Figure 13. Replication and diagnostic controls. Panels compare diagnostic batches, learning rate, and continuation behavior.

Figure 14 collects token, generation, and benchmark outcomes for the selected checkpoints in both systems, placing top-1 disagreement, generation match, and benchmark changes against trajectory separation. Token and benchmark changes increase with separation while net accuracy moves little relative to the number of changed answers, and generation agreement follows the same ordering.

Behavior across models

Figure 14. Behavior across models. A–C: small-model token, generation, and benchmark outcomes; D–F: OLMo-1B.

The response ordering is stable across amplitude, horizon, optimizer, and scale; absolute magnitudes depend on the condition.

Muon/AdamW Hybrid Pilot

The pilot tests whether the separation–behavior gap depends on AdamW’s second-moment preconditioner; Figure 15 summarizes the averaged trend and Table 13–Table 15 list every condition and the finite-difference check.

IDStepChannelϵ\epsilonUpdate sep.Parameter sep.sKLTop-1Gen. matchFlips
M04250weights10−610^{-6}0.0702.29×10−42.29 \times10^{-4}6.62×10−46.62 \times10^{-4}1.20%56.2%0
M05250weights10−510^{-5}0.0622.08×10−42.08 \times10^{-4}6.37×10−46.37 \times10^{-4}1.44%65.6%0
M06250weights10−410^{-4}0.0642.38×10−42.38 \times10^{-4}6.65×10−46.65 \times10^{-4}1.22%65.6%1
M07250Muon mom.10−610^{-6}0.0672.32×10−42.32 \times10^{-4}6.67×10−46.67 \times10^{-4}1.12%65.6%0
M08250Muon mom.10−510^{-5}0.0632.19×10−42.19 \times10^{-4}6.57×10−46.57 \times10^{-4}1.39%53.1%1
M09250Muon mom.10−410^{-4}0.0662.19×10−42.19 \times10^{-4}6.34×10−46.34 \times10^{-4}1.17%50.0%0
M131000weights10−610^{-6}0.0681.10×10−41.10 \times10^{-4}9.51×10−49.51 \times10^{-4}1.56%59.4%2
M141000weights10−510^{-5}0.0611.28×10−41.28 \times10^{-4}9.34×10−49.34 \times10^{-4}1.54%68.8%3
M151000weights10−410^{-4}0.0621.54×10−41.54 \times10^{-4}9.53×10−49.53 \times10^{-4}1.64%56.2%3
M161000Muon mom.10−610^{-6}0.0621.08×10−41.08 \times10^{-4}9.44×10−49.44 \times10^{-4}1.51%56.2%1
M171000Muon mom.10−510^{-5}0.0691.16×10−41.16 \times10^{-4}9.48×10−49.48 \times10^{-4}1.59%56.2%2
M181000Muon mom.10−410^{-4}0.0661.08×10−41.08 \times10^{-4}9.28×10−49.28 \times10^{-4}1.51%53.1%1
M222000weights10−610^{-6}0.0762.50×10−52.50 \times10^{-5}1.03×10−31.03 \times10^{-3}1.32%37.5%2
M232000weights10−510^{-5}0.0862.30×10−52.30 \times10^{-5}1.01×10−31.01 \times10^{-3}1.10%46.9%2
M242000weights10−410^{-4}0.0681.02×10−41.02 \times10^{-4}1.04×10−31.04 \times10^{-3}1.39%46.9%2
M252000Muon mom.10−610^{-6}0.0582.33×10−52.33 \times10^{-5}1.04×10−31.04 \times10^{-3}1.34%34.4%2
M262000Muon mom.10−510^{-5}0.0632.16×10−52.16 \times10^{-5}1.02×10−31.02 \times10^{-3}1.32%43.8%2
M272000Muon mom.10−410^{-4}0.0622.09×10−52.09 \times10^{-5}1.06×10−31.06 \times10^{-3}1.27%28.1%4

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.

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.

IDStepDirectionN0N_0N3N_3g3g_3
M0225091011.00×10−61.00 \times10^{-6}0.02623.391
M0325091021.00×10−61.00 \times10^{-6}0.02423.364
M11100091011.00×10−61.00 \times10^{-6}0.07153.726
M12100091021.00×10−61.00 \times10^{-6}0.03393.477
M20200091011.00×10−61.00 \times10^{-6}0.02653.395
M21200091021.00×10−61.00 \times10^{-6}0.02643.393

Table 15. Three-step finite-difference state growth for weight perturbations at ϵ=10−6\epsilon= 10^{-6}.

The pilot trains OLMo-1B (1.485B parameters) for 2000 steps with Muon on the two-dimensional hidden matrices (momentum 0.95, Nesterov, five Newton–Schulz steps, AdamW-matched learning rate) and AdamW on the embeddings, LM head, and vector parameters. Optimizer states are stored in FP32 and passes run under BF16 autocast, so a relative perturbation of 10−610^{-6} survives the update. Each response loads the same checkpoint in two branches, perturbs the selected state, and advances 200 steps on shared batches under the global schedule. Outputs are measured on four fixed validation batches (4096 positions), 32 prompts of 64 greedy tokens, and 64 questions each from PIQA, HellaSwag, and ARC-Easy. The pilot contains 33 responses, six diagnostics, and a zeroperturbation control that returns identical branches.

Table 13 shows that parameter separation contracts sixfold between steps 250 and 2000, symmetric KL grows by 1.6, and generation agreement drops from 59.4% to 39.6% (Figure 15); top-1 disagreement stays between 1.1% and 1.6%, so the token-level measurement saturates before generation does. Across the nine matched amplitudes, the median momentum-to-weight ratio is 0.97 for update separation, 0.93 for parameter separation, and 0.97 for top-1 disagreement; parameter ratios span 0.20 to 1.05.

Table 14 collects the layer, optimizer-state, and data-stream conditions. Layer scope matters little: at step 1000 the six groups vary by less than a factor of 1.3 in parameter separation, with no depth ordering. The second moment raises parameter separation from 4.1×10−44.1 \times10^{-4} to 1.8×10−31.8 \times10^{-3} between ϵ=10−6\epsilon= 10^{-6} and 10−410^{-4}, while the first moment stays near 1.1×10−41.1 \times10^{-4}, the same asymmetry as in the small-model and OLMo runs. The data-stream change keeps update separation near 1.39 at every checkpoint while parameter separation falls from 6.2×10−36.2 \times10^{-3} to 6.8×10−46.8 \times10^{-4} and token disagreement from 13.3% to 3.0%. Answer flips per condition are 0–4 of 192 (state) and 3–7 (data stream); no condition moves net accuracy by more than 4 of 192.

IDStepChannelScopeϵ\epsilonUpdate sep.Parameter sep.sKLTop-1Gen. match
M291000weightsshallow10−510^{-5}0.0701.43×10−41.43 \times10^{-4}9.71×10−49.71 \times10^{-4}1.73%50.0%
M301000weightsmiddle10−510^{-5}0.0841.09×10−41.09 \times10^{-4}9.27×10−49.27 \times10^{-4}1.46%59.4%
M311000weightsdeep10−510^{-5}0.0671.24×10−41.24 \times10^{-4}9.54×10−49.54 \times10^{-4}1.54%53.1%
M321000Muon mom.shallow10−510^{-5}0.0691.12×10−41.12 \times10^{-4}9.32×10−49.32 \times10^{-4}1.59%62.5%
M331000Muon mom.middle10−510^{-5}0.0621.09×10−41.09 \times10^{-4}9.16×10−49.16 \times10^{-4}1.37%50.0%
M341000Muon mom.deep10−510^{-5}0.0621.10×10−41.10 \times10^{-4}9.20×10−49.20 \times10^{-4}1.56%68.8%
M351000Adam-mmall10−610^{-6}0.0641.07×10−41.07 \times10^{-4}9.20×10−49.20 \times10^{-4}1.61%59.4%
M361000Adam-mmall10−510^{-5}0.0701.19×10−41.19 \times10^{-4}9.57×10−49.57 \times10^{-4}1.59%59.4%
M371000Adam-mmall10−410^{-4}0.0681.16×10−41.16 \times10^{-4}9.49×10−49.49 \times10^{-4}1.49%75.0%
M381000Adam-vvall10−610^{-6}0.0644.14×10−44.14 \times10^{-4}9.44×10−49.44 \times10^{-4}1.83%56.2%
M391000Adam-vvall10−510^{-5}0.0717.06×10−47.06 \times10^{-4}9.47×10−49.47 \times10^{-4}1.71%43.8%
M401000Adam-vvall10−410^{-4}0.0771.78×10−31.78 \times10^{-3}1.11×10−31.11 \times10^{-3}1.86%53.1%
M10250data streamall–1.3916.24×10−36.24 \times10^{-3}4.88×10−24.88 \times10^{-2}13.26%3.1%
M191000data streamall–1.3973.37×10−33.37 \times10^{-3}2.24×10−22.24 \times10^{-2}8.69%3.1%
M282000data streamall–1.3966.77×10−46.77 \times10^{-4}3.71×10−33.71 \times10^{-3}2.98%12.5%

Table 14. Layer, optimizer-state, and data-stream conditions after 200 continuation steps.

Table 15 reports the three-step finite-difference growth g3=13log⁡(N3/N0)g_3 = \frac{1}{3}\log(N_3/N_0): values lie between 3.36 and 3.73 per step, and the two directions at step 1000 differ by 0.25, comparable to the spread across checkpoints. The Muon/AdamW state therefore amplifies a local perturbation within a few steps.

Figure 11. OLMo-1B sensitivity. A–B: trajectory separation; C–E: output comparisons.

References

  1. [1]Bai, Z., Zhou, Z., Zhao, J., Li, X., Li, Z., Xiong, F., Yang, H., Zhang, Y., and Xu, Z.-Q. J. Adaptive pre-conditioners trigger loss spikes in Adam. arXiv preprint arXiv:2506.04805, 2025.arxiv.org/abs/2506.04805
  2. [2]Biderman, S., Schoelkopf, H., Anthony, Q. G., Bradley, H., O’Brien, K., Hallahan, E., Khan, M. A., Purohit, S., Prashanth, U. S., Raff, E., et al. Pythia: A suite for analyzing large language models across training and scaling. In Proceedings of the International Conference on Machine Learning, 2023.arxiv.org/abs/2304.01373
  3. [3]Bisk, Y., Zellers, R., Le Bras, R., Gao, J., and Choi, Y. PIQA: Reasoning about physical commonsense in natural language. In Proceedings of the AAAI Conference on Artificial Intelligence, 2020.arxiv.org/abs/1911.11641
  4. [4]Chemnitz, D. and Engel, M. Characterizing dynamical stability of stochastic gradient descent in overparameterized learning. Journal of Machine Learning Research, 26(134):1–46, 2025.arxiv.org/abs/2407.20209
  5. [5]Chen, R. T. Q., Rubanova, Y., Bettencourt, J., and Duvenaud, D. K. Neural ordinary differential equations. In Advances in Neural Information Processing Systems, 2018.arxiv.org/abs/1806.07366
  6. [6]Clark, P., Cowhey, I., Etzioni, O., Khot, T., Sabharwal, A., Schoenick, C., and Tafjord, O. Think you have solved question answering? Try ARC, the AI2 reasoning challenge. arXiv preprint arXiv:1803.05457, 2018.
  7. [7]Cohen, J. M., Kaur, S., Li, Y., Kolter, J. Z., and Talwalkar, A. Gradient descent on neural networks typically occurs at the edge of stability. In International Conference on Learning Representations, 2021.
  8. [8]D’Amour, A., Heller, K., Moldovan, D., Adlam, B., Alipanahi, B., Beutel, A., Chen, C., Deaton, J., Eisenstein, J., Hoffman, M. D., Hormozdiari, F., Houlsby, N., Hou, S., Jerfel, G., Karthikesalingam, A., Lucic, M., Ma, Y., McLean, C., Mincu, D., Mitani, A., Montanari, A., Nado, Z., Natarajan, V., Nielson, C., Osborne, T. F., Raman, R., Ramasamy, K., Sayres, R., Schrouff, J., Seneviratne, M., Sequeira, S., Suresh, H., Veitch, V., Vladymyrov, M., Wang, X., Webster, K., Yadlowsky, S., Yun, T., Zhai, X., and Sculley, D. Underspecification presents challenges for credibility in modern machine learning. Journal of Machine Learning Research, 23(226):1–61, 2022.
  9. [10]Groeneveld, D., Beltagy, I., Walsh, E., Bhagia, A., Kinney, R., Tafjord, O., Jha, A. H., Ivison, H., Magnusson, I., Wang, Y., et al. OLMo: Accelerating the science of language models. arXiv preprint arXiv:2402.00838, 2024.arxiv.org/abs/2402.00838
  10. [11]Haber, E. and Ruthotto, L. Stable architectures for deep neural networks. Inverse Problems, 34(1):014004, 2017.DOI
  11. [12]Hardt, M., Recht, B., and Singer, Y. Train faster, generalize better: Stability of stochastic gradient descent. In Proceedings of the International Conference on Machine Learning, 2016.
  12. [13]Herrmann, L. M., Granz, M., and Landgraf, T. Chaotic dynamics are intrinsic to neural network training with SGD. In Advances in Neural Information Processing Systems, 2022.DOI
  13. [14]Huang, T., Zhu, Z., Jin, G., Liu, L., Wang, Z., and Liu, S. SPAM: Spike-aware Adam with momentum reset for stable LLM training. arXiv preprint arXiv:2501.06842, 2025.arxiv.org/abs/2501.06842
  14. [15]Jiménez-González, P., Soriano, M. C., and Lacasa, L. Leveraging chaotic transients in the training of artificial neural networks. Physical Review Research, 8:L022032, 2026.
  15. [16]Kingma, D. P. and Ba, J. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015.arxiv.org/abs/1412.6980
  16. [20]Liang, K., Chen, L., Liu, B., and Liu, Q. Cautious optimizers: Improving training with one line of code. In International Conference on Learning Representations, 2026.
  17. [21]Loshchilov, I. and Hutter, F. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019.
  18. [22]Molybog, I., Albert, P., Chen, M., DeVito, Z., Esiobiu, D., Goyal, N., Koura, P. S., Narang, S., Poulton, A., Silva, R., et al. A theory on Adam instability in large-scale machine learning. arXiv preprint arXiv:2304.09871, 2023.arxiv.org/abs/2304.09871
  19. [23]Raffel, C., Shazeer, N., Roberts, A., Lee, K., Narang, S., Matena, M., Zhou, Y., Li, W., and Liu, P. J. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21 (140):1–67, 2020.arxiv.org/abs/1910.10683
  20. [24]Shanmugavelu, S., Taillefumier, M., Culver, C., Hernandez, O., Coletti, M., and Sedova, A. Impacts of floating-point non-associativity on reproducibility for HPC and deep learning applications. arXiv preprint arXiv:2408.05148, 2024.arxiv.org/abs/2408.05148
  21. [25]Sharafi, N., Martin, C., and Hallerberg, S. Weight dynamics of learning networks. Physical Review E, 111:054208, 2025.DOI
  22. [26]Soldaini, L., Kinney, R., Bhagia, A., Schwenk, D., Atkinson, D., Authur, R., Bogin, B., Chandu, K. R., Dumas, J., Elazar, Y., et al. Dolma: An open corpus of three trillion tokens for language model pretraining research. arXiv preprint arXiv:2402.00159, 2024.arxiv.org/abs/2402.00159
  23. [27]Storm, L., Linander, H., Bec, J., Gustavsson, K., and Mehlig, B. Finite-time Lyapunov exponents of deep neural networks. Physical Review Letters, 132:057301, 2024.DOI
  24. [28]Summers, C. and Dinneen, M. J. Nondeterminism and instability in neural network optimization. In Proceedings of the International Conference on Machine Learning, 2021.arxiv.org/abs/2103.04514
  25. [29]Wortsman, M., Liu, P. J., Xiao, L., Everett, K. E., Alemi, A. A., Adams, B., Co-Reyes, J. D., Gur, I., Kumar, A., Novak, R., Pennington, J., Sohl-Dickstein, J., Xu, K., Lee, J., Gilmer, J., and Kornblith, S. Small-scale proxies for large-scale Transformer training instabilities. In International Conference on Learning Representations, 2024.arxiv.org/abs/2309.14322
  26. [30]Wu, L. and Su, W. J. The implicit regularization of dynamical stability in stochastic gradient descent. In Proceedings of the International Conference on Machine Learning, 2023.arxiv.org/abs/2305.17490
  27. [31]Zellers, R., Holtzman, A., Bisk, Y., Farhadi, A., and Choi, Y. HellaSwag: Can a machine really finish your sentence? In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, 2019.arxiv.org/abs/1905.07830

Paper details

vlnc:W_g3hpbgqu
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents