LGJun 9

Counterexample Guided Learning in the Large using Reasoning Agents

arXiv:2606.11521v17.1h-index: 8
Predicted impact top 61% in LG · last 90 daysOriginality Highly original
AI Analysis

For LLM-based program synthesis, this work demonstrates that structured verifier feedback can substantially improve learning, addressing a key bottleneck in feedback utilization.

LLMs struggle with feedback heterogeneity in program synthesis. Using counterexample-guided learning for regex induction, verifier feedback improved success rates from 3.2% to 38.1% and 38.9% to 74.1% on hard tasks, showing rich feedback beyond additional data improves sample efficiency.

LLMs and LLM agents should improve when given feedback, but identifying when they are able to do so is difficult: feedback is heterogeneous, domain-specific, and difficult to control. We approach this challenge by asking LLMs to perform regular-expression induction, a classical symbolic learning problem where precise mechanisms for feedback exist in the form of counterexamples. In counterexample-guided learning, a learner (LLM) proposes candidate regular expressions from positive/negative-labeled strings, and the teacher (verifier) returns counterexamples showcasing the difference between the candidate and target languages. We identify novel counterexample-guided refinement strategies that enable effective regex learning, such as regularization and symbolic counterexample clusters. We also explore agentic strategies such as reflection and repair loops. Empirically, we find that verifier feedback substantially improves sample efficiency on challenging regex-induction tasks, reducing the number of labeled examples required and enabling learning of complex target expressions where standard prompting fails. For example, on the hardest task groups, our counterexample-guided framework improves success from 3.2% to 38.1% and from 38.9% to 74.1% on two different regex domains. These results suggest that LLMs can benefit from rich feedback beyond treating it as additional data, opening the door for robust verifier-guided methods for LLM-based program synthesis and formal reasoning.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes