arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.19915cs.CLcs.AIcs.SE
收藏

源代码数据增强用于深度学习:一项综述

Source Code Data Augmentation for Deep Learning: A Survey

Monash University(莫纳什大学);Singapore Management University(新加坡管理大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Beihang University(北京航空航天大学);CSIRO’s Data61(澳大利亚联邦科学与工业研究组织Data61);Australian National University(澳大利亚国立大学)

Terry Yue Zhuo, Zhou Yang, Zhensu Sun, Yufei Wang, Li Li, Xiaoning Du, Zhenchang Xing, David Lo

AI总结:

本文综述了源代码数据增强用于深度学习的方法,涵盖代表性技术、优化策略、实际应用及未来挑战,并提供了持续更新的论文资源库。

摘要:

深度学习模型在众多关键源代码任务中的日益普及,推动了数据增强(DA)技术的发展,以增强训练数据并提升这些模型的各项能力(如鲁棒性和泛化性)。尽管已有一系列针对源代码模型的数据增强方法被提出并定制,但缺乏对其有效性和影响的全面综述与审视。本文通过开展一项全面且综合的源代码数据增强综述来填补这一空白,我们系统地汇编并总结了现有文献,以提供对该领域的全面概述。我们首先介绍源代码中的数据增强,然后讨论主要的代表性方法。接下来,我们强调优化数据增强质量的通用策略和技术。随后,我们重点介绍在现实世界源代码场景和下游任务中有用的技术。最后,我们概述了当前面临的挑战和未来研究的潜在机遇。本质上,我们旨在阐明现有关于源代码数据增强用于深度学习的文献体系,并促进该领域的进一步探索。作为补充,我们提供了一个持续更新的GitHub仓库,其中收录了关于源代码建模数据增强的最新论文列表,可通过\url{https://github.com/terryyz/DataAug4Code}访问。

英文摘要:

The increasingly popular adoption of deep learning models in many critical source code tasks motivates the development of data augmentation (DA) techniques to enhance training data and improve various capabilities (e.g., robustness and generalizability) of these models. Although a series of DA methods have been proposed and tailored for source code models, there lacks a comprehensive survey and examination to understand their effectiveness and implications. This paper fills this gap by conducting a comprehensive and integrative survey of data augmentation for source code, wherein we systematically compile and encapsulate existing literature to provide a comprehensive overview of the field. We start with an introduction of data augmentation in source code and then provide a discussion on major representative approaches. Next, we highlight the general strategies and techniques to optimize the DA quality. Subsequently, we underscore techniques useful in real-world source code scenarios and downstream tasks. Finally, we outline the prevailing challenges and potential opportunities for future research. In essence, we aim to demystify the corpus of existing literature on source code DA for deep learning, and foster further exploration in this sphere. Complementing this, we present a continually updated GitHub repository that hosts a list of update-to-date papers on DA for source code modeling, accessible at \url{https://github.com/terryyz/DataAug4Code}.

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

↑