Lune

NeurIPS2022Top-tier venue

SeqPATE: Differentially Private Text Generation via Knowledge Distillation

Zhiliang Tian, Yingxiu Zhao, Ziyue Huang, Yu-Xiang Wang, Nevin L. Zhang, He He

Abstract

Protecting the privacy of user data is crucial for text generation models, which can leak sensitive information during generation. Differentially private (DP) learning methods provide guarantees against identifying the existence of a training sample from model outputs. PATE is a recent DP learning algorithm that achieves high utility with strong privacy protection on training samples. However, text generation models output tokens sequentially in a large output space; the classic PATE algorithm is not customized for this setting. Furthermore, PATE works well to protect sample-level privacy, but is not designed to protect phrases in samples. In this paper, we propose SeqPATE, an extension of PATE to text generation that protects the privacy of individual training samples and sensitive phrases in training data. To adapt PATE to text generation, we generate pseudo-contexts and reduce the sequence generation problem to a next-word prediction problem. To handle the large output space, we propose a candidate filtering strategy to dynamically reduce the output space, and refine the teacher aggregation of PATE to avoid low agreement due to voting for a large number of candidates. To further reduce privacy losses, we use knowledge distillation to reduce the number of teacher queries. The experiments verify the effectiveness of SeqPATE in protecting both training samples and sensitive phrases. * This paper was partially done when Zhiliang Tian was a Ph.D. student at HKUST and a visiting scholar at NYU.

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.

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
  • Prεεmpt: Sanitizing Sensitive Prompts for LLMs cites Differentially Private Fine-tuning of Language Models
  • Prεεmpt: Sanitizing Sensitive Prompts for LLMs cites Extracting Training Data from Large Language Models
  • Prεεmpt: Sanitizing Sensitive Prompts for LLMs cites Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation
  • Differentially Private Model Compression cites Membership Inference Attacks Against Machine Learning Models
  • Differentially Private Model Compression cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  • 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 Membership Inference Attacks Against Machine Learning Models
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks cites Deep Learning with Differential Privacy
  • Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed Alternatives cites Differentially Private Fine-tuning of Language Models
  • Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed Alternatives cites Deep Learning with Differential Privacy
  • Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed Alternatives cites Extracting Training Data from Large Language Models
  • Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed Alternatives cites Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generation
  • Differentially Private Fine-tuning of Language Models cites Membership Inference Attacks Against Machine Learning Models
  • 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
  • Differentially Private Fine-tuning of Language Models cites Extracting Training Data from Large Language Models
  • Extracting Training Data from Large Language Models cites Membership Inference Attacks Against Machine Learning Models
  • Extracting Training Data from Large Language Models cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  • 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 Differentially Private Fine-tuning of Language Models
  • 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
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. Differentially Private Fine-tuning of Language ModelsDa Yu, Saurabh Naik, Arturs Backurs, Sivakanth Gopi et al.ICLR 2022 · 494 citations
  2. 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
  3. Open LLMs are Necessary for Current Private Adaptations and Outperform their Closed AlternativesVincent Hanke, Tom Blanchard, Franziska Boenisch, Iyiola E. Olatunji et al.NeurIPS 2024 · 27 citations
  4. Differentially Private Model CompressionFatemehsadat Mireshghallah, Arturs Backurs, Huseyin A. Inan, Lukas Wutschitz et al.NeurIPS 2022 · 18 citations
  5. Prεεmpt: Sanitizing Sensitive Prompts for LLMsAmrita Roy Chowdhury, David Glukhov, Divyam Anshumaan, Prasad Chalasani et al.NDSS 2026 · 5 citations

Builds on11

  1. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
  2. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
  3. The Curious Case of Neural Text DegenerationAri Holtzman, Jan Buys, Li Du, Maxwell Forbes et al.ICLR 2020 · 4,112 citations
  4. Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski et al.USENIX Security 2021 · 2,866 citations
  5. 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

Related papers

  1. Hot PATE: Private Aggregation of Distributions for Diverse TasksEdith Cohen, Benjamin Cohen-Wang, Xin Lyu, Jelani Nelson et al.ICLR 2026 · 5 citations
  2. G-PATE: Scalable Differentially Private Data Generator via Private Aggregation of Teacher DiscriminatorsYunhui Long, Boxin Wang, Zhuolin Yang, Bhavya Kailkhura et al.NeurIPS 2021 · 91 citations
  3. Secret-Protected Evolution for Differentially Private Synthetic Text GenerationTianze Wang, Zhaoyu Chen, Jian Du, Yingtai Xiao et al.ICLR 2026 · 1 citation
  4. In Differential Privacy, There is Truth: on Vote-Histogram Leakage in Ensemble Private LearningJiaqi Wang, Roei Schuster, Ilia Shumailov, David Lie et al.NeurIPS 2022 · 8 citations
  5. DataLens: Scalable Privacy Preserving Training via Gradient Compression and AggregationBoxin Wang, Fan Wu, Yunhui Long, Luka Rimanic et al.CCS 2021 · 45 citations
Dusk over the sea between two cliffs drawn in fine vertical lines