One size does not fit all: Investigating strategies for differentially-private learning across NLP tasks

Manuel Senge, Timour Igamberdiev, Ivan Habernal
12/15/2021
cs.CL

Official code: trusthlt/dp-across-nlp-tasks (4 stars, Python, Apache-2.0, last commit 2022-07-14).

Abstract

Preserving privacy in contemporary NLP models allows us to work with sensitive data, but unfortunately comes at a price. We know that stricter privacy guarantees in differentially-private stochastic gradient descent (DP-SGD) generally degrade model performance.

Show full abstract

However, previous research on the efficiency of DP-SGD in NLP is inconclusive or even counter-intuitive. In this short paper, we provide an extensive analysis of different privacy preserving strategies on seven downstream datasets in five different `typical' NLP tasks with varying complexity using modern neural models based on BERT and XtremeDistil architectures. We show that unlike standard non-private approaches to solving NLP tasks, where bigger is usually better, privacy-preserving strategies do not exhibit a winning pattern, and each task and privacy regime requires a special treatment to achieve adequate performance.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

One size does not fit all: Investigating strategies for differentially-private learning across NLP tasks

41Python, ShellDec 7, 20214 years agoApache-2.0

Similar Papers

Cite this paper

@article{senge2021size,
  title  = {One size does not fit all: Investigating strategies for differentially-private learning across NLP tasks},
  author = {Manuel Senge and Timour Igamberdiev and Ivan Habernal},
  year   = {2021},
  eprint = {2112.08159},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.08159}
}

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

Discussion