FedSEAL: Semi-Supervised Federated Learning with Self-Ensemble Learning and Negative Learning

Jieming Bian, Zhu Fu, Jie XuarXiv 2021

Introduction

Federated Learning (FL) has traditionally operated under the assumption that clients possess labeled data. In practice, however, labeling data is a resource-intensive process requiring domain expertise that end-users typically lack. This discrepancy gives rise to Semi-Supervised Federated Learning (SSFL), where a central server holds a small, high-quality labeled dataset, while a massive volume of unlabeled data resides across decentralized clients.

The primary challenge in SSFL is error propagation. In a decentralized setting, incorrect "pseudo-labels" generated by local models can be aggregated into the global model, creating a feedback loop of noise that leads to model divergence. FedSEAL (Self-Ensemble and Negative Learning) addresses this by stabilizing pseudo-labeling through temporal averaging and utilizing uncertain data through negative learning.

Methodology

FedSEAL orchestrates training through a four-step process designed to mitigate noise and maximize the utility of unlabeled data:

  1. Server-Side Supervised Learning & Dynamic Thresholding: The server trains the global model on its labeled set and calculates class-wise confidence thresholds. Unlike fixed thresholds, these adjust based on the model's actual confidence for specific categories, preventing data imbalance.
  2. Self-Ensemble Learning (Positive Filtering): To stabilize predictions, clients compute an average confidence score using an ensemble of historical global models. This "temporal averaging" filters out transient noise, producing more reliable positive pseudo-labels ($y^+$).
  3. Complementary Negative Learning (Negative Filtering): For data points that fall below the positive threshold, FedSEAL employs Negative Learning. It identifies classes the image definitely is not (complementary labels, $y^-$), allowing the model to learn from uncertain data by penalizing incorrect class probabilities.
  4. Local Model Update: Clients update their local models using a weighted combination of cross-entropy loss on the positive filtered set and a specialized negative loss function on the negative set.
The FedSEAL client-side training pipeline, illustrating the integration of self-ensemble averaging and negative filtering.

Experimental Setup

The framework was evaluated on three standard benchmarks adapted for the SSFL "label-at-server" setting:

  • Fashion-MNIST: 500 server labels; 10 clients.
  • CIFAR-10: 5,000 server labels; 100 clients.
  • SVHN: 1,000 server labels; 100 clients.

Experiments covered both IID and non-IID data distributions to test robustness against real-world data heterogeneity.

Key Results

FedSEAL consistently outperformed existing state-of-the-art SSFL methods and naive combinations of FL and SSL. On CIFAR-10 (non-IID), FedSEAL achieved 80.80% accuracy, significantly surpassing previous benchmarks like FedMatch.

As shown in the performance comparison below, FedSEAL maintains high accuracy even in challenging non-IID scenarios, effectively bridging the gap between supervised baselines and unsupervised client data.

Comparison of FedSEAL against various baselines in both Non-IID and IID settings.

Discussion and Insights

  • The Wisdom of History: By leveraging the "collective opinion" of historical models through self-ensembling, FedSEAL prevents the training process from spiraling due to early-round overconfidence.
  • The Utility of Negation: Negative learning provides a safer entry point for training in early rounds. It is often easier for a nascent model to identify what an image is not than to correctly classify it, providing useful gradients when positive labeling is still too risky.
  • Robustness: The framework's reliance on dynamic thresholds and ensemble stability makes it particularly robust to the non-IID distributions common in federated environments.

While FedSEAL shows remarkable empirical success, future work may explore its application to non-image domains like NLP and provide deeper theoretical convergence bounds for the combined self-ensemble and negative learning approach.

Summary updated

BibTeX
@misc{bian2021fedseal,
  author = {Jieming Bian and Zhu Fu and Jie Xu},
  title = {{FedSEAL: Semi-Supervised Federated Learning with Self-Ensemble Learning and Negative Learning}},
  year = {2021},
  eprint = {2110.07829},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.07829},
}
Figure