PaperBleachPaperBleach
logo

Stylometry 101: How AI Detectors Fingerprint Writing Style Without Any Training Labels

P
Paperbleach

01 Dec 2024

You leave fingerprints in your writing without knowing it. Not the obvious stuff — your favorite topics or your big vocabulary — but the boring reflexes: how often you reach for “the,” where your commas land, whether your sentences sprint or sprawl. Stylometry is the study of those reflexes, and it’s quietly one of the oldest tricks now baked into AI detection.

Key takeaways

  • Stylometry measures the tiny, unconscious habits in writing — how often you use “the,” where you put commas, how long your sentences run — and uses them to tell authors apart.
  • Most of these features are things you don’t choose on purpose, which is exactly why they’re hard to fake and useful for fingerprinting.
  • The technique predates AI by decades; it settled authorship of the disputed Federalist Papers in 1963 using nothing but word-frequency counts.
  • Some stylometry needs no training labels at all — it just clusters texts by similarity, so it doesn’t have to be retrained every time a new AI model ships.
  • It measures style, not authorship. A shared style can pull very different writers into the same bucket, and that’s where false positives come from.

What stylometry actually measures

Start with the thing that surprises people: the most useful signals are the words you’d never think to count.

Function words. The little connective tissue of a sentence — “of,” “and,” “to,” “in,” “that,” “a.” They carry almost no topic meaning, which is the whole point. You can’t deliberately manage how often you type “the” across a 2,000-word essay. Nobody can. So the rate at which they show up acts like a tic: automatic, stable, and pretty distinctive from one writer to the next.

Stylometry stacks up dozens of features like that:

  • Function-word frequencies — the rate of “the,” “of,” “but,” “however,” and so on.
  • Sentence and word length — averages, but also the spread. Do your sentences clump around one length or swing wildly?
  • Punctuation habits — semicolon lovers versus em-dash people versus comma-splicers.
  • Character n-grams — short letter sequences like “tion” or “ing ” that capture spelling, morphology, and rhythm at once.
  • Vocabulary richness — the type-token ratio, roughly how many different words you use per total words.

None of these cares what your essay is about. That’s the magic and the menace. Topic changes constantly; the way you wire sentences together barely moves.

The trick predates AI by sixty years

Here’s the part that reframes the whole “AI detection” conversation: this isn’t new tech bolted onto the chatbot era. It’s a borrowed solution.

In 1963, statisticians Frederick Mosteller and David Wallace tackled a genuinely old fight — which of the disputed Federalist Papers were written by Alexander Hamilton and which by James Madison. They didn’t read for argument or theme. They counted function words. Madison, for instance, used “upon” far less often than Hamilton did. By measuring the rates of a few dozen of these throwaway words and running the numbers, they assigned the disputed essays with striking confidence.

No machine learning. No training labels in the modern sense. Just counting and statistics. That study is one of the founding moments of computational authorship attribution, and the logic running underneath today’s style-based detectors is the same: writers have measurable habits, and habits cluster.

How this becomes AI detection — without training labels

The phrase “without any training labels” isn’t a gimmick. It points at a real distinction in how these systems work.

A supervised detector learns from a labeled pile of “human” and “AI” texts and builds a classifier — powerful, but brittle, since a new model that writes a little differently leaves the old training set stale. Unsupervised stylometry skips the labels entirely. The recipe is almost stubbornly simple:

  1. Turn every text into a vector — a list of numbers, one per feature (function-word rates, comma frequency, average sentence length, n-gram counts, and so on).
  2. Drop all those vectors into a high-dimensional space.
  3. Measure distance. Texts with similar habits sit close together; different habits sit far apart.
  4. Cluster the points and see what groups form.

That’s it. The Federalist analysis was a hand-cranked version of exactly this; the modern version just runs the distance math across hundreds of features at once.

So how does this catch AI? Machine text tends to land in a tight region of that space — smooth sentence lengths, conventional function-word rates, even punctuation, middling vocabulary richness. Human writing scatters more widely. A detector doesn’t need a label saying “this is GPT-4o output”; it just notices that a passage sits on top of the dense, generic cluster where machine text pools. The probability-based view of the same flatness shows up in perplexity and burstiness, and it’s worth reading the statistics behind perplexity and burstiness next to this feature-counting view.

Where stylometry breaks

Here’s the crack in the whole approach, and it isn’t an edge case. Imagine two essays on the same prompt: one is a flat, evenly measured AI draft, the other a careful human who writes in short, plain, consistent sentences. Their feature vectors can land almost on top of each other. The detector flags both — and it can’t tell you which is which.

