Neural Guided Constraint Logic Programming for Program Synthesis
Zhang, Lisa, Rosenblatt, Gregory, Fetaya, Ethan, Liao, Renjie, Byrd, William E., Might, Matthew, Urtasun, Raquel, Zemel, Richard
Synthesizing programs using example input/outputs is a classic problem in artificial intelligence. We present a method for solving Programming By Example (PBE) problems by using a neural model to guide the search of a constraint logic programming system called miniKanren. Crucially, the neural model uses miniKanren's internal representation as input; miniKanren represents a PBE problem as recursive constraints imposed by the provided examples. We explore Recurrent Neural Network and Graph Neural Network models. We contribute a modified miniKanren, drivable by an external agent, available at https://github.com/xuexue/neuralkanren. We show that our neural-guided approach using constraints can synthesize programs faster in many cases, and importantly, can generalize to larger problems.
Sep-13-2018
- Country:
- Oceania > Australia
- New South Wales > Sydney (0.04)
- North America
- United States
- Alabama (0.04)
- Illinois > Cook County
- Chicago (0.04)
- Canada > Ontario
- Toronto (0.14)
- United States
- Europe > Slovenia
- Drava > Municipality of Benedikt > Benedikt (0.04)
- Oceania > Australia
- Genre:
- Research Report (1.00)
- Industry:
- Education (0.46)