TL;DR
This paper introduces Federated Semi-Supervised Learning (FSSL), a framework for training models when client data is mostly unlabeled. The authors propose FedMatch, a novel algorithm that uses "helper agents" from other clients to improve local consistency and employs a parameter decomposition technique to prevent the model from forgetting supervised knowledge while learning from unlabeled data.
The Challenge of Unlabeled Client Data
Standard Federated Learning (FL) assumes that clients have neatly labeled data. In the real world, this is rarely the case; users might not have the time, motivation, or expertise (e.g., medical diagnosis) to label their own data. This leads to a severe "deficiency of labels."
The authors identify two critical scenarios for FSSL:
- Labels-at-Client: Clients have a mix of labeled and unlabeled data.
- Labels-at-Server: A central server has a small set of expert-labeled data, but the clients—where the bulk of the data resides—have only unlabeled instances.
Existing methods that naively combine FL with Semi-Supervised Learning (SSL) often fail because the unsupervised task "interferes" with the supervised task, causing the model to forget what it learned from the labels. Furthermore, communicating full model updates in these settings is bandwidth-heavy.
Introducing FedMatch
To address these challenges, the authors propose FedMatch, which relies on two core innovations: Inter-Client Consistency and Parameter Decomposition.
Inter-Client Consistency Loss
Instead of just enforcing consistency on local data perturbations (like standard SSL), FedMatch enforces consistency across models. The server identifies "helper agents"—models from other clients with similar parameters—and sends them to a client. The client then ensures its predictions align with these helpers.
They use an agreement-based pseudo-labeling strategy where a label is only trusted if multiple helper models agree on it. Traditional SSL is "lonely"—a model only looks at its own transformed data. FedMatch recognizes that in a federated network, other clients' models are valuable sources of "consensus" that can act as a more robust teacher.
Parameter Decomposition for Disjoint Learning
To solve the "forgetting" problem (where unsupervised gradients wash out supervised knowledge), the authors split the model parameters $\theta$ into two parts: $\sigma$ (for supervised learning) and $\psi$ (for unsupervised learning), such that $\theta = \sigma + \psi$.
- $\sigma$ is a dense parameter learned from labeled data.
- $\psi$ is a sparse additive parameter learned from unlabeled data.
By keeping $\sigma$ fixed while training $\psi$ (and vice versa), the model avoids inter-task interference. The sparsity of $\psi$ also significantly reduces communication costs, as only the non-zero differences need to be transmitted. Here, sparsity isn't just for compression; it’s a structural barrier ensuring unsupervised learning only makes "fine-tuning" adjustments rather than overhauling the whole model.
Experimental Validation
The researchers evaluated FedMatch on three primary datasets:
- CIFAR-10: Used for Batch-IID and Batch-NonIID (class-imbalanced) tasks.
- Fashion-MNIST: Used for a "Streaming-NonIID" task to simulate data arriving over time.
- COVID-19 Radiography Dataset: A real-world dataset consisting of X-ray images (COVID, non-COVID, and viral pneumonia) to test the "Labels-at-Server" scenario where only doctors at a central hospital can provide labels.
Key Results
- Superior Accuracy: In the challenging "Labels-at-Server" scenario on CIFAR-10, FedMatch achieved 44.95% accuracy, while naive combinations like FedProx-FixMatch lagged at 25.61%.
- Communication Efficiency: FedMatch significantly reduced the amount of data sent. In the Labels-at-Server scenario, it reduced Server-to-Client (S2C) costs by 55% and Client-to-Server (C2S) costs by 78% compared to standard baselines.
- Real-World Performance: On the COVID-19 dataset, FedMatch outperformed the best baseline by over 4% in both the Labels-at-Client and Labels-at-Server scenarios, showing better stability and faster convergence.
Limitations and Future Work
The authors acknowledge that while FedMatch handles non-IID data well, there is still room to improve how models adapt to completely unlabeled data streams in real-time (e.g., on-device learning for smart speakers). Future work could involve making the "helper agent" selection even more efficient or exploring how to handle clients that join the network with entirely different data distributions than those seen during the initial supervised phase at the server.
Summary updated