Internal Before Behaviour? Controls for Comparing Language Model Training Dynamics

Hak Hyun Kim, Yash Raj, Soroush VosoughiNeurIPS 2026

TL;DR

When we peer inside a training language model and spot an internal shift right before the model learns a new skill, it’s deeply tempting to yell "Eureka! We found the early warning signal for that skill!" This paper brings a much-needed dose of Feynman-esque skepticism ("the first principle is that you must not fool yourself"), showing that these "precursor" signals often survive even if you scramble which internal signal goes with which task—and that a simple stopwatch can predict skill emergence just as well. By introducing concrete experimental controls, the authors show us how to separate genuine, task-specific mechanisms from generic growing pains in neural networks.

What Problem Does This Paper Address?

Picture a student studying for exams. Suddenly, their grades shoot up. This "sudden" competence—often called emergence or grokking in AI—fascinates interpretability researchers. When we look inside models during training, we often see internal structures shifting before external task scores improve.

Naturally, we want to interpret an early internal shift as a specific precursor—the neural groundwork being laid for that particular skill, or a predictive early-warning alarm. However, rich training dynamics are usually compressed into simple summary numbers: which curve crossed a threshold first, or which curve jumped more abruptly. The authors ask a vital, foundational question: When an internal metric changes before behaviour, have we actually found a task-specific precursor, or are we being fooled by generic early-training shifts and how often we happen to save checkpoints?

Methods

To test these interpretations, the authors track both external behaviour (logit-based task scores) and internal structure across 25 shared training checkpoints.

For the internal metric, they use standard activation patching: swapping out one model component (an attention head or an MLP block) with its average output to see how much the task score drops. Doing this across prompts and components creates an intervention-effect matrix. From this, they calculate the patching effective rank—an entropy-based measure of diversity. If every prompt relies on the exact same pattern of components, the effective rank is 1; if many independent patterns matter, it’s higher.

Figure 1: Two task-specific curves, three checks on their interpretation. At each checkpoint, clean scores give behaviour and clean-minus-replaced scores form the intervention-effect matrix. Repeating this measurement yields curves for timing and abruptness comparisons. Task reassignment tests pairing; fixed-step alarms test whether an early-alarm rate requires observing the signal; paired grids test observation dependence. The diagram describes the protocol, not a measured trajectory.

What’s novel here isn't the patching itself, but the four rigorous controls applied to the resulting curves:

  1. Task-reassignment test: Keeping a training run fixed, they shuffle which task's internal curve is paired with which task's behavioural curve (including derangements, where no task keeps its own curve) to test if task-pairing actually matters.
  2. Fixed-step baseline: Comparing an online "internal-drop alarm" against a "dumb" clock ("Fixed64") that blindly fires at training step 64, without looking inside the model at all.
  3. Paired observation grids: Comparing curve "abruptness" (the largest jump between adjacent checkpoints relative to the total range) on dense native checkpoints versus a sparser common subset on the exact same runs.
  4. Composition-matched interventions: Ablating the top-10 influential components later in training and comparing the damage against random sets matched in component type (heads vs. whole MLPs).

Datasets

Rather than training from scratch, the authors evaluate 29 existing training runs from the Pythia / PolyPythias model suite (70M, 160M, and 410M parameters across multiple seeds), yielding 140 complete task trajectories. They generate 100 synthetic prompts per task across five controlled next-token prediction benchmarks (no new pretraining datasets are introduced):

  • Subject-Verb Agreement (SVA): Choosing is/are despite distractor nouns.
  • Induction: Completing repeated token patterns ($A\ B \dots A \rightarrow B$).
  • Indirect Object Identification (IOI): Completing sentences like "A and B went out; B gave a book to..." $\rightarrow$ $A$.
  • Factual Recall: Completing single-token facts (using a small fact bank with repeated rows).
  • Docstring: Predicting the missing fourth argument name in Python documentation.

Key Insights and Ideas

Observed trajectories showing early dips in internal effective rank across all five tasks well before task scores rise.

