Federated Semi-Supervised Learning with Annotation Heterogeneity

Xinyi Shang, Gang Huang, Yang Lu, Jian Lou, Bo Han, Yiu-ming Cheung, Hanzi Wang · DOI

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for collaborative machine learning without centralizing raw data. However, in many real-world scenarios, data labeling is expensive or requires expert knowledge, leading to Federated Semi-Supervised Learning (FSSL). Most existing FSSL research assumes "annotation homogeneity," where every participant possesses a similar ratio of labeled to unlabeled data.

In practice, annotation is often highly heterogeneous. For instance, a large hospital might have a fully labeled dataset, while smaller clinics may have vast amounts of data with no labels at all. Standard FSSL methods often struggle with these "unlabeled-only" clients, either ignoring them or allowing their noisy pseudo-labels to degrade the global model. To address this, the proposed HASSLE (Heterogeneously Annotated Semi-Supervised LEarning) framework is designed to handle arbitrary labeling percentages across clients.

The HASSLE Framework

HASSLE departs from the traditional single-model approach by maintaining a dual-model architecture. This decoupling allows the system to effectively integrate knowledge from clients regardless of their labeling status.

Dual-Model Architecture

The framework maintains two distinct global models:

  1. Supervised Model ($w_S$): Optimized primarily using labeled data.
  2. Unsupervised Model ($w_U$): Optimized using unlabeled data via pseudo-labeling techniques.

By separating these objectives, HASSLE ensures that clients with 100% labels contribute to $w_S$, while those with 0% labels contribute to $w_U$, preventing the "weight mismeasurement" problem common in unified models.

The HASSLE framework architecture showing the interaction between server and client $k$ using dual models and the SUMA strategy.

Supervised-Unsupervised Mutual Alignment (SUMA)

To prevent the two models from diverging, HASSLE employs the SUMA strategy, which facilitates knowledge exchange:

  • Global Residual Alignment (GRA): Compact "residual models" (typically 25% of the main model size) learn the logical differences between $w_S$ and $w_U$. These residuals act as bridges, allowing each model to benefit from the complementary information captured by the other without significant communication overhead.
  • Model Proximity Alignment (MPA): A regularization term (using $L_2$ norm) is applied during local training to ensure local updates do not stray too far from the alternate global model, maintaining parameter-space consistency.

Experimental Evaluation

HASSLE was evaluated on standard benchmarks including FMNIST, CIFAR-10, and CIFAR-100. To simulate real-world conditions, data was distributed using a Dirichlet distribution to create non-IID partitions, and clients were assigned varying label percentages (0%, 20%, 60%, and 100%).

Key Results

HASSLE consistently outperformed state-of-the-art methods like FedMatch and RSCFed. Notably, as the proportion of labeled data decreased, the performance gap widened. With only 5% total labels, HASSLE achieved accuracy improvements of up to 5.3% on CIFAR-100.

A critical advantage of HASSLE is its ability to scale with unlabeled clients. While traditional methods often plateau when more unlabeled participants are added, HASSLE shows a steady increase in test accuracy, effectively harvesting knowledge from label-free data sources.

Test accuracy comparison as the number of unlabeled clients increases, demonstrating HASSLE's superior ability to leverage label-free participants.

Conclusion

HASSLE provides a robust solution for FSSL under annotation heterogeneity. By decoupling supervised and unsupervised learning through a dual-model framework and aligning them via SUMA, it enables effective collaboration between fully-labeled and completely unlabeled clients. Future work will explore the use of asymmetric architectures for the dual models and further optimization for extreme data heterogeneity.

Summary updated

BibTeX
@misc{shang2023federated,
  author = {Xinyi Shang and Gang Huang and Yang Lu and Jian Lou and Bo Han and Yiu-ming Cheung and Hanzi Wang},
  title = {{Federated Semi-Supervised Learning with Annotation Heterogeneity}},
  year = {2023},
  eprint = {2303.02445},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.02445},
}
Figure