Same Trajectory, Different Knowledge: Teaching Search Agents
A fact in the teacher's context is not a fact in the student's reach; feedback should be weighted by what the student can recover now, not by what the teacher happens to know.
On this page
In 698 archived trajectories, 63.4% of the searches that genuinely helped got a lower score, but only after the teacher was handed the fact. Picture it: a 3B agent wired to a search API, a stronger model grading each step, and the reference answer pasted into the grader's context. Most people assume a better-informed teacher teaches better. The paper takes that apart[1].
The teacher can see the answer; the student cannot
The example is small. Ask where A's father was born. The teacher knows A's father is B; the student never saw the link, so it cannot say B. Two queries exist: where was B born, or who is A's father.
Only the second is learnable. It answers nothing; it fills the gap, and feedback that assumes the gap is filled gives it no credit.
This is on-policy distillation: the student walks its own path and is corrected where it lands, not by copying a gold trace. Relevant, yes. But the two sides may hold different facts.
What the teacher holds and the student does not is privileged information: passages, gold answers, facts from other rollouts. Training only.
The authors took 698 state-action pairs from 228 HotpotQA questions, added one fact, froze everything else, and re-scored the same search. Of 396 pairs where the search helped, 251 dropped: 63.4%, interval 56.9 to 69.9%[1].
Controls hold at 65.2% against length-matched text, 43.2% under a stricter 0.01 nats per token bar with two wordings, and 62.5% on the 293 pairs that helped in both halves.
Call it an information-state mismatch: one trace, two sets of facts, one undervalued search.
How ISA-Distill works: guess what the student knows first
The state holds the question, history, finished observations and remaining budget. A selector draws one fact from annotated support and gold answers, then writes a masked question about it, value and reference-only aliases removed.
Recoverability asks one thing: without new evidence, can the student state this value now? The frozen student answers 32 times with search off, each scored by mean token log-likelihood. Average, map through a fitted curve, get k between 0 and 1.
Low likelihood means the answer is not fluent, which proxies knowing, not being right. The curve is fitted on a calibration set of 50,000 states. One curve per backbone, frozen in training.
Then the action is scored twice: fact-use hands over the value, evidence-seeking hands over the masked question and no value. Each is compared with the plain score, squashed with tanh, mixed by k.
High k leans on fact use, low k on evidence seeking. The mix is bounded, the strength is 0.2, and the sign of the advantage survives. It nudges. It cannot overrule.
One table: fact-use only, search-only, and per-state mixing
The routing ablation runs on Qwen2.5-3B-Instruct, same training, one change: the teacher's view. Avg. is exact match over seven benchmarks (NQ, TriviaQA, PopQA, HotpotQA, 2WikiMQA, MuSiQue, Bamboogle), equal weight each.
| Teacher view | Avg. EM (%) | Searches per question |
|---|---|---|
| No local correction (base) | 34.1 | 1.53 |
| Fact-use only | 41.2 | 1.92 |
| Evidence-seeking only | 43.3 | 2.97 |
| Fixed mix, 0.2 / 0.8 | 41.3 | 2.13 |
| Per-state weighting | 43.9 | 2.22 |
Search-only reaches 43.3 at 2.97 calls, near the cap of three. Per-state weighting adds 0.6 points and spends 25.3% fewer calls.
Fact-use only lands at 41.2 with 1.92 calls. That is the common recipe: the teacher has the answer, so it teaches use. Better than base, weakest of the four.
The fixed mix is the telling one. Set to the training-average 0.2 and 0.8, it cuts calls to 2.13 and falls to 41.3. Averaged weights look close. On the gradient they are not.
The average weight across training is 0.163 against 0.837, a heavy tilt toward evidence. Inside one update, variance reaches 0.171, and 91 of 286 updates with probes hold both k below 0.1 and k above 0.9.
In your own pipeline: what belongs in the teacher's context
Five steps. Skip one and the weight collapses into a fixed mix.
- Snapshot the state before each step: question, history, finished observations, remaining budget. Without it you estimate the present, not the moment.
- Attach one fact to each action, written twice: with the value, and masked. Mask the target and every alias that lives only in the reference, or the mask leaks.
- Sample from the student, never the teacher. Ask the masked question 32 times with search off and average the likelihood. This is the cost, and why the weight tracks this student.
- Calibrate that likelihood into a 0 to 1 weight on your own data. The paper fits one curve per backbone; Qwen and Llama differ in shape, so a borrowed curve lands wrong.
- Score under both views, mix by the weight, and edit only the selected tokens: the search tag and query, or the conclusion tag and its claim.
Three things stay out: evidence found later in the trace; whole support documents, which the teacher copies; one shared weight per batch, the 41.3 row.
The bill is one-sided. A training step goes from 161.9 to 168.8 seconds, up 4.3%. Inference uses the student and the search tool.
Cheap check first: mask half the facts in your teacher context, rerun a small batch, watch search counts and accuracy. If both move, the teacher is grading with facts the student cannot reach.
When this weighting breaks down, and where it is out of scope
Start with the assumption. k assumes that fluent means known, and likelihood only proxies correctness. A wrong but confident student earns a high k, and the teacher drills fact use on a fact the student never had.
The weight is powerless when the two views agree. The correction is the weight times the gap. Zero gap, zero effect.
Three silent failures. No annotated support and no gold answer means no fact, so the correction is zero. Fewer than 50 states in a calibration bucket means no estimate, also zero. An all-correct or all-failed group has zero advantage, and zero times anything is zero.
Scope matters. The paper tests self-distillation, teacher equal to the frozen student, on Qwen2.5-3B, Qwen2.5-7B and Llama-3.2-3B. No test of a much stronger external teacher; its own weight already sits at 0.163, so a stronger one should push the tilt further. That is my extrapolation.
One line worth keeping: what the teacher can see should not decide what the student learns; what the student can reach should.
