arXiv:2611.12487cs.CLNov 2026

Manuscript Offprint

arXiv:2611.12487

Detecting AI-Authored Text in Authentic Student Writing: Evidence from PISA 2025

Nils-Jonathan Schaller, Thorben Jansen, Olaf Köller, Andrea Horbach

Abstract

AI-text detectors reach near-perfect scores in evaluations that contrast fully human-written texts with texts generated from researcher-designed prompts. In authentic student writing, however, AI use is voluntary and often partial. We study this setting with the PISA 2025 FLA dataset, in which 15-year-olds in Germany wrote English argumentative essays with and without access to a gpt-4o-mini-based chatbot. Keystroke, clipboard and chat logs let us trace every character of the final essay to its origin. From this provenance, we derive text-and sentence-level labels for human-written, AI-generated and mixed text, and for text written after chatbot use without traceable AI material. We evaluate a feature-based detector and a classifier on frozen Llama-3.1-8B embeddings, both adapted from top-ranked shared-task systems. Both separate AI from human text reliably (macro-F1 up to 0.96 for texts and 0.95 for sentences), independently of spelling errors. The feature-based detector, however, relies on lexical complexity, which a simple student-style rewriting prompt removes (AI recall 0.92 → 0.60 with gpt-4o-mini, 0.41 with Qwen3). The embedding-based detector stays robust for whole texts (AI recall ≥ 0.94) but not for single sentences (AI recall as low as 0.59). Mixed text falls between the two classes, and text without traceable AI material is classified as human-written in about 95% of texts.

1 Introduction

Generative AI has become part of how students write: surveys report widespread use of chatbots for homework and writing assignments. In Germany, 57% of 12- to 19-year-olds had used ChatGPT by 2024, and two thirds of those using AI tools do so for school and homework (Feierabend et al., 2024); surveys in the US show a similar trend (Sidoti et al., 2025).

For writing assessment, this raises a validity problem: if a text may have been produced partly

by a chatbot, it no longer shows reliably what the student can do, and teachers find it hard to tell students' own writing from generated text (Cotton et al., 2024; Fleckenstein et al., 2024). Automated detectors are therefore increasingly used in education (Turnitin, 2023), although their errors are costly: a false positive amounts to an accusation of misconduct, and widely used detectors misclassify texts by non-native writers as AI-generated at high rates (Liang et al., 2023).

In published evaluations, such detectors perform very well: in the 2025 AI vs. Human shared task on academic essays, the best systems reached macro-F1 above 0.98 (Chowdhury et al., 2025). These evaluations, however, compare fully human-written texts with texts that researchers generated from carefully designed prompts. Students' AI use in the classroom might look different, as they decide themselves whether to use a chatbot, prompt it loosely, combine its output with their own writing, or use it only for ideas. Partial use also means that AI material may be confined to individual sentences, so a useful detector should not only decide whether a text contains AI material but also where. It is unclear how detectors behave on such texts, how they treat partial AI use, and whether students could evade them with simple means.

We study these questions on the PISA 2025 FLA dataset, in which students in Germany aged 15 wrote English argumentative essays with and without access to a chatbot based on gpt-4o-mini. Keystrokes, clipboard operations and chat interactions were logged, so we can trace every character of the final essay to its origin: typed by the student, pasted from the chatbot, or retyped from it. From this provenance, we derive labels at text and sentence level that distinguish human-written (HUMAN), AI-generated (AI) and MIXED text, as well as text written after chatbot use that contains no traceable AI material (POTENTIAL_INFLUENCE, PI). Unlike labels derived from the experimental condition, e.g. if students had access to a chatbot or not, these reflect what actually ended up in the essay.

On this data, we evaluate two complementary detectors adapted from top-ranked shared-task systems: a feature-based classifier over interpretable linguistic features (Indurthi and Varma, 2025) and a classifier over frozen Llama-3.1-8B embeddings (Jiao et al., 2025). We ask:

RQ1 How well do state-of-the-art detectors identify AI-authored text in ecologically valid student writing, at text and sentence level? How do they treat text that combines AI output with the student's own writing, and text written after chatbot use that contains no copied or retyped AI output?

RQ2 What do the detectors rely on, and is it robust to changes a student could plausibly make, such as fixing or adding spelling errors, or asking the chatbot to make its text sound like a student's?

Our contributions are:

  • A benchmark of authentic student essays with provenance-based AI-authorship labels at text and sentence level, including partial and untraceable AI use. We will release the dataset under CC BY 4.0 and code upon publication.¹

  • An evaluation of two complementary top shared-task detectors on this authentic data.

  • An analysis of the detectors' robustness to realistic manipulations.