Subject-level Inference for Realistic Text Anonymization Evaluation

arXiv cs.CL / 4/24/2026

📰 NewsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper argues that existing text anonymization evaluations over-rely on span-level metrics and single-subject assumptions, which do not reflect realistic adversarial inference.
  • It introduces SPIA (Subject-level PII Inference Assessment), a new benchmark that evaluates anonymization at the individual (subject) level using 675 documents across legal and online domains.
  • Experiments indicate that anonymization can still enable substantial recovery via contextual inference: subject-level protection can fall to as low as 33% even when more than 90% of PII spans are masked.
  • The study finds that anonymization focused only on a target subject can leave non-target subjects significantly more exposed than the intended target.
  • The authors conclude that subject-level, inference-based evaluation is necessary to assess safety of text anonymization in real-world multi-subject contexts.

Abstract

Current text anonymization evaluation relies on span-based metrics that fail to capture what an adversary could actually infer, and assumes a single data subject, ignoring multi-subject scenarios. To address these limitations, we present SPIA (Subject-level PII Inference Assessment), the first benchmark that shifts the unit of evaluation from text spans to individuals, comprising 675 documents across legal and online domains with novel subject-level protection metrics. Extensive experiments show that even when over 90% of PII spans are masked, subject-level inference protection drops as low as 33%, leaving the majority of personal information recoverable through contextual inference. Furthermore, target-subject-focused anonymization leaves non-target subjects substantially more exposed than the target subject. We show that subject-level inference-based evaluation is essential for ensuring safe text anonymization in real-world settings.