Skip to main content
QUICK REVIEW

[Paper Review] The Importance of Suppressing Domain Style in Authorship Analysis

Sebastian Bischoff, Niklas Deckers|arXiv (Cornell University)|May 29, 2020
Authorship Attribution and ProfilingComputer Science37 references20 citations
TL;DR

This paper proposes domain-adversarial training to suppress domain-specific style in writing style representations for authorship analysis, demonstrating that character trigram features heavily confound domain and author style. The method reduces accuracy drops under domain shift from 55.4 percentage points to just 3.6%, outperforming heuristic feature selection and enabling robust, domain-invariant authorship attribution.

ABSTRACT

The prerequisite of many approaches to authorship analysis is a representation of writing style. But despite decades of research, it still remains unclear to what extent commonly used and widely accepted representations like character trigram frequencies actually represent an author's writing style, in contrast to more domain-specific style components or even topic. We address this shortcoming for the first time in a novel experimental setup of fixed authors but swapped domains between training and testing. With this setup, we reveal that approaches using character trigram features are highly susceptible to favor domain information when applied without attention to domains, suffering drops of up to 55.4 percentage points in classification accuracy under domain swapping. We further propose a new remedy based on domain-adversarial learning and compare it to ones from the literature based on heuristic rules. Both can work well, reducing accuracy losses under domain swapping to 3.6% and 3.9%, respectively.

Motivation & Objective

  • To investigate whether commonly used writing style features, such as character trigram frequencies, inadvertently capture domain-specific style instead of author-specific style.
  • To evaluate the extent to which domain style contaminates authorship attribution models when training and testing occur in different domains.
  • To develop a method that learns domain-invariant writing style representations by suppressing domain-specific signals during feature learning.
  • To compare domain-adversarial training with heuristic feature selection in reducing domain bias while preserving authorship discrimination.
  • To validate the robustness of the proposed method across unseen domains, such as different genres or fandoms in fan fiction.

Proposed method

  • Introduces a novel experimental setup with fixed authors but swapped domains between training and testing to isolate domain-style interference.
  • Employs a deep neural network with a domain-adversarial head that encourages the style encoder to produce embeddings invariant to domain labels.
  • Uses gradient reversal during backpropagation to train the encoder to minimize domain classifier accuracy while maximizing author classification performance.
  • Trains a style encoder to extract writing style features from text, followed by a domain discriminator that predicts the source domain of the input.
  • Applies adversarial training by optimizing a dual objective: accurate author attribution and poor domain prediction.
  • Compares the adversarial method against a heuristic approach that selects features based on low correlation with domain labels.

Experimental results

Research questions

  • RQ1To what extent do traditional character trigram features in authorship analysis actually represent author style versus domain-specific style?
  • RQ2How much does performance degrade in authorship attribution when the test domain differs from the training domain, using standard feature sets?
  • RQ3Can domain-adversarial training effectively suppress domain-specific style signals while preserving author-specific style representations?
  • RQ4How does the performance of domain-adversarial training compare to heuristic feature selection in reducing domain bias?
  • RQ5To what extent can the learned style representations generalize to unseen domains, such as new genres or fandoms?

Key findings

  • Character trigram-based models suffer a drop of up to 55.4 percentage points in authorship attribution accuracy when tested on a different domain than training, indicating strong domain-style confounding.
  • The proposed domain-adversarial training method reduces accuracy loss under domain shift to only 3.6%, significantly outperforming standard feature-based models.
  • Heuristic feature selection based on low domain correlation also reduces accuracy loss to 3.9%, showing strong performance with less complexity.
  • Both adversarial and heuristic methods achieve high generalization across unseen domains, such as new fandoms in fan fiction, with accuracy around 92%.
  • The domain discriminator’s accuracy drops to 51.6% (Encoder 1) and 49.9% (Encoder 2) when retrained on unseen authors and domains, confirming that domain information is effectively suppressed.
  • The study reveals that traditional writing style representations are highly susceptible to domain-style interference, challenging the assumption that trigram frequencies reliably capture authorial style.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.