Model Heterogeneous Federated Learning via Knowledge Distillation

This direction is merged into another direction: architectural homogeneity constraint (system heterogeneity). Its last version stays readable and citable here.

Version 1 of 1151 papers159 conceptsfrozen 2026-10-04

Standard Federated Learning (FL) relies on a rigid assumption: every participant must use the exact same neural network architecture. This requirement stems from the industry-standard aggregation method, FedAvg, which performs a coordinate-wise weighted average of model parameters.

In the real world, this "one-size-fits-all" constraint is a major bottleneck. As noted by Enmao Diao and Vahid Tarokh in HeteroFL, hardware is diverse; a high-performance server can host a massive Transformer, while a low-power IoT sensor might only handle a tiny CNN. Forcing a uniform architecture either excludes weak devices or limits the global model to the "lowest common denominator."

The research direction of Model-Heterogeneous Federated Learning (HtFL) seeks to break this constraint. Instead of averaging raw weights, these methods allow clients to communicate through the "language" of model outputs—a process known as Federated Distillation.

From Parameter Averaging to Knowledge Transfer

If you have two models with different architectures—say, a ResNet and a Vision Transformer—averaging their weights is mathematically impossible because their parameter matrices have different dimensions. Even if they had the same dimensions, the weights represent different internal features, making the average semantically meaningless.

The breakthrough idea, pioneered by FedMD, is to treat the models as black boxes and focus on their logits (the raw prediction scores before the final softmax layer). In this framework, clients don't share their private weights; they share how their models "see" a common set of data.

  1. Local Training: Each client trains their unique model on their private data.
  2. Knowledge Extraction: Clients run their models on a shared, unlabeled "proxy" dataset and send the resulting logits to a server.
  3. Ensemble Distillation: The server aggregates these logits to create a "consensus" view of the proxy data.
  4. Knowledge Injection: Clients download this consensus and use it to regularize their local models, effectively learning from the collective wisdom of the group without ever seeing other clients' architectures or private data.

Tao Lin and Sebastian U. Stich refined this in FedDF, showing that ensemble distillation on the server can reach target accuracies much faster than weight averaging, even when models are identical.

Eliminating the Proxy Dataset

A major hurdle for early distillation methods was the need for a "public bridge" dataset that both the server and clients could access. In many domains, such as medical imaging, finding a relevant public dataset is difficult.

Researchers have developed several strategies to bypass this:

  • Data-Free Synthesis: Frameworks like DENSE use a generator on the server to "dream up" synthetic data that mimics the distribution of the clients' private data based on the uploaded models. Similarly, CoDream, proposed by Abhishek Singh, suggests exchanging these "dreams" (optimized input representations) instead of model parameters.
  • Intermediate Layer Alignment: Instead of just looking at final outputs, FedIN aligns the intermediate feature representations. By using a single batch of shared features, Yun-Hin Chan and Edith C. H. Ngai demonstrate that models can be synchronized through their internal "embeddings" rather than just their final guesses.
  • Feature Augmentation: FRAug by Ahmed Frikha and Volker Tresp uses a shared generator to produce client-agnostic embeddings, allowing clients with different feature extractors to still benefit from a shared representation space.

Modular and Structural Heterogeneity

Beyond pure distillation, some researchers focus on making the model structure itself flexible.

In pFedLoRA, Han Yu and Liping Yi utilize Low-Rank Adaptation (LoRA). While the base models might be different, the clients train small, standardized LoRA adapters. These adapters act as "knowledge carriers" that can be aggregated even if the underlying backbones differ.

Another approach involves HyperNetworks. HAFL-GHN uses Graph HyperNetworks to predict weights for diverse client architectures. This allows a central server to support undisclosed, heterogeneous architectures by learning the mapping between a model's graph structure and its optimal parameters.

Why It Works: The Kernel Perspective

While much of the early work was empirical, Sejun Park and Ganguk Hwang provided a theoretical foundation in A Kernel Perspective on Distillation-based Collaborative Learning. They proved that sharing model predictions on public data is equivalent to matching the "feature kernels" of the models.

This explains why distillation is so robust: it doesn't care about the specific path a model takes to reach a conclusion (the weights); it only cares that the models agree on the relationship between inputs and outputs. By matching these kernels, heterogeneous models can converge toward a "nearly optimal" collective performance that respects both local privacy and hardware diversity.

Papers in this version

Showing 60 of 151 papers.

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_model_heterogeneous_federated_learning_v_c47214ff,
  title = {Model Heterogeneous Federated Learning via Knowledge Distillation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/model-heterogeneous-federated-learning-via-knowledge-distillation/rdr_c47214fffe1f43a3b4b3edde5754c85d},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-04},
}

This exact version (version 1, frozen text):

@misc{lacuna_model_heterogeneous_federated_learning_v_c47214ff_v1,
  title = {Model Heterogeneous Federated Learning via Knowledge Distillation},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/model-heterogeneous-federated-learning-via-knowledge-distillation/rdr_c47214fffe1f43a3b4b3edde5754c85d/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-04},
}