Style isn’t identity. Stylometry measures a style; we then infer an author. Those aren’t the same thing. Plenty of humans write in the smooth, conventional register machines default to — technical writers, lawyers drafting boilerplate, students coached to “keep it simple.” Their profiles can sit squarely in the AI cluster while being entirely human.

It penalizes non-native English writers. This is the failure that should bother everyone. A 2023 Stanford study by Liang and colleagues, published in Patterns, found that GPT detectors are biased against non-native English writers. Across 91 TOEFL essays by non-native speakers, seven popular detectors produced an average false-positive rate of 61.22% — flagging most of those essays as AI — while correctly classifying more than 90% of US eighth-grade essays as human. The mechanism is exactly what stylometry predicts: a smaller working vocabulary and more conventional phrasing make a flatter, more average profile, and a flat profile reads as machine.

Editing scrambles the signal. Because the features are habits, heavy editing changes them. Rewrite an AI draft with real revision — vary the lengths, add specific detail, break the parallelism — and the feature vector drifts away from the machine cluster. That’s not a cheat; it’s what genuine editing does, and it means a confident-looking score can be wrong in either direction.

Even OpenAI couldn’t make detection reliable. The company launched its own AI-text classifier in January 2023 and quietly retired it that July, citing its low rate of accuracy. If the people who build the models can’t dependably detect their output, no style-based tool deserves to be treated as proof.

What this means for your writing

Two honest takeaways. First, if you got flagged, the mechanism is your defense: a style match is a statistical similarity, not an accusation that survives scrutiny. A probability isn’t evidence on its own, and you can explain exactly why a plain, careful, or non-native profile lands near the machine cluster.

Second, if you want writing that reads as you, don’t forge a profile — make your real habits show up. Vary sentence length on purpose. Follow a long sentence with a blunt one. Use the specific word, the odd detail from your own experience that no average corpus would predict. That pushes your feature vector out of the bland center, because it makes the writing genuinely less uniform. You can browse the rest of the blog for the writer-facing version of these moves, and compare plans if you ever want paid options.

Frequently asked questions

Is stylometry the same as perplexity and burstiness?

No, though they overlap. Perplexity and burstiness ask a language model how surprised it is by your words, so they need a model running underneath. Classic stylometry just counts features directly — function words, comma rates, sentence lengths, character n-grams — and compares those counts between texts. No language model required. Many modern detectors blend both, measuring related things with different machinery.

Can stylometry really work without any training labels?

Yes, in its unsupervised form. Instead of learning from a labeled pile of “human” and “AI” examples, it turns each text into a vector of feature counts and clusters those vectors by similarity. Texts that share habits land near each other — that’s how the Federalist Papers were settled in 1963, no labels, just statistical distance between word-frequency profiles. The catch: clustering tells you which texts are similar, not who wrote them or whether a machine did.

If these features are unconscious, can I change them on purpose?

Partly. You can vary sentence length, swap in concrete examples, and break stiff parallel structures — and that genuinely shifts your fingerprint, because it changes real habits. What’s hard is faking someone else’s profile precisely, since function-word rates and punctuation reflexes are deeply automatic. The honest goal isn’t to forge a profile; it’s to make sure your own voice shows up instead of getting flattened into the generic AI average.

Why does my plain, clear writing get flagged?

Because clarity and consistency look, statistically, a lot like a machine. Keep sentences short and uniform, lean on common words, punctuate predictably, and your profile sits close to the smooth average style AI defaults to. The detector isn’t judging quality — it’s measuring distance from a pattern. Careful technical writers, beginners, and non-native English writers all get caught for the same reason.

Is a stylometric match proof that AI wrote something?

No. Stylometry produces a similarity score or a probability, not a verdict — that’s correlation, not authorship. Detectors have wrongly flagged human writing, and the 2023 Stanford study found them biased against non-native English writers. Treat any style-based score as one signal among several, never as standalone proof.

The short version

Stylometry counts the habits you don’t know you have and sorts writing by the distances between those profiles. It’s clever, it’s old, and it runs without a single training label — but it measures style, not authorship, which is why plain, careful, and non-native writing keeps landing in the same net as the machines.

Curious where your own draft lands? Run a draft through the free checker and watch which sentences light up. The flagged ones are usually the flattest and most generic — which tells you exactly where your real voice went missing.

Try it on your own text

Paste your draft into PaperBleach to humanize AI text so it reads naturally — then check your score against built-in AI detection. Free on your first run.