mlsanityData to 7 Oct 2026

Learning Heuristics for Template-based CEGIS of Loop Invariants with Reinforcement Learning

arXiv 2107.09766 ↗First posted 16 Jul 2021cs.AI cs.LG cs.PLcited by 0

Not on the map. Why?

Abstract (arXiv)

Loop-invariant synthesis is the basis of program verification. Due to the undecidability of the problem in general, a tool for invariant synthesis necessarily uses heuristics. Despite the common belief that the design of heuristics is vital for the performance of a synthesizer, heuristics are often engineered by their developers based on experience and intuition, sometimes in an ad-hoc manner. In this work, we propose an approach to systematically learning heuristics for template-based CounterExample-Guided Inductive Synthesis (CEGIS) with reinforcement learning. As a concrete example, we implement the approach on top of PCSat, which is an invariant synthesizer based on template-based CEGIS. Experiments show that PCSat guided by the heuristics learned by our framework not only outperforms existing state-of-the-art CEGIS-based solvers such as HoICE and the neural solver Code2Inv, but also has slight advantages over non-CEGIS-based solvers such as Eldarica and Spacer in linear Constrained Horn Clause (CHC) solving.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 24 of its 52 references that are in the map. First posted on arXiv 16 Jul 2021.

Builds on

24 of 52 references.

References · 24

  1. 2018code2vec: Learning Distributed Representations of Codecited by 249
  2. 2017Learning to Represent Programs with Graphscited by 219
  3. 2018Learning a SAT Solver from Single-Bit Supervisioncited by 198
  4. 2018Leveraging Grammar and Reinforcement Learning for Neural Program Synthesiscited by 83
  5. 2016DeepMath - Deep Sequence Models for Premise Selectioncited by 80
  6. 2018Reinforcement Learning of Theorem Provingcited by 69
  7. 2019Guiding High-Performance SAT Solvers with Unsat-Core Predictionscited by 61
  8. 2019Graph Representations for Higher-Order Logic and Theorem Provingcited by 55
  9. 2017Deep Network Guided Proof Searchcited by 47
  10. 2017Premise Selection for Theorem Proving by Deep Graph Embeddingcited by 44
  11. 2018Neural-Guided Deductive Search for Real-Time Program Synthesis from Examplescited by 39
  12. 2021TacticZero: Learning to Prove Theorems from Scratch with Deep Reinforcement Learningcited by 37
12 more
  1. 2017HolStep: A Machine Learning Dataset for Higher-order Logic Theorem Provingcited by 26
  2. 2018Can Neural Networks Understand Logical Entailment?cited by 24
  3. 2019CLN2INV: Learning Loop Invariants with Continuous Logic Networkscited by 20
  4. 2014SMT-based Model Checking for Recursive Programscited by 16
  5. 2018Learning Heuristics for Quantified Boolean Formulas through Deep Reinforcement Learningcited by 15
  6. 2017Horn-ICE Learning for Synthesizing Invariants and Contractscited by 11
  7. 2018Automated Theorem Proving in Intuitionistic Propositional Logic by Deep Reinforcement Learningcited by 7
  8. 2019Overfitting in Synthesis: Theory and Practice (Extended Version)cited by 6
  9. 2015Learning Invariants using Decision Treescited by 3
  10. 2020Program Verification via Predicate Constraint Satisfiability Modulo Theoriescited by 2
  11. 2021Decision Tree Learning in CEGIS-Based Termination Analysiscited by 2
  12. 2021Constraint-based Relational Verificationcited by 2

Built on by

Not cited yet.