pith. sign in

arxiv: 1809.02840 · v3 · pith:EDFGY4J3new · submitted 2018-09-08 · 💻 cs.LG · stat.ML

Neural Guided Constraint Logic Programming for Program Synthesis

classification 💻 cs.LG stat.ML
keywords neuralminikanrenprogrammingconstraintconstraintsexampleinputlogic
0
0 comments X
read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.