mlsanityData to 7 Oct 2026

Adaptively Private Next-Token Prediction of Large Language Models

arXiv 2410.02016 ↗First posted 2 Oct 2024cs.LG cs.CRcited by 4

Not on the map. Why?

Abstract (arXiv)

As Large Language Models (LLMs) proliferate, developing privacy safeguards for these models is crucial. One popular safeguard involves training LLMs in a differentially private manner. However, such solutions are shown to be computationally expensive and detrimental to the utility of these models. Since LLMs are deployed on the cloud and thus only accessible via an API, a Machine Learning as a Service (MLaaS) provider can protect its downstream data by privatizing the predictions during the decoding process. However, the practicality of such solutions still largely lags behind DP training methods. One recent promising approach, Private Mixing of Ensemble Distributions (PMixED), avoids additive noise by sampling from the output distributions of private LLMs mixed with the output distribution of a public model. Yet, PMixED must satisfy a fixed privacy level for a given number of queries, which is difficult for an analyst to estimate before inference and, hence, does not scale. To this end, we relax the requirements to a more practical setting by introducing Adaptive PMixED (AdaPMixED), a private decoding framework based on PMixED that is adaptive to the private and public output distributions evaluated on a given input query. In this setting, we introduce a noisy screening mechanism that filters out queries with potentially expensive privacy loss, and a data-dependent analysis that exploits the divergence of the private and public output distributions in its privacy loss calculation. Our experimental evaluations demonstrate that our mechanism and analysis can reduce the privacy loss by 16x while preserving the utility over the original PMixED. Furthermore, performing 100K predictions with AdaPMixED still achieves strong utility and a reasonable data-dependent privacy loss of 5.25.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 38 of its 49 references that are in the map. First posted on arXiv 2 Oct 2024.

Builds on

38 of 49 references.

References · 38

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  2. 2016Pointer Sentinel Mixture Modelscited by 2,992
  3. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  4. 2016Deep Learning with Differential Privacycited by 2,682
  5. 2020Extracting Training Data from Large Language Modelscited by 2,144
  6. 2019Language Models as Knowledge Bases?cited by 1,922
  7. 2018Hierarchical Neural Story Generationcited by 1,182
  8. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  9. 2022Quantifying Memorization Across Neural Language Modelscited by 755
  10. 2020How Much Knowledge Can You Pack Into the Parameters of a Language Model?cited by 713
  11. 2017Renyi Differential Privacycited by 643
  12. 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 477
26 more
  1. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
  2. 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
  3. 2021Differentially Private Fine-tuning of Language Modelscited by 392
  4. 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 375
  5. 2016Semi-supervised Knowledge Transfer for Deep Learning from Private Training Datacited by 347
  6. 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 302
  7. 2018Scalable Private Learning with PATEcited by 266
  8. 2021Adversary Instantiation: Lower Bounds for Differentially Private Machine Learningcited by 193
  9. 2023Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generationcited by 94
  10. 2021Do Not Let Privacy Overbill Utility: Gradient Embedding Perturbation for Private Learningcited by 86
  11. 2019Hypothesis Testing Interpretations and Renyi Differential Privacycited by 84
  12. 2023Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Modelscited by 80
  13. 2024Differentially Private Synthetic Data via Foundation Model APIs 2: Textcited by 74
  14. 2020Individual Privacy Accounting via a Renyi Filtercited by 57
  15. 2023Privacy-Preserving In-Context Learning for Large Language Modelscited by 50
  16. 2018Privacy-preserving Predictioncited by 48
  17. 2022When Does Differentially Private Learning Not Suffer in High Dimensions?cited by 48
  18. 2022Composition of Differential Privacy & Privacy Amplification by Subsamplingcited by 42
  19. 2023Why Is Public Pretraining Necessary for Private Model Training?cited by 36
  20. 2022Differentially Private Decoding in Large Language Modelscited by 34
  21. 2022Submix: Practical Private Prediction for Large-Scale Language Modelscited by 31
  22. 2020The Trade-Offs of Private Predictioncited by 22
  23. 2024Differentially Private Next-Token Prediction of Large Language Modelscited by 21
  24. 2024Differentially Private Knowledge Distillation via Synthetic Text Generationcited by 18
  25. 2022Generalized PTR: User-Friendly Recipes for Data-Adaptive Algorithms with Differential Privacycited by 6
  26. 2023"Private Prediction Strikes Back!'' Private Kernelized Nearest Neighbors with Individual Renyi Filtercited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 3; 2026: 1.

4 papers.