Detecting Large Language Models in Exam Essays
2025 (English)In: EDUNINE 2025 - 9th IEEE Engineering Education World Conference: Education in the Age of Generative AI: Embracing Digital Transformation - Proceedings, Institute of Electrical and Electronics Engineers (IEEE) , 2025Conference paper, Published paper (Refereed)
Abstract [en]
There is a widespread fear that large language models (LLMs) produce content that is indistinguishable from an original human work. Can students use LLM-based tools for their exam essays without being spotted? We performed experiments on a publicly available dataset that we produced, containing thirty answers provided by ChatGPT and thirty-six answers from university students, for each of six anonymized exam essay traces from a scientific methodology course for engineers. We applied term frequency-inverse document frequency (TF-IDF), a state-of-the-art machine learning algorithm for natural language processing, and the cosine similarity metric, in order to produce two LLM detectors. One is based on one-class support vector machine anomaly detection, and the other is based on multi-class random forest classification. The results show that it is possible to spot when LLMs are involved, provided that the source LLM is known. Education institutions can follow our guidelines to prevent cheating and improve education.
Place, publisher, year, edition, pages
Institute of Electrical and Electronics Engineers (IEEE) , 2025.
Keywords [en]
ChatGPT, detector, education, essay, exam, large language model
National Category
Computer Sciences Natural Language Processing
Identifiers
URN: urn:nbn:se:kth:diva-368620DOI: 10.1109/EDUNINE62377.2025.10981412ISI: 001514396100095Scopus ID: 2-s2.0-105007413156OAI: oai:DiVA.org:kth-368620DiVA, id: diva2:1992144
Conference
9th IEEE Engineering Education World Conference, EDUNINE 2025, Montevideo, Uruguay, Mar 23 2025 - Mar 26 2025
Note
Part of ISBN 9798331542788
QC 20250826
2025-08-262025-08-262025-11-04Bibliographically approved