A Customized Text Sanitization Mechanism with Differential Privacy

Huimin Chen, Fengran Mo, Yanhao Wang, Cen Chen, Jian-Yun Nie +2 more
7/4/2022
100 citations
cs.CRcs.CL

Official code: sai4july/CusText (8 stars, Python, last commit 2023-08-01).

Abstract

As privacy issues are receiving increasing attention within the Natural Language Processing (NLP) community, numerous methods have been proposed to sanitize texts subject to differential privacy. However, the state-of-the-art text sanitization mechanisms based on metric local differential privacy (MLDP) do not apply to non-metric semantic similarity measures and cannot achieve good trade-offs between privacy and utility.

Show full abstract

To address the above limitations, we propose a novel Customized Text (CusText) sanitization mechanism based on the original $ε$-differential privacy (DP) definition, which is compatible with any similarity measure. Furthermore, CusText assigns each input token a customized output set of tokens to provide more advanced privacy protection at the token level. Extensive experiments on several benchmark datasets show that CusText achieves a better trade-off between privacy and utility than existing mechanisms. The code is available at https://github.com/sai4july/CusText.

View on arXivView PDF

Code Implementations(1)

sai4july/CusTextOfficial100%

Code for CusText.

82PythonAug 6, 20223 years ago

Similar Papers

Cite this paper

@article{chen2022customized,
  title  = {A Customized Text Sanitization Mechanism with Differential Privacy},
  author = {Huimin Chen and Fengran Mo and Yanhao Wang and Cen Chen and Jian-Yun Nie and Chengyu Wang and Jamie Cui},
  year   = {2022},
  eprint = {2207.01193},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.01193v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.01193.svg)](https://codeofpaper.com/paper/2207.01193)

Discussion