Truthful text sanitization guided by inference attacks

Text sanitization aims to rewrite parts of a document to prevent disclosure of personal information. The central challenge of text sanitization is to strike a balance between privacy protection (avoiding the leakage of personal information) and utility preservation (retaining as much as possible of the document’s original content). To this end, we introduce a novel text sanitization method based on generalizations , that is, broader but still informative terms that subsume the semantic content of the original text spans. The approach relies on the use of instruction-tuned large language models (LLMs) and is divided into two stages. Given a document including text spans expressing personally identifiable information (PII), the LLM is first applied to obtain truth-preserving replacement candidates for each text span and rank those according to their abstraction level. Those candidates are then evaluated for their ability to protect privacy by conducting inference attacks with the LLM. Finally, the system selects the most informative replacement candidate shown to be resistant to those attacks. This two-stage process produces replacements that effectively balance privacy and utility. We also present novel metrics to evaluate these two aspects without needing to manually annotate documents. Results on the Text Anonymization Benchmark show that the proposed approach, implemented with Mistral 7B Instruct, leads to enhanced utility, with only a marginal ( p.p.) increase in re-identification risk compared to fully suppressing the original spans. Furthermore, our approach is shown to be more truth-preserving than existing methods such as Microsoft Presidio’s synthetic replacements. • We propose INTACT, a novel text sanitization approach using instruction-tuned LLMs. • INTACT replaces disclosive terms with truth-preserving generalizations. • INTACT re-identification risk is comparable to suppressing sensitive text. • INTACT outperforms related works in downstream utility preservation. • Manual evaluation shows INTACT stands out in producing truthful generalizations.

Authors

Institutions

Publication Details

Journal
Applied Soft Computing
Published
2025-10-10
DOI
https://doi.org/10.1016/j.asoc.2025.114013
Citations
1
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
2.48
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Truthful text sanitization guided by inference attacks

Pierre Lison, Benet Manzanares-Salor, David Sánchez, Ildikó Pilán
1 citations
Applied Soft Computing
Adversarial Robustness in Machine Learning
2.48
article

Truthful text sanitization guided by inference attacks

Pierre Lison, Benet Manzanares-Salor, David Sánchez, Ildikó Pilán
article en
1 citations

Abstract

Text sanitization aims to rewrite parts of a document to prevent disclosure of personal information. The central challenge of text sanitization is to strike a balance between privacy protection (avoiding the leakage of personal information) and utility preservation (retaining as much as possible of the document’s original content). To this end, we introduce a novel text sanitization method based on generalizations , that is, broader but still informative terms that subsume the semantic content of the original text spans. The approach relies on the use of instruction-tuned large language models (LLMs) and is divided into two stages. Given a document including text spans expressing personally identifiable information (PII), the LLM is first applied to obtain truth-preserving replacement candidates for each text span and rank those according to their abstraction level. Those candidates are then evaluated for their ability to protect privacy by conducting inference attacks with the LLM. Finally, the system selects the most informative replacement candidate shown to be resistant to those attacks. This two-stage process produces replacements that effectively balance privacy and utility. We also present novel metrics to evaluate these two aspects without needing to manually annotate documents. Results on the Text Anonymization Benchmark show that the proposed approach, implemented with Mistral 7B Instruct, leads to enhanced utility, with only a marginal ( p.p.) increase in re-identification risk compared to fully suppressing the original spans. Furthermore, our approach is shown to be more truth-preserving than existing methods such as Microsoft Presidio’s synthetic replacements. • We propose INTACT, a novel text sanitization approach using instruction-tuned LLMs. • INTACT replaces disclosive terms with truth-preserving generalizations. • INTACT re-identification risk is comparable to suppressing sensitive text. • INTACT outperforms related works in downstream utility preservation. • Manual evaluation shows INTACT stands out in producing truthful generalizations.

Applied Soft ComputingVol. 185
Norwegian Computing Center (NO), Universitat Rovira i Virgili (ES)
Openalex Percentile: Top 8%
Adversarial Robustness in Machine Learning
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.