NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Federated Learning with Partially Class-Disjoint Data

Ziqing Fan, Jiangchao YaoArtificial 2024 · OpenAlex

Abstract

Essentially, the federation of multiple clients is to acquire more complete information to promote learning a powerful model that recognizes general patterns of wider classes. However, a natural case usually presents in the real-world situation under a large label space, where only a subset of classes of samples are provided by individual clients. We term this practical setting as “federated learning with partially class-disjoint data” (PCDD), to differentiate from the ordinary study without emphasizing this extreme scenario. Generally, this setting is very challenging as different clients own partial classes and the resulting model on the client side cannot well support full-class topology for aggregation. In this chapter, we first show the significant difference of federation in PCDD compared to that in traditional non-IID studies, and then dissect recent advances concerning this challenge, following with discussion about the future trends. We illustrate the challenges using experimental results on benchmark datasets under PCDD conditions, finding that effective solutions to PCDD problems should provide optimal structures for global objective and allow flexible structures for personalized tasks. We make systematical analysis to underscore the significance of PCDD in heterogeneous federated learning and to inspire more explorations in the future.

Introduction: The PCDD Challenge

In the real world, federated learning (FL) rarely deals with perfectly balanced data. While most research focuses on "non-IID" data (where data distributions differ slightly), this paper tackles a more severe and realistic scenario: Partially Class-Disjoint Data (PCDD).

Visualization of label distributions across clients in PCDD settings, showing the sparsity of classes per client compared to IID distributions.

Imagine a network of hospitals collaborating to build a thyroid disease diagnostic tool. Because of regional differences, Hospital A might only see cases of "Type 1" and "Type 2" disease, while Hospital B only sees "Type 3" and "Type 4." Neither hospital has a complete picture of the "label space." When clients train on such restricted data, two major issues arise:

  1. Angle Collapse: The classifier vectors for the classes missing from a client’s local dataset tend to collapse or distort, ruining the global model's ability to recognize those classes later.
  2. Inefficient Feature Space Utilization: To satisfy global constraints, local models often "waste" feature space that could have been used to better distinguish the classes they do actually have.

Methods and Solutions

The authors categorize existing solutions into three buckets:

  • Generic FL (G-FL): Methods like FedProx, MOON, and FedRS prioritize a strong global model. They often force local models to align strictly with the global one, which mitigates angle collapse but hurts local personalization.
  • Personalized FL (P-FL): Methods like FedRep and FedProto allow clients to specialize. While they perform well on a client's local data, they often fail on global tasks because they ignore the classes they don't see locally.
  • Hybrid Approaches: The paper highlights FedGELA as a standout. FedGELA uses a geometric trick: it fixes the classifier as a Simplex Equiangular Tight Frame (ETF).

An ETF is essentially a geometric structure where all class vectors are spread out as far as possible from each other in a high-dimensional space. By fixing this structure globally and allowing "bilateral curation" (adjusting the length of these vectors based on local class counts), FedGELA prevents the classifier from collapsing while still allowing the feature extractor to adapt to local data.

Key Insights: The Optimization Dilemma

There is a fundamental contradiction between local and global objectives in PCDD. A local model wants to collapse the space to separate its few known classes; the global model needs that space preserved for the many other classes it hasn't seen yet.

Geometric illustration of angle collapse and feature space utilization issues in PCDD.

As illustrated above, the most effective way to fight PCDD isn't just better optimization, but better structural constraints. By pre-defining the "ideal" geometry of the classifier (the ETF), you prevent the local training process from "forgetting" how to represent missing classes.

Key Results

The paper re-evaluates FedGELA against a dozen other algorithms across various levels of data heterogeneity using datasets like SVHN, CIFAR-10, and CIFAR-100:

  • Superiority of FedGELA: It consistently achieved the highest Generic Accuracy (GA) and Personalized Accuracy (PA).
  • Quantifiable Gains: FedGELA showed average performance improvements of 2.42%, 5.2%, and 5.7% over the baseline FedAvg across the three datasets.
  • Robustness to Complexity: On the more difficult CIFAR-100 dataset, FedGELA maintained a significant lead, whereas many P-FL methods saw their global accuracy plummet as the number of missing classes increased.

Limitations and Future Work

While FedGELA provides a strong solution, some areas remain open for exploration:

  • Communication Overhead: The impact of complex structural constraints on communication costs in extremely large-scale networks needs further study.
  • Dynamic Label Spaces: Current models assume the total number of classes is known upfront. Real-world scenarios may involve new classes appearing over time (continual learning).
  • Privacy-Utility Trade-off: Future research should investigate if structural constraints like ETFs inadvertently leak information about local class distributions.

Summary updated

BibTeX
@inproceedings{fan2024federated,
  author = {Ziqing Fan and Jiangchao Yao},
  title = {{Federated Learning with Partially Class-Disjoint Data}},
  booktitle = {Artificial},
  year = {2024},
  doi = {10.5772/intechopen.1008364},
}
Figure