数据影响法在Source Code语料库中的噪声样本检测
Towards Using Data-Influence Methods to Detect Noisy Samples in Source Code Corpora
摘要:
尽管最近的趋势是开发神经源代码模型并将其应用于软件工程任务,但此类模型的质量不足以用于现实世界的使用。这是因为在用于训练这些模型的源代码语料库中可能存在噪声。本文采用数据影响方法来检测这种噪声。在机器学习中使用数据影响方法来评估目标样本与正确样本的相似性,以便确定目标样本是否有噪声。我们的评估结果表明,数据影响的方法可以识别噪声样本的神经代码模型在基于分类的任务。这种方法将有助于从以数据为中心的角度开发更好的神经源代码模型,这是在实践中开发有用的源代码模型的关键驱动力。
英文摘要:
Despite the recent trend of developing and applying neural source code models to software engineering tasks, the quality of such models is insufficient for real-world use. This is because there could be noise in the source code corpora used to train such models. We adapt data-influence methods to detect such noises in this paper. Data-influence methods are used in machine learning to evaluate the similarity of a target sample to the correct samples in order to determine whether or not the target sample is noisy. Our evaluation results show that data-influence methods can identify noisy samples from neural code models in classification-based tasks. This approach will contribute to the larger vision of developing better neural source code models from a data-centric perspective, which is a key driver for developing useful source code models in practice.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。