Skip to main content
QUICK REVIEW

[Paper Review] Assessing Deanonymization Risks with Stylometry-Assisted LLM Agent

Boyang Zhang, Yang Zhang|arXiv (Cornell University)|Feb 26, 2026
Authorship Attribution and ProfilingComputer Science0 citations
TL;DR

The paper presents SALA, a Stylometry-Assisted LLM Analysis framework, to evaluate and mitigate deanonymization risks posed by LLM agents, using a four-stage pipeline and a database-enabled matching approach. It demonstrates enhanced inference accuracy and offers a guided recomposition defense to reduce identifiability.

ABSTRACT

The rapid advancement of large language models (LLMs) has enabled powerful authorship inference capabilities, raising growing concerns about unintended deanonymization risks in textual data such as news articles. In this work, we introduce an LLM agent designed to evaluate and mitigate such risks through a structured, interpretable pipeline. Central to our framework is the proposed $ extit{SALA}$ (Stylometry-Assisted LLM Analysis) method, which integrates quantitative stylometric features with LLM reasoning for robust and transparent authorship attribution. Experiments on large-scale news datasets demonstrate that $ extit{SALA}$, particularly when augmented with a database module, achieves high inference accuracy in various scenarios. Finally, we propose a guided recomposition strategy that leverages the agent's reasoning trace to generate rewriting prompts, effectively reducing authorship identifiability while preserving textual meaning. Our findings highlight both the deanonymization potential of LLM agents and the importance of interpretable, proactive defenses for safeguarding author privacy.

Motivation & Objective

  • Motivate and quantify deanonymization risks from LLM agents in textual data such as news articles.
  • Propose SALA to integrate stylometric features with LLM reasoning for transparent authorship attribution.
  • Evaluate the impact of a database module on search efficiency and matching accuracy.
  • Develop a guided recomposition defense to reduce identifiability while preserving content.
  • Provide a privacy-aware framework bridging authorship attribution and text generation safety.

Proposed method

  • Four-stage LLM-agent pipeline: Information Extraction, Candidate Search, Candidate Matching, Result Reflection.
  • Stylometry-Assisted LLM Analysis (SALA) combines quantitative stylometric features with LLM reasoning for authorship attribution.
  • Database Module enables embedding- and keyword-based retrieval of author profiles and samples to improve search and matching efficiency.
  • Anonymization Enhancement Module offers guided rewriting prompts to reduce identifiability while maintaining meaning.
  • Evaluation uses zero-shot and database-augmented settings across targeted and open-world attacks on All the News 2.0 and CrossNews datasets.
  • Comparison against LDA and embedding similarity baselines, with SALA leveraging structured prompts grounded in stylometric metrics.
Figure 1 : Authorship inference performance in targeted attack scenario with different numbers of samples per candidate and number of targets.
Figure 1 : Authorship inference performance in targeted attack scenario with different numbers of samples per candidate and number of targets.

Experimental results

Research questions

  • RQ1Can SALA achieve accurate and interpretable authorship attribution in open-world and targeted deanonymization scenarios?
  • RQ2How does a database-augmented approach affect candidate search, matching accuracy, and computational efficiency?
  • RQ3What are the relative contributions of different stylometric feature categories to attribution performance?
  • RQ4Can guided recomposition effectively mitigate deanonymization risks without harming content utility?
  • RQ5What are the limitations and ethical considerations of deploying LLM-agent-based deanonymization tools?

Key findings

  • SALA with a database significantly improves candidate coverage and downstream inference performance compared to zero-shot approaches.
  • In targeted attacks, SALA achieves up to 0.827 F1 with 500 samples per candidate, outperforming LDA and embeddings in many settings.
  • Single-feature ablations show lexical, syntactic, and style features contribute more than readability or semantic features under targeted attack.
  • Open-world results show SALA with database can yield correct Top-1/Top-3 predictions, though overall accuracy remains challenging in large candidate pools.
  • Guided recomposition dramatically reduces deanonymization success, approaching near-random in targeted settings and around 1% in open-world scenarios.
  • Database augmentation improves efficiency by enabling linear scaling with candidate count and reducing costly web searches.
Figure 2 : Correct prediction rate of authorship inference (top-3) with database module augmented in the open-world scenario with different numbers of candidates selected during the search stage.
Figure 2 : Correct prediction rate of authorship inference (top-3) with database module augmented in the open-world scenario with different numbers of candidates selected during the search stage.

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.