paper-with-me

Papers

ExplainBench: Evaluating Code Explanations from Agents

2026-07-29 · Zhiyuan Pan, Sungmin Kang, Imam Nur Bani Yusuf, Abhik Roychoudhury hf

Large Language Model (LLM) agents have seen rapid adoption in software engineering. As agents take a greater role in the actual generation of code, they are making larger changes, spanning tens to hundreds of lines. This makes manual review of agent results increasingly infeasible, leading developers to turn to explanations to understand enacted changes. Despite this, there are no benchmarks that evaluate the trustworthiness of agent-generated explanations. To bridge this gap, we propose ExplainBench, a benchmark to automatically evaluate explanations from coding agents. ExplainBench is based on the intuition that informative explanations should enable an LLM to correctly answer questions, allowing quantitative comparison of explanation quality between agents. With this observation, we construct a suite of questions that evaluates whether explanations accurately describe (1) the intended behavior of buggy code and (2) the effect of applying the agent patch itself. Experiments first reveal that explanation quality is a distinct axis of agent evaluation: ExplainBench ranks agents differently from the widely-used SWE-bench Verified benchmark. A deeper breakdown of explanation quality in agents shows frequent problems in explanations, such that explanations often claim that a patch is correct when it is not. Based on this insight, we implement and evaluate an explanation audit agent which runs additional tests to validate and refine explanations. This agent improved the explanations of all evaluated agents, demonstrating agent explanations can be automatically made more trustworthy.

📄 PDF Abstract BibTeX arXiv:2607.26451

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Follow the Flow: Fine-grained Flowchart Attribution with Neurosymbolic Agents

2025-06-02 · Manan Suri, Puneet Mathur, Nedim Lipka, Franck Dernoncourt 외

Flowcharts are a critical tool for visualizing decision-making processes. However, their non-linear structure and complex visual-textual relationships make it challenging to interpret them using LLMs, as vision-language …

TheoremExplainAgent: Towards Video-based Multimodal Explanations for LLM Theorem Understanding

2025-02-26 · Max Ku, Thomas Chong, Jonathan Leung, Krish Shah 외

Understanding domain-specific theorems often requires more than just text-based reasoning; effective communication through structured visual explanations is crucial for deeper comprehension. While large language models (…

Evaluating Model Explanations without Ground Truth

2025-05-15 · Kaivalya Rawal, Zihao Fu, Eoin Delaney, Chris Russell

There can be many competing and contradictory explanations for a single model prediction, making it difficult to select which one to use. Current explanation evaluation frameworks measure quality by comparing against ide…

Feature ImportancemodelSensitivity

Pitfalls in Evaluating Interpretability Agents

2026-03-20 · Tal Haklay, Nikhil Prakash, Sana Pandey, Antonio Torralba 외 arxiv

Automated interpretability systems aim to reduce the need for human labor and scale analysis to increasingly large models and diverse tasks. Recent efforts toward this goal leverage large language models (LLMs) at increa…

GameBench: Evaluating Strategic Reasoning Abilities of LLM Agents

2024-06-07 · Anthony Costarelli, Mat Allen, Roman Hauksson, Grace Sodunke 외

Large language models have demonstrated remarkable few-shot performance on many natural language understanding tasks. Despite several demonstrations of using large language models in complex, strategic scenarios, there l…

Natural Language Understanding