Manuscript Offprint

arXiv:2609.05676

PAC-Private Autoregressive Generation: Calibrating Noise to Ensemble Disagreement

Mina Mirzadehsarcheshmeh, Amir Keyvan Khandani

Abstract

Language models adapted on private text are often served through APIs, exposing information through generated tokens rather than model weights. Differentially private training protects the model parameters, while private prediction instead protects the released outputs. Existing private-prediction methods incur privacy cost with every release. In PMixED, maintaining a fixed privacy target increasingly shifts the output toward the public model as the generation horizon grows. PAC privacy offers a different approach. It calibrates noise to the variability of the output across possible secrets, so stable predictions require less noise. PAC-private prediction has been studied for classification, but not, to our knowledge, for autoregressive generation.

We construct m=128m = 128 overlapping worlds from the private corpus, with each record appearing in exactly m/2m/2 worlds, and train one adapter per world over a frozen public model. The realized world is the secret. At each token, the public model defines a candidate set and the worlds vote within it. Their posterior-weighted disagreement determines the PAC noise, while unanimous positions require no calibration noise. We prove I(S;Y1:T)≤I(S;HT)≤bTI(S; Y_{1:T}) \leq I(S; H_T) \leq bT over TT released tokens. Our main contributions are extending PAC privacy to autoregressive generation, handling adaptive self-generated contexts, and introducing coupled decoding to preserve privacy accounting while avoiding greedy degeneration.

On WikiText-103 with GPT-2-small, we retain 74% of the fine-tuning gain at a per-token budget of 2−322^{-32}, with membership-inference success bounded to at most 51.08% after 10610^6 tokens; leakage estimated directly from posterior entropy is roughly 17% of the charged budget. Inference privacy is not content protection: where membership advantage on a memorized canary is indistinguishable from zero, the canary is still emitted at the same rate. Against PMixED at matched membership-inference bounds on the same data universe and test set, we retain 98% of non-private headroom across horizons from 10210^2 to 10610^6 tokens, versus at most 56%, with no crossover.¹

Keywords

PAC privacy, private prediction, autoregressive generation, large language models, mutual information, adaptive composition, membership inference, coupled decoding, memorization

References (35)