TL;DR
This paper tackles the realistic but challenging task of open-set authorship attribution in historical texts, where the true author of an anonymous document may not be present in the training data. By analyzing a newly compiled dataset of Victorian literature, the authors demonstrate that while simple linear classifiers achieve near-perfect accuracy in closed-set settings using only the most common English words, their performance drops significantly when faced with an open pool of unknown candidate authors.
What Problem Does This Paper Address?
Most computational authorship attribution (AA) research operates under a comfortable assumption: the true author of an unknown text is guaranteed to be among a small, predefined set of candidates (a closed-set configuration).
In the real world, however, this assumption falls apart. Consider Victorian-era periodicals (1837–1901), where nearly 90% of articles were published anonymously or under pseudonyms to protect the writers' reputations. Literary historians rely on massive manual indexing efforts like the Wellesley Index to identify these authors using external evidence (letters, diaries, publishers' ledgers).
To scale this process using machine learning, we need an open-set classification framework capable of saying: "This text belongs to Author X" OR "This text was written by someone completely unknown to the model." This paper explores the strengths and limitations of standard machine learning techniques when applied to this highly entangled, open-set problem.
Methods
The authors use a surprisingly simple yet robust feature set: the frequency of the most commonly used English words (limiting the vocabulary to the top 1,000 or 2,000 words). This deliberately includes "stop words" (e.g., the, and, of) and excludes proper nouns or punctuation, ensuring the model captures unconscious stylistic habits rather than topic or genre bias.
The core pipeline consists of:
- Representation: Bag-of-Words (BOW) vectorization.
- Scaling: Normalizing word counts by the maximum count in each document, followed by a maximum absolute value scaling (
MaxAbsScaler) to preserve data sparsity. - Classification: A linear Support Vector Machine (SVM) trained with a quadratic regularizer and hinge loss in a one-vs-all (OVA) configuration for each known author.
- Open-Set Extension: During testing, if a document fails to trigger a positive classification from any of the individual author models, it is labeled as "unknown" (out-of-distribution). If multiple models claim the document, it is assigned to the author whose classifier yields the highest confidence score.
Datasets
The study introduces and utilizes three distinct text collections:
- Main Dataset (Known Authors): 595 novels written by 36 prolific Victorian novelists (e.g., Charles Dickens, Anthony Trollope), downloaded from Project Gutenberg.
- Out-of-Distribution (OOD) Dataset (Unknown Authors): 23 novels from 10 different authors who had fewer than 4 books available on Project Gutenberg. These were withheld during training to simulate "unknown" writers.
- Real-World Periodical Dataset: A curated collection of 30 essays (27 pseudonymous, 3 anonymous) from Bentley’s Miscellany (1837–1838), used to validate the model against historical truths established by the Wellesley Index.
Key Insights and Ideas
- The Deception of Closed-Sets: Under a closed-set assumption, a linear classifier achieves near-perfect accuracy ($F_1$ scores up to 1.00) using just 50-sentence chunks and common words. However, introducing unknown authors causes a noticeable performance drop, proving that closed-set success does not translate to real-world viability.
- Unconscious Stylistic Signatures: The word clouds generated from the SVM coefficients reveal that authors have highly distinct ways of using everyday words. For instance, the word "summer" was a powerful predictor for both William Thackeray and George Meredith, but it had a positive coefficient for Thackeray and a negative one for Meredith.
- The Brontë Conflation: The model repeatedly misclassified text from Emily Brontë’s Wuthering Heights as being written by her sister, Charlotte Brontë. The authors hypothesize that their shared childhood upbringing, collaborative writing, and mutual editing practices led to a shared unconscious vocabulary.
- Echoes of Influence: An essay by Edward Howard was incorrectly attributed to Frederick Marryat. Historically, Marryat was Howard's naval captain and later his editorial superior, suggesting that Marryat deeply shaped Howard's authorial voice.
Key Results
- Document Length Matters: In closed-set testing, accuracy scales with text length. For a 1,000-word vocabulary, the mean $F_1$ score rises from 0.48 (for 10-sentence chunks) to 0.93 (for 50-sentence chunks) and 0.98 (for 100-sentence chunks).
- Vocabulary Expansion Helps Open-Set AA: Moving from a 1,000-word vocabulary to a 2,000-word vocabulary in the open-set controlled experiment pushed the known-author $F_1$ score from 0.91 to 0.95, and significantly boosted the OOD detection $F_1$ score from 0.48 to 0.60.
- Periodical Performance: On the real-world Bentley’s Miscellany essays, the model achieved a reasonable Detection $F_1$ score of 0.84, correctly identifying 18 out of 21 essays written by unknown authors.
Limitations and Future Work
Despite the promising results, the authors note that open-set classification remains highly vulnerable to false positives, particularly when the dataset is severely imbalanced (i.e., when unknown authors vastly outnumber known ones). Authors with fewer books available for training (like Charlotte Brontë) suffered from high false-positive rates.
To improve open-set AA, the authors suggest:
- Mapping raw word counts to higher-level semantic attributes (themes, genres, archetypes, and settings) before classification.
- Incorporating Bayesian priors to help differentiate human writing patterns from machine-generated or anomalous text distributions.
- Utilizing hierarchical clustering to group known authors and define broader "meta-authors" at various levels of a classification tree.
Summary updated