Small language models can be taught to reason without writing out long step-by-step explanations. This is called reasoning distillation: a large "teacher" model's written reasoning is used to train a small "student" that emits few or no intermediate words. It cuts inference cost several-fold on clean math problems. We suspect this compression has a hidden price. Some sentences in a teacher's reasoning are not computation at all. They are judgments about the input: "this passage is about taxis, but the question is about commuters, so its speeds don't apply." Those judgments rarely change the answer on the clean training problems used for distillation, so compression is free to drop them first. The resulting student looks as accurate as its teacher on clean inputs and becomes much easier to mislead when the input is cluttered with plausible but irrelevant or unrepresentative evidence.
Urban mobility is a good place to test this. City data comes from many sources (road cameras, freeway loop detectors, app check-ins), each of which sees only some travellers. Treating one source as a stand-in for all movement, called single-mode bias, is a known cause of wrong conclusions in planning and equity analysis. A model answering questions over such mixed feeds must constantly decide which evidence speaks to the question, how to correct it, and when nothing observed can answer it. We propose a distillation scheme in which the student writes out only a short, checkable evidence-selection statement and then internalizes the rest of its reasoning. We will test whether this keeps most of the speed-up while closing the robustness gap that full internalization opens.
Core Claim
Our claim has two parts, both testable. The first is diagnostic. As a student is pushed to emit less reasoning, its accuracy on clean inputs can stay flat while its "distraction gap" widens. We define the distraction gap as clean accuracy minus accuracy with distractor evidence added. We expect this to be most severe when the distractors are structured: real measurements from the wrong mode or population, rather than random off-topic text. The second part is constructive. A student trained to emit a brief evidence prefix and then answer directly will retain the teacher's robustness at a token cost close to full internalization. The evidence prefix names which records it uses, what correction it applies, or that it abstains. This beats both the suffix-style scaffold of prior internalization work and generic length-penalized training. In short, where the visible reasoning sits matters more than how much of it there is.
Relation to Prior Work
The method builds most directly on Masked Distillation. That paper trains a question-only student to match a reasoning-conditioned teacher with on-policy reverse-KL, a divergence that pushes the student toward the teacher's most likely outputs. It optionally lets the student write the final fraction of the trace, the "α-suffix," where α is the fraction of the trace that stays hidden. Fully internalized students reach 76.0% on GSM8K, up from a 61.0% direct-answer baseline, while using 6.5× fewer tokens than the teacher. On Countdown puzzles, the same students collapse to 41.7% unless an α=0.3 suffix is kept, which brings them to 86.2% against the teacher's 87.3%.
That paper both supplies our training objective and constrains our design. It shows that which part of the trace survives decides generalization. It evaluates only clean, well-posed inputs. And its scaffold is a suffix, whereas we argue robustness lives in an input-facing prefix.
The latent-reasoning methods pursue the same efficiency goal. CoLaR compresses groups of reasoning tokens into predicted continuous vectors and cuts MATH chain length by 82.8%. MARCOS replaces written steps with a chain of continuous hidden states and reports a 15.7× speed-up. Neither is tested with distractor context. Both make intermediate reasoning uninspectable, which CastFSR argues against for physical systems, where explicit reflection catches impossible outputs. Our evidence prefix is a deliberate middle point: short enough to be cheap, and explicit enough to audit.
The noise-robustness line motivates the diagnosis and supplies the evidence-first format. Improving Zero-shot Reader by Reducing Distractions (DAS) shows that frozen readers hallucinate confidently from irrelevant retrieved documents. It recovers accuracy with abstention prompts and query-likelihood reranking, for a 64% average Exact Match (EM) gain and 231% on SQuAD with 100 retrieved documents. That repair runs at test time on a frozen model and adds extra likelihood passes. Ext2Gen trains an 8B model with preference optimization to extract evidence sentences before answering. It lifts noisy-retrieval QA from 0.473 to 0.557 on Llama3.1-8B-Instruct and beats separate pre-generation compressors. We reuse its extract-then-answer format, but move it into the setting it did not study: distilling into sub-billion students whose remaining reasoning is internalized.
DecompGAIL provides a useful analogy from traffic simulation. That paper improves multi-agent traffic imitation by ignoring irrelevant neighbour-to-neighbour interactions when judging each vehicle. The same idea, that learning degrades when the signal is diluted by interactions that do not concern the target, is what we test in language.
The mobility literature sets the application and its hazards. City-scale Vehicle Trajectory Data from Traffic Camera Videos recovers about 5 million trajectories from over 3,000 cameras, covering roughly 44% of daily Shenzhen vehicles. BO4Mob documents the "visibility gap" of trips that never cross a sensor. LLMob uses language-model agents with retrieval to generate resident mobility from Tokyo and Osaka check-ins, which carry their own user-reporting bias. None of these asks whether a compact reasoner can tell which source speaks to which question.
Research Program
The first component is a mobility question benchmark with structured distractors, built from sources in the file. We will generate templated and teacher-paraphrased questions whose answers can be computed from one source. The sources are:
- camera-recovered vehicle trajectories in Shenzhen and Jinan,
- PeMS loop-detector counts for San Jose as packaged in BO4Mob, and
- LLMob's Tokyo and Osaka check-ins.
Example questions are "average flow on this road segment at 8 a.m.," "travel time between these camera locations," and "share of visits to this district by residents matching this persona." Each question comes with a context mixing the answering records and distractor records of three kinds. The first kind is off-topic records. The second is wrong-source records with similar numbers and units, such as freeway loop counts offered for an urban-road question. The third is biased-proxy records, such as check-in visit counts offered as if they were total footfall.
A fourth question family is unanswerable by construction, for example pedestrian volume at a location covered only by vehicle sensors. There the correct output is an explicit flag that no observed source covers the population. This mirrors DAS's abstention and the file's point that motorized sensors are blind to active travel.
The main threat to this benchmark is that relevance could be read off source labels. We therefore build a subset where the right answer requires correction or partial use of a wrong-source record rather than dropping it. We also report a label-filter baseline, described below. If data licensing limits any source, the benchmark will be built from whichever subset is releasable, and this constraint will be reported.
The second component is the student training scheme. A teacher, Qwen2.5-32B as in Distilling LLM Agent into Small Models, is prompted to reason in two tagged parts. The first part is an evidence statement $e$, a short list of which records are used, how they are adjusted, or an abstention. The second part is the remaining computation $r$. We keep only teacher traces with correct answers. Students (Qwen2.5-0.5B and 1.5B) are trained on input $x$ with the following loss:
$$\mathcal{L} = -\log p_s(e^\ast \mid x) \;+\; \mathrm{KL}\big(p_s(a \mid x, e) \,\|\, p_t(a \mid x, e^\ast, r)\big)$$
Here $e^\ast$ is the teacher's evidence statement and $e$ is the student's own sampled one. The answer $a$ is the final output. The student distribution is $p_s$, and the teacher distribution $p_t$ sees the full trace. The KL term is Masked Distillation's on-policy reverse-KL, applied after the student's own evidence prefix so that the student learns to answer from what it actually selected.
To prevent the student from quietly dropping the prefix under pressure for brevity, we cap the prefix at a fixed token budget rather than penalizing it. That budget is a reported hyperparameter.
The third component is analysis. We will measure the distraction gap as a function of emitted tokens for every method, tracing a robustness-versus-cost curve rather than a single point. We will check whether student evidence prefixes are faithful. Specifically, we will test whether editing the prefix to cite a different record changes the answer accordingly, which is what would make the prefix useful for auditing. To show the effect is not specific to mobility data, the same students trained on GSM8K will be evaluated on GSM8K with distractor sentences inserted. They will also be evaluated on the Ext2Gen noisy splits and the DAS open-domain QA setting.
Baselines
The naive reference points bracket the problem. The teacher's full written reasoning is the accuracy ceiling at maximum cost. A student fine-tuned to answer directly with no reasoning is the cost floor. Every method is reported by accuracy, tokens emitted, and wall-clock latency on the same hardware.
The strongest existing competitor for the efficiency side is Masked Distillation itself. We will run it at full internalization (α=0) and with a suffix scaffold at α=0.3, the setting that restored Countdown to 86.2% against the teacher's 87.3%. It is the strongest competitor because it is the only method in the file that trades emitted tokens for accuracy through the same objective we use. The comparison therefore isolates where the visible text sits. For fairness, it uses the same teacher traces, student initializations, number of on-policy updates, and hyperparameter search budget as our method. The suffix is matched in token count to our evidence prefix. We beat it if, at equal emitted tokens, our distraction gap is smaller with overlapping confidence intervals excluded across three seeds, and clean accuracy is no worse.
The strongest existing competitor for the robustness side is Ext2Gen-style extract-then-answer training applied to the same student with full written reasoning after extraction. Its reported 8B result is 0.557 average QA against a 0.473 default. It shows how much robustness an explicit extraction step buys when nothing is compressed. We aim to match its distraction gap within a small margin while emitting several-fold fewer tokens. If we cannot get within that margin, the claim that the evidence prefix carries most of the robustness fails.
Two further references matter for the mobility benchmark. The first is a DAS-style test-time wrapper on the direct-answer student, combining abstention prompting with query-likelihood reranking of context records. Its cost is counted as extra forward passes. The second is a label-filter baseline that keeps only records whose source tag matches the question's target source. If the label filter matches our method on the correction and abstention subsets, the benchmark is too easy and we will say so.
The key ablations remove one ingredient at a time. The first keeps the prefix length but fills it with the first tokens of the teacher's computation instead of the evidence statement. This separates "any visible tokens" from "evidence tokens." The second supervises the evidence prefix without the on-policy reverse-KL term. The third trains full internalization on distractor-augmented inputs, described below.
Why not just…?
Why not just train the fully internalized student on noisy inputs? Noise-augmented masked distillation is the most serious alternative. If the student sees distractors during training, it might learn to ignore them silently, with no prefix at all. This is exactly the third ablation, run with the same distractor mix and budget. Masked Distillation's Countdown collapse (41.7% without a scaffold versus 86.2% with one) suggests that internalization struggles when the needed behaviour is outside what the student already does well. Discounting wrong-source evidence may be such a behaviour. That is a hypothesis, not a result. If noise-augmented internalization closes the gap on held-out distractor types, the prefix is unnecessary for accuracy, and its remaining value would rest only on auditability. We would report that plainly.
Why not just filter the context before the model sees it? For off-topic distractors, a filter probably suffices, which is why the label-filter and DAS-style baselines are included. Ext2Gen reports that its joint extract-then-generate training outperformed the separate compressors Recomp, CompAct and EXIT, which is evidence that relevance decisions depend on the query in ways separate filters miss. Our correction and abstention subsets are built so that deleting records is the wrong action. Performance on those subsets is where a filter should fail and where we will look.
Why not just use length-penalized reinforcement learning and let the model decide what to cut? Methods like DLER and ConciseRL, as summarized in the file, cut output by over 70% and up to 31× on math without accuracy loss. Those losses were measured on clean benchmarks. Our diagnostic predicts that a length penalty preferentially removes evidence-discounting sentences, because they rarely affect reward on clean data. We will train a length-penalized student from the same full-reasoning initialization and check two things. The first is its distraction gap at matched token count. The second is which teacher-tagged segments its outputs retain.
Why not just use continuous latent reasoning, which is faster still? CoLaR and MARCOS may win on raw speed. Their intermediate states cannot be read, however, and in a decision setting where a planner must know which data source a conclusion rests on, that is a real cost. We include CoLaR on the math transfer tests as a speed reference. Our claim is not that the prefix is faster than latents, but that it recovers robustness and auditability at a modest token cost.
Decisive Checks
The diagnostic comes first and can falsify the whole premise. We will sweep α in Masked Distillation on mobility questions and on GSM8K with distractors. The premise predicts that the distraction gap widens as α falls while clean accuracy stays roughly flat, with the widening concentrated on wrong-source and biased-proxy distractors rather than off-topic ones. If the gap does not widen, compression is not the problem and the proposal stops there.
If it does widen, the constructive test is the robustness-versus-tokens curve. Our method should lie closer to the Ext2Gen-style full-reasoning student on robustness and closer to full internalization on tokens than any baseline or ablation. It should also produce evidence prefixes whose edits causally change the answer.
The mobility-specific outcome we care about most is abstention quality on the unanswerable-by-construction family. We will measure how often each student correctly flags that no observed source covers the population asked about, instead of confidently answering from a mismatched source. That failure is the language-model version of single-mode bias. For the mobility benchmark itself, there is no reported result on Lacuna for any method, so all numbers there will be new. The GSM8K, Countdown, and Ext2Gen figures above are the published anchors against which our transfer results will be read.
References
- Masked Distillation: Internalizing the Chain-of-Thought in Language Models
- Think Silently, Think Fast: Dynamic Latent Compression of LLM Reasoning Chains
- MARCOS: Deep Thinking by Markov Chain of Continuous Thoughts
- CastFSR: A Fast--Slow--Reflect Agentic Reasoning Framework for Context-Aware Time Series Forecasting
- Improving Zero-shot Reader by Reducing Distractions from Irrelevant Documents in Open-Domain Question Answering
- Aligning Extraction and Generation for Robust Retrieval-Augmented Generation
- DecompGAIL: Learning Realistic Traffic Behaviors with Decomposed Multi-Agent Generative Adversarial Imitation Learning
- City-scale Vehicle Trajectory Data from Traffic Camera Videos
- BO4Mob: Bayesian Optimization Benchmarks for High-Dimensional Urban Mobility Problem
- Large Language Models as Urban Residents: An LLM Agent Framework for Personal Mobility Generation
- Distilling LLM Agent into Small Models with Retrieval and Code Tools