Skip to the content
Scored 0.47 at telling human from LLM text; a coin flip scores 0.50

The check built for unseen models scored below chance

Arslan Rakhmatullin

Platform architect, as an outside expert or on your team. Let’s talk

One check in writehuman was meant to catch habits of models it had never seen. On 15 held-out English sets it did no better than a coin flip. AUROC measures how well a score separates human from LLM text: 1.0 is perfect, 0.50 is a coin, and this check scored 0.47., source: how-it-works.md line 130

writehuman lints machine-sounding prose. It compares a draft with about 2.8 billion tokens people wrote before ChatGPT came out on November 30, 2022, and with about 42 million tokens from 11 model families. When LLMs use a word, phrase or sentence shape far more often than people did, it marks the spot and gives the ratio. The findings add up to a score per 100 words. It runs offline and calls no model.

How the score was measured

No benchmark set feeds the packs, the style model or the style weight. Held-out means something a little different for each source. LLMTrace has a test split whose topics don’t overlap the train split, which gives eight domains. HAP-E pairs the human continuation of a passage with LLM continuations of the same passage. Openings are split by a hash of their name: the build counts those below 40 out of 100, and the bench gets the rest, in six genres. SAGE gives one domain the build leaves out, Medium articles against GPT-4.1, Claude 3.7 Sonnet and Gemini 2.5 Flash., source: bench.py line 30

A set has 120 texts per class by default, 60 for HAP-E and SAGE. The 5% false positive line is drawn per set. It is the score that leaves 5% of that set’s human texts above it. Detection is the share of LLM texts above the line., source: bench.py line 238

Averaged over the 15 sets, detection is 90% and AUROC is 0.96., source: how-it-works.md line 169 The hardest sets were LLMTrace paper abstracts at 0.85 and factual answers at 0.91. In the SAGE set every LLM text scored above every human text.

The line the tool ships is a different one. The verdict uses one cut-off per language, set on 1,380 human texts from these same sets. By design a quarter of them miss “human-like” and a tenth come out “llm-like”.

The check that failed

Rare word pairs work unlike the rest. The lab takes the 16,000 most frequent content lemmas and asks, for each pair of neighbours, how often chance alone would put them side by side in the human corpus. If chance says at least 5 times and people wrote the pair at most a twentieth as often, the pair is rare. Take “quiet win”. Chance says about 11 times. People almost never wrote it.

No LLM text goes into this test. So it could flag habits of models that are missing from the corpus, and that was the point of it.

On prose it does not work. People write more unusual pairs than models do, and the rate per 100 words lands just under chance.

Coding agents are the exception. Their answers hold about ten times as many rare pairs per 100 words as Stack Overflow posts. On held-out agent answers the rate alone reaches an AUROC of about 0.80–0.83. Those answers come from local Claude Code logs, which hold private chats, so the public benchmark leaves them out.

The pairs stay out of the score. The agent gets them as hints, with a message to keep a pairing if it was deliberate., source: engine.ts line 65

What to copy

  • Score each check alone before it joins the total. The bench prints an AUROC per detector, and that column is where the pairs showed 0.47.
  • Hold out whole topics or openings, not random rows. A hash of the group name gives the same split every time.
  • Say which threshold your headline number uses. Here the 90% comes from a line drawn per set, while the shipped verdict flags a tenth of human benchmark texts.

Counting English takes about 15 minutes on a 12-core laptop once the downloads are done, and the English corpus needs about 12 GB of disk. The bench, the docs and every threshold are in the repository.

Sources

  1. The rare-pair measurement. how-it-works.md:130
  2. The 40 must match build.py. bench.py:30
  3. The threshold comes from each set’s own human scores. bench.py:238
  4. All 15 English sets. how-it-works.md:169
  5. Rare pairs and the em dash are not scored. engine.ts:65