Introduction
Federated Learning (FL) typically operates under the assumption of system homogeneity, where all participating clients possess similar computational capabilities. However, real-world deployments often involve a diverse array of devices, from high-end smartphones to resource-constrained IoT sensors. This system heterogeneity presents a significant challenge: "weak" devices often lack the memory or processing power to train large, high-performing "target" models.
Existing approaches to bridge this gap often employ Knowledge Distillation (KD), specifically through logit ensembles. In these setups, clients share model predictions (logits) instead of weights. However, these methods frequently falter in non-IID (Independent and Identically Distributed) environments. When local data is skewed, local models become overly "personalized," producing unreliable "soft targets" that degrade global model performance. Furthermore, the abundance of unlabeled data at the edge remains largely underutilized due to privacy concerns regarding centralization.
Proposed Method: On-Device Knowledge Distillation
To address these limitations, we introduce a novel FL framework that enables weak client participation through a two-step "On-Device KD" approach.
- Auxiliary Model Training: All clients, regardless of their hardware constraints, participate in training a small auxiliary model ($w_s$). This model is designed to fit the memory of the weakest devices. By using standard weight aggregation (e.g., FedAvg), the auxiliary model captures "global knowledge" across the entire network, serving as a stable and accurate teacher.
- Target Model Training: Only the strong clients maintain both the auxiliary model and the larger target model ($w_l$). These clients perform local updates using:
- Supervised Learning: On their local labeled data.
- On-device KD: On their local unlabeled data, where the global auxiliary model guides the target model's learning.
This architecture allows the target model to inherit knowledge from the entire network (via the auxiliary model) while leveraging the vast unlabeled datasets available on stronger devices.
Experimental Results
The framework was evaluated across five diverse benchmarks: CIFAR-10, FEMNIST, CIFAR-100 (fine-tuning ViT), IMDB reviews, and Google Speech Commands. To simulate challenging real-world conditions, data was distributed using a Dirichlet distribution ($\alpha = 0.1$) to create high non-IID skew.
The proposed method consistently outperformed state-of-the-art KD-based FL methods. On CIFAR-10, it achieved an accuracy of 62.43%, surpassing the "Strong-only" baseline (59.21%) and significantly outperforming logit-ensemble methods like DS-FL (25.95%) under high skew.
Key Insights and Discussion
- Overcoming the Personalization Trap: Logit-based KD often fails in non-IID settings because local models become "echo chambers." Aggregating weights for the auxiliary model creates a "global brain" that provides superior guidance.
- Unlabeled Data Utilization: By treating unlabeled edge data as a primary resource for distillation, the method improves generalization without the need for manual labeling.
- Balanced Contribution: The framework harmonizes heterogeneity by allowing weak clients to provide "breadth" of knowledge while strong clients provide "depth."
Limitations
While effective, the method increases communication overhead as strong clients must transmit two models. Additionally, the framework still requires a minimum subset of strong clients to train the target model. Future work may explore adaptive model sizing or asynchronous updates to further optimize performance in highly constrained networks.
Summary updated