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

RobustFill:噪声I/O下的神经程序学习

RobustFill: Neural Program Learning under Noisy I/O

Microsoft Research(微软研究院);MIT(麻省理工学院)

Jacob Devlin, Jonathan Uesato, Surya Bhupatiraju, Rishabh Singh, Abdel-rahman Mohamed, Pushmeet Kohli

摘要:

从人工智能的早期就开始研究从某种规范自动生成计算机程序的问题。最近,两种相互竞争的自动程序学习方法受到了极大的关注:(1)神经程序合成,其中神经网络以输入/输出(I/O)示例为条件并学习生成程序,以及(2)神经程序归纳,其中神经网络直接使用潜在程序表示生成新的输出。在这里,我们第一次在大规模的真实世界的学习任务上直接比较了这两种方法。我们还对比基于规则的程序合成,它使用手工制作的语义来指导程序生成。我们的神经模型使用修改后的注意力RNN来编码可变大小的I/O对集合。我们最好的合成模型在真实世界的测试集上达到了92%的准确率,而之前最好的神经合成方法的准确率为34%。在这项任务上,合成模型的性能也优于可比的归纳模型,但更重要的是,我们证明了每种方法的强度高度依赖于评估指标和最终用户应用程序。最后,我们证明了我们可以训练我们的神经模型,使其对现实数据中预期的噪声类型保持非常鲁棒(例如,错别字),而一个高度工程化的基于规则的系统完全失败。

英文摘要:

The problem of automatically generating a computer program from some specification has been studied since the early days of AI. Recently, two competing approaches for automatic program learning have received significant attention: (1) neural program synthesis, where a neural network is conditioned on input/output (I/O) examples and learns to generate a program, and (2) neural program induction, where a neural network generates new outputs directly using a latent program representation. Here, for the first time, we directly compare both approaches on a large-scale, real-world learning task. We additionally contrast to rule-based program synthesis, which uses hand-crafted semantics to guide the program generation. Our neural models use a modified attention RNN to allow encoding of variable-sized sets of I/O pairs. Our best synthesis model achieves 92% accuracy on a real-world test set, compared to the 34% accuracy of the previous best neural synthesis approach. The synthesis model also outperforms a comparable induction model on this task, but we more importantly demonstrate that the strength of each approach is highly dependent on the evaluation metric and end-user application. Finally, we show that we can train our neural models to remain very robust to the type of noise expected in real-world data (e.g., typos), while a highly-engineered rule-based system fails entirely.

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

↑