Can you tell if a text was written by AI?

Why AI detectors get it wrong, including the one OpenAI withdrew, who gets falsely accused, how watermarks hide in word choices, and what counts as evidence.

Popo
On this page

Detectors promise a percentage: "87% AI". The number looks like a measurement. For a single text it isn't one, and the company best placed to build a detector stopped offering its own.

The detector OpenAI withdrew

OpenAI released a classifier in January 2023 to identify AI-written text, and published its results on a set of difficult English texts:

AI text it caught26%
Human text it wrongly flagged9%
OpenAI's own figures. It also warned that the classifier was very unreliable on texts under 1,000 characters.

It missed about three-quarters of the AI text and flagged one human text in eleven. On 20 July 2023, OpenAI withdrew it "due to its low rate of accuracy".

Some text can't be told apart even in principle. OpenAI's example: no one can tell who wrote a list of the first 1,000 prime numbers, because the correct answer is always the same.

Why a small error rate isn't small

Nine percent may sound acceptable. Apply it to a group where most people wrote their own text:

1,000 essaysFlagged as AINot flagged
100 by AI2674
900 by people81819
Share wrongly accused81 of 107 (76%)—
Calculated with OpenAI's published rates, assuming 100 of 1,000 essays were written by AI. The fewer people use AI, the larger the share of wrong accusations.

Three out of four accusations would be wrong. Detectors sold today claim better rates, and they may have them, but the calculation stays the same. Ask for the false positive rate on texts like yours, measured by someone other than the seller.

Who gets accused

Detectors generally look for predictability: text in which each word is the one a model would expect. People writing in a second language use more common words and simpler sentences, so they look predictable too.

Researchers at Stanford tested seven detectors in 2023 on essays written by people. For US eighth-grade essays they were nearly perfect. For TOEFL essays by non-native English writers:

91 TOEFL essays, all written by people

Average false positive rate61.2%
Flagged by at least one detector97.8%
Flagged by all seven19.8%
Data from Liang et al. (2023), seven detectors, 91 essays. Detectors have changed since then, so read it as evidence of the mechanism, not of any product today.

Asking ChatGPT to enrich the vocabulary of those essays made the detectors judge them more human. The study also found that simple prompts could get AI text past detectors. So the people most likely to be caught are those who wrote plainly and made no attempt to hide anything.

Watermarks: hiding a signal in the draw

A language model draws its next token from a table of probabilities. Where several candidates are about equally good, it makes no difference to the reader which one wins. A watermark uses those moments: a secret key, together with the preceding tokens, tilts the draw slightly. No single word gives it away, but across a long passage, anyone with the key can count that the tilted choices come up too often to be chance.

Google DeepMind published such a method, SynthID-Text, in Nature in October 2024. It uses what the authors call tournament sampling: candidate tokens are drawn from the model's probabilities and compete in rounds judged by functions that depend on the key. It can be set so that text quality is preserved.

The limits follow from how it works:

  • It finds text only from a model that added the watermark, and only for those with the key.
  • It needs length, and choices. A short answer or a factual list offers few equal alternatives.
  • Rewriting or translating weakens it.
  • No watermark found doesn't mean a person wrote it.

What you can rely on

Detector

Guesses from the style

Works on any text, unreliably

No proof either way

Watermark

Put there by the provider

Only finds that provider’s text

Heavy rewriting removes it

Provenance

Drafts, edit history, sources

Depends on the author keeping them

The strongest evidence

Three ways to answer the question. Only the third says anything about how a particular text came about.

Tell-tale words and punctuation are weak evidence too. Models learned their habits from people, people pick up habits from models, and a prompt can remove any of them.

  • If you have to judge a text: look at what it claims. Invented references and confident errors are typical of models and worth raising whoever wrote them. Talk to the author about the content. Don't treat a score as proof.
  • If you might be judged: keep drafts, notes and version history. Writing in an editor that saves versions is enough.
  • If a score is used against you: ask which tool, what its false positive rate is, and on what kind of text that was measured.