상세 보기
Enhancing Programming Language Models for C++ Code Clone Detection
- Kang, Hyonjun;
- Chun, Haeun;
- Kim, Mucheol
WEB OF SCIENCE
1SCOPUS
1초록
This paper examines the fine-tuning methods of two Code Language Models, namely Code-Reviewer and GraphCodeBERT, with the objective of enhancing code clone detection in C++ code. Two experiments are conducted: sentence embeddings and sentence classification with the BM25L algorithm for enhanced pair selection. The Euclidean distance method demonstrated superior performance among the five similarity methods in the sentence embedding comparison. The combination of sentence classification with BM25L as a sentence pairing algorithm achieves superior performance, indicating a promising avenue for further development. The results show that GraphCodeBERT outperforms Code-Reviewer in every task, and sentence classification outperforms sentence embedding in a large margin. This paper highlights the potential of these models for clone detection and emphasizes the benefits of methodological enhancements for improved accuracy, providing valuable insights for software developers and future research.
키워드
- 제목
- Enhancing Programming Language Models for C++ Code Clone Detection
- 저자
- Kang, Hyonjun; Chun, Haeun; Kim, Mucheol
- 발행일
- 2024-08
- 유형
- Proceedings Paper
- 저널명
- 2024 International Conference on Platform Technology and Service, PlatCon 2024 - Proceedings
- 권
- 2024
- 페이지
- 112 ~ 116
- 언어
- ENG
- 출판사
- Institute of Electrical and Electronics Engineers Inc.
- 분량
- 5 페이지
- ISSN
- P 2766-4201