Private Aggregation of Teacher Ensembles (PATE) is a knowledge distillation framework that provides strong differential privacy guarantees for classification tasks. The core mechanism partitions sensitive training data into disjoint subsets, training an independent teacher model on each. When the student model queries for a label, the teachers vote, and calibrated Laplacian noise is added to the vote counts before the aggregated result is revealed, ensuring the student never accesses raw data.
Glossary
Private Aggregation of Teacher Ensembles (PATE)

What is Private Aggregation of Teacher Ensembles (PATE)?
PATE is a machine learning framework that achieves differential privacy by training an ensemble of 'teacher' models on disjoint data partitions and transferring their knowledge to a 'student' model via noisy, aggregated voting.
The privacy guarantee stems from the sensitivity of the aggregation query and the composition of queries over training. By adding noise proportional to the maximum influence a single data point can have on the vote histogram, PATE bounds the privacy loss. The student model, trained solely on these noisy labels, learns a generalized decision boundary without memorizing individual training examples, embodying the principle of post-processing immunity.
Core Properties of the PATE Framework
The Private Aggregation of Teacher Ensembles (PATE) framework achieves privacy by training an ensemble of teacher models on disjoint data partitions and transferring their knowledge to a student model via noisy, aggregated voting.
Disjoint Teacher Training
The foundational privacy guarantee stems from partitioning the sensitive dataset into non-overlapping shards. Each teacher model is trained exclusively on a single, isolated data partition. This ensures that no single teacher has access to the full dataset, limiting the information any individual model can leak. The privacy analysis relies on the sensitivity of the aggregation mechanism, which is bounded because each teacher's vote depends only on its own disjoint data shard.
Noisy Voting Aggregation
When the student model queries for a label, each teacher casts a vote. The votes are tallied, and calibrated Laplacian noise is added to the vote counts. The label with the highest noisy count is selected. This mechanism satisfies (ε, δ)-differential privacy for each query. The privacy cost per query is determined by the noise scale and the number of teachers, with the composition theorem tracking the cumulative privacy budget spent as the student makes more queries.
Knowledge Distillation to Student
The noisy labels generated by the teacher ensemble are used to train an unlabeled student model via knowledge distillation. The student never accesses the sensitive training data directly. A key property is post-processing immunity: once the noisy labels are produced with a differential privacy guarantee, any arbitrary processing of those labels—including training the student—cannot weaken the privacy guarantee. The student can be published or deployed without additional privacy risk.
Privacy Amplification by Subsampling
PATE leverages privacy amplification by subsampling when the student selects a random subset of teachers for each query rather than polling the entire ensemble. This random subsampling introduces uncertainty about which teachers—and therefore which data partitions—contributed to a given answer. Combined with the noisy aggregation, this provides a significantly tighter privacy guarantee than querying all teachers, enabling more queries within the same privacy budget.
Semi-Supervised GAN Extension
The PATE-GAN variant extends the framework to generative modeling. A differentially private generative adversarial network uses the PATE mechanism to train a discriminator with privacy guarantees. The discriminator acts as the teacher ensemble, trained on disjoint data partitions, and its noisy gradients guide the generator. This enables the creation of differentially private synthetic data that preserves the statistical properties of the sensitive source dataset without exposing individual records.
Confident-GNMax Aggregator
The Confident-GNMax mechanism improves the privacy-utility trade-off by only releasing a label when the teacher ensemble reaches a high-confidence consensus. It adds Gaussian noise to the vote counts and requires the plurality vote to exceed a threshold. If confidence is insufficient, the query is rejected, conserving the privacy budget. This selective answering strategy enables the student to learn from high-quality, privacy-protected labels while avoiding wasteful expenditure on ambiguous examples.
Frequently Asked Questions About PATE
Clear, technical answers to the most common questions about the PATE framework, a knowledge distillation approach that uses noisy aggregation of teacher votes to provide provable differential privacy guarantees for sensitive training data.
The Private Aggregation of Teacher Ensembles (PATE) is a machine learning framework that achieves differential privacy by training an ensemble of "teacher" models on disjoint partitions of sensitive data and then transferring their knowledge to a "student" model via noisy aggregation of their votes. The core mechanism works by having each teacher independently predict a label for an unlabeled public query; the final label is selected only if a noisy majority vote exceeds a calibrated threshold, with Laplacian noise added to the vote counts. This ensures that the student model learns the general patterns from the sensitive data without ever directly accessing it, while the privacy guarantee stems from the fact that any single teacher—and thus any single training record—has limited influence on the aggregated output. The framework was introduced by Papernot et al. in 2017 and refined in subsequent work (Scalable PATE) to improve the privacy-utility trade-off through confident-GNMax aggregation and virtual adversarial training.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Core concepts underpinning the PATE framework and its role in privacy-preserving machine learning.
Knowledge Distillation
The core training paradigm where a compact student model is trained to mimic the behavior of a larger, more complex teacher model or ensemble. In PATE, the student learns from the aggregated, noisy votes of the teachers rather than directly from hard labels. The student's training objective is typically to minimize the cross-entropy between its output distribution and the aggregated teacher distribution, effectively transferring generalization capabilities without exposing the granular decision boundaries of the private teachers.
Semi-Supervised GANs (PATE-GAN)
An extension of the PATE framework applied to generative adversarial networks. The discriminator is replaced by an ensemble of teacher discriminators trained on disjoint data partitions. These teachers vote on the realism of generated samples, and the votes are privately aggregated to train a student discriminator. This architecture allows the generation of high-fidelity synthetic data with formal differential privacy guarantees, as the generator never accesses real data directly.
Privacy Loss Accounting
The systematic tracking of cumulative privacy expenditure across multiple queries to the teacher ensemble. PATE uses moments accountant techniques to provide a tight bound on the total privacy loss (ε, δ). Each query to the aggregated teacher consumes a fraction of the privacy budget. The accountant tracks higher-order moments of the privacy loss random variable, enabling more accurate composition than basic sequential composition theorems and allowing practitioners to determine exactly how many student queries are permissible before the budget is exhausted.
Confident-GNMax Aggregator
The privacy-amplifying voting mechanism used in PATE to select the public label. The teachers vote, and the mechanism only reveals the label if the plurality vote exceeds a confidence threshold T. If the vote is not confident enough, the query is rejected. Gaussian noise is then added to the vote counts, and the max function is applied. This 'confident' step provides an additional layer of privacy by refusing to answer ambiguous queries that would require more information leakage to resolve, thus preserving the privacy budget for easier, high-consensus inputs.
Data Partitioning Strategy
The method by which the sensitive training dataset is divided into disjoint shards, each assigned to a single teacher model. The privacy guarantee relies on the fact that any single record influences at most one teacher. Common strategies include:
- Random partitioning: Each record is randomly assigned to a teacher.
- Stratified partitioning: Ensures each teacher's shard maintains the original class distribution.
- User-level partitioning: All records belonging to a single individual are assigned to the same teacher to provide user-level privacy guarantees.
Unlabeled Public Data
A corpus of non-sensitive, publicly available data used to train the student model. The student queries the teacher ensemble with these unlabeled examples to obtain privacy-preserving pseudo-labels. The quality and distributional similarity of this public data to the private data is critical: if the public data is out-of-distribution, the student will query the teachers on inputs they cannot confidently classify, leading to high rejection rates or noisy labels that degrade student accuracy.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us