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

神经编程示例

Neural Programming by Example

Beihang University(北京航空航天大学);The University of Newcastle(纽卡斯尔大学)

Chengxun Shu, Hongyu Zhang

摘要:

实例编程(PBE)的目标是从样本输入和输出中自动推断出完成某项任务的计算机程序。本文提出了一种基于深度神经网络(DNN)的PBE模型,称为示例神经编程(NPBE),它可以从输入-输出字符串中学习,并归纳出解决字符串操作问题的程序。我们的NPBE模型有四个基于神经网络的组件:字符串编码器,输入输出分析器,程序生成器和符号选择器。我们证明了NPBE的有效性,通过训练它端到端解决一些常见的字符串操作问题的电子表格系统。结果表明,我们的模型可以有效地诱导字符串操作程序。我们的工作是教会DNN生成计算机程序的一步。

英文摘要:

Programming by Example (PBE) targets at automatically inferring a computer program for accomplishing a certain task from sample input and output. In this paper, we propose a deep neural networks (DNN) based PBE model called Neural Programming by Example (NPBE), which can learn from input-output strings and induce programs that solve the string manipulation problems. Our NPBE model has four neural network based components: a string encoder, an input-output analyzer, a program generator, and a symbol selector. We demonstrate the effectiveness of NPBE by training it end-to-end to solve some common string manipulation problems in spreadsheet systems. The results show that our model can induce string manipulation programs effectively. Our work is one step towards teaching DNN to generate computer programs.

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

↑