When Does Feedback Help? Evaluating Feedback for Iterative Refinement in Coding Agents
On hard coding problems, parallel sampling beat every feedback-driven refinement method under the same inference budget.
The study compared six feedback types across coding problems of varying difficulty. Nearly all helped agents reach full accuracy on easy problems they initially missed. On medium problems, expert hints derived from ground-truth solutions delivered the largest improvement, at 40.4%; on hard problems, LLM-generated tests led at 20.4%, while expert hints yielded 5.3%. The authors conclude that refinement on difficult problems mainly recovers from weak initial attempts, approaching rather than surpassing solutions the agent could generate independently.
ArXiv · AI/CL/LG's note
The study compared six feedback types across coding problems of varying difficulty. Nearly all helped agents reach full accuracy on easy problems they initially missed. On medium problems, expert hints derived from ground-truth solutions delivered the largest improvement, at 40.4%; on hard problems, LLM-generated tests led at 20.4%, while expert hints yielded 5.3%. The authors conclude that refinement on difficult problems mainly recovers from weak initial attempts, approaching rather than surpassing solutions the agent could generate independently.
ArXiv · AI/CL/LG's note
score 5