Can Mechanistic Interpretability Help Explain LLM Agent Failures? A Case Study on Web Element Hallucination
- ID: 661c8f9b
- 原文链接: https://arxiv.org/abs/2611.18514
- PDF: https://arxiv.org/pdf/2611.18514v1
- 作者: Mohamed Aghzal, Mor Geva, Gregory J. Stein, Ziyu Yao
- 日期: 2026-11-13
- 更新: 2026-11-13
- 分类: agents
- 来源类型: paper
- 标签: arxiv, mechanistic-interpretability, agent-failures, web-agents, hallucination
- 质量评分: 4/5
- 抓取时间: 2026-11-17T04:21:48Z
中文导读
机制可解释性(MI)能不能解释 agent 的失败?以 Qwen2.5-7B-Instruct 在真实网站上交互幻觉出页面上不存在的 web 动作为案例:末位 prompt token 上的线性探针可在生成开始前预测幻觉(0.80 AUC),沿探针方向转向能纠正 85% 的幻觉但干扰 7% 的正常动作但解释只是局部的:探针方向对 prompt 格式敏感,轻微改变动作表示方式就大幅失效;回路识别也困难,计算分散在多个组件与位置,agent 依赖的信息随样本变化作者据此讨论标准 MI 方法在 agent 场景的假设缺陷与改进方向
为什么值得关注
以 Qwen2.5-7B-Instruct 在真实网站上交互的案例,检验机制可解释性(MI)能否解释 agent 失败:针对 web agent 幻觉出页面上不存在的动作,末位 prompt token 上的线性探针可在生成开始前预测幻觉(0.80 AUC),沿探针方向转向能纠正 85% 的幻觉,但会干扰 7% 的正常动作。然而解释只是局部的:探针方向对 prompt 格式敏感,动作表示方式轻微改变就大幅失效,回路识别也因计算分布在多个组件和位置而困难。对想把 MI 用于 agent 调试的人,这篇划出了标准回路发现/特征识别方法的当前能力边界。
关键信息
- 论文标题:Can Mechanistic Interpretability Help Explain LLM Agent Failures? A Case Study on Web Element Hallucination
- 作者:Mohamed Aghzal, Mor Geva, Gregory J. Stein, Ziyu Yao
- arXiv:https://arxiv.org/abs/2611.18514
- 发布时间:2026-11-13
- arXiv 分类:cs.AI, cs.CL
- 关联标签:arxiv, mechanistic-interpretability, agent-failures, web-agents, hallucination
English Abstract
Mechanistic Interpretability (MI) has made significant progress in explaining the internal computations of Large Language Models (LLMs); however, these advances have yet to demonstrate comparable success in explaining the decision-making processes of LLM-based agents. This paper examines the challenges MI tools face when applied to realistic agentic failures. We focus on one such failure: web agents hallucinating actions that are not available on a website. We apply a series of mechanistic analyzes to Qwen2.5-7B-Instruct as it interacts with live websites. 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. However, these results only provide a partial explanation of why the agent hallucinates. The probe direction is sensitive to prompt formatting, losing much of its steering effect after a minor change to how actions are represented. Additionally, circuit identification can be difficult as the computation is distributed across multiple components and positions, and the information the agent relies on varies across examples. We discuss how these observations challenge the assumptions underlying standard MI methods for circuit discovery and feature identification, and outline future directions for making these methods better suited to explain failures in LLM-based agents.
English Summary
Mechanistic interpretability (MI) explains LLM internals well but has yet to explain LLM-agent decision making comparably. MI analyses of Qwen2.5-7B-Instruct acting on live websites study web agents that hallucinate actions unavailable on the site. A linear probe on the last prompt token predicts hallucinations before generation begins (0.80 AUC); steering along the probe direction corrects 85% of hallucinations but disrupts 7% of valid actions. The explanation is only partial: the probe direction is sensitive to prompt formatting, losing much of its steering effect after a minor change to action representation; circuit identification is hard because computation is distributed across components and positions and the information the agent relies on varies across examples. The authors outline better-suited MI directions for agent failure explanation.
Obsidian Notes
- 内容由
opencli arxiv paper拉取 arXiv 元数据与摘要生成。 - 中文导读与价值判断均锚定在条目已有摘要、论文摘要、作者、日期与分类信息上;未补充论文摘要之外的实验细节。