Research

Can writing style identify an author? Stylometry from the Federalist Papers to LLMs, for Canadian educators

Sixty years of authorship-attribution research, read carefully: what stylometry does reliably, the 76.5% state of the art, and why the field's own surveys say LLMs have blurred the line it relies on. What that means for Canadian integrity cases.

Published 2026-11-01 · 7 min read

Papers reviewed5
Fields coveredNLP, forensic linguistics
Field foundedMosteller & Wallace's Federalist Papers study (1963)
State of the artBest model class reaches an "average macro-accuracy of 76.50%" across attribution tasks (Tyo et al., 2022)

What this review covers

Well before anyone asked "did an AI write this?", researchers were asking "did this person write this?", and they built a whole discipline around answering from style alone. Stylometry measures the habits a writer cannot easily hide: how often function words appear, the rhythm of sentence lengths, punctuation choices, character n-grams. It is the forerunner of every AI detector, and its sixty-year record is the best evidence we have for what identification by style can and cannot do.

This review reads five documents: the most rigorous recent benchmark-of-benchmarks in the field (Tyo, Dhingra & Lipton, 2022), the main survey of authorship attribution in the LLM era (Huang, Chen & Shu, 2024, revised 2026), the paper that first showed where stylometry fails against machine text (Schuster et al., 2019), an EMNLP 2024 study of whether LLMs can do attribution themselves, and, for the historical note only, the tertiary record of the field's founding result. Every quotation is word for word from the linked source, checked on the asOf date.

Why it belongs in a provenance research section: "compare the submitted essay with the student's earlier work" is a stylometric claim, and Canadian colleges and universities considering it in a misconduct process should know what the research says about its accuracy.

Where the field comes from

The origin story is genuine and can be checked. Tyo et al.'s survey gives the date precisely:

"Computer-assisted stylometry first emerged in the early 1960s, when Mosteller and Wallace 1963 explored the foundations of computer-assisted authorship analysis."

The problem Mosteller and Wallace solved is the field's founding story. According to the tertiary record (Wikipedia, cited here only for this historical note): "One notable early success was the resolution of disputed authorship of twelve of The Federalist Papers by Frederick Mosteller and David Wallace." Twelve essays, claimed by both Hamilton and Madison for 150 years, were attributed using statistics on the writers' unconscious word-rate habits, a result historians largely accepted.

Huang, Chen & Shu's survey traces what came after:

"Stylometry, the quantitative analysis of writing style, has evolved from its initial reliance on human expertise (Mosteller and Wallace, 1963) to computational methods..."

Notice the shape of that founding problem, because it marks out where stylometry is strong: a closed set (exactly two possible authors), large samples of undisputed text from each, and a shared genre (political essays from the same project). Most of the field's later failures come from leaving one of those three conditions behind.

Tyo et al. (2022): the honest state of the art

The most useful accuracy figures come from Tyo, Dhingra & Lipton's "On the State of the Art in Authorship Attribution and Authorship Verification," a re-evaluation that ran the leading families of methods on a standardized set of tasks. (Attribution: which of these candidate authors wrote this? Verification: did this particular author write this?)

The headline, word for word:

"Surprisingly, we find that a traditional Ngram-based model performs best on 5 (of 7) AA tasks, achieving an average macro-accuracy of 76.50% (compared to 66.71% for a BERT-based model). However, on the two AA datasets with the greatest number of words per author, as well as on the AV datasets, BERT-based models perform best."

Three takeaways:

  • The ceiling sits around 76.5%, averaged across attribution tasks, for the best class of method, after sixty years of work. That is well above chance, and well short of the certainty a misconduct finding calls for.
  • Older methods beat newer ones when data is scarce. Character n-grams won 5 of 7 tasks; deep models only came out ahead "on the two AA datasets with the greatest number of words per author." Identifying style needs a lot of data: what decides the result is how much text you have per author, and for a student with a few earlier essays, that is very little.
  • The field's own evaluation practices are a problem. The authors note that "inconsistent dataset splits/filtering and mismatched evaluation methods make it difficult to assess the state of the art," echoing the shared-benchmark problem in AI detection (see RAID and M4).

Schuster et al. (2019): where stylometry breaks against machines

Before ChatGPT, Schuster et al. asked whether stylometry could catch machine-generated misinformation. Their answer set the boundary AI detection has lived with ever since. Word for word from the abstract:

"we show that stylometry is limited against machine-generated misinformation. While humans speak differently when trying to deceive, LMs generate stylistically consistent text, regardless of underlying motive. Thus, though stylometry can successfully prevent impersonation by identifying text provenance, it fails to distinguish legitimate LM applications from those that introduce false information."

