Optimized Federated Knowledge Distillation with Distributed Neural Architecture Search

Chaimaa Medjadji, Sylvain Kubler, Yves Le Traon, Guilain Leduc, Sadi Alawadi, Feras M. AwaysheharXiv 2026

TL;DR

FedKD-NAS is a novel federated learning framework that breaks the rigid "one-size-fits-all" model architecture constraint by allowing edge devices to autonomously select their own lightweight architectures. By exchanging soft predictions on a public dataset instead of massive model weights, it boosts accuracy by up to 15% in highly heterogeneous settings while slashing communication overhead by up to 44x and client CPU usage by 28%.

What Problem Does This Paper Address?

Standard Federated Learning (FL) algorithms like FedAvg rely on a fundamental assumption: every participating device (client) must train the exact same model architecture. In the real world, this assumption falls apart due to two major bottlenecks:

  1. System Heterogeneity: Edge devices range from powerful workstations to low-power IoT sensors. A model large enough to extract high performance will overwhelm weaker devices, while a model small enough for the weakest device underperforms on stronger ones.
  2. Statistical Heterogeneity (Non-IID Data): Clients collect data from different environments and users, leading to divergent local training paths (client drift) and degraded global convergence.

While some methods combine Neural Architecture Search (NAS) with FL to customize client models, they typically rely on heavy weight-sharing "supernets" that demand massive communication and compute budgets. The authors introduce FedKD-NAS to jointly optimize model architecture, communication efficiency, and accuracy without forcing clients to share weights or synchronize architectures.

Comparison of representative FL methods across key dimensions.

Methods

FedKD-NAS decouples model capacity adaptation from global coordination through a combination of decentralized NAS and server-coordinated Knowledge Distillation (KD).

Fig. 1: Overview of the proposed FedKD-NAS architecture. At each communication round, each client independently selects a resource-adapted architecture via the NAS controller and trains its local student model using a combination of supervised loss and distillation from the global target. Clients transmit only soft predictions on the shared public dataset to the server. The server aggregates these predictions, fuses them with teacher guidance, and broadcasts a smoothed distillation target to all clients for the next round.

The workflow operates in five core stages:

  • C1: Client Architecture Selection (NAS Controller): At each round, each client independently runs a lightweight, resource-aware NAS procedure. It selects a compact sub-network from a predefined search space that maximizes local validation accuracy while respecting strict hardware constraints (CPU, RAM, latency).
  • C2: Client Training Module: Clients train their uniquely tailored student models using a hybrid loss function that balances standard supervised cross-entropy on private data with a KD loss driven by a global target.
  • C3: Client Prediction Uplink: Because client architectures are heterogeneous, their weights cannot be averaged. Instead, clients run inference on a small, shared public reference dataset ($D^{pub}$) and upload only their soft prediction logits. This keeps communication costs completely independent of model size.
  • C4: Server Distillation Aggregator: The server averages the client logits and fuses them with predictions from a pre-trained global teacher model. This teacher anchor prevents the global target from drifting toward biased client consensus.
  • C5: Server Global Distillation Broadcast: The server applies Exponential Moving Average (EMA) smoothing to the fused targets across rounds to suppress sudden fluctuations, broadcasting the stabilized targets back to clients for the next round.

Datasets

The authors evaluated FedKD-NAS across six diverse datasets under three partitioning strategies (IID, Dirichlet-based non-IID, and extreme shard-based label skew):

  • Computer Vision: MNIST, Fashion-MNIST (FMNIST), Extended MNIST (EMNIST), CIFAR-10, and CIFAR-100.
  • Time-Series/Sensor Data: The CASA Human Activity Recognition dataset, which captures natural cross-subject heterogeneity from real-world sensor streams.

Key Insights and Ideas

  • Architecture as a First-Class Optimization Variable: Instead of treating model architecture as a static constraint, allowing it to vary dynamically helps absorb both system and statistical heterogeneity.
  • The "Constructive Bias" of Heterogeneity: Intriguingly, the authors found that greater data diversity across clients actively enriches the local NAS search signal. This prevents clients from overfitting to a single distribution and helps the controller discover architectures that generalize better.
  • The Logit Payload Crossover: Logit-based distillation is widely praised for saving bandwidth, but the authors identify a critical boundary condition. On datasets with massive class counts relative to model size (like EMNIST with 47 classes), transmitting logits over a large public dataset can actually cost more bandwidth than transmitting raw model parameters. This crossover point can be calculated analytically before training begins.

Key Results

FedKD-NAS was benchmarked against six prominent FL baselines (including FedAvg, Ditto, and FedMD) and demonstrated superior Pareto efficiency:

  • Accuracy Boost: In non-IID settings, it outperformed the strongest distillation baseline (FedDistill) by 7–11% on CIFAR-10 and surpassed the median competitor by up to 23%.
  • Massive Bandwidth Savings: For MobileNetV2 on CIFAR-10, exchanging logits yielded a structural 44x reduction in communication volume compared to parameter-averaging methods.
  • On-Device Efficiency: Local architecture adaptation reduced client CPU utilization by approximately 28%.
  • Physical Hardware Validation: When deployed on a real-world edge cluster consisting of a RockPi, a Jetson Nano, and three Raspberry Pis, FedKD-NAS achieved an 8% accuracy gain over FedMD and a 6x improvement in Unified Efficiency Score (UES) over FedAvg.

Limitations and Future Work

  • Public Dataset Dependency: The framework assumes access to a small, unlabeled public reference dataset ($D^{pub}$). If there is a severe domain mismatch between $D^{pub}$ and the clients' private data, performance can degrade. The authors suggest exploring privacy-preserving generative models to synthesize reference data on the fly.
  • High-Class Scalability: To counter the logit payload bottleneck in high-class-count scenarios, future work will focus on integrating compressed logit representations (e.g., top-$k$ selection or quantization).
  • Security and Privacy: While sharing logits reduces the attack surface compared to sharing gradients, soft predictions remain vulnerable to model inversion attacks. The authors plan to incorporate differential privacy and Byzantine-robust aggregation rules (like geometric median) to defend against malicious clients.

Summary updated

BibTeX
@misc{medjadji2026optimized,
  author = {Chaimaa Medjadji and Sylvain Kubler and Yves Le Traon and Guilain Leduc and Sadi Alawadi and Feras M. Awaysheh},
  title = {{Optimized Federated Knowledge Distillation with Distributed Neural Architecture Search}},
  year = {2026},
  eprint = {2605.21322},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.21322},
}
Figure