Krinke, Jens;
Ragkhitwetsagul, Chaiyong;
(2022)
BigCloneBench Considered Harmful for Machine Learning.
In:
2022 IEEE 16th International Workshop on Software Clones (IWSC).
IEEE: Limassol, Cyprus.
Preview |
Text
2022_iwsc.pdf - Accepted Version Download (157kB) | Preview |
Abstract
BigCloneBench is a well-known large-scale dataset of clones mainly targeted at the evaluation of recall of clone detection tools. It has been beneficial for research on clone detection and evaluating the performance of clone detection tools, for which it has become standard. It has also been used in machine learning approaches to clone detection or code similarity detection. However, the way BigCloneBench has been constructed makes it problematic to use as ground truth for learning code similarity. This paper highlights the features of BigCloneBench that affect the ground truth quality and discusses common misperceptions about the benchmark. For example, extending or replacing the ground truth without understanding the properties of BigCloneBench often leads to wrong assumptions which can lead to invalid results. Also, a manual investigation of a sample of Weak-Type-3/Type-4 clone pairs revealed 86% of pairs to be false positives, threatening the results of machine learning approaches using BigCloneBench. We call for a halt in using BigCloneBench as the ground truth for learning code similarity.
Type: | Proceedings paper |
---|---|
Title: | BigCloneBench Considered Harmful for Machine Learning |
Event: | 16th International Workshop on Software Clones |
Open access status: | An open access version is available from UCL Discovery |
DOI: | 10.1109/IWSC55060.2022.00008 |
Publisher version: | https://doi.org/10.1109/IWSC55060.2022.00008 |
Language: | English |
Additional information: | This version is the author accepted manuscript. For information on re-use, please refer to the publisher’s terms and conditions. |
Keywords: | clone detection, code similarity, machine learning |
UCL classification: | UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science UCL > Provost and Vice Provost Offices > UCL BEAMS UCL |
URI: | https://discovery.ucl.ac.uk/id/eprint/10156341 |
Archive Staff Only
View Item |