TL;DR
Current AI-text detectors excel at distinguishing purely human essays from purely AI-generated ones, but they struggle with the "messy" reality of authentic student writing. This study uses keystroke-level data to show that while state-of-the-art detectors are reliable at the whole-text level, they are surprisingly fragile at the sentence level and can be easily evaded by simple "write like a student" prompts.
What Problem Does This Paper Address?
Most research on AI detection relies on "clean" datasets: researchers prompt an AI to write an essay and compare it to a human-written one. In the classroom, however, AI use is rarely all-or-nothing. Students might use a chatbot for brainstorming, copy-paste a single paragraph, or retype AI suggestions with minor edits.
This creates a "grey zone" of mixed-authorship text. If a detector is used to make high-stakes decisions about academic misconduct, we need to know:
- How do detectors handle partial AI use?
- Can they locate where the AI material is within a mixed essay?
- Are they robust against simple student-led evasions, like adding spelling errors or asking the AI to "sound younger"?
Methods
The authors evaluated two top-performing detection strategies from recent shared tasks:
- Feature-based (XGBoost): This model uses 85 interpretable linguistic features (NELA set), covering style, lexical complexity, bias, and affect.
- Embedding-based (RFCN): This approach uses a frozen Llama-3.1-8B model as a feature extractor. The text's embeddings are passed through a Refined Feature Classification Network (a compact CNN).
To create a "ground truth," the researchers used the PISA 2025 FLA dataset. Because this dataset includes keystroke and clipboard logs, the authors could trace every single character to its origin: typed by the student, pasted from the chatbot, or retyped from the chat window. This allowed them to create precise labels at both the text and sentence levels.
Datasets
The primary dataset is the PISA 2025 FLA, featuring 3,303 argumentative essays written in English by 15-year-old students in Germany.
- Conditions: Students wrote one essay with access to a
gpt-4o-minichatbot and one without. - Labels: Beyond simple "AI" or "Human," the authors introduced MIXED (partially AI) and POTENTIAL_INFLUENCE (PI) (text written after using the chatbot but containing no traceable copied/retyped material).
Key Insights and Ideas
- The "Lexical Complexity" Trap: The feature-based detector relies heavily on the fact that AI-generated text is generally more "sophisticated"—using longer words and more complex punctuation. However, this is a fragile signal. A single prompt asking the AI to use simpler language can effectively "blind" this type of detector.
- Embeddings are More Robust (Mostly): The Llama-based detector was remarkably resilient to style-level rewriting at the text level, maintaining high recall even when the AI was prompted to sound like a student. This suggests it captures deeper structural properties of LLM output that survive surface-level changes.
- The Sentence-Level Struggle: Detecting AI at the sentence level is much harder. While the embedding-based model performed well on original sentences, its performance tanked when those sentences were rewritten by a different model (like Qwen3).
- Spelling is a Red Herring: Teachers often report using the absence of spelling errors as a cue for AI. The study found that automated detectors don't actually rely on this; correcting human errors or adding errors to AI text had almost no impact on the models' accuracy.
Key Results
On the core task of separating 100% human from 100% AI text, both models performed excellently at the text level, with macro-F1 scores of 0.95 (XGBoost) and 0.96 (RFCN).
However, the "grey zone" proved difficult. When tested on POTENTIAL_INFLUENCE texts, both models classified them as human-written ~95% of the time. This suggests that using AI for "ideas" or "language help" without direct copying leaves no detectable footprint.
The most dramatic finding came from the rewriting experiment. When AI text was rewritten with a "STUDENT" prompt, the feature-based model's recall dropped from 0.92 to 0.60. In contrast, the embedding-based RFCN maintained a recall of 0.99 at the text level, though it dropped to 0.90 at the sentence level.
Limitations and Future Work
- Single Model Bias: All AI text in the original dataset was generated by
gpt-4o-mini. While the authors tested robustness usingQwen3, the training was model-specific. - Manual Thresholds: The "gold labels" rely on manually set similarity thresholds (e.g., 90% similarity for retyping), which might miss more creative paraphrasing.
- The "PI" Mystery: The study confirms that "Potential Influence" (using AI for ideas) is invisible to current detectors. Future work needs to investigate what exactly happens in the student's writing process after they interact with a chatbot.
The authors conclude with a warning: AI detectors should not be used as standalone evidence for misconduct, especially given their uncertainty regarding mixed and rewritten text.
Summary updated