kth.sePublications KTH
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Detecting Large Language Models in Exam Essays
Artificial Engineering, Naples, Italy.
Artificial Engineering, Naples, Italy.
KTH, School of Industrial Engineering and Management (ITM), Production engineering.ORCID iD: 0000-0002-0723-1712
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

Available from: 2025-08-26 Created: 2025-08-26 Last updated: 2025-11-04Bibliographically approved

Open Access in DiVA

No full text in DiVA

Other links

Publisher's full textScopus

Authority records

Maffei, Antonio

Search in DiVA

By author/editor
Maffei, Antonio
By organisation
Production engineering
Computer SciencesNatural Language Processing

Search outside of DiVA

GoogleGoogle Scholar

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 90 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf