AIDBench: A benchmark for evaluating the authorship identification capability of large language models

Zichen Wen, Dadi Guo, Huishuai Zhang · DOI

Abstract

Anonymity is a cornerstone of digital privacy and academic integrity, yet every author leaves behind a unique "stylometric fingerprint." This paper introduces AIDBench, a comprehensive benchmark designed to evaluate the ability of Large Language Models (LLMs) to identify authors across diverse contexts. By testing models on datasets ranging from research papers to casual blogs, we investigate whether the reasoning capabilities of LLMs pose a significant de-anonymization risk. Our findings reveal that top-tier models like GPT-4 can identify authors with high accuracy even when topics change, suggesting that current anonymous systems, such as double-blind peer review, may be more vulnerable than previously assumed.

Introduction

Traditional authorship attribution (AA) tools typically rely on statistical patterns and require extensive author profiles to function effectively. However, the advent of Large Language Models has introduced a new paradigm: stylistic reasoning. LLMs can identify subtle linguistic markers—such as specific types of typos, sarcasm, and complex syntactic preferences—that go beyond simple word counts. This study explores the potential for LLMs to act as tools for de-anonymization in realistic scenarios where no prior author profile exists and the model must select from hundreds of candidates.

The AIDBench Framework

To rigorously test these capabilities, we developed AIDBench, which incorporates five distinct datasets to capture a wide range of writing styles:

  • Research Papers: A novel collection of ~24,000 arXiv abstracts from 1,500 authors.
  • Enron Emails: Corporate communication reflecting professional interactions.
  • Blogs: Casual, personality-driven content from Blogger.com.
  • IMDb Reviews: Short, opinionated movie critiques.
  • The Guardian: Articles spanning five topics (e.g., Politics, Books) to test cross-topic identification.
Overview of the AIDBench evaluation framework, illustrating the data sources, task description, and model evaluation pipeline.

The benchmark evaluates models on two primary tasks: One-to-One Verification (deciding if two texts share an author) and One-to-Many Attribution (ranking candidates most likely to match a query text).

Methodology

A significant challenge in authorship identification is the "long context" problem, where the number of candidate texts exceeds the model's memory limits. To address this, we implemented a Retrieval-Augmented Generation (RAG) pipeline. This approach uses embedding models to pre-filter for semantically similar texts, which are then passed to the LLM for a deep linguistic reasoning pass.

The RAG-based pipeline used to handle large candidate sets by combining embedding-based retrieval with LLM reasoning.

Furthermore, we utilized specialized prompt engineering. By comparing "General" prompts to "Topic-ignored" prompts, we explicitly instructed models to focus on how something is written (linguistic features) rather than what is written (the subject matter).

Key Results and Insights

Our evaluation across various LLMs, including GPT-4, Kimi, Qwen, and Baichuan, yielded several critical insights:

  • GPT-4 Dominance: GPT-4-Turbo consistently outperformed all other models. In a 2-author scenario on the Research Paper dataset, it achieved a Rank@1 accuracy exceeding 80%.
  • Scalability: Even when the difficulty was increased to a 10-author scenario (choosing from 100 papers), GPT-4 maintained a Rank@1 accuracy of approximately 66%, far exceeding the 10% random chance baseline.
  • Cross-Topic Robustness: On the Guardian dataset, GPT-4 achieved roughly 74% precision in identifying authors across different subject areas. This proves that LLMs are not merely matching topics but are identifying a persistent authorial style.
  • Privacy Risks: The high performance of LLMs in these tasks suggests that editors or authors could potentially de-anonymize peer reviewers or whistleblowers with high confidence using readily available tools.

Conclusion and Future Work

AIDBench demonstrates that LLMs possess a formidable capability for authorship identification. While our current study focused on research paper abstracts and first authors, future work will explore using full-text documents, which provide a larger "stylistic surface area" for identification. We also propose investigating "text decomposition" to help models compare stylistic markers more granularly across long documents. As LLMs continue to evolve, the need for robust privacy-preserving writing techniques becomes increasingly urgent.

Summary updated

BibTeX
@misc{wen2024aidbench,
  author = {Zichen Wen and Dadi Guo and Huishuai Zhang},
  title = {{AIDBench: A benchmark for evaluating the authorship identification capability of large language models}},
  year = {2024},
  eprint = {2411.13226},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.13226},
}
Figure