Short Text Authorship Attribution via Sequence Kernels, Markov Chains and Author Unmasking: An Investigation

Conrad Sanderson, Simon GünterEMNLP 2006

Abstract

This paper investigates authorship attribution for short texts using Support Vector Machines (SVM) with sequence kernels and probabilistic Markov chains. Through empirical evaluation on a diverse newspaper columnist dataset, the study demonstrates that character-level features consistently outperform word-level features in short-text scenarios. The research also highlights the critical role of training data volume and identifies the limitations of "author unmasking" techniques when applied to limited text samples.

Introduction

Authorship attribution—the task of identifying the author of a text—is a cornerstone of forensic linguistics and historical research. While traditional methods have proven effective for long-form literature, they often falter when applied to short texts like emails or news columns. This study addresses three major gaps in existing literature: the challenge of short-text attribution, the confounding effect of topic bias, and the transition from closed-set classification to open-set verification.

Methodology

The researchers evaluated three distinct algorithmic families to determine their efficacy on short texts:

Markov Chain Based Approaches

These probabilistic models predict subsequent units (characters or words) based on a history of $m$ previous items. To mitigate the "zero-frequency" problem—where a test sequence was never seen during training—the authors employed Moffat smoothing, an interpolation technique that reverts to shorter sequences as needed.

Sequence Kernel Based Approaches

Utilizing SVMs, the authors implemented kernels that measure text similarity based on sequences of characters or words. Various weighting functions, such as linear decay and bounded range, were tested to identify the optimal sequence lengths for capturing stylistic signals.

EER vs. Sequence Length for various SVM kernel weighting functions.

Author Unmasking

This iterative technique identifies essential stylistic features by repeatedly removing the most discriminative ones and retraining the model. A sustained high accuracy despite feature removal indicates a deep stylistic match.

Experimental Setup: The Columnists Dataset

To ensure robust evaluation, the authors introduced the "Columnists" dataset, featuring texts from 50 newspaper journalists. Each contributor provided at least 10,000 words across multiple topics (e.g., sports, politics, economics). This multi-topic approach ensures that models learn stylistic "fingerprints" rather than merely topical vocabulary.

Results and Discussion

The empirical results yield several key insights into the nature of short-text attribution:

Character-Level Superiority

Character-level sequences consistently outperformed word-level features. Character kernels implicitly handle "noisy" stemming (e.g., matching "negotiat-" in both "negotiation" and "negotiate"), whereas word-based models suffer from extreme dimensionality and sparsity in short texts.

The Impact of Training Volume

Performance is heavily dependent on the volume of training data. As shown in Figure 1, the Equal Error Rate (EER) decreases significantly as the number of characters in the training set increases. A 2nd-order character Markov chain achieved an EER of approximately 8-10% with the largest training samples.

EER vs. Number of Characters for Markov Chain models.

Limitations of Author Unmasking

While highly effective for full-length books, Author Unmasking struggled with short texts (~5,000 words), yielding an EER of 30.88%. The lack of textual "depth" prevents the construction of reliable unmasking curves.

Conclusion

This investigation confirms that character-level Markov chains and sequence kernels are highly effective for short-text authorship attribution, provided sufficient training data is available. Future work will explore composite kernels that combine character and word sequences, as well as attribution for even shorter snippets like social media posts.

Summary updated

BibTeX
@inproceedings{sanderson2006short,
  author = {Conrad Sanderson and Simon Günter},
  title = {{Short Text Authorship Attribution via Sequence Kernels, Markov Chains and Author Unmasking: An Investigation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2006},
}
Figure