Journal Article10.18653/v1/2022.emnlp-main.323
Differentially Private Language Models for Secure Data Sharing
Justus Mattern,Zhijing Jin,Benjamin Weggenmann,Bernhard Schoelkopf,Mrinmaya Sachan +4 more
- 01 Jan 2022
TL;DR: This paper introduces a novel approach for differentially private language models that generate high-quality synthetic text datasets while preserving privacy.
read more
Abstract: To protect the privacy of individuals whose data is being shared, it is of high importance to develop methods allowing researchers and companies to release textual data while providing formal privacy guarantees to its originators.In the field of NLP, substantial efforts have been directed at building mechanisms following the framework of local differential privacy, thereby anonymizing individual text samples before releasing them.In practice, these approaches are often dissatisfying in terms of the quality of their output language due to the strong noise required for local differential privacy.In this paper, we approach the problem at hand using global differential privacy, particularly by training a generative language model in a differentially private manner and consequently sampling data from it.Using natural language prompts and a new prompt-mismatch loss, we are able to create highly accurate and fluent textual datasets taking on specific desired attributes such as sentiment or topic and resembling statistical properties of the training data.We perform thorough experiments indicating that our synthetic datasets do not leak information from our original data and are of high language quality and highly suitable for training models for further analysis on real-world data.Notably, we also demonstrate that training classifiers on private synthetic data outperforms directly training classifiers on real data with DP-SGD.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Figures

Figure 1: Main idea of our paper: To share potentially sensitive datasets with third parties, we train a language model (LM) on the sensitive data in a differentially private manner and consequently prompt the LM to generate synthetic samples with privacy guarantees. 
Table 3: Number of duplicates from the training data generated by language models 
Table 4: Mauve scores measuring the similarity of generated data and Dtrain. 
Table 7: Failure cases in which the generated text is incoherent or does not make sense. Model mistakes are marked in red. 
Table 6: Failure cases in which the generated text does not fit the desired attributes. Model mistakes are marked in red. 
Table 5: Exemplary generated samples from models trained with only 25 text samples. The texts were selected by picking a random sample from Dtest and finding the most similar one according to Sentence-BERT (Reimers and Gurevych, 2019) within the generated data.
Citations
Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipe
Yang Xiang,Huseyin A. Inan,Xuechen Li,Girish Kumar,Julia McAnallen,Shajari Houshang,Hongjian Sun,David Levitan,Robert B. Sim +8 more
- 01 Jan 2023
TL;DR: Fine-tuning a pre-trained generative language model with differential privacy enables the generation of high-quality synthetic text with strong privacy protection.
Privacy-Preserving Domain Adaptation of Semantic Parsers
Fatemehsadat Mireshghallah,Yu Sui,Tatsunori Hashimoto,Jason Eisner,R.Y.C. Shin +4 more
- 01 Jan 2023
TL;DR: Privacy-preserving domain adaptation of semantic parsers generates realistic user utterances synthetically to increase the linguistic and functional coverage of the system without compromising privacy.
DP-BART for Privatized Text Rewriting under Local Differential Privacy
Timour Igamberdiev,Ivan Habernal +1 more
- 01 Jan 2023
TL;DR: DP-BART is a novel system for privatized text rewriting that significantly outperforms existing LDP systems. It uses a novel clipping method, iterative pruning, and further training of internal representations to reduce noise requirements.
Locally Differentially Private Document Generation Using Zero Shot Prompting
Saiteja Utpala,Sara Hooker,Pin‐Yu Chen +2 more
- 01 Jan 2023
TL;DR: Locally differentially private document generation using zero shot prompting effectively contributes to privacy preservation by leveraging the power of pretrained large language models and zero-shot prompting.
Incentive Mechanisms for Collaborative Intelligence Sharing in Blockchain-Based Federated LLM Fine-Tuning
Jinyu Zhang,Yixuan Pan,Zhaomin Wu,Rongqi Zhou,Yi Yang,Peng Wang,Wen Sun +6 more
References
•Proceedings Article
Adam: A Method for Stochastic Optimization
Diederik P. Kingma,Jimmy Ba +1 more
- 01 Jan 2015
TL;DR: This work introduces Adam, an algorithm for first-order gradient-based optimization of stochastic objective functions, based on adaptive estimates of lower-order moments, and provides a regret bound on the convergence rate that is comparable to the best known results under the online convex optimization framework.
138.5K
Attention Is All You Need
Ashish Vaswani,Noam Shazeer,Niki Parmar,Jakob Uszkoreit,Llion Jones,Aidan N. Gomez,Łukasz Kaiser,Illia Polosukhin +7 more
- 01 Jan 2017
Abstract: The dominant sequence transduction models are based on complex recurrent or convolutional neural networks in an encoder-decoder configuration. The best performing models also connect the encoder and decoder through an attention mechanism. We propose a new simple network architecture, the Transformer, based solely on attention mechanisms, dispensing with recurrence and convolutions entirely. Experiments on two machine translation tasks show these models to be superior in quality while being more parallelizable and requiring significantly less time to train. Our model achieves 28.4 BLEU on the WMT 2014 English-to-German translation task, improving over the existing best results, including ensembles by over 2 BLEU. On the WMT 2014 English-to-French translation task, our model establishes a new single-model state-of-the-art BLEU score of 41.8 after training for 3.5 days on eight GPUs, a small fraction of the training costs of the best models from the literature. We show that the Transformer generalizes well to other tasks by applying it successfully to English constituency parsing both with large and limited training data.
51.8K
Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks
Nils Reimers,Iryna Gurevych +1 more
- 14 Aug 2019
TL;DR: Sentence-BERT (SBERT), a modification of the pretrained BERT network that use siamese and triplet network structures to derive semantically meaningful sentence embeddings that can be compared using cosine-similarity is presented.
Calibrating noise to sensitivity in private data analysis
Cynthia Dwork,Frank McSherry,Kobbi Nissim,Adam Smith +3 more
- 04 Mar 2006
TL;DR: In this article, the authors show that for several particular applications substantially less noise is needed than was previously understood to be the case, and also show the separation results showing the increased value of interactive sanitization mechanisms over non-interactive.
•Posted Content
Transformers: State-of-the-art Natural Language Processing
Thomas Wolf,Lysandre Debut,Victor Sanh,Julien Chaumond,Clement Delangue,Anthony Moi,Pierric Cistac,Tim Rault,Rémi Louf,Morgan Funtowicz,Jamie Brew +10 more
- 09 Oct 2019
TL;DR: Transformers is an open-source library that consists of carefully engineered state-of-the art Transformer architectures under a unified API and a curated collection of pretrained models made by and available for the community.
5.8K