Year: 2026
Type: article
Abstract: Academic integrity in computer science education is increasingly challenged by sophisticated source code plagiarism. Traditional detection tools, which rely primarily on text-based token matching, often fail to detect plagiarism when students employ obfuscation techniques such as variable renaming, code block reordering, or control flow alteration. This paper presents a novel approach to automatic code plagiarism detection that leverages Abstract Syntax Tree (AST) analysis combined with Machine Learning (ML) techniques. By converting source code into ASTs, the structural logic of the program is preserved, rendering the detection mechanism robust against superficial textual changes. The proposed system utilizes graph kernels for structural similarity and integrates CodeBERT embeddings to capture semantic context. Experimental results on a dataset of anonymized programming submissions demonstrate that the proposed method achieves superior accuracy and F1-scores compared to traditional token-based systems, particularly in identifying Type-2 and Type-3 code clones.
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: diamond
OpenAlex ID: W7164750719
