Counterexamples as Feedback for Agent Self-Correction
Source
arxiv.org
Author
Sidhesh Badrinarayan, Adithya Parthasarathy
Date
Context
Showing an AI exactly where its answer fails can make correction more effective than asking it to try again. A-CEGIS tests this with regular expressions, patterns that decide whether text matches a rule. A checker gives the AI agentAn AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.Full definition → examples it wrongly accepted or rejected, which guide its next revision. On 30 tasks, the authors report 90% success within four turns with diagnostic feedback, versus 27% with generic self-correction and 17% on the initial attempt. This small experiment supports evaluating agents by how well they use concrete feedback, alongside whether their first answer is correct. Study abstract.
Terms in this piece · Glossary
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.