Skip to content
xgens.ai

How AI detectors actually work

A detector never sees who typed the words. It only sees the words, and asks one question about them: how much does this look like the text a language model would produce?

Maya Lindqvist
Maya Lindqvist

October 26, 2026 · 4 min read

Lines of colorful code on a dark screen
Photo: @markusspiske / Unsplash

Key takeaways

  1. Detectors measure statistical patterns in text. They have no record of who wrote it or which tool was used.
  2. The two ideas behind most of them are predictability (how expected each word is) and variation (how much sentences differ from each other).
  3. A score is a probability estimate, so some human writing will always land on the wrong side.
  4. Short texts, formulaic genres and heavily edited drafts are where detectors are least reliable.

There is no fingerprint

A common assumption is that AI text carries a hidden mark, and a detector simply reads it. Ordinary output from a chatbot has no such mark. Watermarking schemes exist in research and in some products, but a detector you paste text into generally cannot rely on one being present.

What a detector has is the text itself. Everything it concludes comes from patterns in word choice, sentence structure and rhythm. That is why the same tool can be right about one essay and wrong about the next: it is making an inference, not looking something up.

Idea one: predictability

Language models write by repeatedly choosing a likely next word. The result tends to be text where each word is, statistically, an unsurprising continuation of the words before it. Researchers call the measure of this surprise perplexity. Low perplexity means the text was easy to predict.

People are less tidy. We reach for an odd word, change direction mid-sentence, refer to something only we know about. Those choices raise perplexity. A detector that scores predictability is betting that very smooth text is more likely to be machine-written.

A computer screen filled with lines of code
A detector works from patterns in the text, the way software reads any other data. · Photo: @cdr6934 / Unsplash

Idea two: variation between sentences

The second signal is how much a text varies from one sentence to the next, sometimes called burstiness. Human drafts tend to mix a long, winding sentence with a short one. Model output often keeps a steadier length and a steadier level of complexity throughout.

This is the signal you can see with your own eyes. Read a paragraph aloud. If every sentence lands with the same weight, it will sound flat to a reader and look uniform to a detector. We go into the fix in Sentence rhythm: the simplest fix for flat prose.

What modern detectors add: trained classifiers

Most current detectors go beyond those two measures. They train a classifier, a model shown many examples of human writing and many examples of generated writing, which learns to separate the two. The classifier picks up subtler habits: favorite transitions, how paragraphs open, how often claims are hedged.

A classifier is only as good as its examples. If it was trained mostly on English news and essays, it will be less sure-footed on a chemistry lab report, a poem or a text in another language. This is the reason we build and release detection one language at a time rather than stretching a single model across all of them.

ApproachWhat it looks atWhere it struggles
PredictabilityHow expected each word isFormulaic human writing
VariationHow much sentences differWriters with a naturally even style
Trained classifierPatterns learned from examplesGenres and languages it rarely saw

Where detectors are weakest

  • Short text. A few sentences give too little evidence. Scores on short passages swing widely.
  • Edited text. A generated draft that a person rewrote, or a human draft polished by a grammar tool, sits between the two categories.
  • Formal registers. Academic and business prose follows conventions that reduce variation.
  • New models. Detectors are trained on output from models that already exist. Each new generation writes a little differently.

The limits are not hypothetical. In 2023 OpenAI withdrew its own AI text classifier, saying its accuracy was too low. Building a reliable detector is hard even for the company that built the generator.

How to use a detector sensibly

Treat the result as one piece of evidence. A high score on your own writing does not mean you did anything wrong; it means your text shares surface features with generated text. Look at which sentences drive the score, and ask whether they are also the weakest sentences as writing. Often they are.

If you want to see this on your own draft, run it through the detector and read the sentence-level breakdown rather than the headline number. For what that number does and does not mean, see What an AI detection score does and doesn't tell you.

Questions people ask

Can a detector tell which AI model wrote a text?

Not reliably. Detectors estimate whether text looks generated at all. Different models write similarly enough that naming a specific one is guesswork.

Does a detector keep a database of AI outputs to compare against?

No. Chat responses are generated fresh each time and are not published anywhere to look up. Detection is based on patterns in the text you submit.

Why do two detectors give different scores for the same text?

They were trained on different examples and weigh signals differently. Disagreement between tools is normal and is a good reason not to treat any single score as proof.

Is longer text scored more reliably?

Generally yes. More sentences give the detector more evidence, so scores on a full essay are steadier than scores on a single paragraph.

Sources

  1. OpenAI — New AI classifier for indicating AI-written text (with the 2023 discontinuation note)
Maya Lindqvist

Written by

Maya Lindqvist

Detection & methodology

Maya writes about how AI detectors are built and tested — what the scores measure, where they break, and how to read a result without over-trusting it.

Keep reading

A typewriter with a sheet of paper reading 'Write something'

Editing & Revision

Sentence rhythm: the simplest fix for flat prose

When every sentence has the same length and shape, writing sounds mechanical. Here is how to hear the problem and vary rhythm without decorating your prose.

Lucas Ferreira

Lucas Ferreira

Oct 20, 2026 · 4 min read

See how your own text reads to a detector

Paste a draft and get a score with a sentence-by-sentence breakdown. Use it as one signal while you revise, not as a verdict.

Open the AI detector
  • No sign-up for your first checks
  • Sentence-level breakdown
  • Your text is not stored