arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1611.01989cs.LG
收藏

DeepCoder:学习编写程序

DeepCoder: Learning to Write Programs

Max-Planck Institute for Intelligent Systems(马克斯·普朗克智能系统研究所);University of Cambridge(剑桥大学);Microsoft Research(微软研究院)

Matej Balog, Alexander L. Gaunt, Marc Brockschmidt, Sebastian Nowozin, Daniel Tarlow

摘要:

我们使用深度学习从输入输出示例中开发了解决编程竞赛式问题的第一道攻击线。该方法是训练一个神经网络来预测从输入生成输出的程序的属性。我们使用神经网络的预测来增强来自程序设计语言社区的搜索技术,包括枚举搜索和基于SMT的求解器。从经验上讲,我们表明,我们的方法导致一个数量级的加速强非增强基线和递归神经网络的方法,我们能够解决问题的难度相当于编程竞争网站上最简单的问题。

英文摘要:

We develop a first line of attack for solving programming competition-style problems from input-output examples using deep learning. The approach is to train a neural network to predict properties of the program that generated the outputs from the inputs. We use the neural network's predictions to augment search techniques from the programming languages community, including enumerative search and an SMT-based solver. Empirically, we show that our approach leads to an order of magnitude speedup over the strong non-augmented baselines and a Recurrent Neural Network approach, and that we are able to solve problems of difficulty comparable to the simplest problems on programming competition websites.

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

↑