Abstract
Federated Semi-Supervised Learning (Fed-SSL) is a promising paradigm for training models on decentralized data with limited labels. However, existing methods often struggle with "class distribution mismatch," where the label space of a client's local labeled data differs from its unlabeled data. This paper introduces Fed-SHVR (Federated Semi-supervised Heterogeneous Variance Reduced), a novel framework that treats Fed-SSL as a joint optimization problem. By incorporating dual regularization and variance reduction techniques, Fed-SHVR achieves the first formal convergence proof for Fed-SSL and demonstrates significant empirical gains in accuracy and communication efficiency on non-i.i.d. datasets.
Introduction: The Challenge of Mismatched Distributions
In practical Federated Learning (FL) scenarios, labeling data is often prohibitively expensive for individual clients. Semi-supervised learning (SSL) offers a solution by leveraging small amounts of labeled data alongside larger unlabeled pools. However, standard SSL assumes that labeled and unlabeled data share the same class distribution.
In a federated environment, this assumption frequently fails. A client might possess labeled images of "cats and dogs" but unlabeled images containing "deer and horses." This "class distribution mismatch" causes traditional SSL methods to fail, as models attempt to force-map novel unlabeled classes into known labeled categories, resulting in overconfident and incorrect pseudo-labels.
Methodology: The Fed-SHVR Framework
The authors propose Fed-SHVR, which frames Fed-SSL as a joint optimization of model parameters and pseudo-labels using Block Coordinate Descent (BCD). The framework relies on three pillars:
1. Dual Regularization
To handle mismatch, Fed-SHVR employs two specific penalties:
- Pseudo-label Penalty ($r_1$): This prevents the model from becoming prematurely overconfident. It uses a sharpening function to soften pseudo-labels during the early stages of training.
- Confidence Penalty ($r_2$): This encourages more uniform output distributions for unlabeled data, preventing the local model from ignoring "novel" classes. This mechanism facilitates knowledge transfer, as a class unknown to one client may be well-known to another.
2. Variance Reduction and Normalized Averaging
To combat "client drift" caused by non-i.i.d. data, the algorithm incorporates gradient correction terms (inspired by SCAFFOLD) and normalized averaging (inspired by FedNova). These ensure that the global model converges correctly despite the heterogeneity of local updates.
3. Optimization as a Rigorous Process
Unlike heuristic pseudo-labeling, Fed-SHVR treats the process as a formal optimization problem. This allows the authors to provide the first formal convergence result for Fed-SSL, proving a rate of $O(1/\sqrt{T})$ for non-convex objectives.
Experimental Evaluation
The framework was evaluated on two benchmarks:
- MNIST: 60,000 images across 10 clients. In the Non-IID setup, clients had labeled data for only two digits but unlabeled data for all ten.
- CIFAR-10: 50,000 images across 40 clients. Each client received labeled data for 6 out of 10 classes, while unlabeled data contained all classes to test varying mismatch ratios.
Key Results and Discussion
Fed-SHVR demonstrates superior performance across several metrics:
- Accuracy Gains: On Non-IID MNIST, Fed-SHVR significantly outperformed baselines like FedAvg and Fed-MT (Mean Teacher).
- Robustness: As the mismatch ratio increased on CIFAR-10, Fed-SHVR maintained high accuracy while traditional SSL methods saw performance degradation.
- Efficiency: The method is highly communication-efficient. For example, it reached a 76% accuracy threshold on CIFAR-10 approximately 200 rounds faster than standard approaches.
Conclusion and Future Work
Fed-SHVR addresses a critical gap in federated learning by making semi-supervised techniques viable in heterogeneous, real-world settings. While the method introduces new hyperparameters that require tuning, its theoretical grounding and empirical success mark a significant step forward. Future research may explore integrating more advanced SSL techniques, such as MixMatch, into this variance-reduced federated framework.
Summary updated