Research

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

Six decades of authorship-attribution research, read closely: 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, with notes for Indian colleges.

Published 2026-11-01 · 8 min read

Papers reviewed5
Fields coveredNLP, forensic linguistics
Field foundedMosteller & Wallace's Federalist Papers study (1963)
State of the artThe best 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 an entire discipline around answering the question from style alone. Stylometry measures the habits a writer cannot easily hide: how often function words appear, the rhythm of sentence lengths, choices of punctuation, character n-grams. It is the intellectual forerunner of every AI detector, and its record over sixty years is the best evidence available on what identification by style can and cannot achieve.

This review examines 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 on whether LLMs can carry out attribution themselves, and, for the historical note only, the tertiary record of the field's founding result. Every quotation is reproduced word for word from the linked source, as checked on the asOf date.

Why the topic belongs in a body of provenance research: "compare the submitted essay with the student's earlier writing" is a stylometric claim. Institutions that rely on it, whether a university integrity committee or a faculty member reviewing an internal assessment, should know what the research says about how accurate it is.

Where the field began

The origin story is genuine and can be checked. Tyo et al.'s survey dates it 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 through statistics on the writers' unconscious habits of word use, a result that historians broadly accepted.

Huang, Chen & Shu's survey follows the path since then:

"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 these three conditions behind.

Tyo et al. (2022): an 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 standardised set of tasks. (Attribution asks which of several candidate authors wrote a text. Verification asks whether one particular author wrote it.)

The main result, 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 points stand out:

  • The ceiling is about 76.5%, averaged across attribution tasks, for the best class of method, after sixty years of research. That is well above chance, and well short of courtroom certainty.
  • Older methods beat newer ones when data is scarce. Character n-grams won 5 of the 7 tasks; deep models moved ahead only "on the two AA datasets with the greatest number of words per author." Identifying style needs a lot of data: the deciding factor is how much text you hold per author, and for a student with a handful of earlier essays, that is very little.
  • The field's own evaluation practice is a weakness. The authors note that "inconsistent dataset splits/filtering and mismatched evaluation methods make it difficult to assess the state of the art", which mirrors the shared-benchmark problem in AI detection (see RAID and M4).

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

Before ChatGPT, Schuster et al. asked whether stylometry could identify misinformation produced by machines. Their answer set the boundary that AI detection has worked within 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."

The mechanism is worth spelling out, because this is the most important passage in the review. Stylometry works on people because style leaks out involuntarily: a person who is deceiving writes measurably differently from one who is not. A language model has no such leak, and its style stays uniform whatever its "motive". Style can show which pen wrote a text; it cannot show why, and with machine text it increasingly cannot show whose pen either, because the machine writes in everyone's style and in no one's.

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

The current standard survey sets out the field's new situation directly:

"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 equally frank about engineering problems that were unsolved even before LLMs. On what a workable 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 recognising an author's lab report from their personal essays, is still difficult. 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. On the adversarial side:

"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 by the same group, "Can Large Language Models Identify Authorship?" (EMNLP 2024 Findings), tested whether LLMs can perform 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 among pools of ten to twenty candidate authors. These are closed sets, like every strong stylometry result since 1963.

The research, side by side

SourceQuestionFinding
Mosteller & Wallace 1963 (via Tyo et al.; Wikipedia for the historical note)Hamilton or Madison? (2 candidates, large bodies of text)The success that founded the field; the model for when stylometry works
Tyo et al. 2022best current accuracy across standardised 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 identify deception produced by machines?"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 carry out attribution themselves?tested on closed sets of 10–20 candidates: the classical setting, now with new models

What the research does and does not establish

Established:

  • Stylometry does work in its natural setting: closed sets of candidates, a good amount of undisputed text per author, and matching genre. The Federalist result and six decades of replication are genuine.
  • The honest state-of-the-art figure, measured across standardised attribution tasks, is roughly 76.5%. That is strong evidence, but nowhere near certainty, and it is reached by simple n-gram models except where data per author is unusually plentiful (Tyo et al.).
  • Accuracy depends more on the quantity of earlier text per author than on how sophisticated the model is (Tyo et al.).
  • Against text produced by machines, the field's own papers report that 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 one author across different genres, remains an open problem that depends on "topic diversity and dataset size", which typical real-world samples do not have.

Not established:

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

What this means in Indian classrooms

The conditions under which stylometry is weakest are common in Indian higher education. Many students write in English as a second or third language, and their English often changes noticeably over a degree programme as they gain confidence. A first-year student's semester essays, a lab record and a final-year project report are different genres. Prior samples are usually few, and some may have been handwritten for board examinations or internal tests rather than typed. Each of these departs from the closed, data-rich, single-genre setting where the method has proven itself. A faculty member who says "this does not sound like your earlier work" is making a stylometric judgement without any of the conditions that make one reliable, and it is for each institution, under its own procedures and the UGC's regulations on academic integrity, to decide how much weight such an impression should carry.

Why this matters for provenance

Stylometry is what "we compared it with your earlier essays" actually amounts to, and its own literature values that evidence honestly: strong in a closed, two-candidate world with plenty of text, around 76% on standardised 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 artefact. A process record does not infer: it was present while the writing happened. See what writing provenance is, how to read a process record, and keystroke logging and writing-process research, the branch of this research that measures the writing event itself 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.