• Türkçe
    • English
  • English 
    • Türkçe
    • English
  • Login
View Item 
  •   FSM Vakıf
  • Fakülteler / Faculties
  • Mühendislik Fakültesi / Faculty of Engineering
  • Bilgisayar Mühendisliği Bölümü
  • View Item
  •   FSM Vakıf
  • Fakülteler / Faculties
  • Mühendislik Fakültesi / Faculty of Engineering
  • Bilgisayar Mühendisliği Bölümü
  • View Item
JavaScript is disabled for your browser. Some features of this site may not work without it.

Analysis of Code Similarity with Triplet Loss-Based Deep Learning System

Thumbnail

View/Open

Ana Makale (1.382Mb)

Access

info:eu-repo/semantics/embargoedAccess

Date

2024

Author

Abdellatif, Abdelrahman Taha Abdeltawab
İslamoğlu, Ertuğrul
Nizam, Ali

Metadata

Show full item record

Citation

ABDELLATİF, Abdelrahman Taha Abdeltawab, Ertuğrul İSLAMOĞLU & Ali NİZAM. "Analysis of Code Similarity with Triplet Loss-Based Deep Learning System". Recent Trends and Advances in Artificial Intelligence, 1138 (2024): 351-361.

Abstract

Nowadays, several plagiarism detection tools based on static code features are available for code similarity detection. The application of deep learning in this domain represents an emerging area of research. This research proposes an innovative deep learning system based on triplet loss for detecting code similarity. Our training approach involves generating embeddings for pairs of code snippets to increase the detection accuracy. The system uses a tokenization and embedding mechanism specifically tailored for Java code snippets using CodeBERT, a pre-trained model that combines programming language and natural language processing. After the learning phase, we employed transfer learning with a classifier to detect code similarity. The effectiveness of the proposed system is evaluated by a reduction in loss values and an improvement in accuracy compared to models without the integration of triplet loss. The results indicate that our model can identify code similarities and distinguish between snippets with high accuracy, improving the capability of code similarity detection, clone detection, and source code analysis.

Source

Recent Trends and Advances in Artificial Intelligence

Volume

1138

URI

https://hdl.handle.net/11352/5121

Collections

  • Bilgisayar Mühendisliği Bölümü [214]
  • Scopus İndeksli Yayınlar / Scopus Indexed Publications [756]
  • Yazılım Mühendisliği [21]



DSpace software copyright © 2002-2015  DuraSpace
Contact Us | Send Feedback
Theme by 
@mire NV
 

 




| Policy | Guide | Contact |

DSpace@FSM

by OpenAIRE
Advanced Search

sherpa/romeo

Browse

All of DSpaceCommunities & CollectionsBy Issue DateAuthorsTitlesSubjectsTypeLanguageDepartmentCategoryPublisherAccess TypeInstitution AuthorThis CollectionBy Issue DateAuthorsTitlesSubjectsTypeLanguageDepartmentCategoryPublisherAccess TypeInstitution Author

My Account

LoginRegister

Statistics

View Google Analytics Statistics

DSpace software copyright © 2002-2015  DuraSpace
Contact Us | Send Feedback
Theme by 
@mire NV
 

 


|| Policy || Guide || Library || FSM Vakıf University || OAI-PMH ||

FSM Vakıf University, İstanbul, Turkey
If you find any errors in content, please contact:

Creative Commons License
FSM Vakıf University Institutional Repository is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 4.0 Unported License..

DSpace@FSM:


DSpace 6.2

tarafından İdeal DSpace hizmetleri çerçevesinde özelleştirilerek kurulmuştur.