arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1902.06349cs.AIcs.LG
收藏

学习推断程序草图

Learning to Infer Program Sketches

MIT(麻省理工学院);MIT-IBM AI Lab(麻省理工学院-IBM人工智能实验室);Center for Brains, Minds and Machines (CBMM)(大脑、心智与机器中心(CBMM))

Maxwell Nye, Luke Hewitt, Joshua Tenenbaum, Armando Solar-Lezama

摘要:

我们的目标是构建一个系统,它可以根据人类最容易提供的规范自动编写代码,比如示例和自然语言指令。这项工作的核心思想是,一个灵活的组合模式识别和显式推理可以用来解决这些复杂的规划问题。我们提出了一种方法,用于动态集成这些类型的信息。我们的新的中间表示和训练算法允许程序合成系统学习,没有直接的监督,什么时候依靠模式识别,什么时候执行符号搜索。我们的模型分别与神经合成和符号搜索的记忆和泛化性能相匹配,并在简单英语描述到代码编程问题的数据集上实现了最先进的性能。

英文摘要:

Our goal is to build systems which write code automatically from the kinds of specifications humans can most easily provide, such as examples and natural language instruction. The key idea of this work is that a flexible combination of pattern recognition and explicit reasoning can be used to solve these complex programming problems. We propose a method for dynamically integrating these types of information. Our novel intermediate representation and training algorithm allow a program synthesis system to learn, without direct supervision, when to rely on pattern recognition and when to perform symbolic search. Our model matches the memorization and generalization performance of neural synthesis and symbolic search, respectively, and achieves state-of-the-art performance on a dataset of simple English description-to-code programming problems.

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

↑