Where Should a Stuck Agent Spend Its Next Tokens? Causal Attribution of Inference-Time Resources
On the map: LLM reasoning → Reasoning for agents, planning and code also fits: Test-time compute and efficient thinking
also in 1 more
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 36 of its 51 references that are in the map. Submitted 20 Oct 2026.
Builds on
36 of 51 references.
Closest ancestors · 2
Same direction, newest first
- 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learning2 Oct
- 2023Teaching Large Language Models to Self-Debug11 Apr
Other references · 34
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,845
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 6,016
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023Let's Verify Step by Stepcited by 4,259
- 2021Program Synthesis with Large Language Modelscited by 3,972
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 2,138
22 more
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,530
- 2025s1: Simple test-time scalingcited by 1,456
- 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,170
- 2024Large Language Monkeys: Scaling Inference Compute with Repeated Samplingcited by 1,124
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 1,000
- 2023CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquingcited by 855
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 809
- 2025Why Do Multi-Agent LLM Systems Fail?cited by 703
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 461
- 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 387
- 2024AI Agents That Mattercited by 296
- 2024When Can LLMs Actually Correct Their Own Mistakes? A Critical Survey of Self-Correction of LLMscited by 282
- 2024Token-Budget-Aware LLM Reasoningcited by 261
- 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 222
- 2022DocPrompting: Generating Code by Retrieving the Docscited by 165
- 2024Small Language Models Need Strong Verifiers to Self-Correct Reasoningcited by 91
- 2025Scaling Test-Time Compute Without Verification or RL is Suboptimalcited by 90
- 2026How Do Agents Fail on AutoResearch: End-to-End Diagnostic Evaluation on 100 Real-World Frontier Research Taskscited by 18
- 2026Diagnosing Retrieval vs. Utilization Bottlenecks in LLM Agent Memorycited by 9
- 2026Scores Are Not Decisions: Cost-Aware Stopping for Tool Acquisition in LLM Agentscited by 6
- 2026EcoAgent-Bench: Evaluating Economic Decision-Making in Budget-Constrained LLM Agentscited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026The Working Set of a Coding Agent: Coherence Debt in Repository-Scale Tasks
- 2026Confident and Wrong: Silent Semantic Failures in Coding Agents
- 2026Diagnosis Before Recovery: Turning Agent Failures into Selective Self-Correction
- 2026CausalFlow: Causal Attribution and Counterfactual Repair for LLM Agent Failures
- 2026Sentry: Learning to Recover from LLM Agent Failures at Test Time
- 2026Interaction Scaling: Grounding the Third Axis of Test-Time Compute
- 2026Before They Can Solve: Predicting Post-Training Coding-Agent Performance from Base Models
- 2026Learning from Failure: Inference-Time Self-Improvement for Computer-Use Agents