Protecting De-identified Documents from Search-based Linkage Attacks

Pierre Lison, Mark Anderson


Abstract
While de-identification models can help conceal the identity of the individuals mentioned in a document, they fail to address linkage risks, defined as the potential to map the de-identified text back to its source. Linkages can potentially propagate harmful outcomes back to individuals and should therefore be prevented. One straightforward way to perform such linkages is to extract phrases from the de-identified document and check their presence in the original dataset. This paper presents a method to counter search-based linkage attacks while preserving the semantic integrity of the text. The method proceeds in two steps. We first construct an inverted index of the N-grams occurring in the text collection, making it possible to efficiently determine which N-grams appear in fewer than k documents, either alone or in combination with other N-grams. An LLM-based rewriter is then iteratively queried to reformulate those spans until linkage is no longer possible. Experimental results on two datasets (court cases and Wikipedia biographies) show that the rewriting method can effectively prevent search-based linkages while remaining faithful to the original content. However, we also highlight that linkages remain feasible with the help of more advanced, semantics-oriented approaches.
Anthology ID:
2026.nllp-1.47
Volume:
Proceedings of the Natural Legal Language Processing Workshop 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Nikolaos Aletras, Ilias Chalkidis, Leslie Barrett, Cătălina Goanță, Daniel Preoțiuc-Pietro, Gerasimos Spanakis, Shanshan Xu
Venues:
NLLP | WS
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
587–608
Language:
URL:
https://aclanthology.org/2026.nllp-1.47/
DOI:
Bibkey:
Cite (ACL):
Pierre Lison and Mark Anderson. 2026. Protecting De-identified Documents from Search-based Linkage Attacks. In Proceedings of the Natural Legal Language Processing Workshop 2026, pages 587–608, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Protecting De-identified Documents from Search-based Linkage Attacks (Lison & Anderson, NLLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.nllp-1.47.pdf