[Paper Review] Knowledge-Enhanced Semi-Supervised Federated Learning for Aggregating Heterogeneous Lightweight Clients in IoT
This paper proposes pFedKnow, a knowledge-enhanced semi-supervised federated learning framework for IoT that enables personalized, lightweight client models with reduced communication cost. By combining neural network pruning, structure-aware collaborative distillation, and knowledge distillation from a pretrained large model, pFedKnow achieves state-of-the-art performance on both image and text benchmarks while significantly lowering communication overhead.
Federated learning (FL) enables multiple clients to train models collaboratively without sharing local data, which has achieved promising results in different areas, including the Internet of Things (IoT). However, end IoT devices do not have abilities to automatically annotate their collected data, which leads to the label shortage issue at the client side. To collaboratively train an FL model, we can only use a small number of labeled data stored on the server. This is a new yet practical scenario in federated learning, i.e., labels-at-server semi-supervised federated learning (SemiFL). Although several SemiFL approaches have been proposed recently, none of them can focus on the personalization issue in their model design. IoT environments make SemiFL more challenging, as we need to take device computational constraints and communication cost into consideration simultaneously. To tackle these new challenges together, we propose a novel SemiFL framework named pFedKnow. pFedKnow generates lightweight personalized client models via neural network pruning techniques to reduce communication cost. Moreover, it incorporates pretrained large models as prior knowledge to guide the aggregation of personalized client models and further enhance the framework performance. Experiment results on both image and text datasets show that the proposed pFedKnow outperforms state-of-the-art baselines as well as reducing considerable communication cost. The source code of the proposed pFedKnow is available at https://github.com/JackqqWang/pfedknow/tree/master.
Motivation & Objective
- Address the challenge of label scarcity in IoT federated learning, where only a small set of labels is available on the server.
- Enable model personalization for heterogeneous, lightweight IoT clients without requiring labeled data on the clients.
- Reduce communication cost in federated learning by compressing client models via neural network pruning.
- Improve performance under data heterogeneity and limited computational resources by leveraging pretrained large models as prior knowledge.
- Design a scalable and efficient framework suitable for real-world IoT applications with practical constraints
Proposed method
- Initialize a lightweight global model on the server using knowledge distillation from a pretrained large model.
- Apply neural network pruning on each client to generate personalized, lightweight client models based on their unique local data.
- Use a structure-aware collaborative distillation mechanism to aggregate heterogeneous, pruned client models into personalized global models with consistent architectures.
- Incorporate the pretrained large model as prior knowledge during server-side aggregation to enhance model performance.
- Leverage knowledge distillation to transfer knowledge from the large model to the lightweight global model during initialization and training.
- Design a five-step training pipeline: model initialization, local personalized training, client-to-server upload, server-side aggregation with distillation, and global model update.
Experimental results
Research questions
- RQ1How can personalized federated learning be achieved in a labels-at-server semi-supervised setting where clients have no labeled data?
- RQ2Can neural network pruning be used to generate both personalized and communication-efficient client models in heterogeneous IoT environments?
- RQ3How can heterogeneous, pruned client models with varying structures be effectively aggregated on the server?
- RQ4To what extent does incorporating a pretrained large model as prior knowledge improve performance in low-data, lightweight federated learning?
- RQ5Can the proposed framework maintain high accuracy while significantly reducing communication cost in both image and text tasks?
Key findings
- pFedKnow outperforms state-of-the-art baselines, including FedMatch, SSFL, and FedMix, especially under non-IID data settings.
- On the AG News text dataset, pFedKnow achieves significantly higher accuracy than FedMatch under both IID and non-IID settings.
- The framework reduces average communication cost by 73.6% on the BERT-based text model through four-fold model compression.
- The use of a pretrained large model as prior knowledge improves model performance during both initialization and aggregation phases.
- Structure-aware collaborative distillation enables effective aggregation of heterogeneous, pruned client models without requiring model reparameterization.
- pFedKnow maintains strong performance across both image and text classification tasks, demonstrating its generalizability in IoT applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.