Introduction
The proliferation of Internet of Things (IoT) devices has led to an explosion of data generated at the network edge. While these devices—ranging from smart cameras to industrial sensors—collect vast amounts of information, the lack of labeled data remains a significant bottleneck. Users often lack the expertise or incentive to label data manually, leading to a "label shortage" at the edge. Standard Federated Learning (FL) paradigms typically assume that local data is labeled. Semi-supervised Federated Learning (SemiFL) attempts to bridge this gap, yet existing approaches often fail to account for the severe resource constraints of IoT hardware and the inherent heterogeneity of user data.
This paper introduces pFedKnow, a novel framework designed for the "labels-at-server" SemiFL scenario. In this setting, a central server possesses a small labeled dataset and a powerful pretrained model, while clients hold larger, unlabeled datasets. pFedKnow addresses the dual challenges of efficiency and personalization by integrating neural network pruning with knowledge distillation.
Methodology
The pFedKnow framework operates through a five-step iterative cycle designed to minimize communication overhead while maximizing local model performance.
1. Initialization and Teacher-Student Distillation
The process begins at the server, which utilizes a large, high-capacity pretrained model (e.g., VGG19 for vision or BERT for NLP) as a "teacher." Using its small labeled dataset, the server performs knowledge distillation to initialize a smaller, lightweight "student" model. This ensures the global model starts with a strong foundational knowledge base.
2. Local Pseudo-Labeling and Uncertainty Selection
Clients download the lightweight model and apply it to their local unlabeled data. To mitigate the risk of training on noisy labels, pFedKnow employs an uncertainty-based selection mechanism. Only data points where the model exhibits high confidence are assigned pseudo-labels and used for subsequent training.
3. Personalized Model Compression
A core innovation of pFedKnow is the use of network pruning as a mechanism for personalization. Each client slims the model based on the specific characteristics of their local data. Because the importance of specific neurons varies according to the local data distribution, the resulting pruned architecture is inherently personalized to the client. This also significantly reduces the number of parameters that need to be transmitted back to the server.
4. Structure-Aware Collaborative Distillation
Upon receiving the pruned, heterogeneous models from clients, the server cannot use standard aggregation methods like FedAvg due to the differing model structures. Instead, pFedKnow calculates the similarity between client model "masks" (binary vectors representing the pruned structure). The server then performs collaborative distillation, using the labeled data and the pretrained teacher model to refine the personalized models. Clients with similar structures are used to mutually inform the distillation process, boosting performance across the network.
Experimental Evaluation
The authors evaluated pFedKnow across multiple domains using standard benchmarks, including SVHN and CIFAR-10 for image classification and AG News for text classification. VGG19 and BERT served as the primary sources of prior knowledge on the server.
Performance and Efficiency
pFedKnow demonstrated superior accuracy compared to state-of-the-art SemiFL baselines such as FedMatch and SemiFL. On the non-IID SVHN dataset, pFedKnow achieved an accuracy of 84.79%, significantly higher than FedMatch's 74.76%.
Beyond accuracy, the framework achieved massive efficiency gains:
- Image Tasks: A 44.9% reduction in communication traffic compared to standard methods.
- Text Tasks: A 73.6% reduction in communication costs when using BERT-based models.
Discussion and Conclusion
The pFedKnow framework effectively addresses the "label shortage" in IoT by leveraging server-side knowledge and client-side pruning. By treating pruning as a personalization tool rather than just a compression technique, the framework handles data heterogeneity while remaining lightweight enough for resource-constrained devices.
While the results are promising, future research may need to address the computational demands of server-side collaborative distillation as client numbers scale. Additionally, the privacy implications of sharing pruning masks warrant further investigation to ensure they do not inadvertently leak information about local data distributions. Nonetheless, pFedKnow represents a significant step toward practical, efficient, and personalized federated learning in real-world IoT ecosystems.
Summary updated