Abstract
Federated Learning (FL) faces significant hurdles when clients possess data from only a subset of all possible classes—a condition known as "incomplete classes." This imbalance causes standard softmax-based training to degrade the global model's aggregatability and erase local personalization. We propose the MAP (Model Aggregation and Personalization) framework to address these challenges. MAP introduces a "Restricted Softmax" mechanism to stabilize weight updates for missing classes and an "Inherited Private Model" (HPM) to maintain local expertise through knowledge distillation. Our evaluations on benchmarks like CIFAR and FEMNIST show that MAP consistently outperforms existing FL methods in both global and local accuracy.
Introduction
Federated Learning (FL) enables collaborative model training across decentralized devices without sharing raw data. While promising, the effectiveness of FL is often hampered by non-Independent and Identically Distributed (non-I.I.D.) data. A particularly severe form of this is the "incomplete class" scenario, where individual clients only have access to a small fraction of the total label space. For instance, a specialized medical facility might only encounter a few specific diseases out of a hundred recognized by a global diagnostic system.
The Problem: Aggregation Failure and Personalization Erasure
In standard FL, local training on incomplete classes leads to two critical failures:
- Aggregation Failure: Standard softmax classification applies a "pushing" force to the weights (proxies) of classes not present in the local dataset. Without corresponding data to "pull" these weights back, the proxies for missing classes drift or collapse, making it impossible for the server to aggregate them into a coherent global model.
- Personalization Erasure: When clients download a newly aggregated global model, they often experience a performance drop on their local data compared to their previous personalized model. The global update effectively "overwrites" the client's specialized local knowledge.
The MAP Framework
To resolve these issues, the MAP framework decouples local training into two stages designed to satisfy the needs of both the global server and the local client.
Restricted Softmax (RS) for Aggregation
During the first stage of local training, MAP employs Restricted Softmax. This modification introduces a scaling factor ($\alpha$) that limits the "pushing" force exerted on missing classes. By restricting the movement of these proxies, the local model remains compatible for global aggregation, ensuring the server can effectively combine updates from diverse clients.
Inherited Private Model (HPM) for Personalization
To preserve local expertise, each client maintains an Inherited Private Model (HPM). The HPM is a moving average of the client's best-performing personalized models from previous rounds. In the second stage of local training, the client uses Knowledge Distillation (KD) to transfer expertise from the HPM to the newly downloaded global model. This ensures that the local model "inherits" previous knowledge rather than starting from scratch each round.
Experimental Evaluation
The authors evaluated MAP against nearly 20 state-of-the-art FL methods using benchmarks including Fashion-MNIST, CIFAR-10/100, CINIC-10, and FEMNIST.
Key Results
- Global Performance: MAP achieved a global accuracy of 66.8%, outperforming standard FedAvg (64.0%) and specialized methods like FedRS (66.6%).
- Local Personalization: For local tasks, MAP reached 73.9% accuracy, significantly surpassing the FedAvg baseline (71.3%) and matching top-tier personalization algorithms.
- Stability: Visual analysis confirmed that MAP prevents the collapse of missing class proxies, maintaining distinct feature regions even for classes the client has never seen.
Conclusion and Future Work
MAP successfully balances the competing demands of global aggregation and local personalization in federated environments with incomplete classes. While highly effective, future work is needed to address "concept drift" (where labels vary in meaning across clients) and to reduce the computational overhead of maintaining the HPM on resource-constrained IoT devices. Additionally, ensuring "personalization fairness" remains an open challenge for the field.
Summary updated