[Paper Review] Authorship Attribution Using the Chaos Game Representation
This paper proposes a novel authorship attribution method that converts text into grayscale images using Chaos Game Representation (CGR) with a 16-character alphabet mapping, then applies machine learning classifiers to identify authors. The approach achieves competitive accuracy—82% top-1 and 93% top-4 performance on the Federalist Papers—demonstrating strong results across English and Portuguese datasets, with potential for digital fingerprinting and plagiarism detection.
The Chaos Game Representation, a method for creating images from nucleotide sequences, is modified to make images from chunks of text documents. Machine learning methods are then applied to train classifiers based on authorship. Experiments are conducted on several benchmark data sets in English, including the widely used Federalist Papers, and one in Portuguese. Validation results for the trained classifiers are competitive with the best methods in prior literature. The methodology is also successfully applied for text categorization with encouraging results. One classifier method is moreover seen to hold promise for the task of digital fingerprinting.
Motivation & Objective
- Address the challenge of authorship attribution in anonymous texts, especially in digital contexts like emails, blogs, and forums.
- Overcome limitations of traditional lexical and syntactic methods by introducing a visual representation of text style.
- Develop a language-agnostic method that works across Latin-alphabet texts without requiring dictionaries or linguistic preprocessing.
- Explore the feasibility of using CGR-based images as digital fingerprints for plagiarism detection and text authentication.
- Validate the method on benchmark datasets, including the Federalist Papers and a Portuguese corpus, to assess generalization and robustness.
Proposed method
- Map the original text into a reduced 16-character alphabet using phonetic and orthographic equivalence classes to balance character frequency.
- Apply Chaos Game Representation (CGR) to transform each text chunk into a 2D grayscale image based on the 16-character sequence.
- Use feature extraction techniques such as FTT (Fourier Transform of the image) and PCA (Principal Component Analysis) to reduce image dimensionality to 28 features.
- Train multiple machine learning classifiers—including k-NN and Logistic Regression—on the image-based features to predict authorship.
- Employ distance-based scoring (e.g., reciprocal distances) in the feature space to rank candidate authors and determine the most likely one.
- Test the method on both authorship attribution and genre classification tasks, using cross-validation and benchmark datasets.
Experimental results
Research questions
- RQ1Can Chaos Game Representation effectively transform textual style into image-based features that preserve author-specific patterns?
- RQ2How does the proposed CGR-based method compare in accuracy to state-of-the-art authorship attribution techniques on standard benchmarks?
- RQ3To what extent can the method generalize across different languages, such as English and Portuguese, without language-specific tuning?
- RQ4Can the image-based features derived from CGR serve as compact, reliable digital fingerprints for plagiarism detection?
- RQ5Does the method maintain high performance on short texts, such as those found in emails or blog posts?
Key findings
- The method achieved 82% accuracy in identifying the correct author on the Federalist Papers when using Logistic Regression (LR) as the classifier.
- In 93% of test cases, the correct author was among the top four predicted candidates using the LR classifier.
- The FTT+PCA method achieved 82.5% accuracy in genre classification, with 9.25% of cases having the correct genre as the second guess.
- The FTT+PCA method produced a compact 28-dimensional feature vector per text, suitable for use as a digital fingerprint in plagiarism screening.
- The approach demonstrated strong performance on a Portuguese dataset, indicating potential for cross-lingual application with minimal adaptation.
- Even with texts as short as 1,000 characters, the method maintained reasonable accuracy, suggesting applicability to real-world anonymous digital content.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.