Differentially Private Representation for NLP: Formal Guarantee and An Empirical Study on Privacy and Fairness

Lingjuan Lyu, Xuanli He, Yitong Li
10/3/2020
110 citations
cs.LGcs.CRstat.ML

Official code: xlhex/dpnlp (9 stars, Python, last commit 2020-10-06).

Abstract

It has been demonstrated that hidden representation learned by a deep model can encode private information of the input, hence can be exploited to recover such information with reasonable accuracy. To address this issue, we propose a novel approach called Differentially Private Neural Representation (DPNR) to preserve the privacy of the extracted representation from text.

Show full abstract

DPNR utilises Differential Privacy (DP) to provide a formal privacy guarantee. Further, we show that masking words via dropout can further enhance privacy. To maintain utility of the learned representation, we integrate DP-noisy representation into a robust training process to derive a robust target model, which also helps for model fairness over various demographic variables. Experimental results on benchmark datasets under various parameter settings demonstrate that DPNR largely reduces privacy leakage without significantly sacrificing the main task performance.

View on arXivView PDF

Code Implementations(1)

xlhex/dpnlpOfficial100%
94PythonOct 3, 20206 years ago

Similar Papers

Cite this paper

@article{lyu2020differentially,
  title  = {Differentially Private Representation for NLP: Formal Guarantee and An Empirical Study on Privacy and Fairness},
  author = {Lingjuan Lyu and Xuanli He and Yitong Li},
  year   = {2020},
  eprint = {2010.01285},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.01285}
}

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

Discussion