Scalable Private Learning with PATE

Nicolas Papernot, Shuang Song, Ilya Mironov, Ananth Raghunathan, Kunal Talwar, Úlfar Erlingsson

Abstract

Machine learning models often inadvertently memorize sensitive training data, creating significant privacy risks. The Private Aggregation of Teacher Ensembles (PATE) framework addresses this by training a student model on noisy teacher predictions. However, original PATE implementations struggled to scale to complex, multi-class datasets. This paper presents an enhanced PATE framework utilizing Gaussian noise, Rényi Differential Privacy, and selective aggregation mechanisms. These innovations enable high-accuracy learning on large-scale datasets like Glyph while maintaining strong, provable privacy guarantees ($ε < 1.0$).

Introduction: The Challenge of Privacy in ML

Deep learning models are prone to memorizing specific training examples, which can be exploited by adversaries to extract sensitive information. While Differential Privacy (DP) provides a rigorous mathematical framework to mitigate this, applying it to complex, real-world tasks often results in a severe "utility gap"—where privacy comes at the cost of significant accuracy loss.

The PATE framework was proposed to bridge this gap. It partitions sensitive data into disjoint sets to train an ensemble of "teacher" models. A "student" model is then trained using public, unlabeled data labeled by the noisy consensus of these teachers. Since the student only interacts with the aggregate, noisy output, the privacy of any individual record in the teacher training sets is preserved.

The PATE Framework Architecture

The PATE framework architecture: Sensitive data is split among teachers whose aggregated, noisy predictions label public data for a student model.

The core idea of PATE is that if multiple independent models (teachers) agree on a label, that label is likely a general property of the data rather than a memorized artifact of a specific training point. By adding noise to this consensus, the framework provides a formal privacy guarantee.

Scaling PATE to Real-World Complexity

The original PATE framework relied on Laplacian noise and basic composition theorems, which limited its scalability. For datasets with many classes or noisy labels, the privacy budget ($ε$) would deplete rapidly. This research introduces several key technical advancements to make PATE practical for large-scale applications:

  1. Gaussian Noisy Max (GNMax): By replacing Laplacian noise with Gaussian noise, the framework benefits from faster-decaying tails. This ensures that a strong teacher consensus is more likely to be preserved even with lower noise levels.
  2. Rényi Differential Privacy (RDP): The authors employ RDP to track the privacy budget. RDP allows for much tighter composition of privacy losses over thousands of queries compared to standard DP.
  3. Selective Aggregation (Confident & Interactive): To optimize the privacy budget, the framework uses a "Confident Aggregator" that only provides labels when teachers reach a high consensus. An "Interactive Aggregator" further refines this by only querying teachers when the student model is uncertain, avoiding "expensive" queries for labels the student has already mastered.

Experimental Evaluation

The authors evaluated the improved PATE on standard benchmarks and a new, challenging dataset called Glyph. Glyph contains 65 million training points across 150 classes, featuring the imbalances and label noise typical of real-world data.

Student test accuracy vs. number of queries answered on the Glyph dataset. Confident-GNMax achieves higher accuracy with significantly lower privacy cost (ε) compared to the original LNMax.

Key Results

  • Superior Privacy-Utility Trade-off: On the Glyph dataset, the new mechanisms achieved 75.5% accuracy with a privacy cost of $ε = 1.02$. In contrast, the original PATE approach resulted in $ε > 4.0$ for lower accuracy.
  • Sub-1.0 Privacy Budget: For the first time on complex tasks, the authors demonstrated that high utility is possible with $ε < 1.0$, a "gold standard" for privacy protection (e.g., $ε = 0.76$ in early training stages).
  • Efficiency through Selection: The selective mechanisms allowed the student to learn effectively from over 10,000 queries while only incurring the privacy cost for the subset of queries that were actually answered.

Conclusion

This work demonstrates that privacy and utility can be synergistic. By focusing on queries with high teacher consensus and student uncertainty, PATE can scale to massive, multi-class datasets. While the framework requires substantial amounts of sensitive data to train effective teacher ensembles, it represents a major step toward deploying robust, private machine learning in sensitive domains like healthcare and finance.

Summary updated

BibTeX
@inproceedings{papernot2018scalable,
  author = {Nicolas Papernot and Shuang Song and Ilya Mironov and Ananth Raghunathan and Kunal Talwar and Úlfar Erlingsson},
  title = {{Scalable Private Learning with PATE}},
  booktitle = {International Conference on Learning Representations},
  year = {2018},
  url = {https://openreview.net/forum?id=rkZB1XbRZ},
}
Figure