Lune

ACL2023Top-tier venue

Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipe

Xiang Yue, Huseyin A. Inan, Xuechen Li, Girish Kumar, Julia McAnallen, Hoda Shajari, Huan Sun, David Levitan, Robert Sim

Abstract

Privacy concerns have attracted increasing attention in data-driven products due to the tendency of machine learning models to memorize sensitive training data. Generating synthetic versions of such data with a formal privacy guarantee, such as differential privacy (DP), provides a promising path to mitigating these privacy concerns, but previous approaches in this direction have typically failed to produce synthetic data of high quality. In this work, we show that a simple and practical recipe in the text domain is effective: simply fine-tuning a pre-trained generative language model with DP enables the model to generate useful synthetic text with strong privacy protection. Through extensive empirical analyses on both benchmark and private customer data, we demonstrate that our method produces synthetic text that is competitive in terms of utility with its non-private counterpart, meanwhile providing strong protection against potential privacy leakages. 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.

38 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Membership Inference Attacks Against Machine Learning Models cites Deep Learning with Differential Privacy
  • PrE-Text: Training Language Models on Private Federated Data in the Age of LLMs cites Privacy-Preserving Instructions for Aligning Large Language Models
  • PrE-Text: Training Language Models on Private Federated Data in the Age of LLMs cites Deep Learning with Differential Privacy
  • PrE-Text: Training Language Models on Private Federated Data in the Age of LLMs cites Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation
  • Language Models are Few-Shot Learners cites The Curious Case of Neural Text Degeneration
  • Differentially Private Synthetic Data via Foundation Model APIs 2: Text cites Membership Inference Attacks Against Machine Learning Models
  • Differentially Private Synthetic Data via Foundation Model APIs 2: Text cites Deep Learning with Differential Privacy
  • Differentially Private Synthetic Data via Foundation Model APIs 2: Text cites Extracting Training Data from Large Language Models
  • Privacy-Preserving Instructions for Aligning Large Language Models cites Language Models are Few-Shot Learners
  • Privacy-Preserving Instructions for Aligning Large Language Models cites Deep Learning with Differential Privacy
  • Privacy-Preserving Instructions for Aligning Large Language Models cites Extracting Training Data from Large Language Models
  • 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 Privately Aligning Language Models with Reinforcement Learning
  • Privacy-Preserving Instructions for Aligning Large Language Models cites The Curious Case of Neural Text Degeneration
  • Extracting Training Data from Large Language Models cites Membership Inference Attacks Against Machine Learning Models
  • Extracting Training Data from Large Language Models cites Language Models are Few-Shot Learners
  • Extracting Training Data from Large Language Models cites Deep Learning with Differential Privacy
  • Extracting Training Data from Large Language Models cites The Curious Case of Neural Text Degeneration
  • Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation cites Membership Inference Attacks Against Machine Learning Models
  • Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation cites Language Models are Few-Shot 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
  • Privately Aligning Language Models with Reinforcement Learning cites Deep Learning with Differential Privacy
  • Privately Aligning Language Models with Reinforcement Learning cites Extracting Training Data from Large Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers38

  1. 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
  2. Differentially Private Synthetic Data via Foundation Model APIs 2: TextChulin Xie, Zinan Lin, Arturs Backurs, Sivakanth Gopi et al.ICML 2024 · 71 citations
  3. Privacy-Preserving Instructions for Aligning Large Language ModelsDa Yu, Peter Kairouz, Sewoong Oh, Zheng XuICML 2024 · 41 citations
  4. PrE-Text: Training Language Models on Private Federated Data in the Age of LLMsCharlie Hou, Akshat Shrivastava, Hongyuan Zhan, Rylan Conway et al.ICML 2024 · 30 citations
  5. Privately Aligning Language Models with Reinforcement LearningFan Wu, Huseyin A. Inan, Arturs Backurs, Varun Chandrasekaran et al.ICLR 2024 · 16 citations

Builds on26

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
  3. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
  4. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
  5. Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski et al.USENIX Security 2021 · 2,866 citations

Related papers

  1. Differentially Private Language Models for Secure Data SharingJustus Mattern, Zhijing Jin, Benjamin Weggenmann, Bernhard Schölkopf et al.EMNLP 2022 · 16 citations
  2. Private Seeds, Public LLMs: Realistic and Privacy-Preserving Synthetic Data GenerationQian Ma, Sarah RajtmajerACL Findings 2026
  3. DPGA-TextSyn: Differentially Private Genetic Algorithm for Synthetic Text GenerationZhonghao Sun, Zhiliang Tian, Yiping Song, Yuyi Si et al.ACL Findings 2025
  4. Privacy Preserving In-Context-Learning Framework for Large Language ModelsBishnu Bhusal, Manoj Acharya, Ramneet Kaur, Colin Samplawski et al.AAAI 2026 · 1 citation
  5. Private prediction for large-scale synthetic text generationKareem Amin, Alex Bie, Weiwei Kong, Alexey Kurakin et al.EMNLP Findings 2024 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines