Skip to main content
QUICK REVIEW

[Paper Review] The Text Anonymization Benchmark (TAB): A Dedicated Corpus and Evaluation Framework for Text Anonymization

Ildikó Pilán, Pierre Lison|arXiv (Cornell University)|Jan 25, 2022
Hate Speech and Cyberbullying DetectionComputer Science5 citations
TL;DR

This paper introduces TAB (Text Anonymization Benchmark), an open-source, privacy-oriented corpus of 1,268 anonymized European Court of Human Rights cases with comprehensive annotations on personally identifiable information, including semantic categories, identifier types, confidential attributes, and co-reference relations. The benchmark enables rigorous evaluation of text anonymization methods through novel metrics that balance privacy protection and utility preservation, demonstrating that standard NER-based de-identification methods offer weak privacy protection compared to fine-tuned language models.

ABSTRACT

We present a novel benchmark and associated evaluation metrics for assessing the performance of text anonymization methods. Text anonymization, defined as the task of editing a text document to prevent the disclosure of personal information, currently suffers from a shortage of privacy-oriented annotated text resources, making it difficult to properly evaluate the level of privacy protection offered by various anonymization methods. This paper presents TAB (Text Anonymization Benchmark), a new, open-source annotated corpus developed to address this shortage. The corpus comprises 1,268 English-language court cases from the European Court of Human Rights (ECHR) enriched with comprehensive annotations about the personal information appearing in each document, including their semantic category, identifier type, confidential attributes, and co-reference relations. Compared to previous work, the TAB corpus is designed to go beyond traditional de-identification (which is limited to the detection of predefined semantic categories), and explicitly marks which text spans ought to be masked in order to conceal the identity of the person to be protected. Along with presenting the corpus and its annotation layers, we also propose a set of evaluation metrics that are specifically tailored towards measuring the performance of text anonymization, both in terms of privacy protection and utility preservation. We illustrate the use of the benchmark and the proposed metrics by assessing the empirical performance of several baseline text anonymization models. The full corpus along with its privacy-oriented annotation guidelines, evaluation scripts and baseline models are available on: https://github.com/NorskRegnesentral/text-anonymisation-benchmark

Motivation & Objective

  • To address the lack of privacy-focused annotated corpora for evaluating text anonymization methods.
  • To develop a benchmark that moves beyond traditional de-identification by explicitly marking which text spans must be masked to prevent re-identification.
  • To propose evaluation metrics that balance privacy protection and data utility preservation, going beyond standard IR-based metrics.
  • To provide a standardized, open-source framework for comparing and improving text anonymization models.
  • To demonstrate that state-of-the-art NLP models for de-identification fall short in achieving true anonymization under GDPR standards.

Proposed method

  • The TAB corpus is constructed from 1,268 English-language ECHR court cases, annotated with detailed privacy-relevant spans.
  • Annotations include semantic categories, identifier types, confidential attributes, and co-reference relations to support accurate masking decisions.
  • Annotators were guided by GDPR-compliant, domain-agnostic guidelines and instructed to consider publicly available knowledge when determining re-identification risk.
  • The evaluation framework uses micro-averaged metrics that weight terms by disclosure risk and information content to assess both privacy and utility.
  • Baseline models are evaluated using the proposed metrics, including standard NER models and a fine-tuned pre-trained language model for anonymization.
  • The benchmark includes annotation guidelines, evaluation scripts, and baseline models, all hosted on GitHub for reproducibility and community use.

Experimental results

Research questions

  • RQ1How can a standardized, privacy-focused corpus be constructed to support rigorous evaluation of text anonymization methods?
  • RQ2To what extent do existing NLP-based de-identification methods provide adequate privacy protection under GDPR standards?
  • RQ3How can evaluation metrics be designed to reflect both privacy protection and utility preservation in text anonymization?
  • RQ4Can fine-tuned pre-trained language models outperform traditional NER-based approaches in anonymization tasks?
  • RQ5What are the key differences between de-identification and true anonymization in terms of re-identification risk and annotation requirements?

Key findings

  • Standard NER-based de-identification methods provide weak privacy protection, as they fail to mask indirect identifiers such as profession, appearance, or political opinions.
  • Fine-tuned pre-trained language models achieve stronger privacy protection while preserving greater data utility compared to traditional NER approaches.
  • The proposed evaluation metrics effectively capture the trade-off between privacy and utility by weighting terms based on disclosure risk and information content.
  • The TAB corpus enables more accurate assessment of anonymization performance by explicitly marking which spans must be masked, going beyond predefined entity types.
  • The benchmark reveals that many potentially re-identifying elements are missed by standard de-identification pipelines, highlighting the need for broader anonymization strategies.
  • The corpus and evaluation framework are publicly available on GitHub, enabling reproducible research and community-driven improvements in text anonymization.

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.