The DOI matches its Crossref record.
Can Large Language Model Detect Plagiarism in Source Code?
Abstract
The issue of code plagiarism represents a significant challenge in the academic environment. This study examines the potential of large language models (LLMs) in improving the detection of code plagiarism. The performance of several LLMs, including GPT-4o, GPT-3.5 Turbo, LLaMA 3, and CodeLlama, is evaluated in comparison to conventional tools, such as JPlag, across a range of levels of code plagiarism. The findings of our study illustrate that state-of-the-art LLMs are able to outperform traditional methods, particularly in the detection of sophisticated forms of plagiarism. GPT-4o exhibited the highest overall accuracy (78.70%) and an F1 score of 86.97%. It is important to note that open-source models, such as LLaMA 3 (accuracy 71.53%, F1 score 82.75%), demonstrated the ability to detect the most complex forms of plagiarism with the same accuracy as GPT-4o. While these results demonstrate the promising potential of LLMs in code similarity analysis, it is also evident that higher false positive rates may be an inherent limitation, emphasizing the need for human oversight. This study contributes valuable insights into the application of AI in maintaining code integrity and academic honesty, paving the way for more effective, interpretable, and fair plagiarism detection systems in software development education and practice. For further information, source code, and updates on this project, please visit our GitHub at https://github.com/fiit-ba/llm-plagiarism-check.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“A number of studies investigated the effectiveness of AI tools in producing solutions that could bypass detection tools (e.g., [49, 104, 256, 267, 303, 354]).”
From Navigating the Ethical and Societal Impacts of Generative AI in Higher Computing Education (2025) · cites this paper as [49]
Citations
Cites
Still being checked.
Cited by
Sorted by citations
Navigating the Ethical and Societal Impacts of Generative AI in Higher Computing Education
Mak, J., Nakatumba-Nabende, J., Clear, T., Clear, A., Abluwi, I., Andrei, O., Angeli, L., MacNeil, S., Oyelere, S. S., Hale Rattigan, M., et al. (2025) · Proceedings of the 2025 Working Group Reports on Innovation and Technology in Computer Science Education · doi:10.1145/3760545.3783975 · Cited by 12
CampusMentor - Student Career and Placement Guidance System
Reddy, K. Y. B., Jashvanth, K., -, N. M. S., Ramaiah, V. S., & -, D. K. R. (2026) · International Journal For Multidisciplinary Research · doi:10.36948/ijfmr.2026.v08i02.75681
Sharma, N., Lohar, D., More, S., & Mahalaxme, A. (2026) · International Conference on Emerging Smart Computing and Informatics (ESCI) · doi:10.1109/esci68015.2026.11493349
Labsense: an Ai Integrated Lab Examination Evaluation System
Abhiram, K., Reddy, M., Poornima, P., Rajitha, K., & Ramaiah, V. S. (2026) · International Journal on Science and Technology · doi:10.71097/ijsat.v17.i2.10885
Ebrahim, F., & Joy, M. S. (2026) · Applied Sciences · doi:10.3390/app16147156
Metadata
- Authors
- Brach, W., Košt’ál, K., & Ries, M.
- Affiliations
- Slovak University of Technology in Bratislava (SK)
- Slovak University of Technology,Faculty of Informatics and Information Technologies,Bratislava,Slovakia
- Venue
- 2024 2nd International Conference on Foundation and Large Language Models (FLLM)
- Publisher
- IEEE
- Published
- 2024-11-26
- Pages
- 370-377
- OpenAlex
- W4406892725
- Cited by
- 1
- References
- 0
- Citations by year
- 2026: 1
- FWCI
- 0.38
- Type
- conference paper
- Language
- en
- Open access
- closed
- Locations
- International Conference on Foundation and Large Language Models (FLLM) (publishedVersion)
- Funders
- Research and Development
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Social Sciences › Education › Academic integrity and plagiarism
- Physical Sciences › Computer Science › Information Systems › Spam and Phishing Detection
- Keywords
- code plagiarism detection, large language models, code similarity, GPT-4o, Llama 3, CodeLlama, JPlag, academic integrity, software engineering education, false positives, code integrity
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Can Large Language Model Detect Plagiarism in Source Code? https://app.cochat.ai/papers/10.1109/fllm63129.2024.10852497
- The paper
- Brach, W., Košt’ál, K., & Ries, M. (2024). Can Large Language Model Detect Plagiarism in Source Code? 2024 2nd International Conference on Foundation and Large Language Models (FLLM). https://doi.org/10.1109/fllm63129.2024.10852497