Differential Privacy for Text Analytics via Natural Text Sanitization

Xiang Yue, Minxin Du, Tianhao Wang, Yaliang Li, Huan Sun +1 more
6/2/2021
cs.CLcs.CR

Official code: xiangyue9607/SanText (34 stars, Python, MIT, last commit 2022-03-15).

Abstract

Texts convey sophisticated knowledge. However, texts also convey sensitive information.

Show full abstract

Despite the success of general-purpose language models and domain-specific mechanisms with differential privacy (DP), existing text sanitization mechanisms still provide low utility, as cursed by the high-dimensional text representation. The companion issue of utilizing sanitized texts for downstream analytics is also under-explored. This paper takes a direct approach to text sanitization. Our insight is to consider both sensitivity and similarity via our new local DP notion. The sanitized texts also contribute to our sanitization-aware pretraining and fine-tuning, enabling privacy-preserving natural language processing over the BERT language model with promising utility. Surprisingly, the high utility does not boost up the success rate of inference attacks.

View on arXivView PDF

Code Implementations(1)

MIT

Code for Findings of ACL 2021 "Differential Privacy for Text Analytics via Natural Text Sanitization"

347Python, ShellMay 20, 20214 years agoMIT

Similar Papers

Cite this paper

@article{yue2021differential,
  title  = {Differential Privacy for Text Analytics via Natural Text Sanitization},
  author = {Xiang Yue and Minxin Du and Tianhao Wang and Yaliang Li and Huan Sun and Sherman S. M. Chow},
  year   = {2021},
  eprint = {2106.01221},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.01221}
}

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/2106.01221.svg)](https://codeofpaper.com/paper/2106.01221)

Discussion