BigCloneBench Considered Harmful for Machine Learning

dc.contributor.authorKrinke J.
dc.contributor.authorRagkhitwetsagul C.
dc.contributor.otherMahidol University
dc.date.accessioned2023-06-18T17:02:43Z
dc.date.available2023-06-18T17:02:43Z
dc.date.issued2022-01-01
dc.description.abstractBigCloneBench 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.
dc.identifier.citationProceedings - 2022 IEEE 16th International Workshop on Software Clones, IWSC 2022 (2022) , 1-7
dc.identifier.doi10.1109/IWSC55060.2022.00008
dc.identifier.scopus2-s2.0-85145781621
dc.identifier.urihttps://repository.li.mahidol.ac.th/handle/20.500.14594/84321
dc.rights.holderSCOPUS
dc.subjectComputer Science
dc.titleBigCloneBench Considered Harmful for Machine Learning
dc.typeConference Paper
mu.datasource.scopushttps://www.scopus.com/inward/record.uri?partnerID=HzOxMe3b&scp=85145781621&origin=inward
oaire.citation.endPage7
oaire.citation.startPage1
oaire.citation.titleProceedings - 2022 IEEE 16th International Workshop on Software Clones, IWSC 2022
oairecerif.author.affiliationUCL Engineering
oairecerif.author.affiliationMahidol University

Files

Collections