Distilling State Tracking Without Distilling State Drift

Small language models are increasingly trained on reasoning traces written by larger "teacher" models. This works well for math and code. It is less clear that it works when the task is keeping track of a world that changes, such as a user's updated budget, a protocol revised mid-project, or a fact superseded last month. Large models already fail here in a characteristic way: even when every relevant fact is in front of them, they pick the stale value that was mentioned most loudly or most often instead of the latest one. Can Agent Memory Systems Track Evolving State? calls this "state drift." It finds that drift accounts for up to 63.5% of confirmed errors in some tasks, and that chain-of-thought can make it worse by giving the model room to rationalize the stale answer. If students learn from teachers that drift, the obvious worry is that the student learns the drift too. That worry has not been tested.

This note proposes to measure that inheritance directly and to remove it with a specific change to how distillation data is built. The change has two parts. First, training scenarios are generated so that how loudly a value is mentioned and how recent it is are counterbalanced, which means a teacher cannot reach the right answer by following loudness. Second, each teacher trace is kept only if every step of its written timeline matches the true chronological history of the tracked variable. A final-answer check is not enough. The claim is that a 3B–8B student, fine-tuned with lightweight adapters on such data, can learn the "trace the history, then resolve to the latest value" procedure as a habit of its own weights. Such a student would come close to the accuracy of external memory wrappers without their inference-time machinery, while ordinary distillation would leave the student drifting as much as its teacher or more.

Core Claim

Teacher traces that land on the correct current value can still encode the wrong procedure. In natural multi-session data, the latest value is often also the most repeated one, so "pick the loudest value" and "pick the latest value" agree on most training examples. Filtering by final answer, as in the trajectory pipeline of AI Scientist Via Synthetic Task Scaling, cannot tell these two procedures apart, and the student is free to learn the cheaper one. We predict that the gap shows up specifically on test items where loudness and recency disagree.

We also predict two remedies. Decorrelating loudness from recency in the training distribution, and checking intermediate timeline steps against ground truth, should each shrink the gap. Together they should close most of it. This is a claim about what is transferred in distillation, not a new memory architecture. That distinguishes it from all the closest prior work, which either adds external structure at inference time or edits weights fact by fact.

Position Relative to Prior Work

Three papers motivate the proposal by showing that structure fixes temporal failures, but only from outside the model. StateMem and StateMemWrapper add a dependency graph and a forced chronological "value chain" step around a frozen model. They lift accuracy from 0.205 to 0.363 on DeepSeek-V4-Flash and by +32 to +67 points across memory backends (Can Agent Memory Systems Track Evolving State?). TEMPLE-MQA stores edits in a time-aware graph and reaches an HES score of 97.25 on AToKe-SE (Multi-hop Question Answering under Temporal Knowledge Editing). Both pay with multi-stage querying and LLM-based ingestion at every call, and neither asks whether the procedure could be learned by a small model. We reuse StateMem's value-chain format as the target shape of our traces. We do not reuse its graph.

Weight-editing work constrains the design. History Matters: Temporal Knowledge Editing in Large Language Model shows that ROME, MEMIT, MEND and fine-tuning drive historical recall to near zero, and its METO fix only raises HES* on multi-edit sequences to roughly 15. That rules out writing each new fact into weights. What we propose to write into weights is a procedure for reading timelines given in context, not the facts themselves.

The bias-inheritance literature supplies the hypothesis. Okay, Let's Do This! Modeling Event Coreference with Generated Rationales and Knowledge Distillation finds that students memorize subtle hallucinations in teacher rationales as if they were ground truth. The AI Scientist pipeline documents a blind spot inherited because tasks the teacher cannot solve are dropped. Neither studies temporal state.

Beyond Direct Gains: Matched Controls for Evaluating Concept Scaffolds supplies the evaluation method. Its matched no-scaffold, format-only, helpful and misleading conditions show that helpful hints add only +1.22 points while misleading ones subtract, and we adapt that matched design to loudness and recency.

The static-to-temporal literature supplies a second probe. Breaking Down Video LLM Benchmarks shows that video models often score the same when frames are shuffled, which means they are not using time at all. We apply the same test to text timelines. A model that tracks state must change its answer when the order of updates is permuted. A model that matches on salience will not.

Research Program

Scenario generator. We build a programmatic generator of multi-session scenarios in domains deliberately disjoint from StateMemBench's three (research, shopping, personal finance), for example travel logistics, lab inventory and project staffing. Each scenario tracks a few variables through a known ground-truth history. The generator independently controls three properties of each update:

  • how many times each historical value is restated;
  • whether the superseding update is phrased emphatically or in passing;
  • how far apart in the dialogue the updates sit.

Because the generator knows the true history, every scenario comes with an exact timeline for each variable. AToKe-style fact chains from YAGO are converted into the same format to give a second, factual-knowledge source.

Teacher traces. A large open teacher model is prompted to answer each scenario by first writing out the timeline of the queried variable and then resolving it. We then build four training sets of equal size:

  • natural-correlation scenarios with final-answer filtering;
  • natural-correlation scenarios with step-level timeline verification;
  • counterbalanced scenarios with final-answer filtering;
  • counterbalanced scenarios with step-level verification.

