Federated Learning with Profile Mapping under Distribution Shifts and Drifts

Mohan Li, Dario Fenoglio, Martin Gjoreski, Marc Langheinrich

TL;DR

Feroma is a novel federated learning framework that uses privacy-preserving "distribution profiles" to handle data heterogeneity both across different clients and over time. It achieves significant accuracy gains (up to 12 percentage points) over state-of-the-art methods by dynamically mapping clients to the most suitable models, even for unseen test clients, with minimal overhead.

The Challenge: Data Shifts and Drifts in Federated Learning

Federated Learning (FL) typically assumes that data is distributed identically across clients (IID). In reality, real-world data is highly heterogeneous. The authors identify two primary challenges that degrade FL performance:

  1. Distribution Shift: Different clients have fundamentally different data distributions at the same time (e.g., one client has photos of cats, while another has dogs).
  2. Distribution Drift: A single client’s data distribution evolves over time (e.g., a user's preferences change, or sensor conditions shift).

Existing methods like Clustered FL or Personalized FL often struggle because they rely on static assumptions, such as a fixed number of clusters or known client identities. They also frequently fail to handle "drifts" that occur during training or at test time. Standard approaches like FedAvg converge slowly and perform poorly when a client's data doesn't align with the global average.

Introducing Feroma

To address these challenges, the authors introduce Feroma (Federated Learning with Profile Mapping), which shifts the focus from client identity to the underlying data distribution profile.

The FEROMA pipeline: Profile extraction, mapping to previous models, and weighted aggregation for local training.

Feroma operates on several key mechanisms:

  • Distribution Profile Extraction (DPE): Instead of sharing raw data or model gradients, clients generate a compact, low-dimensional statistical summary (a "profile") of their local data. This is done using statistical moments from the model's latent space and is protected by differential privacy.
  • Distribution Profile Mapping (DPM): The server maintains a set of models associated with previously seen profiles. In each round, it maps current client profiles to these past profiles using similarity-based weighting.
  • Adaptive Aggregation: Based on these weights, Feroma dynamically selects an aggregation strategy. It can act as Clustered FL (sharing among similar clients), Personalized FL (assigning a specific specialized model), or fall back to Global FL if no match is found.
  • One-Shot Test-Time Assignment: For new, unseen clients at test time, Feroma extracts a label-free profile and immediately assigns the best-matching pre-trained model without needing any retraining or online adaptation.

Key Insights and Results

The framework was evaluated on six benchmarks, including standard vision datasets (MNIST, CIFAR-10/100) and real-world datasets like CheXpert and Office-Home, using the ANDA toolkit to simulate complex non-IID scenarios.

Comparison of FedAvg vs. FEROMA under distribution shift and drift. FEROMA shows much faster convergence and higher final accuracy.
  • Superior Accuracy: Feroma consistently outperformed 10 state-of-the-art baselines. It showed an average accuracy gain of up to 12 percentage points across benchmarks. On MNIST and CIFAR-10, it improved accuracy by over 14pp and 10pp respectively compared to Clustered FL.
  • Decoupling Identity from Distribution: By focusing on what the data is rather than who has it, Feroma handles clients arriving, leaving, or changing their behavior seamlessly.
  • Scalability and Efficiency: Unlike many personalized FL methods that require training multiple models per client or complex clustering, Feroma’s overhead is comparable to standard FedAvg. It scales linearly with the number of clients, maintaining low training times even as client numbers grow to 100.
  • Robustness: It maintained high performance across varying drift frequencies and different levels of non-IID severity.

Limitations and Future Work

While highly effective, Feroma's success relies on the quality of the Distribution Profile Extractor. If the model is undertrained or the task is extremely difficult, the latent space might not yield reliable profiles. Additionally, Feroma primarily matches against models from the final training round. If a specific data distribution appeared only in the middle of training and then disappeared, its corresponding specialized model might not be retained for test-time use. Future work may explore periodically checkpointing models in sparsely populated regions of the "profile space" to ensure rare distributions are preserved.

Summary updated

BibTeX
@inproceedings{li2026federated,
  author = {Mohan Li and Dario Fenoglio and Martin Gjoreski and Marc Langheinrich},
  title = {{Federated Learning with Profile Mapping under Distribution Shifts and Drifts}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=thoPskdIcE},
}
Figure