Federated distillation is a decentralized training paradigm where participating clients collaboratively train a global model by exchanging only the soft labels (logits or probability distributions) generated by their local models on a shared, unlabeled public dataset, rather than transmitting model weights or gradients. This approach decouples the communication payload size from the model architecture, making it agnostic to the number of parameters and enabling heterogeneous model architectures across clients.
Glossary
Federated Distillation

What is Federated Distillation?
Federated distillation is a communication-efficient alternative to weight sharing where clients exchange only the soft labels or logits produced by their local models on a public or synthetically generated dataset, rather than sharing model parameters.
The process typically involves each client computing predictions on a common distillation dataset, then sending these aggregated soft targets to a central server that uses them to train a student model via knowledge distillation. Unlike Federated Averaging (FedAvg), which requires identical model architectures, federated distillation supports model heterogeneity and drastically reduces bandwidth requirements, as the communication cost scales with the output dimension rather than the parameter count, making it ideal for cross-device scenarios with severe network constraints.
Key Features of Federated Distillation
Federated distillation replaces the exchange of high-dimensional model weights with compact, information-dense soft labels, fundamentally decoupling communication cost from model size.
Logit-Based Knowledge Transfer
Clients exchange only the soft labels (logits or probability vectors) produced by their local models on a public or synthetically generated dataset, rather than sharing model parameters. This compresses the communication payload to the size of the output layer, which is typically orders of magnitude smaller than the model itself. The central server aggregates these predictions to train a global student model via knowledge distillation, where the soft targets reveal the dark knowledge of local models' decision boundaries.
Model-Agnostic Architecture
Unlike weight-sharing methods such as Federated Averaging (FedAvg), federated distillation imposes no constraints on local model architecture. Each client can independently choose its neural network topology, layer count, or even model family. This enables heterogeneous system design where resource-constrained edge devices deploy compact models while well-resourced institutions use large foundation models, all contributing to the same global consensus through a unified logit interface.
Co-Distillation Protocol
In co-distillation, the server maintains a public dataset (which may be unlabeled or synthetically generated) and distributes it to all clients. Each client runs inference on this dataset and returns the resulting logit vectors. The server aggregates these soft labels—typically via arithmetic averaging—and uses them as targets to train a global student model. This student can then be redistributed to clients, creating a bidirectional knowledge loop without exposing private local data.
Privacy Amplification via Distillation
Federated distillation provides an inherent privacy barrier because raw data and model weights never leave the client. Only aggregated predictions on a public dataset are transmitted. This can be further hardened with differential privacy by adding calibrated noise to the shared logits before transmission. The distillation process also acts as a natural defense against model inversion attacks, as the attacker receives only output distributions rather than the parameter space of the local model.
Communication Complexity Reduction
The communication cost scales with O(C × |D_pub|) where C is the number of classes and |D_pub| is the size of the public dataset, rather than the millions or billions of parameters in the model. For a 10-class problem with 10,000 public samples, each client transmits only 100,000 floating-point values per round. This represents a compression ratio exceeding 99.9% compared to transmitting a ResNet-50, making federated distillation viable over bandwidth-constrained hospital networks.
Ensemble Distillation for Global Consensus
The server aggregates logits from multiple clients to form an ensemble teacher. This ensemble captures the collective knowledge and uncertainty calibration of all participating models. The global student model is trained to mimic this ensemble's predictions, effectively distilling diverse local expertise into a single unified model. This approach is particularly robust to non-IID data distributions, as the ensemble naturally balances conflicting local patterns without the weight divergence issues that plague FedAvg.
Federated Distillation vs. Federated Averaging
A technical comparison of the core mechanisms, payload characteristics, and architectural requirements distinguishing knowledge distillation from weight averaging in federated learning.
| Feature | Federated Distillation | Federated Averaging (FedAvg) |
|---|---|---|
Shared Payload | Soft labels (logits) on public/consensus dataset | Model weights or weight deltas (gradients) |
Payload Size Dependency | Scales with output dimension × public dataset size | Scales with total model parameter count |
Model Architecture Homogeneity | ||
Supports Heterogeneous Client Models | ||
Primary Communication Bottleneck | Public dataset size and number of classes | Model parameter count (millions to billions) |
Privacy Guarantee Mechanism | No direct weight sharing; only aggregate soft labels | Weight updates may leak instance-level information |
Convergence Sensitivity to Non-IID Data | Moderate; relies on quality of consensus dataset | High; client drift degrades global model accuracy |
Bandwidth Efficiency (Large Models) | High; logit transmission is compact | Low; full weight matrices transmitted per round |
Frequently Asked Questions
Clear answers to common questions about exchanging knowledge through model outputs rather than model parameters in privacy-sensitive, bandwidth-constrained environments.
Federated Distillation is a communication-efficient, privacy-preserving training paradigm where clients exchange only the soft labels (logits or probability distributions) produced by their local models on a public or synthetically generated reference dataset, rather than sharing model weights or gradients. The process works in three phases: first, a public dataset (which may be unlabeled and non-sensitive) is distributed to all clients. Second, each client uses its locally trained model to generate predictions on this dataset, producing a knowledge carrier—a matrix of logits. Third, these logits are sent to a central server, which aggregates them (typically by averaging) to create a consensus soft label set. This aggregated knowledge is then distilled back into each client's local model using a distillation loss (often Kullback-Leibler divergence) that encourages the local model to mimic the ensemble's predictions. Unlike Federated Averaging (FedAvg), which requires homogeneous model architectures, Federated Distillation supports heterogeneous model architectures across clients, as only the output layer dimensionality must match. This makes it ideal for cross-silo healthcare networks where different institutions may use different model architectures (CNNs, transformers, etc.) for the same diagnostic task.
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
Federated Distillation is part of a broader ecosystem of communication-efficient and privacy-preserving techniques. These related concepts define the infrastructure, alternatives, and theoretical foundations that support or contrast with knowledge distillation in decentralized networks.

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