Counterexample-Guided Refinement

Overview

Counterexample-guided refinement improves a model, specification, program, or evaluator by proposing a candidate, checking it with a verifier or test environment, then using concrete failures to revise it. Formal methods use CEGAR and CEGIS loops with abstraction, SAT/SMT solving, symbolic execution, contracts, and invariant synthesis; newer systems apply similar feedback loops to LLM-generated code, specifications, planning heuristics, and compiled knowledge. Benchmarks include Frama-C and VerifyThis programs, planning domains, regex induction, and code-generation suites, where counterexamples can improve sample efficiency and expose errors missed by static checks. A key challenge is getting feedback that is valid and informative: bounded search, weak or noisy oracles, and repeated revisions can limit correctness, generalization, and convergence.

Latest papers

CardsList

14 papers2 papers in the last four weeks, with none the four weeks before. 0.0% of all new papers.

  1. Secure Agentic Coding through Counterexample-Grounded Feedback

    Oct 19, 2026Tue Le, Anh Nguyen Hoang, Gabriel Sasseville +3Secure Code GenerationAgentic Code Generation

  2. Self-evolving network verifiers

    Aug 11, 2026Ioannis Protogeros, Tibor Schneider, Laurent VanbeverCounterexample-Guided RefinementFormal Verification

  3. Modal CEGAR-tableaux with RECAR and resolution-based SAT-shortcuts

    Jun 30, 2026Rajeev Goré, Cormac KikkertAutomated Theorem ProvingCounterexample-Guided Refinement

  4. Unassigned Agents in Compilation-based Multi-agent Path Finding

    Jun 14, 2026Pavel SurynekCounterexample-Guided RefinementMulti-Agent Path Finding

  5. Counterexample Guided Learning in the Large using Reasoning Agents

    Jun 9, 2026Hongyi Liu, Frederic Sala, Thomas Reps +1Counterexample-Guided RefinementLLM-Based Program Synthesis

  6. 2-ASP(Q) programs with weak constraints: Complexity and efficient implementation

    May 26, 2026Andrea Cuteri, Giuseppe Mazzotta, Francesco RiccaLogic ProgrammingCounterexample-Guided Refinement

  7. ConVer: Using Contracts and Loop Invariant Synthesis for Scalable Formal Software Verification

    May 26, 2026Muhammad A. A. Pirzada, Weiqi Wang, Yiannis Charalambous +2Counterexample-Guided RefinementFormal Verification

  8. Property-Guided LLM Program Synthesis for Planning

    May 15, 2026André G. Pereira, Augusto B. Corrêa, Jendrik SeippSymbolic PlanningCounterexample-Guided Refinement

  9. The Counterexample Game: Iterated Conceptual Analysis and Repair in Language Models

    May 5, 2026Daniel Drucker, Kyle MahowaldLLM Self-CorrectionLLM Evaluation

  10. SpecPylot: Python Specification Generation using Large Language Models

    Apr 17, 2026Ragib Shahariar Ayon, Shibbir AhmedCounterexample-Guided RefinementFormal Verification

  11. Let the Abyss Stare Back Adaptive Falsification for Autonomous Scientific Discovery

    Mar 30, 2026Peiran Li, Fangzhou Lin, Shuo Xing +5Autonomous Scientific DiscoveryCounterexample-Guided Refinement