Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Text mining›Authorship Attribution (Stylometry)
Machine learningStylometry

Authorship Attribution (Stylometry)

Also known as: Stylometry, Authorship Analysis, Yazarlık Atıfı, Authorship Identification

Authorship attribution is the task of identifying the most probable author of an anonymous or disputed text by analysing its stylistic fingerprint. Rooted in the statistical work of Mosteller and Wallace on the Federalist Papers (1964), the field was systematically surveyed and formalised by Stamatatos (2009), who catalogued feature sets ranging from character n-grams and function-word frequencies to syntactic and semantic representations used by modern machine-learning classifiers.

ScholarGate
  1. Machine learning
  2. v1
  3. 1 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

Authorship Attribution
Forensic Likelihood RatioText ClassificationWord2Vec

When to use it

Use authorship attribution when you have labelled training samples from each candidate author and need to assign an anonymous or disputed document to one of them. The method assumes stylistic consistency within an author and sufficient stylistic divergence between authors. It works best with texts of at least a few hundred words; very short texts (tweets, single paragraphs) yield unreliable features. When no candidate pool exists, consider authorship verification or clustering instead.

Strengths & limitations

Strengths
  • Handles large candidate sets efficiently using profile-based centroid or classifier approaches.
  • Character n-gram and function-word features are topic-agnostic and highly discriminative.
  • Well-studied benchmark datasets (PAN shared tasks) enable reproducible evaluation.
  • Scalable to cross-lingual settings with language-independent feature types.
Limitations
  • Requires sufficient training text per author — sparse corpora degrade accuracy substantially.
  • Performance drops on very short texts where stylistic signals are statistically unreliable.
  • Deliberate stylistic imitation or obfuscation can fool feature-based classifiers.
  • Closed-set assumption fails in open-set scenarios where the true author may not be among candidates.

Frequently asked

How much training text is needed per author?

The minimum varies by feature type and the number of candidates, but empirical studies suggest at least 5,000–10,000 words per author for reliable character n-gram profiles. With fewer words, cross-validation estimates become unstable and error rates rise sharply, particularly when candidate counts exceed ten authors.

Can the method handle completely unknown authors (open-set attribution)?

Standard closed-set attribution assumes the true author is among the candidates, so it will always assign a label. Open-set attribution adds a rejection threshold: if no candidate profile achieves a similarity above the threshold, the document is flagged as 'unknown author'. Calibrating this threshold requires a held-out set of documents from outside the candidate pool.

Are neural language model embeddings better than traditional stylometric features?

Recent work shows that fine-tuned transformer embeddings (e.g., BERT) can outperform handcrafted features on same-domain benchmarks, but they are more sensitive to topical drift and require more labelled data. Character n-gram and function-word baselines remain competitive in low-resource and cross-genre settings and are far more interpretable for forensic reporting.

Sources

  1. Stamatatos, E. (2009). A survey of modern authorship attribution methods. Journal of the American Society for Information Science and Technology, 60(3), 538–556. DOI: 10.1002/asi.21001 ↗

How to cite this page

ScholarGate. (2026, June 2). Authorship Attribution (Stylometry). ScholarGate. https://scholargate.app/en/text-mining/authorship-attribution

Related methods

Forensic Likelihood RatioText ClassificationWord2Vec

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Forensic Likelihood RatioForensic Science↔ compare
  • Text ClassificationText mining↔ compare
  • Word2VecText mining↔ compare
Compare side by side →

Referenced by

Forensic Likelihood Ratio

Similar methods

Authorship Attribution of Canonical TextsLanguage IdentificationScripture StylometryFake News DetectionTopic ModelingPart-of-Speech TaggingPOS TaggingNamed Entity Recognition

Related reference concepts

Stylometry and Authorship AttributionComputational Text AnalysisPart-of-Speech Tagging and Sequence LabelingText Classification and Sentiment AnalysisText ClassificationLanguage Modeling

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — Authorship Attribution (Authorship Attribution (Stylometry)). Retrieved 2026-07-21 from https://scholargate.app/en/text-mining/authorship-attribution · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Mosteller & Wallace; Stamatatos
Year
2009
Type
Supervised stylometric classification
Subfamily
Stylometry
Input
Text documents with candidate author samples
Output
Probability distribution or label over candidate authors
Related methods
Forensic Likelihood RatioText ClassificationWord2Vec
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account