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