Abstract
In federated learning (FL), the data distribution of each client may change over time, introducing both temporal and spatial data heterogeneity, known as concept drift. Data heterogeneity arises from three drift sources: real drift (a shift in the conditional distribution P(y|x)), virtual drift (a shift in the input distribution P(x)), and label drift (a shift in the label distribution P(y)). However, most existing FL methods addressing concept drift primarily focus on real drift. When clients experience virtual or label drift, these methods often fail to selectively retain useful historical knowledge, leading to catastrophic forgetting. A key challenge lies in distinguishing different sources of drift, as they require distinct adaptation strategies: real drift calls for discarding outdated data, while virtual or label drift benefits from retaining historical data. Without explicitly identifying the drift sources, a general adaptation strategy is suboptimal and may harm generalization. To address this challenge, we propose FedDAA, a dynamic clustered FL framework designed to adapt to multi-source concept drift while preserving valuable historical knowledge. Specifically, FedDAA integrates three modules: a cluster number determination module to find the optimal number of clusters; a real drift detection module to distinguish real drift from virtual/label drift; and a concept drift adaptation module to adapt to new data while retaining useful historical information. We provide theoretical convergence guarantees, and experiments show that FedDAA achieves 7.84% to 8.52% accuracy improvements over state-of-the-art methods on Fashion-MNIST, CIFAR-10, and CIFAR-100.
Introduction
Federated Learning (FL) typically assumes that while data may vary across clients (spatial heterogeneity), it remains stable over time. However, in real-world applications—such as evolving user preferences or seasonal trends—data distributions frequently shift, a phenomenon known as concept drift.
Concept drift can be categorized into three types:
- Real Drift: A change in the conditional distribution $P(y|x)$, meaning the underlying rules for classification have changed.
- Virtual Drift: A shift in the input feature distribution $P(x)$ (e.g., changes in lighting or sensor noise) while the rules remain constant.
- Label Drift: A change in the prior probability of classes $P(y)$ (e.g., seasonal changes in product demand).
Most existing FL frameworks treat all drift as "real," leading to the aggressive discarding of historical data. This results in catastrophic forgetting when the drift is actually virtual or label-based, as valuable historical knowledge is lost. FedDAA addresses this by distinguishing between drift types and applying tailored adaptation strategies.
The FedDAA Framework
FedDAA (Federated Distribution-Aware Adaptation) is a dynamic clustered FL framework that identifies the source of drift to optimize knowledge retention.
The framework consists of three integrated modules:
- Number of Clusters Determination (NCD): Instead of assuming a fixed number of clusters, FedDAA uses "data prototypes"—compact matrix representations of local $P(y|x)$ distributions. The server clusters these prototypes and employs silhouette scores to dynamically determine the optimal number of global models at each time step.
- Real Drift Local Detection (RDLD): Clients detect the nature of drift by measuring the distance between current and historical prototypes and cluster centers. If a client moves to a new cluster, "real drift" is identified. If it remains in the same cluster despite data changes, the drift is classified as virtual or label-based.
- Clustered FL Distribution-Aware Adaptation (DAA): This module selects the adaptation strategy. For real drift, the client trains only on new data to avoid interference from outdated rules. For virtual or label drift, a rehearsal strategy is used, training on both current and historical data to preserve performance on previously learned patterns.
Experimental Evaluation
The framework was evaluated on Fashion-MNIST, CIFAR-10, and CIFAR-100. To simulate complex temporal dynamics, the authors designed scenarios where the number of underlying concepts (clusters) increased over time, involving label swapping (real drift), image rotation (virtual drift), and Dirichlet shifts (label drift).
As shown in the results table, FedDAA consistently outperforms state-of-the-art baselines like FedDrift and FedRC. Specifically, it achieves accuracy improvements ranging from 7.84% to 8.52%. The performance is remarkably close to the "Oracle" baseline, which has perfect knowledge of the drift types and cluster assignments.
Conclusion
FedDAA demonstrates that "selective forgetting" is a powerful tool in non-stationary federated environments. By distinguishing real drift from virtual and label drift, the framework effectively balances the need to adapt to new rules with the necessity of preserving historical knowledge. Future work may explore more sophisticated continual learning techniques, such as generative replay, to further enhance the rehearsal strategy within the DAA module.
Summary updated