Blog · 2026-10-13

How TextWitness decides whether a text was written by AI

Every check answers two questions, in order. First: does this text look like AI writing? Then, only if it does: which AI family does it resemble most? Here is how each step works, and where it stops.

Step 1: does it look like AI writing?

We trained a reading model on tens of thousands of examples. Half of them are texts written by people, mostly from before AI chat assistants existed: books, news articles, encyclopedia entries, parliamentary speeches, emails, forum answers. The other half are texts written by current AI models (Claude, GPT, Gemini, Qwen, DeepSeek, Kimi, GLM, Llama, Mistral and others) on the same topics and prompts.

Because both halves cover the same topics, the model can't take the shortcut of "AI writes about X". It has to learn how the text is written: word choice, rhythm, how sentences are built, how ideas are ordered. No single habit proves anything. The model weighs hundreds of them together.

When you check a document, we cut it into pieces of about 400 words. Each piece gets a score between 0 and 1, and the document score is the average. The report shows the score for every piece, so you can see where a document looks AI-written, not only whether it does.

Where we draw the line

A score alone means nothing until you know how often human writing reaches it. So we set the bar on thousands of human texts the model had never seen, separately for English, German, French and Italian, so that only about 1 in 400 human texts would cross it. Then we checked that bar again on a second, different set of human texts:

Language Human texts tested Wrongly flagged
English 3,867 8
German 3,375 4
French 1,875 2
Italian 2,250 3

That gives three possible answers:

A document where only some pieces cross the bar gets indication in part, with those pieces highlighted.

When we don't answer

Some texts are too short, too repetitive or in a language we don't support. Those get inconclusive instead of a guess. For English there is also a second, independent check (called Binoculars) that looks at how predictable each word is to a pair of language models. If the two checks clearly disagree, the report says inconclusive too.

Step 2: which AI family? (experimental)

For a text flagged as AI, a second model compares its style with the AI families it has learned. It only names a family when it is very confident: at the confidence we require, the family it named was right 95 times out of 100 in our tests. Otherwise the report says "inconclusive" and lists the closest families.

The report always says "most similar to Claude", never "written by Claude". A brand-new model version, or a text rewritten by a second AI, can look like a different family. More on that in Which AI wrote this?.

What a check does not do

Full numbers, sample sizes and known weak spots are on the methodology page. Want to see real checks? See the examples.