面向程序理解的噪声标签学习实证研究
An Empirical Study on Noisy Label Learning for Program Understanding
AI总结:
本文对噪声标签学习在程序理解任务中的有效性进行了实证研究,发现大型预训练模型对标签噪声具有高度鲁棒性,NLL方法能显著提升小型模型的分类准确率,但难以有效检测真实世界噪声。
摘要:
近年来,深度学习模型已被广泛应用于程序理解任务中,并在许多基准数据集上取得了最先进的结果。深度学习应用于程序理解的一个主要挑战是,这些方法的有效性取决于其数据集的质量,而这些数据集通常包含噪声数据样本。程序理解数据集中的一种典型噪声是标签噪声,这意味着某些输入的目标输出是不正确的。研究人员提出了各种方法来减轻噪声标签的负面影响,并形成了一个新的研究主题:噪声标签学习(NLL)。本文对噪声标签学习在程序理解数据集深度学习中的有效性进行了实证研究。我们在三个任务上评估了各种NLL方法和深度学习模型:程序分类、漏洞检测和代码摘要。从评估结果中,我们得出以下发现:1)从头训练的小型模型在程序理解中容易受到标签噪声的影响,而大型预训练模型对标签噪声具有高度鲁棒性。2)NLL方法显著提高了小型模型在噪声训练集上的程序分类准确率,但它们对大型预训练模型的分类准确率仅有轻微益处。3)NLL能够有效检测程序理解中的合成噪声,但在检测真实世界噪声方面存在困难。我们相信我们的发现能够为NLL在程序理解中的能力提供见解,并为未来处理软件工程数据集中噪声的工作提供启示。我们已在 https://github.com/jacobwwh/noise_SE 发布了我们的代码。
英文摘要:
Recently, deep learning models have been widely applied in program understanding tasks, and these models achieve state-of-the-art results on many benchmark datasets. A major challenge of deep learning for program understanding is that the effectiveness of these approaches depends on the quality of their datasets, and these datasets often contain noisy data samples. A typical kind of noise in program understanding datasets is label noise, which means that the target outputs for some inputs are incorrect. Researchers have proposed various approaches to alleviate the negative impact of noisy labels, and formed a new research topic: noisy label learning (NLL). In this paper, we conduct an empirical study on the effectiveness of noisy label learning on deep learning for program understanding datasets. We evaluate various NLL approaches and deep learning models on three tasks: program classification, vulnerability detection, and code summarization. From the evaluation results, we come to the following findings: 1) small trained-from-scratch models are prone to label noises in program understanding, while large pre-trained models are highly robust against them. 2) NLL approaches significantly improve the program classification accuracies for small models on noisy training sets, but they only slightly benefit large pre-trained models in classification accuracies. 3) NLL can effectively detect synthetic noises in program understanding, but struggle in detecting real-world noises. We believe our findings can provide insights on the abilities of NLL in program understanding, and shed light on future works in tackling noises in software engineering datasets. We have released our code at https://github.com/jacobwwh/noise_SE.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。