Cross-Genre Authorship Attribution via LLM-Based Retrieve-and-Rerank
Shantanu Agarwal, Joel Barry, Steven Fincke, Scott Miller
TL;DR
This paper tackles cross-genre authorship attribution by framing it as a ranking task and applying a two-stage retrieve-and-rerank pipeline powered by fine-tuned large language models. The retriever is a bi-encoder, trained with contrastive loss on carefully curated, semantically diverse author pairs to emphasize stylistic signals over content. The reranker, a cross-encoder, is trained with diversified negative sampling and applied to the top retrieved candidates to boost end-to-end accuracy. Empirical results on HIATUS HRS1/HRS2 show large gains over previous SOTA, with the reranker delivering meaningful improvements when negatives are sampled from multiple similarity regimes, illustrating both the method’s potential and its computational trade-offs for scalable cross-genre attribution.
Abstract
Authorship attribution (AA) is the task of identifying the most likely author of a query document from a predefined set of candidate authors. We introduce a two-stage retrieve-and-rerank framework that finetunes LLMs for cross-genre AA. Unlike the field of information retrieval (IR), where retrieve-and-rerank is a de facto strategy, cross-genre AA systems must avoid relying on topical cues and instead learn to identify author-specific linguistic patterns that are independent of the text's subject matter (genre/domain/topic). Consequently, for the reranker, we demonstrate that training strategies commonly used in IR are fundamentally misaligned with cross-genre AA, leading to suboptimal behavior. To address this, we introduce a targeted data curation strategy that enables the reranker to effectively learn author-discriminative signals. Using our LLM-based retrieve-and-rerank pipeline, we achieve substantial gains of 22.3 and 34.4 absolute Success@8 points over the previous state-of-the-art on HIATUS's challenging HRS1 and HRS2 cross-genre AA benchmarks.
