Articles producció científicaEnginyeria Informàtica i Matemàtiques

Truthful text sanitization guided by inference attacks

  • Dades identificatives

    Identificador:  imarina:9467100
    Autors:  Pilán, I; Manzanares-Salor, B; Sánchez, D; Lison, P
    Resum:
    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 them 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 ( < 1 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.
  • Altres:

    Autor segons l'article: Pilán, I; Manzanares-Salor, B; Sánchez, D; Lison, P
    Departament: Enginyeria Informàtica i Matemàtiques
    Autor/s de la URV: Sánchez Ruenes, David
    Paraules clau: Agreement; Data privacy; Data utility; Information-content; Large language models; Redaction; Semantic similarity; Text sanitization; Truth-preserving replacements
    Resum: 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 them 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 ( < 1 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.
    Àrees temàtiques: Administração pública e de empresas, ciências contábeis e turismo; Biotecnología; Ciência da computação; Ciência de alimentos; Computer science, artificial intelligence; Computer science, interdisciplinary applications; Engenharias i; Engenharias ii; Engenharias iii; Engenharias iv; Interdisciplinar; Matemática / probabilidade e estatística; Software
    Accès a la llicència d'ús: https://creativecommons.org/licenses/by/3.0/es/
    Adreça de correu electrònic de l'autor: david.sanchez@urv.cat
    Data d'alta del registre: 2026-02-13
    Versió de l'article dipositat: info:eu-repo/semantics/publishedVersion
    Enllaç font original: https://www.sciencedirect.com/science/article/pii/S1568494625013262?via%3Dihub
    Referència a l'article segons font original: Applied Soft Computing. 185 114013-
    Referència de l'ítem segons les normes APA: Pilán, I; Manzanares-Salor, B; Sánchez, D; Lison, P (2025). Truthful text sanitization guided by inference attacks. Applied Soft Computing, 185(), 114013-. DOI: 10.1016/j.asoc.2025.114013
    URL Document de llicència: https://repositori.urv.cat/ca/proteccio-de-dades/
    DOI de l'article: 10.1016/j.asoc.2025.114013
    Entitat: Universitat Rovira i Virgili
    Any de publicació de la revista: 2025-12-01
    Tipus de publicació: Journal Publications
  • Paraules clau:

    Computer Science, Artificial Intelligence,Computer Science, Interdisciplinary Applications,Software
    Agreement
    Data privacy
    Data utility
    Information-content
    Large language models
    Redaction
    Semantic similarity
    Text sanitization
    Truth-preserving replacements
    Administração pública e de empresas, ciências contábeis e turismo
    Biotecnología
    Ciência da computação
    Ciência de alimentos
    Computer science, artificial intelligence
    Computer science, interdisciplinary applications
    Engenharias i
    Engenharias ii
    Engenharias iii
    Engenharias iv
    Interdisciplinar
    Matemática / probabilidade e estatística
    Software
  • Documents:

  • Cerca a google

    Search to google scholar