When History Lies: Evaluating and Improving Tool Use under Misleading Multi-Turn Histories investigates why tool-calling language models often fail when presented with interaction histories that contain outdated or irrelevant information. The authors identify a phenomenon called "history-induced policy hijacking," where models are distracted by structurally valid but non-authoritative traces in the conversation history, leading them to make incorrect tool-use decisions even when they possess the correct policy.
The Problem: History-Induced Policy Hijacking
In many real-world deployments, language models operate on long, accumulating interaction records. The researchers found that these histories can contain failed tool calls, obsolete entities, or incorrect interface conventions that remain syntactically plausible. When a model encounters these, it may prioritize the misleading historical precedent over the current, valid request. On the Qwen3-1.7B model, the authors observed that this pollution flips 32.1% of decisions that the model would have otherwise handled correctly.
ContextPollute-Bench
To measure this, the authors introduced ContextPollute-Bench, a benchmark that uses synchronized views of the same task:
Original: The standard, untouched interaction history.
Polluted: A version containing inserted, misleading, but structurally valid traces.
Oracle State: A view containing only the reliable, decision-relevant information, excluding misleading data.
By keeping the system policy, available tools, and the latest user request identical across these three views, the benchmark isolates whether a model is being actively misled by history or if it simply lacks the necessary capability to perform the task.
Oracle-Guided On-Policy Distillation
To mitigate this, the authors proposed Oracle-Guided On-Policy Distillation (Oracle-OPD). This method trains a student model to ignore misleading history by using a frozen "teacher" model that is conditioned on the clean Oracle State.
During training, the student generates responses based on polluted history, and the teacher provides soft, token-level supervision based on the Oracle State. This allows the student to learn a policy that prioritizes reliable evidence over historical noise. At deployment, the student no longer requires the teacher or the Oracle State, relying only on the standard interaction history.
Performance and Scalability
The researchers reported that Oracle-OPD significantly improves tool-use accuracy. On the Qwen3-1.7B model, Oracle-OPD achieved an 87.0% Balanced Tool-Use Accuracy, outperforming standard supervised fine-tuning (66.3%) and other distillation methods.
The approach also scales effectively: when using an 8B parameter teacher, the 1.7B student’s performance rose to 91.9%. Furthermore, the authors found that the policies learned through this method transferred successfully to clean histories, unseen functions, and external tool-use benchmarks, suggesting that the model learns a robust, reliable-state policy rather than a specific rule for correcting individual errors.
Comments (0)
to join the discussion
No comments yet
Be the first to share your thoughts!