Abstract
Standard Private Aggregation of Teacher Ensembles (PATE) frameworks struggle with generative tasks due to a "vote-splitting" phenomenon where diverse, valid outputs fail to reach consensus thresholds under privacy noise. We present Hot PATE, a method that utilizes coordinated sampling via shared randomness to create artificial agreement among teacher models. This approach preserves output diversity and significantly improves utility in private text generation without compromising differential privacy guarantees.
Introduction
The Private Aggregation of Teacher Ensembles (PATE) is a robust framework for privacy-preserving machine learning. By partitioning sensitive data among multiple "teacher" models and aggregating their predictions, PATE ensures that the final output masks individual records. While highly effective for classification, PATE faces a significant hurdle in generative tasks: the diversity–privacy trade-off.
In generative language modeling, multiple valid tokens often exist for a given context. In a traditional "Cold PATE" setup, teachers sample independently. If hundreds of teachers distribute their votes across several valid candidates, no single token may achieve the consensus necessary to overcome the noise added for differential privacy. Consequently, users are often forced to reduce model "temperature," sacrificing the diversity and richness of LLM outputs to satisfy privacy constraints.
Methodology: Coordinated Sampling
Hot PATE addresses this challenge through a novel ensemble coordination mechanism. Instead of independent sampling, teachers utilize shared randomness (a common random seed) and a coordinated sampling technique, such as a bottom-k sampling transform.
The core insight is that coordinated sampling creates "bursts of agreement." If multiple teachers assign even a small probability to a specific token, the shared randomness ensures they select that token simultaneously. This results in high peaks in the voting histogram for valid tokens, even those with low individual probabilities.
Because each teacher's vote remains a function of their private data distribution, the sensitivity of the histogram remains low. This allows the use of standard Differential Privacy (DP) aggregators like NoisyArgMax without modification, but with a significantly improved margin between the top choice and runners-up.
Experimental Evaluation
The researchers evaluated Hot PATE across two distinct tasks:
- Instruction Generation (Dolly 15K): Using a dataset of ~10,000 instruction-response pairs partitioned among 512 teachers to test synthetic text generation.
- Controlled Diversity (Planet Z): A curated task involving "edible numbers" on a fictional planet. This setup allowed for precise control over the number of "correct" answers ($k$), enabling direct measurement of diversity transfer.
Key Results
Hot PATE demonstrates massive utility gains over traditional methods. In the Planet Z task with high diversity ($k=100$), Hot PATE achieved 20% coverage at a privacy threshold where Cold PATE failed to return any results. To match Hot PATE's performance, Cold PATE would require an 8x increase in the privacy budget.
Furthermore, Hot PATE excels at preserving the tail of the distribution. It successfully surfaces rare but valid responses that independent voting would typically bury in noise. The resulting stability in outputs also allows for more efficient privacy accounting, potentially enabling orders of magnitude more queries for the same privacy cost.
Conclusion and Future Work
Hot PATE effectively bridges the gap between privacy and diversity in LLMs. While it requires the ability to set shared random seeds—a feature common in open-source models but sometimes restricted in proprietary APIs—it offers a path toward high-utility private text generation. Future research will focus on managing the "privacy spend" over longer sequences and optimizing coordination when teacher models possess highly disjoint information sets.
Summary updated