AI & ML
How the Misuse of a Dataset Harmed Semantic Clone Detection
arXiv cs.SE0 views
arXiv:2505.04311v2 Announce Type: replace Abstract: BigCloneBench is widely used to evaluate traditional clone detection and, more recently, machine learning approaches to semantic clone detection and functional similarity. This paper demonstrates that BigCloneBench's Weakly Type-3/Type-4 (WT3/T4) subset is problematic as ground truth for learning or evaluating functional similarity. Its tagged-tagged WT3/T4 clone pairs combine two methods labelled as true positives for the same functionality and do not contain exemplar functions. A population-weighted analysis of a stratified probability sample of 406 such pairs estimated that 93.9% of pairs in the eligible tagged-tagged WT3/T4 population are not functionally similar under our operational definition and are therefore mislabelled (conservative 95% confidence interval: 91.5%-96.2%). From a literature review of 179 papers, we estimate that 128 used BigCloneBench to evaluate semantic clone detection in a way that their results could be affected by the mislabelling. High F1 scores on BigCloneBench do not establish whether an approach has learned functional similarity or relied on dataset-specific shortcuts. Our study does not assess BigCloneBench's validity for evaluating syntactic or textual clone detection of Type-1, Type-2, and Type-3 clones. We acknowledge its important contributions to traditional clone detection research. However, using its WT3/T4 subset as ground truth for same-main-function similarity without validating its labels for that task constitutes misuse. By threatening the validity of a substantial body of reported results, this practice has harmed the evidence base of semantic clone detection. We encourage more critical and responsible use of benchmarks and datasets and more rigorous validation during dataset creation and use.
Source:https://arxiv.org/abs/2505.04311PreviousReasoning-Trace Overflow in Code Generation: An Empirical Study of Explicit Reasoning ModelsNextThe Dangers of Non-Self-Fixed Architecture Technical Debt and Its Impact on Time-to-Fix
Related posts

Designing a Form That Asks for Birth Date, Time and Place (No Code, Just the Tricky Parts)
0dev.to UX
메타 Quest 2 OS 업데이트 종료, 약시 훈련 루틴에는 무슨 일이 생기나
0dev.to News
How to Put a Logo in a QR Code (and Make Sure It Still Scans)
0dev.to Design
Why Luxury Fine Jewelry Brands Are Ditching Physical Video Shoots for 3D CAD Commercials in 2026
0dev.to Design

How AI Is Changing Healthcare in 2026 - And Why Developers Should Pay Attention
0dev.to Productivity

When Should Singapore Healthcare Enterprises Hire AI Developers?
0dev.to Productivity