[Paper Review] On the State of the Art in Authorship Attribution and Authorship Verification
This paper introduces Valla, a standardized benchmark for authorship attribution (AA) and authorship verification (AV), enabling apples-to-apples comparisons across eight methods on 15 datasets. Surprisingly, N-gram models outperform BERT-based models on most AA tasks with limited data, but BERT-based models achieve state-of-the-art performance on larger datasets and with domain shift, especially when enhanced by hard-negative mining in AV-trained models applied to AA tasks.
Despite decades of research on authorship attribution (AA) and authorship verification (AV), inconsistent dataset splits/filtering and mismatched evaluation methods make it difficult to assess the state of the art. In this paper, we present a survey of the fields, resolve points of confusion, introduce Valla that standardizes and benchmarks AA/AV datasets and metrics, provide a large-scale empirical evaluation, and provide apples-to-apples comparisons between existing methods. We evaluate eight promising methods on fifteen datasets (including distribution-shifted challenge sets) and introduce a new large-scale dataset based on texts archived by Project Gutenberg. Surprisingly, we find that a traditional Ngram-based model performs best on 5 (of 7) AA tasks, achieving an average macro-accuracy of $76.50\%$ (compared to $66.71\%$ for a BERT-based model). However, on the two AA datasets with the greatest number of words per author, as well as on the AV datasets, BERT-based models perform best. While AV methods are easily applied to AA, they are seldom included as baselines in AA papers. We show that through the application of hard-negative mining, AV methods are competitive alternatives to AA methods. Valla and all experiment code can be found here: https://github.com/JacobTyo/Valla
Motivation & Objective
- To resolve inconsistencies in AA and AV research caused by mismatched datasets, splits, and evaluation metrics.
- To introduce Valla, an open-source benchmark that standardizes datasets, metrics, and evaluation protocols for AA and AV.
- To conduct a large-scale, unified evaluation of eight leading AA and AV methods across 15 datasets, including a new large-scale dataset from Project Gutenberg.
- To investigate the transferability of AV methods to AA tasks and evaluate the impact of hard-negative mining on performance.
- To establish macro-accuracy and AUC as key metrics for AA and AV, respectively, and advocate for their adoption in future work.
Proposed method
- The authors created Valla, a benchmark that standardizes existing AA and AV datasets with consistent train/val/test splits, uniform preprocessing, and domain-shifted test sets.
- They introduced a new large-scale dataset based on public domain texts from Project Gutenberg, with long average text lengths and balanced author distributions.
- The benchmark enforces standardized evaluation using macro-accuracy for AA and AUC for AV, ensuring fair comparison across methods.
- Eight state-of-the-art AA and AV models were evaluated, including N-gram, BERT-based, and LSTM-based models, under both i.i.d. and domain-shifted settings.
- Hard-negative mining was applied to AV models (specifically BERT${}_{\text{V}}$) using triplet loss with batch-hard sampling to improve performance in the AA setting.
- The study compares AA and AV methods directly, training AV models on AV data and fine-tuning them for AA, with ablation on pretraining and vocabulary selection.
Experimental results
Research questions
- RQ1Does the performance of state-of-the-art AA and AV models vary significantly across inconsistent dataset splits and evaluation protocols?
- RQ2Can AV methods, when properly adapted, achieve competitive performance in AA tasks, especially when enhanced with hard-negative mining?
- RQ3How does model performance in AA and AV change with increasing text length per author, particularly when comparing N-gram and transformer-based models?
- RQ4What is the impact of domain shift on the performance of traditional vs. deep learning-based AA and AV methods?
- RQ5To what extent does pretraining on large-scale data improve AA and AV performance, and does it consistently lead to better generalization?
Key findings
- On five of seven AA tasks with limited data (under ~100,000 words per author), the N-gram-based model achieved the highest macro-accuracy at 76.50%, outperforming BERT-based models (66.71%).
- On the two AA datasets with the highest word count per author—IMDb62 and Blogs50—BERT-based models achieved state-of-the-art performance, with 98.81% and 74.95% macro-accuracy, respectively.
- The newly introduced Gutenberg dataset, based on long-form public domain texts, demonstrated that BERT-based models outperform N-grams when sufficient training data is available.
- When applied to AA tasks, AV models (e.g., BERT${}_{\text{V}}$) underperform AA models by over 15 percentage points in macro-accuracy on average (59.89% vs. 76.80%).
- Hard-negative mining improved the macro-accuracy of BERT${}_{\text{V}}$ on AA tasks from 67.21% to 72.42%, significantly narrowing the performance gap with dedicated AA models while maintaining AV AUC.
- The study confirms that AV formulations are more effective for training deep learning models due to the balanced two-class setting, which supports better optimization and generalization.
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.