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 AgentA system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.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
Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.