Towards Using Data-Influence Methods to Detect Noisy Samples in Source Code Corpora
Open Access
- 10 October 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1-3
Abstract
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.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- On the importance of building high-quality training datasets for neural code search2022
- Data smells in public datasets2022
- On the Impact of Sample Duplication in Machine-Learning-Based Android Malware DetectionACM Transactions on Software Engineering and Methodology, 2021
- An Empirical Comparison of Instance Attribution Methods for NLP2021
- code2vec: learning distributed representations of codeProceedings of the ACM on Programming Languages, 2019
- Deep code search2018
- Convolutional Neural Networks over Tree Structures for Programming Language ProcessingProceedings of the AAAI Conference on Artificial Intelligence, 2016