Reinforcement Learning and Data-Generation for Syntax-Guided Synthesis
Julian Parsert, Elizabeth Polgreen

TL;DR
This paper introduces a reinforcement learning approach using Monte-Carlo Tree Search for syntax-guided program synthesis, leveraging automatically generated training data to improve performance and outperform existing tools on benchmark problems.
Contribution
It presents a novel RL-based algorithm for SyGuS that uses MCTS with learned policies and value functions, and introduces a method for generating training data via anti-unification.
Findings
Learned policy improves synthesis performance by over 26 percentage points.
The approach outperforms state-of-the-art tool cvc5 on training data.
Achieves comparable problem-solving rates on benchmarks where cvc5 fails.
Abstract
Program synthesis is the task of automatically generating code based on a specification. In Syntax-Guided Synthesis (SyGuS) this specification is a combination of a syntactic template and a logical formula, and the result is guaranteed to satisfy both. We present a reinforcement-learning guided algorithm for SyGuS which uses Monte-Carlo Tree Search (MCTS) to search the space of candidate solutions. Our algorithm learns policy and value functions which, combined with the upper confidence bound for trees, allow it to balance exploration and exploitation. A common challenge in applying machine learning approaches to syntax-guided synthesis is the scarcity of training data. To address this, we present a method for automatically generating training data for SyGuS based on anti-unification of existing first-order satisfiability problems, which we use to train our MCTS policy. We implement…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsSoftware Engineering Research · Software Testing and Debugging Techniques · Software Reliability and Analysis Research
MethodsMonte-Carlo Tree Search
