[Paper Review] SemiFed: Semi-supervised Federated Learning with Consistency and Pseudo-Labeling
SemiFed proposes a unified federated learning framework that combines consistency regularization and pseudo-labeling to improve model accuracy in semi-supervised settings with limited labeled data. By enforcing consistency across augmented views and only adopting high-confidence, multi-client-agreed pseudo-labels, it achieves robust performance under both IID and non-IID data distributions on CIFAR-10 and SVHN.
Federated learning enables multiple clients, such as mobile phones and organizations, to collaboratively learn a shared model for prediction while protecting local data privacy. However, most recent research and applications of federated learning assume that all clients have fully labeled data, which is impractical in real-world settings. In this work, we focus on a new scenario for cross-silo federated learning, where data samples of each client are partially labeled. We borrow ideas from semi-supervised learning methods where a large amount of unlabeled data is utilized to improve the model's accuracy despite limited access to labeled examples. We propose a new framework dubbed SemiFed that unifies two dominant approaches for semi-supervised learning: consistency regularization and pseudo-labeling. SemiFed first applies advanced data augmentation techniques to enforce consistency regularization and then generates pseudo-labels using the model's predictions during training. SemiFed takes advantage of the federation so that for a given image, the pseudo-label holds only if multiple models from different clients produce a high-confidence prediction and agree on the same label. Extensive experiments on two image benchmarks demonstrate the effectiveness of our approach under both homogeneous and heterogeneous data distribution settings
Motivation & Objective
- Address the practical limitation in federated learning where clients often have only partially labeled data, making fully supervised assumptions unrealistic.
- Overcome the challenge of non-independent and identically distributed (non-IID) data across clients, which can degrade performance when using unlabeled data.
- Integrate semi-supervised learning techniques—specifically consistency regularization and pseudo-labeling—into a federated learning framework to leverage unlabeled data effectively.
- Ensure robustness against noisy or mismatched pseudo-labels by requiring agreement across multiple client models before labeling.
- Demonstrate the effectiveness of the proposed method under both homogeneous (IID) and heterogeneous (non-IID) data distribution settings.
Proposed method
- Apply consistency regularization using advanced data augmentation techniques (e.g., RandAugment) to enforce invariant predictions across perturbed views of the same input.
- Train the model initially on labeled data only, followed by a warm-up phase to stabilize predictions before pseudo-labeling is introduced.
- Generate pseudo-labels for unlabeled samples based on model predictions with high confidence (above a threshold) from both local and global models.
- Enforce pseudo-labeling only when multiple client models agree on the same label with high confidence, enhancing label reliability and reducing noise.
- Use a unified training objective that combines supervised loss on labeled data, consistency loss on augmented views, and pseudo-supervised loss on verified pseudo-labeled data.
- Maintain a constant learning rate throughout training, as learning rate decay schedules did not improve performance in ablation studies.
Experimental results
Research questions
- RQ1Can consistency regularization effectively leverage unlabeled data in federated learning under non-IID data distributions?
- RQ2How does pseudo-labeling improve model performance when combined with consistency regularization in a federated setting?
- RQ3Can multi-client agreement on high-confidence predictions improve the reliability of pseudo-labels and prevent performance degradation?
- RQ4Does the proposed SemiFed framework maintain robustness and generalization under both IID and non-IID data partitioning?
- RQ5What is the impact of different learning rate schedules on the convergence and accuracy of the SemiFed framework?
Key findings
- SemiFed achieves a test accuracy of 75.51% on CIFAR-10 with 4,000 labeled samples under non-IID data, significantly outperforming supervised baselines and pseudo-labeling-only methods.
- The ablation study shows that consistency regularization alone leads to smoother training and better generalization, with validation accuracy improving over time compared to methods without it.
- Pseudo-labeling without consistency regularization still improves performance over supervised learning, but the full SemiFed framework yields the best results across all settings.
- On SVHN, the UDA baseline slightly outperforms SemiFed with 4,000 labeled samples, likely due to the task's simplicity and high baseline accuracy, indicating limited room for improvement.
- The method remains effective under non-IID data, demonstrating resilience to distribution shifts and avoiding performance degradation from mismatched unlabeled data.
- The use of constant learning rate yields better results than decay schedules, suggesting that learning rate adaptation is less critical in the SemiFed framework.
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.