Skip to main content

← Back to AI Papers

Interpretability

Can Mechanistic Interpretability Help Explain LLM Agent Failures? A Case Study on Web Element Hallucination

Problem: MI has progressed in explaining internal LLM computation but has not demonstrated comparable success in explaining LLM-agent decision failures.
Where the evidence sits: the case study targets web agents hallucinating unavailable actions, applying mechanistic analyses to Qwen2.5-7B-Instruct on live websites; a linear probe on the last prompt token predicts hallucination before generation (0.80 AUC), and steering along the probe direction corrects 85% of hallucinations while disrupting 7% of valid actions.
What the authors say about limits: the probe direction is sensitive to prompt formatting and loses most steering effect after a minor change in action representation; circuit identification is difficult because computation is spread across components and positions and the relied-on information varies by example; one 7B model and one web setting; 0.80 AUC/85% are offline probe results, not a production real-time guard.
What it does not claim: a general agent-failure explainer; that probes solve hallucination; that circuit methods are mature for agents.

Key specs

模型 / model
Qwen2.5-7B-Instruct
场景 / setting
真实网站网页智能体
探针 / probe
0.80 AUC 预判幻觉
操控 / steering
纠正 85% 幻觉;破坏 7% 有效动作
证据位置 / evidence
摘要
复现状态 / reproduction
未复现

What the source says

We find that a linear probe trained on the last prompt token can predict hallucinations before generation begins (0.80 AUC) and steering along a probe direction corrects 85\% of hallucinations, but disrupts 7\% of valid actions.
1 https://arxiv.org/abs/2611.18514
The probe direction is sensitive to prompt formatting, losing much of its steering effect after a minor change to how actions are represented.
2 https://arxiv.org/abs/2611.18514

Source and licence

Source checked
2026-11-21
Licence / kind
arxiv-preprint
Licence evidence
https://arxiv.org/abs/2611.18514
Category
Interpretability

How to read the numbers

Before citing a score, separate what it measures, how it is scored, what it compares against and whether contamination is controlled. If unsure, go back to the experiment setup in the paper. See benchmark cards · See dataset cards

More in this category

Next step

Open the official page →

← Back to AI Papers