Abstract
Federated Learning (FL) is an emerging domain in the broader context of artificial intelligence research. Methodologies pertaining to FL assume distributed model training, consisting of a collection of clients and a server, with the main goal of achieving an optimal global model with restrictions on data sharing due to privacy concerns. It is worth highlighting that the diverse existing literature in FL mostly assumes stationary data generation processes; such an assumption is unrealistic in real-world conditions where concept drift occurs due to, for instance, seasonal or periodic observations, or faults in sensor measurements. In this paper, we introduce a multiscale algorithmic framework which combines theoretical guarantees of FedAvg and FedOMD algorithms in near-stationary settings with a non-stationary detection and adaptation technique to ameliorate FL generalization performance in the presence of concept drifts. We present a multi-scale algorithmic framework leading to $\Tilde{\mathcal{O}} ( \min \{ \sqrt{LT} , \Delta^{\frac{1}{3}}T^{\frac{2}{3}} + \sqrt{T} \})$ dynamic regret for $T$ rounds with an underlying general convex loss function, where $L$ is the number of times non-stationary drifts occurred and $\Delta$ is the cumulative magnitude of drift experienced within $T$ rounds.
Introduction
Most Federated Learning research assumes a "stationary" world where the statistical properties of client data remain constant over time. In reality, data is often non-stationary, subject to concept drift—shifts in underlying distributions caused by external events, seasonal changes, or hardware failures. Standard FL algorithms like FedAvg are typically drift-agnostic, continuing to aggregate updates based on outdated patterns, which leads to model staleness and poor generalization. The challenge lies in detecting these shifts and adapting to them without violating client privacy or requiring prior knowledge of when drifts will occur.
The Master-FL Framework
To address these challenges, we propose Master-FL, a wrapper framework that can be integrated with standard FL algorithms. Its architecture is built upon three primary pillars:
- Multi-Scale Scheduling: The framework schedules multiple instances of a base FL algorithm over varying time horizons (powers of 2). This multi-scale approach allows the system to concurrently evaluate the performance of "fresh" models against established ones.
- Dual Drift Detection: The server executes two statistical tests to identify non-stationarity. Test 1 identifies sudden shocks by comparing current performance against an "optimistic" loss estimate. Test 2 monitors the accumulation of gradual, smaller changes over longer windows that might otherwise go undetected.
- Adaptive Restart: Upon detecting a significant drift, the framework triggers a restart, discarding the stale model and initiating a new learning cycle to "flush" the influence of irrelevant historical data.
Theoretical Contributions and Dynamic Regret
A key contribution of this work is the shift from "static regret" (comparison against the best fixed model) to dynamic regret, which measures performance against the best sequence of models. This is a significantly more rigorous benchmark for non-stationary environments where the optimal model is a moving target.
As shown in the comparison above, Master-FL achieves a dynamic regret bound of $\tilde{O}(\min\{\sqrt{LT}, \Delta^{1/3}T^{2/3} + \sqrt{T}\})$. This result is notable because the framework remains agnostic to the number of drifts ($L$) and the total magnitude of drift ($\Delta$), automatically achieving sub-linear regret in unpredictable environments.
Experimental Evaluation
The framework was evaluated using the covtype (Forest Cover Type) and mnist datasets, modified to simulate non-stationary scenarios such as Class Introduction (CI) and Class Swap (CS).
In experiments on the covtype dataset with CI drift, Master-FL-FedAvg achieved 87.4% accuracy, significantly outperforming drift-handling benchmarks like FedNova (79.9%) and FedProx (67.3%). Furthermore, visualizations of instantaneous global loss demonstrate that while all algorithms experience performance spikes during a drift, Master-FL recovers and retrains on the new distribution significantly faster than its competitors.
Limitations and Future Work
While Master-FL provides strong empirical and theoretical results, several areas for future research remain. Current theoretical proofs rely on the assumption of convex loss functions; extending this dynamic regret analysis to non-convex deep neural networks is a priority. Additionally, the multi-scale approach introduces computational overhead on the server, and future iterations will focus on optimizing communication efficiency and explicitly integrating Differential Privacy into the drift detection mechanisms.
Summary updated