Where Should a Stuck Agent Spend Its Next Tokens? Causal Attribution of Inference-Time Resources
Saiyue Lyu, Jerrold Huang, Yunbei Zhang, Janet Wang, Zhenting Wang, Yingqiang Ge, Haibo Zhang
Key points
From the paper's conclusion- We evaluate six models on 194 function-level failures from MBPP+ and HumanEval+ and 126 repository-level failures from SWE-bench Verified.
Abstract
Inference-time scaling is often treated as a token-budget problem, but a failed coding agent can seek qualitatively different resources: computation, information, or feedback. We introduce Banzhaf Resource Attribution (BRA), a controlled factorial framework that measures each resource's marginal contribution to repair and its interactions while holding the failed state and revision protocol fixed. We evaluate six models on 194 function-level failures from MBPP+ and HumanEval+ and 126 repository-level failures from SWE-bench Verified. Task-relevant specifications consistently improve repair, whereas public-test feedback provides small gains and retrieved code little to none. The value of additional computation declines with model capability, while information remains useful; resource channels largely exhibit diminishing returns, although complementary information can reinforce itself. Yet three of four frontier models select feedback in 95-100% of cases and obtain lower gains than uniform random resource selection. BRA thus exposes a gap between the resources agents prefer and those that measurably improve repair.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ReCast: Attribution-Oriented Step Representation Learning for LLM-Based Agent SystemsarXiv · 2026
- Improving Repair Agents with Cause-Chain DiagnosesarXiv · 2026
- Same Winners, Different Success Rates: Evaluating How LLM Agents Recover from FailuresarXiv · 2026
- Knowing When to Stop: The Evidence-Action Gap in Coding AgentsarXiv · 2026
- CoLFA: Collaboration-Guided Lightweight Failure Attribution for LLM-Based Multi-Agent SystemsarXiv · 2026
- MemScope: Evolving Agent Memory Architectures through Localized Code RepairarXiv · 2026