How AI Essay Detectors Work (And Why They're Not Perfect)
Tim · SUS IT Editorial Team
Tim is a software engineer and AI researcher with a focus on detection methodologies.
The statistical methods behind AI text detection — perplexity, burstiness, and why even the best detectors have false positives on human writing.
AI writing detectors have become a standard part of educational and editorial workflows. Tools scan student submissions for ChatGPT and Gemini signatures, publishers check manuscripts for AI-written sections, and platforms screen for AI-generated spam. But how do these systems actually work, and why do they sometimes flag human writing as AI-generated? Understanding the mechanics helps you use these tools appropriately and avoid treating a probabilistic score as a definitive verdict.
The Core Problem: Text Is Just Statistics
Natural language is fundamentally a statistical phenomenon. Every word choice, sentence structure, and paragraph rhythm reflects patterns learned from reading and experience. AI language models are trained on vast amounts of human-written text, which means they learn to produce statistically plausible human language — which is, unfortunately, exactly what makes them hard to detect. The challenge for detection systems is finding the subtle statistical differences between human-generated and AI-generated text that persist across different topics, styles, and contexts.
Perplexity: How Predictable Is Each Word?
The most widely used metric in AI text detection is perplexity — a measure of how surprised a language model is by each word given the preceding context. Human writing tends toward higher perplexity: we make unexpected word choices, introduce novel ideas, use idioms or domain jargon in specific ways, and take linguistic risks that a statistical model would assign low probability. AI-generated text, being produced by a system trained to maximize likelihood, tends toward lower perplexity: word choices that are contextually appropriate, common, and predictable. A sustained passage of low-perplexity text is a signal that a language model may have produced it.
Burstiness: How Much Does Complexity Vary?
The second major signal is burstiness — the variability in sentence length, structure, and complexity within a passage. Human writing naturally "bursts": a long complex sentence followed by a short one, a paragraph of dense technical content followed by an analogy, a formal statement followed by a casual aside. AI language models tend toward consistent complexity — each sentence is generated somewhat independently with similar depth and structure, producing text that flows smoothly but lacks the jagged, human quality of natural thought. Detection systems measure the statistical variance in these properties across the text.
Why These Metrics Aren't Foolproof
The problem with perplexity and burstiness as detection signals is that they are properties of text, not of authorship. Formal academic writing — precisely the kind students are asked to produce — tends toward low perplexity and low burstiness by design. An engineering report, a legal brief, or a scientific methods section is supposed to be clear, predictable, and consistently structured. These are characteristics of good formal writing, not of AI generation. Multilingual writers, who may not use the full idiomatic range of their second language, also tend to produce more statistically predictable text. False positives are not a sign that the detector is broken — they are an inherent consequence of applying statistical measures to a domain where the statistics legitimately overlap.
The Training Data Problem
AI text detectors are trained on datasets of known-human and known-AI text. The quality and diversity of these datasets fundamentally limits detection accuracy. A detector trained primarily on ChatGPT 3.5 outputs may not generalize well to Claude 3.5 or GPT-4o outputs, which have different statistical properties. A detector trained on English text may not work well for other languages. Detectors must continuously retrain on new model outputs to maintain their accuracy as generative models improve, and there is always a lag between a new model's release and a detector's ability to reliably identify its output.
Zero-Shot vs. Fine-Tuned Detection
Some detection systems use "zero-shot" approaches: they apply a pre-trained language model directly to estimate perplexity without task-specific training. Others fine-tune a classifier specifically for AI detection using labeled examples. Zero-shot methods tend to be more transparent (you can understand exactly what they're measuring) but less accurate. Fine-tuned classifiers can achieve higher accuracy on their training distribution but may overfit to specific model families. The best detection systems combine multiple approaches and provide calibrated confidence estimates rather than binary verdicts.
What a Responsible Detector Does
A responsible AI text detection tool does several things: it reports a score with an associated confidence level, not just a binary flag; it highlights the specific passages that contributed most to the score, allowing for targeted review; it acknowledges the known failure modes and communicates them to users; and it recommends human review for any consequential decision. SUS IT's document analysis provides justification text explaining which patterns triggered the detection result, so users can evaluate the reasoning rather than just accepting a number. Detection without explanation is a black box that invites misuse.
What To Do With a Detection Result
If you receive a high AI-likelihood score on text you know you wrote, the next step is targeted revision: add more personal perspective, increase sentence length variation, use more domain-specific language and concrete examples from your own experience. Running the revised text through the detector again lets you see which changes reduced the statistical similarity to AI output. If you are an educator or editor who receives flagged content from someone else, treat the score as a prompt for conversation, not a verdict. Ask the author about their process, review the flagged passages, and look for additional evidence before drawing conclusions.