arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2202.10868cs.SEcs.NE
收藏

神经程序修复:系统,挑战和解决方案

Neural Program Repair: Systems, Challenges and Solutions

Wenkang Zhong, Chuanyi Li, Jidong Ge, Bin Luo

摘要:

自动程序修复(APR)旨在自动修复源代码中的错误。近年来,随着深度学习(Deep Learning,DL)领域的发展,神经程序修复(Neural Program Repair,NPR)研究兴起,它将APR描述为从错误代码到正确代码的翻译任务,并采用基于编码器-解码器架构的神经网络。与其他APR技术相比,NPR方法在适用性方面具有很大的优势,因为它们不需要任何规范(即,测试套件)。虽然非线性重构已经成为一个热门的研究方向,但目前还没有对这一领域的研究综述。为了帮助感兴趣的读者了解现有的NPR系统的架构,挑战和相应的解决方案,我们在本文中的最新研究进行了文献综述。首先介绍了该领域的背景知识。接下来,为了便于理解,我们将NPR过程分解为一系列模块,并详细说明每个模块上的各种设计选择。此外,我们确定了几个挑战,并讨论现有解决方案的效果。最后,我们总结并提出了一些有前途的研究方向。

英文摘要:

Automated Program Repair (APR) aims to automatically fix bugs in the source code. Recently, as advances in Deep Learning (DL) field, there is a rise of Neural Program Repair (NPR) studies, which formulate APR as a translation task from buggy code to correct code and adopt neural networks based on encoder-decoder architecture. Compared with other APR techniques, NPR approaches have a great advantage in applicability because they do not need any specification (i.e., a test suite). Although NPR has been a hot research direction, there isn't any overview on this field yet. In order to help interested readers understand architectures, challenges and corresponding solutions of existing NPR systems, we conduct a literature review on latest studies in this paper. We begin with introducing the background knowledge on this field. Next, to be understandable, we decompose the NPR procedure into a series of modules and explicate various design choices on each module. Furthermore, we identify several challenges and discuss the effect of existing solutions. Finally, we conclude and provide some promising directions for future research.

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

↑