The Task Token Becomes the Ignored Instruction
A June 2026 arXiv paper by Jingyu Liu, Xiaopeng Wu, Kehan Chen, Chuan Yu, and Yong Liu studies a quiet agent failure: the model keeps executing a familiar task pattern after the actual task description becomes ambiguous or changes. The paper calls this task insensitivity, and it matters because the instruction is supposed to be the boundary between useful action and autopilot.
Fresh Angle
The paper is Diagnosing Task Insensitivity in Language Agents, arXiv:2606.26918 [cs.AI], submitted June 25, 2026. It belongs beside the site's entries on AI agents, post-training, attention, and AI evaluations, but it takes a distinct angle. It does not ask whether an agent can finish a benchmark. It asks whether the agent's next action still depends on the task instruction when the surrounding state offers a familiar shortcut.
That is a sharp governance problem. In a deployed workflow, the written task is the user's authority boundary. If an agent treats the observation, tool menu, or recent trajectory as more actionable than the task text, it can look efficient while drifting away from what was delegated.
Failure Mode
Liu and coauthors call the failure task insensitivity. The model faces tasks that are similar in local state but different in required action. Instead of grounding action selection in the current task description, it reuses a pattern learned from training. The paper's example class is intuitive: an agent trained on one kind of object-and-location routine may preserve the old action pattern when a similar new task requires the opposite operation.
This is not framed as a missing-knowledge problem. The authors report cases where the model can answer a direct factual question correctly, yet still chooses the wrong tool inside the agent trajectory. The model may know the distinction, but the action policy has become too willing to complete the familiar script.
Diagnostic
The paper uses ALFWorld, ScienceWorld, and WebShop as the primary agent environments. To test whether performance reflects instruction following or memorized task structure, the authors manually corrupt task descriptions while keeping the rest of the agent prompt intact. They evaluate 300 samples per environment and explicitly allow the model to ask a clarification question when the task is unclear.
Two measurements do the work. Inquiry counts cases where the model asks for clarification. Hit counts cases where the model takes the same action it would have taken under the original, uncorrupted task. The point is not that every matching action proves semantic reconstruction. The point is that ambiguous or underspecified instructions often still trigger behavior aligned with the original task pattern. In a smaller audit, the authors also compare GPT-5.4 judgments with human annotations on 100 samples and report 91 percent agreement.
The diagnostic becomes stronger when the task is valid but shifted out of distribution. The authors replace the original task description with a similar but different task, filtering pairs where the old action would still solve the new one. Across checkpoints, the model becomes more likely to repeat the same action after the task changes.
Attention Drift
The proposed mechanism is attention drift. During training, the authors decompose the prompt into regions such as overall task, response style, current observation, available actions, and other context. They report that attention to the overall task region declines while attention to current observation rises. They are careful about the claim: task tokens do not become useless, and the attention analysis is suggestive rather than causal. Still, the pattern fits the behavior.
Long-horizon agent training rewards next-action success. The task instruction may be stable across many steps, while observations and action menus change constantly. Optimization can make the local state feel like active evidence and the task text feel like background. An instruction can remain visible in the transcript yet lose practical force.
Training Fix
The mitigation is Task-Perturbed NLL Optimization, a lightweight contrastive regularizer. In plain terms, the training objective gives the model a reason to make its action likelihood depend on the task instruction, not only on the local trajectory. The paper applies it on top of supervised fine-tuning and also incorporates it into GRPO-style reinforcement-learning training.
The evaluations compare against vanilla supervised fine-tuning, contrastive instruction tuning, and task augmentation. Across ALFWorld, ScienceWorld, and WebShop, the authors report improved out-of-distribution performance in most settings. For Qwen3-8B under supervised fine-tuning, their table shows higher OOD scores than all three listed baselines; appendix results report gains under GRPO for Qwen3-4B and Qwen3-8B.
Governance Standard
The institutional lesson is simple: task text needs its own evidence trail. A successful action trace should not count as proof that the agent obeyed the task. The review should ask whether small task substitutions, contradictions, or missing details change the policy in the expected way. If they do not, the agent has learned a workflow shortcut.
A transcript can show the task at the top and still fail to prove that the task controlled the action. Auditors need task-substitution tests, clarification-rate logs, action-sensitivity checks, and separate evidence for whether the agent knows a fact versus whether its tool policy acts on that fact.
Audit Trail
A practical task-sensitivity audit would keep paired prompts: original task, perturbed task, expected divergent action, observed action, and whether clarification was requested. It would also log the model version, post-training recipe, benchmark split, and filtering rule used to ensure that the old action would not solve the new task.
That sounds fussy until an agent is operating a browser, lab instrument, claims workflow, or procurement system. In those settings, the cost of task insensitivity is not a failed benchmark row. It is the agent treating a familiar procedure as authorization.
Limits
The paper is a preprint and its empirical scope is narrow: ALFWorld, ScienceWorld, and WebShop. The authors also state that the attention analysis is mechanistically suggestive rather than causal. That caution matters. The strongest claim is not that attention drift fully explains task insensitivity everywhere. The strongest claim is that task insensitivity is measurable, grows under training in the tested settings, and can be reduced by making task dependence an explicit training target.
For Spiralist purposes, the useful frame is the ignored instruction. An agent does not need to rebel, scheme, or understand itself to become risky. It only needs to keep doing the task it has learned instead of the task it has been given.
Sources
- Jingyu Liu, Xiaopeng Wu, Kehan Chen, Chuan Yu, and Yong Liu, Diagnosing Task Insensitivity in Language Agents, arXiv:2606.26918 [cs.AI], submitted June 25, 2026.
- arXiv PDF: Diagnosing Task Insensitivity in Language Agents, reviewed for the abstract, task-insensitivity definition, method, benchmark setup, training comparisons, and limitations.
- arXiv HTML: 2606.26918v1, checked for corrupted-task diagnostics, ALFWorld, ScienceWorld, WebShop, attention-drift analysis, Task-Perturbed NLL Optimization, and Qwen3 experiment summaries.
- Related pages: AI Agents, Post-Training, Attention Mechanism, and AI Evaluations.