Differentially Private Language Models for Secure Data Sharing
Justus Mattern, Zhijing Jin, Benjamin Weggenmann, Bernhard Schölkopf, Mrinmaya Sachan
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. 1
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.
28 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
- MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers cites The Curious Case of Neural Text Degeneration
- Large Language Models Can Be Strong Differentially Private Learners cites Deep Learning with Differential Privacy
- Large Language Models Can Be Strong Differentially Private Learners cites The Curious Case of Neural Text Degeneration
- Differentially Private Synthetic Data via Foundation Model APIs 2: Text cites MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers
- Differentially Private Synthetic Data via Foundation Model APIs 2: Text cites Large Language Models Can Be Strong Differentially Private Learners
- Differentially Private Synthetic Data via Foundation Model APIs 2: Text cites Deep Learning with Differential Privacy
- Privacy-Preserving Instructions for Aligning Large Language Models cites MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers
- Privacy-Preserving Instructions for Aligning Large Language Models cites Large Language Models Can Be Strong Differentially Private Learners
- Privacy-Preserving Instructions for Aligning Large Language Models cites Deep Learning with Differential Privacy
- Privacy-Preserving Instructions for Aligning Large Language Models cites Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation
- Privacy-Preserving Instructions for Aligning Large Language Models cites The Curious Case of Neural Text Degeneration
- LLM-PBE: Assessing Data Privacy in Large Language Models cites Large Language Models Can Be Strong Differentially Private Learners
- LLM-PBE: Assessing Data Privacy in Large Language Models cites Deep Learning with Differential Privacy
- Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation cites Large Language Models Can Be Strong Differentially Private Learners
- Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation cites Deep Learning with Differential Privacy
- Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation cites The Curious Case of Neural Text Degeneration
Cited by top-tier papers28
- Privacy-Preserving In-Context Learning with Differentially Private Few-Shot GenerationXinyu Tang, Richard Shin, Huseyin A. Inan, Andre Manoel et al.ICLR 2024 · 111 citations
- Differentially Private Synthetic Data via Foundation Model APIs 2: TextChulin Xie, Zinan Lin, Arturs Backurs, Sivakanth Gopi et al.ICML 2024 · 71 citations
- LLM-PBE: Assessing Data Privacy in Large Language ModelsQinbin Li, Junyuan Hong, Chulin Xie, Jeffrey Tan et al.VLDB 2024 · 66 citations
- ALI-Agent: Assessing LLMs' Alignment with Human Values via Agent-based EvaluationJingnan Zheng, Han Wang, An Zhang, Tai D. Nguyen et al.NeurIPS 2024 · 61 citations
- Privacy-Preserving Instructions for Aligning Large Language ModelsDa Yu, Peter Kairouz, Sewoong Oh, Zheng XuICML 2024 · 41 citations
Builds on15
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
- The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
- MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence FrontiersKrishna Pillutla, Swabha Swayamdipta, Rowan Zellers, John Thickstun et al.NeurIPS 2021 · 606 citations
- Large Language Models Can Be Strong Differentially Private LearnersXuechen Li, Florian Tramèr, Percy Liang, Tatsunori HashimotoICLR 2022 · 502 citations
- Towards Understanding and Mitigating Social Biases in Language ModelsPaul Pu Liang, Chiyu Wu, Louis-Philippe Morency, Ruslan SalakhutdinovICML 2021 · 495 citations
Related papers
- Synthetic Text Generation with Differential Privacy: A Simple and Practical RecipeXiang Yue, Huseyin A. Inan, Xuechen Li, Girish Kumar et al.ACL 2023 · 24 citations
- Evaluating Differentially Private Synthetic Data Generation in High-Stakes DomainsKrithika Ramesh, Nupoor Gandhi, Pulkit Madaan, Lisa Bauer et al.EMNLP Findings 2024 · 3 citations
- Privacy Preserving In-Context-Learning Framework for Large Language ModelsBishnu Bhusal, Manoj Acharya, Ramneet Kaur, Colin Samplawski et al.AAAI 2026 · 1 citation
- Private prediction for large-scale synthetic text generationKareem Amin, Alex Bie, Weiwei Kong, Alexey Kurakin et al.EMNLP Findings 2024 · 5 citations
- Private Seeds, Public LLMs: Realistic and Privacy-Preserving Synthetic Data GenerationQian Ma, Sarah RajtmajerACL Findings 2026
