Skip to main content
QUICK REVIEW

[Paper Review] Character-level and Multi-channel Convolutional Neural Networks for Large-scale Authorship Attribution

Sebastian Ruder, Parsa Ghaffari|arXiv (Cornell University)|Sep 21, 2016
Authorship Attribution and ProfilingComputer Science19 references87 citations
TL;DR

This paper proposes character-level and multi-channel convolutional neural networks (CNNs) for large-scale authorship attribution, leveraging both character-level patterns and word-level semantics to improve accuracy and prediction speed. It achieves state-of-the-art performance on four out of five datasets, including the first application to Reddit, and releases new Twitter and Reddit datasets for research.

ABSTRACT

Convolutional neural networks (CNNs) have demonstrated superior capability for extracting information from raw signals in computer vision. Recently, character-level and multi-channel CNNs have exhibited excellent performance for sentence classification tasks. We apply CNNs to large-scale authorship attribution, which aims to determine an unknown text's author among many candidate authors, motivated by their ability to process character-level signals and to differentiate between a large number of classes, while making fast predictions in comparison to state-of-the-art approaches. We extensively evaluate CNN-based approaches that leverage word and character channels and compare them against state-of-the-art methods for a large range of author numbers, shedding new light on traditional approaches. We show that character-level CNNs outperform the state-of-the-art on four out of five datasets in different domains. Additionally, we present the first application of authorship attribution to reddit.

Motivation & Objective

  • Address the challenge of large-scale authorship attribution with thousands of candidate authors, where traditional methods are computationally expensive during inference.
  • Explore the effectiveness of character-level and multi-channel CNNs in capturing stylistic features such as punctuation, spacing, and n-grams that are indicative of authorship.
  • Improve prediction speed and scalability compared to state-of-the-art methods like SCAP and Imposters, which require CPU-hours or days for inference.
  • Introduce and evaluate a hybrid CNN model combining character and word input channels to jointly leverage stylistic and topical information.
  • Release new, large-scale Twitter and Reddit datasets to support future research in online authorship attribution.

Proposed method

  • Apply convolutional neural networks (CNNs) to raw character sequences, enabling end-to-end learning of stylistic patterns without handcrafted features.
  • Use a multi-channel architecture with separate input streams for characters and words, where word embeddings are either static or non-static to capture semantic and stylistic signals.
  • Train the CNNs using stochastic gradient descent with cross-entropy loss, optimizing for the final softmax layer to classify among many authors.
  • Employ max-pooling after convolutional layers to extract salient features across the sequence, followed by fully connected layers for classification.
  • Use dropout and L2 regularization to prevent overfitting, especially given the limited number of training examples per class (few hundred per author).
  • Compare performance across different input channel combinations (character-only, word-only, hybrid) to assess the contribution of each modality.

Experimental results

Research questions

  • RQ1Can character-level CNNs outperform traditional n-gram-based methods like SCAP and Imposters in large-scale authorship attribution across diverse domains?
  • RQ2How does combining character and word channels in a multi-channel CNN architecture affect performance compared to single-channel models?
  • RQ3What is the scalability of CNN-based approaches in terms of prediction speed and accuracy when the number of candidate authors increases?
  • RQ4To what extent do character-level features—such as punctuation, spacing, and special characters—contribute to distinguishing authorial style?
  • RQ5Can CNNs generalize effectively to low-resource, real-world online text such as Reddit and Twitter comments, where stylistic patterns differ from formal domains?

Key findings

  • Character-level CNNs achieve state-of-the-art performance on four out of five datasets across different domains, including blogs, Twitter, and Reddit, outperforming SCAP and Imposters.
  • The hybrid character-word CNN model outperforms both character-only and word-only models, particularly in the blogs domain where topical content is a distinguishing factor.
  • Prediction inference with CNNs is nearly instantaneous on GPU, in contrast to CPU-hours or days required by SCAP and Imposters, making them suitable for real-time online applications.
  • On the Twitter dataset, SCAP outperforms CNNs due to the strong discriminative power of discrete n-grams like hashtags and user mentions, suggesting CNNs may blur boundaries in high-variability, sparse domains.
  • The optimal profile size for SCAP is 14,000 tokens, significantly higher than previous studies, indicating that larger profile ranges should be explored in future work.
  • The authors release two new datasets—Twitter and Reddit—containing thousands of user comments, enabling future research in online authorship attribution.

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.