arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.08747cs.AIcs.NEstat.ML
收藏

EgoCoder:基于层次序列神经网络模型的智能程序合成

EgoCoder: Intelligent Program Synthesis with Hierarchical Sequential Neural Network Model

Florida State University(佛罗里达州立大学);University of Chinese Academy of Sciences(中国科学院大学)

Jiawei Zhang, Limeng Cui, Fisher B. Gouza

摘要:

编程一直是计算机科学和其他相关领域的研究人员和从业人员的重要技能。对于初学者来说,要学习基本的编程技能,通常需要长时间的系统训练。根据最近的一份市场报告,预计计算机软件市场将继续以加速的速度扩大,但合格的软件开发人员的市场供应难以满足如此巨大的需求。近年来,文本生成研究的兴起为解决这一难题提供了契机,即通过自动程序合成来解决这一难题。本文从数据采掘的角度对解决程序合成问题进行了尝试。为了解决这个问题,本文将介绍一种新的生成模型,即EgoCoder。EgoCoder有效地将程序代码解析为抽象语法树(AST),其中树节点将包含程序代码/注释内容,并且树结构可以捕获程序逻辑流。基于一种新的单元模型Hsu,EgoCoder可以有效地捕获程序AST中的层次模式和顺序模式。大量的实验将进行比较EgoCoder与国家的最先进的文本生成方法,实验结果表明EgoCoder在解决程序合成问题的有效性。

英文摘要:

Programming has been an important skill for researchers and practitioners in computer science and other related areas. To learn basic programing skills, a long-time systematic training is usually required for beginners. According to a recent market report, the computer software market is expected to continue expanding at an accelerating speed, but the market supply of qualified software developers can hardly meet such a huge demand. In recent years, the surge of text generation research works provides the opportunities to address such a dilemma through automatic program synthesis. In this paper, we propose to make our try to solve the program synthesis problem from a data mining perspective. To address the problem, a novel generative model, namely EgoCoder, will be introduced in this paper. EgoCoder effectively parses program code into abstract syntax trees (ASTs), where the tree nodes will contain the program code/comment content and the tree structure can capture the program logic flows. Based on a new unit model called Hsu, EgoCoder can effectively capture both the hierarchical and sequential patterns in the program ASTs. Extensive experiments will be done to compare EgoCoder with the state-of-the-art text generation methods, and the experimental results have demonstrated the effectiveness of EgoCoder in addressing the program synthesis problem.

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

↑