Inferensys

Glossary

Federated Distillation

A model-agnostic federated learning approach where clients share knowledge by exchanging soft labels or logits on a public dataset instead of model parameters.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
MODEL-AGNOSTIC KNOWLEDGE TRANSFER

What is Federated Distillation?

A privacy-preserving federated learning technique where clients exchange knowledge by sharing soft labels or logits on a public, unlabeled dataset instead of directly transmitting model parameters or gradients.

Federated Distillation is a model-agnostic federated learning paradigm where participating clients collaboratively train by exchanging the outputs (soft labels or logits) of their local models on a mutually agreed-upon public reference dataset, rather than sharing the model weights or gradients themselves. This decouples the learning process from the model architecture, allowing heterogeneous clients with different model capacities, structures, or even objectives to co-learn without revealing their private parameters or requiring a shared model topology.

The process typically involves each client computing predictions on the public dataset using its locally trained model and sending these aggregated logit vectors to a central server. The server then distills the collective knowledge by averaging these soft targets and broadcasting the consensus back, enabling each client to regularize its local training against the group's intelligence. This mechanism inherently provides a layer of architectural privacy and is highly communication-efficient, as the size of the exchanged logits depends only on the public dataset and the number of classes, not on the massive size of a deep learning model's parameter space.

KNOWLEDGE TRANSFER

Key Features of Federated Distillation

Federated distillation decouples collaborative learning from architectural constraints by exchanging model outputs rather than parameters. This model-agnostic paradigm enables heterogeneous clients to co-train without sharing proprietary model internals.

01

Model-Agnostic Collaboration

Unlike traditional federated learning, which requires all clients to share identical model architectures, federated distillation transfers knowledge via soft labels or logits on a public, unlabeled dataset. This allows a hospital running a ResNet-152 to co-train with a clinic using a lightweight MobileNet, as only output distributions are exchanged—never gradients or weights.

02

Knowledge Distillation Mechanism

The process operates in two phases:

  • Client-side: Each local model acts as a teacher, generating soft predictions (logits) on a public reference dataset.
  • Server-side: A central aggregator averages these logits to produce consensus soft labels, which are then broadcast back to all clients. Clients train their local models to mimic these consensus outputs, effectively distilling collective knowledge without exposing private data or model parameters.
03

Heterogeneous Privacy Budgets

Because only aggregated logits are exchanged—not model weights—federated distillation provides an additional layer of privacy by design. Institutions can independently apply differential privacy mechanisms to their logit outputs before transmission. This allows each hospital to calibrate its own privacy-utility tradeoff without forcing a uniform standard across the entire network.

04

Communication Efficiency

Exchanging logits on a public dataset is often orders of magnitude smaller than transmitting full model parameters. For a classification task with 1,000 classes on 10,000 public samples, a client transmits only 10 million floating-point values per round—compared to billions of parameters in a large vision model. This makes federated distillation viable over low-bandwidth hospital networks.

05

Public Dataset Dependency

A critical requirement is access to a representative public dataset that approximates the aggregate data distribution. In healthcare, this could be a de-identified open medical imaging dataset or synthetic data generated from aggregate statistics. The quality of this proxy dataset directly impacts distillation fidelity—poorly representative data leads to knowledge degradation across the federation.

06

Defense Against Model Inversion

By design, federated distillation offers inherent resistance to model inversion attacks. Since adversaries never access raw model parameters or gradients, reconstructing private training samples becomes computationally infeasible. Combined with logit perturbation and entropy regularization, this approach provides stronger privacy guarantees than parameter-averaging federated learning.

FEDERATED DISTILLATION EXPLAINED

Frequently Asked Questions

Clear, technically precise answers to the most common questions about federated distillation—a model-agnostic approach to collaborative learning that exchanges knowledge instead of parameters.

Federated distillation is a model-agnostic federated learning paradigm where participating clients exchange knowledge by sharing soft labels (logits or class probabilities) on a public, unlabeled reference dataset rather than transmitting model parameters or gradients. The process works as follows: each client trains a local model on its private data, then uses that model to generate predictions on a shared public distillation dataset. These predictions—capturing the model's learned class relationships and decision boundaries—are sent to a central server for aggregation. The server averages the logits from all clients to produce consensus soft labels, which are then distributed back to each client. Clients subsequently train their local models to match these consensus predictions on the public data, effectively distilling the collective knowledge of the federation without ever exposing raw patient records, model architectures, or parameter counts. This approach is particularly valuable in healthcare cross-silo settings where institutions may use heterogeneous model architectures (e.g., one hospital uses a ResNet while another uses a Vision Transformer) that cannot be directly averaged through traditional Federated Averaging.

Prasad Kumkar

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.