mlsanityData to 7 Oct 2026

AdaCCD: Adaptive Semantic Contrasts Discovery Based Cross Lingual Adaptation for Code Clone Detection

arXiv 2311.07277 ↗First posted 13 Nov 2023cs.SE cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Code Clone Detection, which aims to retrieve functionally similar programs from large code bases, has been attracting increasing attention. Modern software often involves a diverse range of programming languages. However, current code clone detection methods are generally limited to only a few popular programming languages due to insufficient annotated data as well as their own model design constraints. To address these issues, we present AdaCCD, a novel cross-lingual adaptation method that can detect cloned codes in a new language without annotations in that language. AdaCCD leverages language-agnostic code representations from pre-trained programming language models and propose an Adaptively Refined Contrastive Learning framework to transfer knowledge from resource-rich languages to resource-poor languages. We evaluate the cross-lingual adaptation results of AdaCCD by constructing a multilingual code clone detection benchmark consisting of 5 programming languages. AdaCCD achieves significant improvements over other baselines, and achieve comparable performance to supervised fine-tuning.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 18 of its 30 references that are in the map. First posted on arXiv 13 Nov 2023.

Builds on

18 of 30 references.

References · 18

  1. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  2. 2019Momentum Contrast for Unsupervised Visual Representation Learningcited by 7,482
  3. 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,818
  4. 2018Deep Clustering for Unsupervised Learning of Visual Featurescited by 1,020
  5. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  6. 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
  7. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  8. 2020A Metric Learning Reality Checkcited by 317
  9. 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 294
  10. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
  11. 2021Whitening Sentence Representations for Better Semantics and Faster Retrievalcited by 198
  12. 2019CCMatrix: Mining Billions of High-Quality Parallel Sentences on the WEBcited by 177
6 more
  1. 2020Contrastive Code Representation Learningcited by 76
  2. 2020Detecting Code Clones with Graph Neural Networkand Flow-Augmented Abstract Syntax Treecited by 68
  3. 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languagescited by 68
  4. 2018Neural Code Comprehension: A Learnable Representation of Code Semanticscited by 59
  5. 2021Meta-Learning with Task-Adaptive Loss Function for Few-Shot Learningcited by 49
  6. 2020MISIM: A Neural Code Semantics Similarity System Using the Context-Aware Semantics Structurecited by 6

Built on by

Cited by year (2026 to 7 Oct)

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

2 papers.