arXiv AI By Mohamed Aghzal, Mor Geva, Gregory J. Stein, Ziyu Yao

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

Read the original on arXiv AI →

The paper investigates whether mechanistic interpretability (MI) can explain failures of large language model (LLM) agents, focusing on web agents that hallucinate unavailable actions. Using Qwen2.5-7B-Instruct interacting with live websites, the authors find that a linear probe on the last prompt token can predict hallucinations with 0.80 AUC and steering along this probe corrects 85% of hallucinations, though it disrupts 7% of valid actions. However, the probe’s effectiveness is highly sensitive to prompt formatting, and circuit identification is hampered by distributed computation and varying information usage across examples, challenging standard MI assumptions and suggesting directions for future research.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv Machine Learning
Oct 22

A Mechanistic Study of Automated Failure Attribution in LLM-based Agentic Systems

The paper investigates automated failure attribution (AFA) in large language model (LLM)-based agentic systems, where multiple agents collaborate on complex tasks. It finds that LLMs contain sufficient internal knowledge to attribute failures but often fail to output the correct step, revealing a knows‑but‑won’t‑say gap. To address this, the authors introduce grafting—a manual intervention that leverages latent model knowledge—showing it consistently outperforms direct prompting across several LLMs and benchmarks.

By Wendy Zheng, Liang Wu, Yinhan He, Mayank Darbari, Jundong Li, Liangjie Hong
Hugging Face Trending Papers
Jul 7

Doomed from the Start: Early Abort of LLM Agent Episodes via a Recall-Controlled Probe Cascade

Large language model (LLM) agents solving multi-step tasks frequently commit to trajectories that are doomed to fail, yet continue to consume substantial inference compute before the failure becomes observable. We show that failure is predictable early from the agent's internal representations: lightweight per-round probes on hidden activations anticipate eventual episode failure as early as the first interaction round, where scorers reading only the agent's observable behavior are barely better than chance.

arXiv Computation and Language
Nov 6

From Twisted Facts to Rogue Agents: Can LLMs Reliably Detect Multi-Dimensional Hallucinations?

The paper introduces HaluCheck, a bilingual benchmark with over 42,000 instances designed to evaluate large language models (LLMs) on detecting and correcting multi-dimensional hallucinations in both text and agent trajectories. It provides fine-grained annotations for detection, localization, and correction across various tasks and perturbation levels. Experiments on fourteen LLMs show basic detection capability but significant challenges in fine-grained localization, correction, and agent hallucination detection, with only partial improvements from thinking, web search, and supervised fine-tuning.

By Hanyu Qiu, Ze Liu, Zhe Zhao, Kuang Xiong, Blaze Chen, Zhenxiang Yan, Renfen Hu