NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

TraSE: Towards Tackling Authorial Style from a Cognitive Science Perspective

Ronald Wilson, Avanti Bhandarkar, Damon L. Woodard · OpenReview

TL;DR

This paper introduces TraSE, a novel feature representation for authorial style analysis that draws inspiration from cognitive science. By modeling the "trajectory" of word embeddings within a sentence, TraSE achieves state-of-the-art authorship attribution accuracy (90%) across a massive dataset of over 27,000 authors, demonstrating robustness against topic influence and author count.

What Problem Does This Paper Address?

Authorship attribution, a crucial task in fields like forensics and literary analysis, has historically struggled with several limitations. Existing computational methods often get bogged down by the topic of the text, making it difficult to distinguish authors when they write about different subjects. They also face challenges with a large number of potential authors and require vast amounts of diverse training data. This paper argues that these issues stem from a fundamental misunderstanding of authorial style in computational linguistics, which fails to account for the cognitive underpinnings of writing. The authors propose that authorial style is not just about word choices but also about unconscious, habituated patterns developed over a lifetime, which are more stable than topic-dependent choices.

Methods

The core innovation is Trajectory-based Style Estimation (TraSE), a new feature representation. TraSE works by:

  1. Contextual Embeddings: Representing words as points in a multi-dimensional space using pre-trained language models (like BERT).
  2. Topic Word Anchors: Identifying "topic words" (often nouns) in a sentence to act as anchors, as these are assumed to be less indicative of authorial style.
  3. Trajectory Analysis: For the sequence of words between topic words, TraSE models the "trajectory" of the word embeddings. This is done by calculating the vector formed by consecutive word embeddings and then quantifying the evolution of this vector (specifically, the angle it makes with the initial vector) as the sentence progresses.
  4. Recursive Resultant Evolution: An algorithm (Algorithm 1) is used to compute these angles, accumulating them into a 180-dimensional feature vector for each sentence.
  5. Latent Language Model (LLM) and Author Profile Model (APM): To further refine the representation, a Latent Language Model (LLM) is built from the corpus to capture general language structure, and an Author Profile Model (APM) is created by averaging TraSE vectors for an author's samples. During classification, the APM helps fill in sparse feature vectors, and the LLM is subtracted to remove structural noise.

Datasets

The paper evaluates TraSE on a diverse set of corpora commonly used in authorship attribution research:

  • BAC: A corpus of blog posts.
  • IMDB1M: Movie reviews from International Movie Database users.
  • PAN18-Twitter: Twitter posts.
  • FICSIT: A cross-topic corpus from StackExchange.
  • Guardian10: Opinion articles and book reviews.
  • Enron Email Corpus: Emails from Enron Corporation executives.

The authors note that the total number of authors across these corpora reaches over 27,000, with approximately 1.4 million samples in total for the "all inclusive" evaluation.

Key Insights and Ideas

  • Cognitive Science Matters: The paper strongly advocates for integrating cognitive science perspectives into computational linguistics for tasks like authorship attribution. Authorial style is presented as a reflection of deeply ingrained cognitive habits, not just superficial word choices.
  • Trajectory as a Signature: Modeling the "path" of word embeddings within a sentence, rather than just individual word frequencies or static embeddings, captures a more nuanced and stable aspect of authorial style.
  • Robustness to Topic: By using topic words as anchors and focusing on the "trajectory" between them, TraSE effectively mitigates the influence of text content on style identification.
  • Author Count Independence: A significant finding is that TraSE's performance doesn't degrade substantially with an increasing number of authors, a common problem for other methods.
  • Data Efficiency: The experiments suggest that authorial style can be captured with a finite amount of data, and adding more text doesn't always lead to significant improvements, aligning with the idea of stable, habituated choices.

Key Results

  • High Accuracy: TraSE achieved an impressive 90% attribution accuracy in a cross-domain scenario with over 27,000 authors and 1.4 million samples.
  • State-of-the-Art Performance: Across various corpora, TraSE consistently delivered state-of-the-art or near state-of-the-art performance, often outperforming existing methods, especially when dealing with a large number of authors or cross-topic scenarios.
  • Topic Diversity Insensitivity: Figure 3 shows a very low correlation between topic diversity and attribution accuracy, indicating TraSE is robust to topic variations.
  • Sample Size Independence: Figure 4 demonstrates that attribution accuracy plateaus with increasing training data, suggesting TraSE is efficient and doesn't require massive datasets to achieve high performance.
  • Qualitative Validation: TraSE's ability to capture cognitive traits was qualitatively supported by showing a correlation between age and "habituated choices" (Figure 7) and its success in distinguishing human-generated text from machine-generated text (Figure 8).

Limitations and Future Work

  • Data Quality: The paper notes that for some corpora (e.g., IMDB1M, BAC), performance was lower, potentially due to lower "stylometric quality" of the data, meaning text contributed more to content than authorial style.
  • Computational Cost: While not explicitly detailed as a limitation, the use of contextual embeddings and complex trajectory calculations implies a certain computational overhead.
  • Future Work: The authors suggest that TraSE provides a pathway for applications that operate on cognitive markers extracted from natural language text, facilitating more inter-community collaboration. The qualitative analysis also opens doors for further exploration of TraSE's connection to cognitive models of language acquisition and development.

Summary updated

BibTeX
@misc{wilson2022trase,
  author = {Ronald Wilson and Avanti Bhandarkar and Damon L. Woodard},
  title = {{TraSE: Towards Tackling Authorial Style from a Cognitive Science Perspective}},
  year = {2022},
  eprint = {2206.10706},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.10706},
}
Figure