User-Centric Federated Learning

Mohamad Mestoukirdi, Matteo Zecchin, David Gesbert, Qianrui Li, Nicolas GressetWorkshops @ GLOBECOM 2021

Abstract: Data heterogeneity across participating devices poses one of the main challenges in federated learning as it has been shown to greatly hamper its convergence time and generalization capabilities. In this work, we address this limitation by enabling personalization using multiple user-centric aggregation rules at the parameter server. Our approach potentially produces a personalized model for each user at the cost of some extra downlink communication overhead. To strike a trade-off between personalization and communication efficiency, we propose a broadcast protocol that limits the number of personalized streams while retaining the essential advantages of our learning scheme. Through simulation results, our approach is shown to enjoy higher personalization capabilities, faster convergence, and better communication efficiency compared to other competing baseline solutions.

Introduction

Standard Federated Learning (FL) algorithms, such as FedAvg, operate under the assumption that data across participating devices is independent and identically distributed (IID). However, in real-world deployments—ranging from mobile phones to IoT sensors—data is inherently heterogeneous. This non-IID nature manifests as label shifts (different class distributions), covariate shifts (different input features), or concept shifts (different mappings from features to labels).

When data is highly diverse, a single global model often fails to generalize well for individual users, leading to degraded performance and slow convergence. While local fine-tuning offers a partial solution, it often fails to leverage shared knowledge between similar users effectively. This paper addresses the "sweet spot" between global generalization and local personalization, proposing a user-centric aggregation scheme that balances high performance with communication efficiency.

Methodology

The core innovation of this work is a User-Centric Aggregation rule. Instead of distributing a single global model $\theta$, the central server constructs personalized model mixtures for each participant based on a novel data-similarity score.

  1. Similarity Scoring via Probe Models: Before training begins, the server initiates a "special round" to estimate data similarity ($\Delta_{i,j}$) between users. By sending a probe model and receiving local gradients, the server can determine which users share similar data distributions.
  2. Personalized Weighting: The server assigns a unique weighting vector to each user. A user’s model is primarily composed of updates from similar peers, ensuring the resulting model is tailored to their specific data distribution while still benefiting from the broader fleet's knowledge.
  3. Personalized Streams: To mitigate the communication overhead of sending unique models to every device, the authors employ k-means clustering on the weighting vectors. This identifies a small number of "personalized streams" (e.g., $k=4$ or $8$). Users within a cluster receive the same broadcasted stream, significantly reducing downlink bandwidth requirements.
System architecture for user-centric aggregation.

The approach is theoretically grounded in domain adaptation, utilizing "discrepancy distance" to prove that this weighting strategy minimizes the risk of poor local performance.

Experimental Evaluation

The proposed framework was evaluated using standard computer vision benchmarks modified to simulate various real-world data shifts:

  • EMNIST: Used to test label shifts (users having different character distributions) and covariate shifts (images rotated at different angles).
  • CIFAR-10: Used to test concept shifts, where labels are randomly permuted for different user groups (e.g., swapping the "dog" label with "truck").

Results and Discussion

The experimental results demonstrate significant advantages over baselines like FedAvg, FedFOMO, and Clustered FL.

  • Superior Accuracy: On EMNIST label shift tasks, the method achieved a 3% gain in average validation accuracy over FedAvg. In more complex label and covariate shift scenarios, it matched the performance of an "Oracle" baseline that possesses perfect prior knowledge of user clusters.
  • Robustness to Conflict: The most striking result occurred in the CIFAR-10 concept shift experiment. While FedAvg collapsed to under 20% accuracy due to conflicting updates, the proposed method maintained nearly 50% accuracy, again matching the Oracle performance.
Validation accuracy on CIFAR-10 with concept shift.
  • Communication Efficiency: By utilizing a limited number of streams, the method achieves high personalization without the linear scaling of communication costs. Simulations in asymmetric wireless environments showed faster convergence in terms of wall-clock time compared to competing methods.

Conclusion

User-centric federated learning provides a robust path forward for handling heterogeneous data. By allowing "soft" collaboration through personalized streams, the system ensures that users benefit from relevant peers without being penalized by conflicting data from others. This not only improves average performance but also enhances fairness by boosting accuracy for the worst-performing users.

Future work will focus on addressing the overhead of the initial "special round" and adapting to dynamic concept drifts where user distributions change over time. Additionally, integrating formal Differential Privacy guarantees remains a key area for development to ensure that the similarity scoring process does not inadvertently leak sensitive user information.

Summary updated

BibTeX
@inproceedings{mestoukirdi2021user,
  author = {Mohamad Mestoukirdi and Matteo Zecchin and David Gesbert and Qianrui Li and Nicolas Gresset},
  title = {{User-Centric Federated Learning}},
  booktitle = {Workshops @ GLOBECOM},
  year = {2021},
  url = {https://openreview.net/forum?id=QRn4rJMaKxu},
}
Figure