Mitigating Catastrophic Forgetting in Task-Free Federated Continual Forecasting via Two-Tier Replay under Concept Drift

Khaled Hallak, Oudom KemarXiv 2026

This paper addresses a critical challenge in deploying machine learning for real-world sensor networks: how to keep models updated as the world changes without losing what they’ve already learned. Specifically, it focuses on Federated Continual Forecasting, where multiple privacy-sensitive clients (like air quality stations) must autonomously adapt to "concept drift" in a continuous data stream.

TL;DR

The authors propose a "task-free" federated learning protocol that uses a TwoTierReplay memory mechanism to balance stability and plasticity. By separating fixed long-term representative samples from a short-term online buffer, the system achieves an 11.4% improvement in mitigating catastrophic forgetting compared to standard replay methods.

What Problem Does This Paper Address?

In Federated Learning (FL), clients train a global model without sharing raw data. In time-series forecasting, this is complicated by concept drift—changes in data patterns over time (e.g., a new factory opening near a sensor).

Most research in "Continual Learning" assumes a task-based setting where the system is told exactly when a new "task" or regime begins. Real-world forecasting systems don't have this luxury; they receive an uninterrupted stream and must decide for themselves when to adapt. This leads to the stability-plasticity dilemma:

  • Plasticity: The ability to learn new patterns quickly.
  • Stability: The ability to retain old knowledge (avoiding "catastrophic forgetting").

Methods

The authors introduce a drift-aware, task-free framework consisting of two main components:

  1. Robust Drift Detection: Instead of updating on every new data point, each client monitors its prediction error (RMSE). They use a robust threshold based on the Median Absolute Deviation (MAD) from an initial offline period. An update is only triggered if the error stays high for a persistent number of windows ($M$), preventing "knee-jerk" reactions to outliers.
  2. TwoTierReplay Memory: Standard replay buffers often evict old data to make room for new data, which eventually leads to forgetting the "base" distribution. This paper proposes splitting memory into two tiers:
  3. Offline Tier: A fixed set of representative samples from the initial training phase, selected via k-means clustering. These are never evicted.
  4. Online Tier: A bounded FIFO (First-In-First-Out) queue that stores the most recent samples to help the model adapt to the current drift.
The TwoTierReplay memory structure separates long-term stability from short-term plasticity.

When drift is detected, the server initiates a federated adaptation round. Drifted clients contribute new knowledge, while non-drifted clients help anchor the model to stable patterns.

Fig. 1. Task-free federated continual-forecasting protocol. Each client maintains fixed offline and bounded online replay memories locally. A persistent drift alarm at any client triggers local adaptation at all K clients; the server aggregates only model parameters and rebroadcasts the updated global model.

Datasets

The framework was evaluated using the Beijing Multi-Site Air-Quality dataset (from the UCI repository).

  • Clients: 12 nationally controlled monitoring stations.
  • Targets: Temperature (TEMP), fine particulate matter (PM2.5), and wind speed (WSPM).
  • Scope: Hourly measurements from March 2013 to February 2017.
  • Horizons: 6-hour, 12-hour, and 24-hour ahead forecasts.

Key Insights and Ideas

  • Temporal Role Separation: The core "aha" moment is that old and recent observations play fundamentally different roles. Old samples provide the "anchor" for stability, while recent samples provide the "engine" for plasticity. Mixing them in a single buffer (as in standard replay) inevitably leads to the older, foundational knowledge being "washed out."
  • Replay Trumps Regularization: The authors found that replay-based methods outperformed parameter-regularization methods like EWC (Elastic Weight Consolidation) and SI (Synaptic Intelligence). In non-stationary time series, explicitly re-rehearsing actual data patterns is more effective than simply trying to keep model weights from changing.
  • Event-Driven Communication: By using drift detection as a trigger, the system avoids the high communication costs of constant federated updates, making it more practical for real-world IoT deployments.

Key Results

The primary metric used is the Stability-Plasticity (SP) score, where a lower value indicates a better balance between adapting to new data and retaining old knowledge.

  • Universal Improvement: TwoTierReplay achieved the lowest SP score in all nine target-horizon configurations.
  • Quantitative Gain: It improved over the strongest baseline (NormalReplay) by an average of 11.4%.
  • Robustness: The method remained the top performer even as forecasting difficulty increased (longer horizons).
Table II: Mean signed stability-plasticity score across different targets and horizons.

Limitations and Future Work

  • Computational Cost: Replay-based adaptation requires more memory and training computation than simpler fine-tuning or regularization methods.
  • Single Architecture: The study focused on LSTM models; the authors suggest future work should test if these findings hold for Transformers or Temporal Convolutional Networks.
  • Dataset Diversity: While the air quality dataset is heterogeneous, testing on other domains like finance or energy demand would confirm the generalizability of the two-tier approach.
  • Personalization: Future iterations could explore personalized federated learning, where the global model is further adapted to the specific local nuances of each client.

Summary updated

Abstract

Federated time-series forecasting is increasingly important in applications where temporal data are distributed across privacy-sensitive clients, such as environmental monitoring, smart cities, and industrial sensing. A central limitation of current continual-learning protocols is that they usually assume predefined task boundaries, whereas deployed forecasting systems receive an uninterrupted stream and must decide autonomously when adaptation is necessary. This paper addresses catastrophic forgetting in task-free federated forecasting under concept drift. We introduce a drift-aware continual-learning protocol in which each client monitors prediction-window RMSE, calibrates a robust median threshold from the offline base period, and triggers adaptation only after persistent degradation. To mitigate forgetting, we propose a TwoTierReplay mechanism that separates fixed offline representative memory from online memory. The offline tier preserves long-term knowledge learned during the base phase, while the online tier captures recent distributional changes after drift. Experiments on the Beijing Multi-Site Air- Quality dataset with 12 clients, three forecasting targets, and three horizons show that TwoTierReplay achieves the best stability-plasticity score in all nine target-horizon configurations. It improves over the strongest baseline by approximately 11.4%. These results suggest that explicit temporal structuring of replay memory is a practical and effective mechanism for task-free federated continual forecasting.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Beijing Multi-Site Air-Quality datasetTwoTierReplaymean signed stability–plasticity score (SP)0.1559task-free-streaming
Source quote
L670: average (0.1559), an 11.4% reduction relative to NormalRe-
Reported baseline / comparator measurements (1)
BenchmarkMethodMetricScoreProtocol / Evidence
Beijing Multi-Site Air-Quality datasetNormalReplay baselinemean signed stability–plasticity score (SP)0.1760task-free-streaming
Source quote
L671: play, the strongest baseline (0.1760). This consistent margin
BibTeX
@misc{hallak2026mitigating,
  author = {Khaled Hallak and Oudom Kem},
  title = {{Mitigating Catastrophic Forgetting in Task-Free Federated Continual Forecasting via Two-Tier Replay under Concept Drift}},
  year = {2026},
  eprint = {2611.01098},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.01098},
}
Figure