Abstract
Federated Learning (FL) under distributed concept drift is a largely unexplored area. Although concept drift is itself a well-studied phenomenon, it poses particular challenges for FL, because drifts are often distributed staggered in time and space. This paper introduces FedDrift, a novel multi-model approach that uses local drift detection and hierarchical clustering to group clients experiencing the same data concepts. By dynamically creating and merging models, FedDrift significantly outperforms single-model baselines and closely matches an idealized oracle.
Introduction
Federated Learning allows multiple clients to collaboratively train a machine learning model without sharing raw, private data. Most FL algorithms assume data stationarity, but real-world data constantly evolves due to changing user preferences or macro-economic trends—a phenomenon known as concept drift.
In FL, drift is often distributed, meaning it occurs at different times and locations across the network. For example, a news event might change typing prediction patterns for users in one region today, but not for others until much later. Prior solutions relying on a single global model fail during these staggered transitions because they attempt to average updates from clients experiencing fundamentally different data distributions.
Methodology: The FedDrift Framework
To address distributed drift, we propose shifting from a single-model paradigm to a dynamic, multi-model approach. We introduce two clustering algorithms to group clients by their current "concept":
- FedDrift-Eager: This specialized algorithm utilizes local drift detection. When a client identifies that its local loss has degraded significantly compared to the best global model, it splits off to initiate a new model. This is particularly effective when new concepts emerge sequentially.
- FedDrift (General): Designed for scenarios where multiple concepts emerge simultaneously, this robust algorithm isolates drifting clients into individual clusters. The server then employs hierarchical agglomerative clustering to merge models representing the same concept. Distance between clusters is defined by the cross-model performance loss; if the degradation is below a specific threshold, the models are merged.
Experimental Evaluation
We evaluated FedDrift on synthetic datasets (SINE, CIRCLE, SEA, MNIST) and the real-world FMoW (Functional Map of the World) dataset. FMoW involves classifying satellite imagery where land use patterns drift gradually over 16 years across different geographical regions.
Key Results
- High Accuracy: Across synthetic tests, FedDrift achieved ~93% accuracy, consistently outperforming centralized and FL baselines (~90%).
- Near-Oracle Performance: The dynamic clustering performed nearly as well as an idealized "Oracle" algorithm (94% accuracy) that possessed perfect knowledge of client concepts.
- Real-World Superiority: On the FMoW dataset, FedDrift successfully adapted to regional drifts, achieving 64.8% accuracy compared to 58.8% for the best baseline.
- Communication Efficiency: A variant, FedDrift-C, restricts the system to one new global model per time step, significantly reducing overhead with only a minor (~0.9%) accuracy trade-off.
Discussion and Conclusion
A critical insight from this work is that global aggregation masks local drift; detection must occur on the client side. Furthermore, single models are fundamentally ill-equipped for staggered transitions, necessitating specialized models for distinct concepts.
Future work will address privacy concerns related to sharing models from small clusters and explore more statistically grounded drift detection methods. Additionally, the system currently assumes all drifts are valid new concepts; future iterations should include mechanisms to distinguish between genuine concept drift and temporary anomalies or outliers.
Summary updated