That is the most important passage in this review, so take it apart. Stylometry works on people because style leaks out without the writer meaning it to: a person who is deceiving writes measurably differently from one who is not. A language model has no such leak; its style stays the same whatever its "motive." Style can tell you which pen wrote the text, not why, and with machine text it is less and less able to tell you even whose pen, because the machine writes in everyone's style and no one's.

Huang, Chen & Shu (2024): attribution in the LLM era

The current reference survey states the field's new situation plainly:

"LLMs have blurred the lines between human and machine authorship, posing significant challenges for traditional methods."

and:

"LLMs can emulate human writing so closely that they pose significant challenges to traditional stylometric techniques."

The survey is also frank about engineering problems that were unsolved before LLMs arrived. On what a usable attribution system needs:

"Generalization requires the ability to generalize across various domains, while explainability emphasizes providing transparent and understandable insights..."

Transfer across domains, such as recognizing an author's lab report from their personal essays, remains hard; the survey cites earlier work that "concluded that topic diversity and dataset size are crucial for effective cross-domain transfer." A student's earlier writing seldom offers either. In Canada the gap can be wider still: a student in a bilingual program, or one moving between French and English courses, may have prior work in a different language altogether, which takes the comparison even further from benchmark conditions. And on the adversarial back-and-forth:

"As detection methods advance, adversarial attacks also evolve to bypass these measures, creating a continuous cycle of challenge and response in the quest to distinguish and disguise authorship..."

A companion study from the same group, "Can Large Language Models Identify Authorship?" (EMNLP 2024 Findings), tested whether LLMs can do zero-shot attribution themselves, motivated by what is at stake: "The ability to accurately identify authorship is crucial for verifying content authenticity and mitigating misinformation." The experiments test verification and attribution within pools of ten to twenty candidate authors: closed sets, like every strong stylometry result since 1963.

The literature, side by side

SourceQuestionFinding
Mosteller & Wallace 1963 (via Tyo et al.; Wikipedia for the historical note)Hamilton or Madison? (2 candidates, large corpora)The success that founded the field; the model for when stylometry works
Tyo et al. 2022best current accuracy across standardized tasks76.50% macro-accuracy (n-grams) vs 66.71% (BERT); deep models win only with plenty of text per author
Schuster et al. 2019can style catch machine-generated deception?"stylometry is limited against machine-generated misinformation"; style identifies the pen, not the motive
Huang, Chen & Shu 2024 (survey)state of the field under LLMs"LLMs have blurred the lines between human and machine authorship"; cross-domain transfer and explainability unsolved
Huang, Chen & Shu 2024 (EMNLP Findings)can LLMs do attribution themselves?tested on closed sets of 10–20 candidates: the classical setting, now with new models

What the literature does and does not establish

Established:

  • Stylometry really does work in its home ground: closed candidate sets, a good amount of undisputed text per author, matching genre. The Federalist result and six decades of replication are real.
  • The honest state-of-the-art figure, measured across standardized attribution tasks, is about 76.5%: strong evidence, far from certainty, and reached by simple n-gram models except where per-author data is unusually plentiful (Tyo et al.).
  • Accuracy depends more on how much earlier text there is per author than on how sophisticated the model is (Tyo et al.).
  • Against machine-generated text, the field's own papers say the signal weakens: models "generate stylistically consistent text, regardless of underlying motive" (Schuster et al.), and LLMs "can emulate human writing so closely that they pose significant challenges to traditional stylometric techniques" (Huang, Chen & Shu).
  • Attribution across domains, matching an author across genres, is still an open problem that depends on "topic diversity and dataset size," which typical real-world samples lack.

Not established:

  • That comparing styles can reliably settle an individual integrity case. No paper in this set evaluates the realistic classroom situation: one disputed essay, a few earlier samples in other genres, an open set (the "other author" could be any LLM, any person, or a mix), and a writer whose style legitimately changes between drafts, topics and years of study.
  • Any particular error rate for claims that "this essay doesn't match the student's previous work." The 76.5% figure comes from curated closed-set benchmarks; the literature reviewed here offers no validated figure for the education misconduct setting.
  • That LLM-assisted attribution escapes the classical limits; the current experiments still use closed sets of 10–20 candidates.

Why this matters for provenance

Stylometry is what "we compared it with your previous essays" actually amounts to, and its own literature values that evidence honestly: strong in a closed world of two candidates with plenty of text, about 76% on standardized benchmarks, and openly challenged by models that write "in everyone's style and no one's." Like the detectors that grew out of it, it infers the past from the finished artifact. A process record does not infer; it was there. See what writing provenance is, how to read a process record, and keystroke logging and writing-process research, the branch of this literature that measures the act of writing rather than what it leaves behind.

Related reading: how accurate are AI text detectors? · detector benchmarks — RAID and M4 · paraphrase attacks on AI detectors

Change notes

  • 2026-11-01 — First published.

Spotted an error? Email sales@authmarks.com and we will correct the page and date the correction.