mlsanityData to 7 Oct 2026

Generalizability of Code Clone Detection on CodeBERT

arXiv 2208.12588 ↗First posted 26 Aug 2022cs.SE cs.LG cs.PLcited by 4

Not on the map. Why?

Abstract (arXiv)

Transformer networks such as CodeBERT already achieve outstanding results for code clone detection in benchmark datasets, so one could assume that this task has already been solved. However, code clone detection is not a trivial task. Semantic code clones, in particular, are challenging to detect. We show that the generalizability of CodeBERT decreases by evaluating two different subsets of Java code clones from BigCloneBench. We observe a significant drop in F1 score when we evaluate different code snippets and functionality IDs than those used for model building.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 6 of its 11 references that are in the map. First posted on arXiv 26 Aug 2022.

Builds on

6 of 11 references.

References · 6

  1. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  2. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  3. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  4. 2020Detecting Code Clones with Graph Neural Networkand Flow-Augmented Abstract Syntax Treecited by 68
  5. 2018Oreo: Detection of Clones in the Twilight Zonecited by 19
  6. 2020DeepClone: Modeling Clones to Generate Code Predictionscited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 2.

4 papers.