English

Submix: Practical Private Prediction for Large-Scale Language Models

Machine Learning 2022-01-05 v1 Artificial Intelligence Computation and Language

Abstract

Recent data-extraction attacks have exposed that language models can memorize some training samples verbatim. This is a vulnerability that can compromise the privacy of the model's training data. In this work, we introduce SubMix: a practical protocol for private next-token prediction designed to prevent privacy violations by language models that were fine-tuned on a private corpus after pre-training on a public corpus. We show that SubMix limits the leakage of information that is unique to any individual user in the private corpus via a relaxation of group differentially private prediction. Importantly, SubMix admits a tight, data-dependent privacy accounting mechanism, which allows it to thwart existing data-extraction attacks while maintaining the utility of the language model. SubMix is the first protocol that maintains privacy even when publicly releasing tens of thousands of next-token predictions made by large transformer-based models such as GPT-2.

Keywords

Cite

@article{arxiv.2201.00971,
  title  = {Submix: Practical Private Prediction for Large-Scale Language Models},
  author = {Antonio Ginart and Laurens van der Maaten and James Zou and Chuan Guo},
  journal= {arXiv preprint arXiv:2201.00971},
  year   = {2022}
}
R2 v1 2026-06-24T08:39:24.888Z