TL;DR
This paper introduces FedTriNet, a novel federated semi-supervised learning method that leverages three networks and a dynamic quality control mechanism to generate high-quality pseudo-labels from unlabeled data. This approach effectively utilizes unlabeled data to improve model performance in federated settings, outperforming existing methods on benchmark datasets under both IID and Non-IID conditions.
What Problem Does This Paper Address?
Federated Learning (FL) is a powerful paradigm for training machine learning models across decentralized devices while preserving data privacy. However, a significant challenge in real-world FL applications is the scarcity of labeled data on client devices. Most existing FL methods are supervised, assuming all data is labeled. While some research explores semi-supervised FL (SSFL) to utilize unlabeled data, these methods often struggle with issues like information leakage or the propagation of low-quality pseudo-labels, which can degrade model performance. This paper aims to address this gap by proposing a robust SSFL method that effectively and safely exploits unlabeled data.
Methods
FedTriNet employs a two-phase learning strategy:
- Pre-training Phase: Similar to FedSem, FedTriNet first pre-trains the local and global models using only the available labeled data via a FedAvg-like approach. This phase establishes a baseline level of classification ability.
- Pseudo Label Learning Phase: This is the core innovation. FedTriNet utilizes three networks at each client to generate pseudo-labels for unlabeled data:
- Local Model: The client's own pre-trained model.
- Global Model: The model aggregated from all clients.
-
Spliced Network: A novel combination of the shallow layers of the global model (for general feature extraction) and the deeper layers of the local model (for class-specific features). This spliced network is fine-tuned on labeled data before generating pseudo-labels.
To ensure the quality of pseudo-labels, FedTriNet introduces a dynamic quality control mechanism. This involves:
-
Multi-view Pseudo-labeling: The prediction probabilities from the three networks are combined (not just a simple majority vote) to form a more robust pseudo-label.
-
Dynamic Pseudo-labeled Data Selection: A global threshold is dynamically generated and adjusted over communication rounds. Unlabeled data is only added to the training set if its predicted probability exceeds this threshold. This threshold starts higher to ensure high-quality labels and decreases over time to incorporate more data.
Finally, the local models are retrained using both the original labeled data and the high-confidence pseudo-labeled data.
Datasets
The paper evaluates FedTriNet on three publicly available image classification datasets:
- MNIST: A dataset of handwritten digits.
- Fashion-MNIST: A dataset of clothing articles.
- SVHN (Street View House Numbers): A dataset of house numbers.
These datasets are used under both IID (Independent and Identically Distributed) and Non-IID data distribution settings to test the model's robustness.
Key Insights and Ideas
- The "Three Players" Synergy: Combining local, global, and a novel "spliced" network for pseudo-label generation provides a more comprehensive view of the data, leading to higher quality labels than using any single model alone.
- Dynamic Thresholding is Crucial: Simply using pseudo-labels without careful filtering can severely harm model performance, especially with limited initial labeled data. The dynamic threshold mechanism effectively balances data utilization with label quality.
- Spliced Network Design: The intuition that shallow layers capture general features and deep layers capture specific ones is leveraged to create a powerful hybrid network for prediction.
- Fine-tuning the Spliced Network: Fine-tuning the spliced network on labeled data before pseudo-label generation is essential to adapt it to the local data distribution and prevent catastrophic forgetting.
Key Results
- FedTriNet consistently outperforms state-of-the-art baselines (FedAvg, FedSem, FedMatch) across all three datasets and both IID and Non-IID settings.
- In the IID setting, FedTriNet achieves accuracies significantly higher than FedAvg and FedSem, especially when labeled data is scarce. For example, on MNIST with 600 labeled data, FedTriNet reaches 96.46% accuracy, compared to FedAvg's 88.26%.
- In the Non-IID setting, FedTriNet demonstrates even more pronounced advantages, showing greater robustness to data heterogeneity. For instance, on MNIST with 6000 labeled data, FedTriNet achieves 91.79% accuracy, while FedAvg reaches only 77.67%.
- Ablation studies confirm the importance of the Threshold Guarantee Mechanism and the Fine-tuning process for FedTriNet's performance. Removing pseudo-labeling entirely significantly degrades results.
Limitations and Future Work
- Layer Selection for Splicing: While the paper uses a fixed strategy (first two convolutional layers of global, rest of local), the authors acknowledge that the optimal layer selection might depend on network architecture and data type, requiring further experimentation.
- Phase Round Combination: The optimal balance between the pre-training (Phase I) and pseudo-label learning (Phase II) rounds can vary across datasets and distributions. The paper explores this, finding that a balanced split (e.g., 50+50) often works well, but further optimization might be beneficial.
- Computational Overhead: The use of three networks per client inherently increases computational complexity compared to simpler methods.
Future work could explore more sophisticated methods for network splicing, adaptive phase round scheduling, and investigate FedTriNet's performance on more complex real-world tasks and larger-scale federated systems.
Summary updated