Step-level verification is deterministic. It parses the written timeline and compares each entry and its order against the generator's ground truth, so no second LLM judge is needed.

Students. Students in the 3B–8B range are fine-tuned with low-rank adapters (small trainable matrices added to a frozen model). At inference time they receive the raw dialogue, with no graph and no wrapper.

Inheritance measurement. We record, item by item, where the teacher drifts and where the student drifts. Inheritance is the student's drift rate on items where the teacher drifted, minus its drift rate on items where the teacher did not. Amplification means the student drifts more than the teacher on high-salience items. The table of student drift against teacher drift is the main diagnostic for whether distillation copies the teacher's specific errors or a general tendency.

Baselines

Undistilled student. The naive reference point is the same small model, prompted with chain-of-thought and no fine-tuning. This tells us how much drift the student has before any teacher influence, and whether chain-of-thought helps or hurts, as the StateMem paper reports for larger models.

Teacher alone. We report the teacher prompted with the same trace-then-resolve format, because the teacher's drift rate is the ceiling that inheritance is measured against.

Student plus StateMemWrapper. This is the strongest competitor: the small student, undistilled, wrapped at inference time. It is the existing method most directly aimed at state drift. The reported reference is current-state accuracy rising from 0.205 to 0.363 on DeepSeek-V4-Flash over the strongest baseline, and +32 to +67 points across memory backends, all on StateMemBench (Can Agent Memory Systems Track Evolving State?).

We run it on the identical student checkpoint and the identical test dialogues. Any LLM-based ingestion is performed by the student itself, so no larger model enters the comparison. Prompt tuning is limited to the same small dev split used to pick our adapter hyperparameters. Beating it means matching its StateMemBench accuracy within a few points while using a single forward generation, or exceeding it on the loudness-recency-conflict slice.

On the factual side, TEMPLE-MQA is the reference for AToKe and TKEMQA, reported at HES 97.25 on AToKe-SE (Multi-hop Question Answering under Temporal Knowledge Editing). For TKEMQA, no reported numerical result was found on Lacuna, so we will rerun TEMPLE-MQA ourselves. We do not expect to beat a graph-backed system on historical retention. The goal there is to approach it, with the cost difference reported alongside.

Ablations. The four training sets form a two-by-two ablation that isolates the two key ingredients, counterbalancing and step verification. A fifth condition trains on generator-written gold timelines with no teacher at all. That condition separates "the teacher's style helps" from "any correct timeline helps."

Why not just…?

Why not just filter teacher traces by final-answer correctness? This is the simplest fix and the most serious threat. The hypothesis is that it fails only when loudness and recency are correlated in the training data. The two-by-two ablation tests this directly. If final-answer filtering on counterbalanced data matches step-level verification, then the contribution reduces to data design, and we will report it that way. That would still be a useful finding, because it is cheap to adopt.

Why not just wrap the small model with StateMem at inference time? The wrapper is known to work. Its cost is graph construction and LLM-based ingestion on every call, and the ingestion step can itself hallucinate, as the StateMem paper acknowledges. Head-to-head accuracy and token cost on StateMemBench settle whether internalizing the procedure is worth it. The two approaches can also be combined, and we will test the distilled student inside the wrapper.

Why not just train on programmatic gold timelines and skip the teacher? This removes inheritance by construction. Its risk is that the student overfits to template phrasing and fails on natural dialogue. The fifth ablation condition, evaluated on held-out StateMemBench, measures this directly. If gold-only training wins, the conclusion is that teachers are unnecessary for this skill.

Why not edit facts into weights as they change? History Matters already shows that historical recall collapses under ROME and MEMIT, and that METO only partly recovers it. We include METO numbers on AToKe-ME for reference rather than as a live competitor.

Proposed Experiments and Decisive Checks

Benchmarks. StateMemBench, with its 234 scenarios and closed-pool grading, is used strictly as a held-out test, never for training. Factual temporal reasoning is tested on AToKe (SE, ME, EE), TKEMQA and MQUAKE.

Diagnostic slices. We add matched-control slices built by perturbing test scenarios:

  • stale value restated many times versus the update restated;
  • update phrased emphatically versus in passing;
  • update order permuted.

Metrics. On every slice we report current-state accuracy, drift rate, the inheritance and amplification measures defined above, and HES and CES on AToKe.

Decisive check 1: inheritance. Among students distilled from natural-correlation, answer-filtered data, does drift on loudness-recency-conflict items exceed the undistilled student's drift? Does it concentrate on the items where the teacher drifted?

Decisive check 2: remedy. Does the counterbalanced, step-verified student cut that conflict-slice drift substantially while keeping overall accuracy? Does it land within a few points of the student plus StateMemWrapper on StateMemBench?

Decisive check 3: order sensitivity. Permuting update order should flip the remedied student's answer at close to the rate the ground truth flips. The naive student is expected to show the shuffle-invariance that Breaking Down Video LLM Benchmarks found in video models.

Falsification. If none of the three checks separates the conditions, distillation does not inherit drift in any interesting way and the remedy is unnecessary. If only the gold-timeline condition passes, teachers are the wrong source for this skill.