BigCloneBench Considered Harmful for Machine Learning
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...
Saved in:
Main Author: | |
---|---|
Other Authors: | |
Format: | Conference or Workshop Item |
Published: |
2023
|
Subjects: | |
Online Access: | https://repository.li.mahidol.ac.th/handle/123456789/84321 |
Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
Institution: | Mahidol University |
id |
th-mahidol.84321 |
---|---|
record_format |
dspace |
spelling |
th-mahidol.843212023-06-19T00:02:43Z BigCloneBench Considered Harmful for Machine Learning Krinke J. Mahidol University Computer Science 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. 2023-06-18T17:02:43Z 2023-06-18T17:02:43Z 2022-01-01 Conference Paper Proceedings - 2022 IEEE 16th International Workshop on Software Clones, IWSC 2022 (2022) , 1-7 10.1109/IWSC55060.2022.00008 2-s2.0-85145781621 https://repository.li.mahidol.ac.th/handle/123456789/84321 SCOPUS |
institution |
Mahidol University |
building |
Mahidol University Library |
continent |
Asia |
country |
Thailand Thailand |
content_provider |
Mahidol University Library |
collection |
Mahidol University Institutional Repository |
topic |
Computer Science |
spellingShingle |
Computer Science Krinke J. BigCloneBench Considered Harmful for Machine Learning |
description |
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. |
author2 |
Mahidol University |
author_facet |
Mahidol University Krinke J. |
format |
Conference or Workshop Item |
author |
Krinke J. |
author_sort |
Krinke J. |
title |
BigCloneBench Considered Harmful for Machine Learning |
title_short |
BigCloneBench Considered Harmful for Machine Learning |
title_full |
BigCloneBench Considered Harmful for Machine Learning |
title_fullStr |
BigCloneBench Considered Harmful for Machine Learning |
title_full_unstemmed |
BigCloneBench Considered Harmful for Machine Learning |
title_sort |
bigclonebench considered harmful for machine learning |
publishDate |
2023 |
url |
https://repository.li.mahidol.ac.th/handle/123456789/84321 |
_version_ |
1781414107567620096 |