Machine learning approach to detect GAI-disguised academic programming plagiarism
Oscar Karnalim, Yehezkiel David Setiawan, Maresha Caroline Wijanto, Rossevine Artha Nathasya
Maranatha Christian University
Abstract
Plagiarism is a common issue in programming education, and the issue exacerbates with the emergence of Generative Artificial Intelligence (GAI). Plagiarism acts can be disguised with GAI, resulting in pervasive, consistent changes across the entire program. We present a programming plagiarism detector dedicated to GAI disguises. It not only relies on program similarities but also on GAI characteristics. GAI has its own way of writing programs. Our plagiarism detector employs 23 features. Five of them are related to structure (program similarities) while the rest are associated with GAI characteristics (the use of list comprehension, recursion, etc). It features seven machine learning models to choose from: Logistic Regression, Random Forest, XGBoost, LightGBM, CatBoost, Voting Classifier, and Stacking Classifier. According to our evaluation of 6344 instances from the machine intelligence course, Stacking Classifier achieves the highest performance, with 89.17% accuracy, 88.94% precision, 89.17% recall, and 88.77% F-score. It outperforms similarity-based plagiarism detectors (which serve as the baseline) by a factor of 2 in most metrics. All structural features (program similarities) are considered important by our machine learning models, accompanied by several GAI-characteristic features. The prominent GAI characteristics are the use of list comprehension, recursion, and branching condition statements without parentheses.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Educational integrity in GenAI-augmented assessment: making judgement visibleInternational Journal for Educational Integrity · 2026
- Towards AI-Generated Music Plagiarism Detection as a Version Identification ProblemarXiv · 2026
- Trusting AI to detect AI? A systematic evaluation of the reliability and robustness of current AIGC detection tools for student academic workComputers & Education · 2026
- Analyzing Code Provenance in LLMs for Programming EducationarXiv · 2026
- Declared, Not Detected: A Blockchain-Anchored, Agentic Framework for Academic Integrity in the Generative AI EraInformation · 2026
- Source Code Authorship Attribution: Trends, Techniques, and ChallengesComputers · 2026