Figure 2: The observed pattern that the controls test. Pythia-410M, training seed 7, prompt seed 0. Each task’s score (red) and patching effective rank (blue) are separately scaled to their common-grid range. Guides mark the retrospective internal threshold and score midpoint. Points are observed checkpoints; guides are interpolated. Equal heights have no cross-measurement meaning.
  • Temporal precedence $\neq$ task specificity: Look at the blue curves above—all five tasks experience a sharp early dip in effective rank right near the start of training, while behavioural scores (red) rise much later on different schedules. Because all internal dips happen in an early cluster before any task is learned, scrambling the task labels doesn't change the "internal-before-behaviour" score! Aggregate lead counts reflect a broad training-stage shift, not necessarily a task-specific circuit forming.
  • You can match an "early-warning system" with a stopwatch: If behavioural improvements almost always happen after step 100, anything that triggers around step 64 looks like a brilliant early predictor. Without a fixed-step baseline, it's easy to mistake generic early timing for genuine predictive power.
  • "Abruptness" is in the eye of the checkpoint grid: Whether internal changes look smoother or sharper than behavioural changes depends heavily on when you look. Dropping intermediate checkpoints can smooth out a brief internal dip or merge steps into a massive behavioural jump, completely flipping your conclusion on the exact same training run.
  • Granularity skews ablations: Whole MLP blocks are massive compared to single attention heads. Randomly ablating MLPs causes huge score drops on its own, meaning naive random controls (mixing heads and MLPs indiscriminately) can make your "discovered" components look artificially special.

Key Results

  • Apparent precursor leads: Under standard definitions, the internal threshold precedes the behavioural score midpoint in 131/140 trajectories.
  • Task-reassignment invariance: In a balanced subset of 24 complete runs (120 trajectories), correct task pairing yields 112/120 internal leads. Under every single random permutation and complete derangement, the aggregate count remains exactly 112/120.
  • Clock vs. internal alarm: Both the online internal-drop alarm and the blind Fixed64 alarm fire before the behavioural midpoint in 137/140 trajectories.
  • Grid-induced reversals: For the exact same 26 Docstring trajectories, switching from native checkpoints to the 25-checkpoint common grid flips the mean behaviour-to-internal abruptness ratio ($\rho$) from 0.52 (internal looks sharper) to 1.42 (behaviour looks sharper).
  • Readout sensitivity: Changing SVA's behavioural metric from correct - wrong logit to just correct logit drops its abruptness ratio from roughly ~2.0 down toward 1.0 (equality).

Limitations and Future Work

The authors are admirably candid about their scope:

  • Scale and synthetic tasks: Primary experiments cover relatively small models (70M–410M parameters) on five controlled, templated tasks. Notably, the Factual Recall prompt batch had only 16 distinct prompts among 100 rows, artificially capping matrix rank.
  • Unequal intervention units: Comparing individual attention heads to entire MLP blocks mixes granularities, and evaluation-time ablations only test score sensitivity—they do not prove what caused learning during training.
  • Mystery of the early dip: While the controls prove the early rank dip isn't uniquely tied to individual task schedules, the paper doesn't identify the exact mechanism behind that shared early-learning phase (though learning lower-order data statistics first is a plausible culprit).

Moving forward, the authors provide a 5-point reporting checklist and CPU-friendly code so future interpretability studies can routinely test prospective predictions, pair their observation grids, and distinguish true causal precursors from the background rhythm of training.

Summary updated

Abstract

An internal signal that changes before a task score can be mistaken for a task-specific precursor. We test this interpretation with controls for task pairing, alarm timing, and observation grids. Across five controlled tasks and 29 Pythia/PolyPythias training runs, we compare task scores with the effective rank of activation-patching effects on 25 shared checkpoints. Internal thresholds usually occur first. Yet a task-reassignment test preserves the aggregate count of 112 leads in a balanced 120-trajectory subset, even when every internal curve is paired with a different task. In a separate online comparison, a fixed step-64 alarm and an internal-drop alarm each precede the score midpoint in 137/140 trajectories. The same early-alarm rate is therefore attainable without observing internal change. Abruptness comparisons also depend on observation: for the same 26 Docstring trajectories, changing the checkpoint grid reverses the mean behaviour-to-internal ratio from 0.52 to 1.42. Component-resolved and matched-set interventions identify additional dependencies on aggregation and control design. Together these results show how aggregate timing and shape statistics can support stronger interpretations than their controls warrant. We provide reusable comparisons, a reproduction archive, and five reporting recommendations for distinguishing temporal precedence, task specificity, and predictive information.
BibTeX
@inproceedings{kim2026internal,
  author = {Hak Hyun Kim and Yash Raj and Soroush Vosoughi},
  title = {{Internal Before Behaviour? Controls for Comparing Language Model Training Dynamics}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=Y0OKwBDt0b},
}
Figure