arrow
返回

Deep Learning Based Program Generation From Requirements Text: Are We There Yet?

delete2022-04-01
delete25
delete
OA
AI
刘辉 封面图
刘辉 (Hui Liu) *
M
Mingzhu Shen
J
Jiaqi Zhu
N
Nan Niu
G
Ge Li
L
Lu Zhang
DOI:10.1109/TSE.2020.3018481delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
To release developers from time-consuming software development, many approaches have been proposed to generate source code automatically according to software requirements. With significant advances in deep learning and natural language processing, deep learning-based approaches are proposed to generate source code from natural language descriptions. The key insight is that given a large corpus of software requirements and their corresponding implementations, advanced deep learning techniques may learn how to translate software requirements into source code that fulfill such requirements. Although such approaches are reported to be highly accurate, they are evaluated on datasets that are rather small, lack of diversity, and significantly different from real-world software requirements. To this end, we build a large scale dataset that is composed of longer requirements as well as validated implementations. We evaluate the state-of-the-art approaches on this new dataset, and the results suggest that their performance on our dataset is significantly lower than that on existing datasets concerning the common metrics, i.e., BLEU. Evaluation results also suggest that the generated programs often contain syntactic and semantical errors, and none of them can pass even a single predefined test case. Further analysis reveals that the state-of-the-art approaches learn little from software requirements, and most of the successfully generated statements are popular statements in the training programs. Based on this finding, we propose a popularity-based approach that always generates the most popular statements in training programs regardless of the input (software requirements). Evaluation results suggest that none of the state-of-the-art approaches can outperform this simple statistics-based approach. As a conclusion, deep learning-based program generation requires significant improvement in the future, and our dataset may serve as a basis for future research in this direction.
Keyword:
Software
Unified modeling language
Object oriented modeling
Syntactics
Tools
DSL
Deep learning
Software requirements
code generation
deep learning
data set
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

U
University of Cincinnati
学者数:
1.8W
论文数: 1.4W
被引数: 2.2W
U
University System of Ohio
学者数:
15.5W
论文数: 13.0W
被引数: 200
B
beijing institute of technology
学者数:
5.5W
论文数: 4.0W
被引数: 63
学者 查看更多机构
引用论文

引用论文

Plant Water Relations
err1995-01-01
err0
PREAI
errRainer Lösch
err分享
err收藏
Discrimination of Maturity Stages of Cabernet Sauvignon Wine Grapes Using Visible–Near-Infrared Spectroscopy
err2023-12-04
err0
errOAAI
errXuejian Zhou; Wenzheng Liu; Kai Li; Dongqing Lu; Yuan Su; Yanlun Ju; Yulin Fang; Jihong Yang
err分享
err收藏
Persistence of Si(111)7 × 7 surface structure under air exposure
err1980-10-01
err0
PREAI
errMichiharu Tabe; Kunihiro Arai; Hiroaki Nakamura
err分享
err收藏
The Puerto Rico Gap Analysis Project Volume 1: land cover, vertebrate species distributions, and land stewardship
err
IF0
err2008-01-01
err0
errOAAI
errW. A. Gould; C. Alarcon; B. Fevold; M.E. Jimenez; S. Martinuzzi; G. Potts; M. Quinones; M. Solórzano; E. Ventosa
err分享
err收藏
学者 查看更多内容