Fail Loudly: An Auditable Runtime for Agentic Data Analysis
Hanxu Yan, Langxuan Deng, Zhengle Wang, Yibo Wang, Chunwei Liu
Abstract
Large language models (LLMs) have enabled data-science agents to automate multi-step analyses over heterogeneous files. However, incorrect choices regarding data sources, scope, or statistical definitions often lead to silent errors: computations execute successfully but produce plausible yet incorrect outputs that fail to answer the intended question. To mitigate this, we present RADAR, an auditable runtime that makes an agent's analytical choices inspectable and supports their revision through execution feedback. RADAR operates through three core mechanisms. First, an evidence-preserving exploration module retrieves task-relevant content while retaining source locations and observation coverage. Next, the runtime uses typed operators to record the agent's declared inputs, operation arguments, and resulting observations. Finally, runtime validation checks proposed operations against these observations. When a conflict is detected, the runtime rejects the operation or provides diagnostic feedback, allowing the agent to revise its choices before errors propagate. This design enables agents to fail loudly while leaving semantic interpretation to the LLM. On KramaBench, RADAR achieves overall scores of 0.723 with full source retrieval and 0.747 with gold sources supplied, corresponding to relative gains of 35.9% and 28.8% over the strongest baselines. Beyond KramaBench, RADAR achieves relative performance gains of 14.0% on DA-Code and 59.3% on DABStep, demonstrating its applicability across diverse agentic data-analysis workflows.
Create a lesson
Metadata
- Comments
- 12 pages, 5 figures
Related papers
Transport-Safe Evaluation of LLM Agents: Trajectory-Dependent Judge Error and Anytime-Valid Auditing
Shared title terminologycs.AIYulliwas Ameur, Samia Bouzefrane, Soumya Banerjee
ReplayLens: Auditing Agents' Use of Outcomes
Shared title terminologycs.AIDong Xu, Zhangfan Yang, Jiantao Wu et al.
Same Tasks, Different Apps: Why Mobile GUI Agents Fail to Generalize?
Shared title terminologycs.AITien Tran, Namho Koh, Daiki E. Matsunaga et al.
StateGuard: Analytical-State Management with Validity-Aware Intervention for Long-Horizon Data Agents
Shared title terminologycs.AIWenle Liao, Zhao Wang, Jingchao Zhang et al.
Large Language Models for Structured Clinical Data Analysis: Dual-Agent Grounding and Validation
Shared title terminologycs.AIErfan D. Dehkalani, Seetha Shankaran, Abbot R. Laptook et al.
When Successful Strategies Fail: Adaptation to Environmental Novelty in Terminal Agents
Shared title terminologycs.AIJanvijay Singh, Vaishnavi Shrivastava, Dilek Hakkani-Tur et al.