EMNLP Findings2021
Learning and Evaluating a Differentially Private Pre-trained Language Model
Shlomo Hoory, Amir Feder, Avichai Tendler, Sofia Erell, Alon Peled-Cohen, Itay Laish, Hootan Nakhost, Uri Stemmer, Ayelet Benjamini, Avinatan Hassidim, Yossi Matias
Abstract
Contextual language models have led to significantly better results, especially when pretrained on the same data as the downstream task. While this additional pre-training usually improves performance, it can lead to information leakage and therefore risks the privacy of individuals mentioned in the training data.
One method to guarantee the privacy of such individuals is to train a differentially-private language model, but this usually comes at the expense of model performance. Also, in the absence of a differentially private vocabulary training, it is not possible to modify the vocabulary to fit the new data, which might further degrade results. In this work we bridge these gaps, and provide guidance to future researchers and practitioners on how to improve privacy while maintaining good model performance. We introduce a novel differentially private word-piece algorithm, which allows training a tailored domain-specific vocabulary while maintaining privacy. We then experiment with entity extraction tasks from clinical notes, and demonstrate how to train a differentially private pre-trained language model (i.e., BERT) with a privacy guarantee of = 1.1 and with only a small degradation in performance. Finally, as it is hard to tell given a privacy parameter what was the effect on the trained representation, we present experiments showing that the trained model does not memorize private information.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
15 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Models cites Large Language Models Can Be Strong Differentially Private Learners
- Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Models cites Differentially Private Fine-tuning of Language Models
- Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Models cites Deep Learning with Differential Privacy
- Split-and-Denoise: Protect large language model inference with local differential privacy cites Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Models
- Split-and-Denoise: Protect large language model inference with local differential privacy cites Differentially Private Fine-tuning of Language Models
- Differentially Private Model Compression cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Differentially Private Model Compression cites Large Language Models Can Be Strong Differentially Private Learners
- Differentially Private Model Compression cites Differentially Private Fine-tuning of Language Models
- Differentially Private Model Compression cites Deep Learning with Differential Privacy
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks cites Deep Learning with Differential Privacy
- Large Language Models Can Be Strong Differentially Private Learners cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Large Language Models Can Be Strong Differentially Private Learners cites Differentially Private Fine-tuning of Language Models
- Differentially Private Fine-tuning of Language Models cites Large Language Models Can Be Strong Differentially Private Learners
- Large Language Models Can Be Strong Differentially Private Learners cites Deep Learning with Differential Privacy
- Differentially Private Fine-tuning of Language Models cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Differentially Private Fine-tuning of Language Models cites Deep Learning with Differential Privacy
- Information Leakage in Embedding Models cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Information Leakage in Embedding Models cites Deep Learning with Differential Privacy
Cited by top-tier papers15
- Large Language Models Can Be Strong Differentially Private LearnersXuechen Li, Florian Tramèr, Percy Liang, Tatsunori HashimotoICLR 2022 · 502 citations
- Differentially Private Fine-tuning of Language ModelsDa Yu, Saurabh Naik, Arturs Backurs, Sivakanth Gopi et al.ICLR 2022 · 494 citations
- Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language ModelsHaonan Duan, Adam Dziedzic, Nicolas Papernot, Franziska BoenischNeurIPS 2023 · 116 citations
- Split-and-Denoise: Protect large language model inference with local differential privacyPeihua Mai, Ran Yan, Zhe Huang, Youjia Yang et al.ICML 2024 · 41 citations
- Differentially Private Model CompressionFatemehsadat Mireshghallah, Arturs Backurs, Huseyin A. Inan, Lukas Wutschitz et al.NeurIPS 2022 · 18 citations
Builds on3
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos et al.USENIX Security 2019 · 1,386 citations
- Information Leakage in Embedding ModelsCongzheng Song, Ananth RaghunathanCCS 2020 · 200 citations
Related papers
- Incorporating medical knowledge in BERT for clinical relation extractionArpita Roy, Shimei PanEMNLP 2021 · 56 citations
- DrBERT: A Robust Pre-trained Model in French for Biomedical and Clinical domainsYanis Labrak, Adrien Bazoge, Richard Dufour, Mickael Rouvier et al.ACL 2023 · 19 citations
- exBERT: Extending Pre-trained Models with Domain-specific Vocabulary Under Constrained Training ResourcesWen Tai, H. T. Kung, Xin Dong, Marcus Z. Comiter et al.EMNLP Findings 2020 · 79 citations
- Training Text-to-Text Transformers with Privacy GuaranteesNatalia Ponomareva, Jasmijn Bastings, Sergei VassilvitskiiACL Findings 2022 · 9 citations
- Enhancing Small Medical Learners with Privacy-preserving Contextual PromptingXinlu Zhang, Shiyang Li, Xianjun Yang, Chenxin Tian et al.ICLR 2024 · 13 citations
