Inferensys

Glossary

Federated Distillation

A federated learning paradigm where local models share their output predictions on a public dataset instead of model weights, allowing for heterogeneous on-device architectures and enhanced privacy.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
DEFINITION

What is Federated Distillation?

A federated learning paradigm where local models share their output predictions on a public dataset instead of model weights, allowing for heterogeneous on-device architectures and enhanced privacy.

Federated distillation is a decentralized training paradigm where participating clients exchange the soft output predictions (logits) of their local models on a shared, unlabeled public dataset, rather than transmitting model weights or gradients. This process transfers knowledge between heterogeneous architectures without requiring a common model structure, enabling collaboration between medical devices with vastly different hardware capabilities.

The central server aggregates these anonymized predictions to form a consensus, which is then redistributed to clients for local training via knowledge distillation. This architecture inherently enhances privacy by never exposing raw model parameters and naturally supports non-IID data distributions, making it ideal for cross-institutional healthcare networks where device heterogeneity and data sovereignty are paramount.

PRIVACY-PRESERVING KNOWLEDGE TRANSFER

Key Features of Federated Distillation

Federated distillation enables collaborative model training across heterogeneous medical devices by exchanging only output predictions on a public dataset, not model weights or raw patient data. This paradigm decouples local model architectures from the global learning objective, allowing each institution to deploy custom neural networks while still contributing to and benefiting from collective intelligence.

01

Model-Agnostic Collaboration

Unlike Federated Averaging (FedAvg) , which requires all clients to share an identical model architecture, federated distillation transmits only the soft labels (logits) produced by each local model on an unlabeled public dataset.

  • A hospital using a ResNet-50 for chest X-ray analysis can co-train with a clinic running a lightweight MobileNetV3 on its edge devices.
  • The server aggregates these predictions via ensemble distillation, producing a consensus output that trains a global student model without ever seeing a single model weight.
  • This is critical for medical IoT ecosystems where devices range from powerful GPU servers to microcontroller-based wearables.
100%
Architecture Heterogeneity Supported
02

Enhanced Privacy Through Output Exchange

By design, federated distillation never transmits raw model parameters or gradients, significantly reducing the attack surface for model inversion and membership inference attacks.

  • Local models only share their prediction vectors on a non-sensitive, publicly available dataset—often called the distillation dataset.
  • This dataset can be synthetically generated or drawn from openly licensed medical literature images, ensuring no patient data is ever centralized or exposed.
  • The technique provides a natural layer of differential privacy, as the shared logits represent aggregated model behavior rather than individual training samples.
Zero
Model Weights Transmitted
03

Communication Efficiency

Exchanging logits instead of full model weights dramatically reduces the bandwidth overhead of federated training rounds.

  • A typical ResNet-50 contains over 23 million parameters, requiring ~90 MB per upload. In contrast, its output logits for a batch of 1,000 samples on a 10-class diagnostic task consume only ~40 KB.
  • This three-order-of-magnitude reduction in payload size makes federated distillation ideal for rural clinics connected via low-bandwidth satellite links or 4G mobile networks.
  • The technique also supports asynchronous updates, where slow or intermittently connected devices can contribute predictions on their own schedule without stalling the global model.
~40 KB
Typical Payload per Round
99.9%
Bandwidth Reduction vs. FedAvg
04

Heterogeneous Task Learning

Federated distillation naturally extends to scenarios where different institutions are solving related but distinct clinical tasks on different label spaces.

  • A cardiology department may classify 12-lead ECG rhythms, while a neurology unit analyzes EEG seizure patterns. Both can distill their domain-specific knowledge into a shared, multi-head model.
  • The public dataset acts as a semantic bridge, allowing the global model to learn a unified feature representation that generalizes across modalities.
  • This capability supports federated transfer learning, where knowledge distilled from one specialty accelerates training for another with limited labeled data.
Multi-Task
Label Space Compatibility
05

Robustness to Non-IID Data

Clinical data across hospitals is notoriously non-independent and identically distributed (non-IID) , with varying patient demographics, equipment vendors, and annotation protocols. Federated distillation is inherently more robust to this statistical heterogeneity than weight-averaging methods.

  • Instead of forcing incompatible weight updates into a single model, distillation aggregates soft knowledge that captures nuanced class relationships and decision boundaries.
  • A model trained on a predominantly geriatric population will produce logits reflecting that bias, but the distillation process can learn to calibrate these outputs against other institutions' predictions.
  • This leads to better generalization and reduced catastrophic forgetting of local data distributions.
Improved
Non-IID Convergence Stability
06

Co-Distillation for Peer-to-Peer Learning

Beyond the client-server paradigm, federated distillation supports fully decentralized co-distillation where medical devices learn directly from each other without any central aggregator.

  • In a mesh network of wearable cardiac monitors, each device can broadcast its output predictions on a shared set of unlabeled heartbeat samples.
  • Neighboring devices use these predictions as auxiliary training targets, refining their own models based on the collective intelligence of the local network.
  • This architecture eliminates the single point of failure and the regulatory complexity of a central server, aligning with sovereign AI infrastructure requirements for data governance.
Serverless
Peer-to-Peer Topology Option
FEDERATED DISTILLATION

Frequently Asked Questions

Clear, technical answers to the most common questions about federated distillation, a paradigm that enables collaborative learning across heterogeneous medical devices without sharing model architectures or raw patient data.

Federated distillation is a decentralized machine learning paradigm where local client models share their output predictions (logits) on a public, unlabeled reference dataset instead of sharing their private model weights or gradients. The process works in two phases: first, each client trains a local model on its private data and generates a 'soft label' prediction for every sample in the public dataset. These soft labels—which are probability distributions over classes—are then sent to a central server. The server aggregates these predictions, often by averaging them, to create a consensus teacher distribution. This consensus knowledge is then distilled back into each client's local model, allowing them to learn from the collective intelligence of the network without ever exposing their proprietary architectures or sensitive patient data. This decoupling of model architecture from knowledge transfer is what makes the technique uniquely suited for heterogeneous medical device fleets.

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.