Local or Global: Selective Knowledge Assimilation for Federated Learning with Limited Labels

Yae Jee Cho, Gauri Joshi, Dimitrios Dimitriadis

Introduction

Federated Learning (FL) has emerged as a powerful paradigm for training machine learning models across decentralized edge devices while maintaining data privacy. However, a significant gap exists between theoretical FL research and real-world application: the "label bottleneck." While edge devices—such as mobile phones or medical imaging servers—generate vast amounts of data, only a tiny fraction of that data is typically labeled.

Standard FL algorithms, like FedAvg, assume that clients possess fully labeled datasets. In practice, labeling is expensive, time-consuming, and often requires domain expertise. FedLabel is a novel framework designed to bridge this gap, enabling effective semi-supervised federated learning by intelligently assimilating knowledge from both local and global sources.

The Challenges of Limited Labels

When labels are scarce, two primary issues degrade the performance of traditional FL:

  1. Class Distribution Mismatch: If a client labels only a small subset of their data, those labels may not be representative of the client's entire data distribution. A model trained on these sparse labels generalizes poorly to the remaining unlabeled local data.
  2. Data Heterogeneity (Non-IID Data): While a global model (aggregated from all clients) can provide a broader perspective, it often fails to capture the unique characteristics of a specific client's data. For instance, a global medical model might struggle with the specific nuances of a specialized hospital's patient population.

Existing semi-supervised FL methods often attempt to solve this by requiring the server to hold its own labeled data or by introducing complex "expert" models that significantly increase communication overhead. FedLabel avoids these pitfalls by utilizing the models already present in the FL pipeline.

The FedLabel Framework

FedLabel treats the local model and the global model as two "natural experts." The framework operates through a three-step selective knowledge assimilation process:

1. Obtaining Natural Experts

Each client receives the current global model from the server. They then perform a few iterations of supervised training on their small set of labeled data to create a specialized "local expert." At this stage, the client possesses two distinct perspectives: the broad, generalized knowledge of the global model and the specific, label-driven knowledge of the local model.

2. Confidence-Based Selection

For each unlabeled data point, the client must decide which expert is better suited to provide a "pseudo-label." FedLabel uses the variance of the model outputs as a measure of confidence. The more confident model (the one with lower variance/higher certainty) is selected to label the sample. To maintain high data quality, if neither model meets a specific confidence threshold ($\beta$), the data point is discarded to prevent the introduction of "label noise" into the training process.

3. Global-Local Consistency Regularization

FedLabel goes beyond simple pseudo-labeling by implementing a consistency regularization term. Even when the global model is chosen as the primary labeler, the local model's insights are not ignored. If both models agree on a prediction, a Kullback-Leibler (KL) divergence loss is applied to force the training model to align with the consensus of both experts. This ensures the model captures the strengths of both global generalization and local specialization.

Experimental Evaluation

The researchers evaluated FedLabel across various scenarios, including cross-device (EMNIST, CIFAR-10, CIFAR-100) and cross-silo (OrganAMNIST, BloodMNIST) environments. To simulate real-world conditions, they used a Dirichlet distribution to create high data heterogeneity among clients.

Key Findings

  • The "Less is More" Paradox: In one of the study's most striking results, FedLabel achieved higher test accuracy on CIFAR-10 using only 20% labeled data than standard FedAvg achieved with 100% labeled data. This suggests that the pseudo-labeling and regularization process can act as a beneficial form of noise that improves model generalization.
  • Superior Accuracy: FedLabel consistently outperformed other semi-supervised FL baselines (such as FedMatch and FedTriNet) by margins of 8% to 24%.
  • Communication and Computational Efficiency: Because FedLabel uses the parameters already being exchanged in the FL process, it requires zero extra communication overhead. Furthermore, it is 2x to 3x faster than complex baselines that require searching for "helper" clients.
  • The Global Teacher: The study revealed that when labels are extremely scarce (e.g., 5%), the global model is initially the superior teacher. As the number of labels increases, the local model's expertise grows, and the system naturally shifts its reliance toward local knowledge.

Conclusion and Future Directions

FedLabel demonstrates that effective federated learning does not require massive labeled datasets. By intelligently selecting between local and global expertise, the framework achieves state-of-the-art performance with minimal labels and no additional communication costs.

While highly effective, the current iteration of FedLabel assumes that the initial human-provided labels are accurate. The authors identify label noise—errors made by human annotators—as a primary area for future research. Extending FedLabel to be robust against such noise will be a critical step toward deploying these systems in messy, real-world environments.

Summary updated

BibTeX
@inproceedings{cho2023local,
  author = {Yae Jee Cho and Gauri Joshi and Dimitrios Dimitriadis},
  title = {{Local or Global: Selective Knowledge Assimilation for Federated Learning with Limited Labels}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure