Cited by 5Software Engineering ResearchAcademic integrity and plagiarismSpam and Phishing Detection

The DOI matches its Crossref record.

Can Large Language Model Detect Plagiarism in Source Code?

Brach, William, Košt’ál, Kristián, Ries, Michal·2024·2024 2nd International Conference on Foundation and Large Language Models (FLLM)

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

Crossref · 10.1109/fllm63129.2024.10852497

Cites

Statistics

Recomputing p-values needs the paper’s full text.

Verification

Claims the paper makes

This paper’s full text isn’t openly available, so its claims and self-check weren’t run. The registry and citation checks still apply.

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?

Citations

Cites

Still being checked.

Cited by

Sorted by citations

See all 5

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