arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1809.02840cs.LGstat.ML
收藏

用于程序合成的神经引导约束逻辑程序设计

Neural Guided Constraint Logic Programming for Program Synthesis

University of Toronto(多伦多大学);Vector Institute(向量研究所);University of Alabama at Birmingham(阿拉巴马大学伯明翰分校);Uber ATG(优步先进技术集团)

Lisa Zhang, Gregory Rosenblatt, Ethan Fetaya, Renjie Liao, William E. Byrd, Matthew Might, Raquel Urtasun, Richard Zemel

摘要:

使用示例输入/输出来综合程序是人工智能中的经典问题。我们提出了一种方法来解决编程的例子(PBE)的问题,通过使用神经模型来指导搜索的约束逻辑编程系统称为miniKanren。至关重要的是,神经模型使用miniKanren的内部表示作为输入; miniKanren将PBE问题表示为由所提供的示例施加的递归约束。我们探讨了递归神经网络和图神经网络模型。我们提供了一个修改后的miniKanren,可由外部代理驱动,可在https://github.com/xuexue/neuralkanren上获得。我们表明,我们的神经引导的方法,使用约束可以合成程序更快地在许多情况下,重要的是,可以推广到更大的问题。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