Abstract
Catastrophic forgetting occurs when a trained neural network gradually loses previously learned information while being retrained on new tasks. While continual learning (CL) has advanced significantly in classification, regression tasks—particularly those involving non-stationary data streams like renewable energy forecasting—have remained largely unaddressed. This paper introduces CLeaR (Continual Learning for Regression Tasks), a methodological framework designed to forecast targets and update itself sequentially. By utilizing dual buffers and Online Elastic Weight Consolidation (Online-EWC), CLeaR identifies and learns from shifting probability distributions. Experimental results on both artificial time series and real-world European wind farm data demonstrate that CLeaR effectively acquires new knowledge while mitigating forgetting, significantly improving prediction accuracy over standard fine-tuning approaches.
What Problem Does This Paper Address?
In machine learning, "Catastrophic Forgetting" is a primary constraint for models operating in dynamic environments. When a model learns new data, it often overwrites weights essential for previous tasks. This is particularly problematic for regression in non-stationary streams, such as wind or solar power forecasting, where underlying patterns change due to seasonal shifts or equipment aging.
As shown in the figure above, data distributions in these applications are not static. A model trained on one phase of the distribution (e.g., panel 'a') may fail as the distribution shifts toward panel 'd'. CLeaR aims to bridge the gap between stability (retaining old knowledge) and plasticity (learning new patterns) in these continuous-value prediction scenarios.
The CLeaR Framework
CLeaR is a modular framework consisting of two primary neural network components and a sophisticated buffering system:
- Autoencoder for Novelty Detection: This component monitors input features ($P(X)$). A spike in reconstruction error signals a shift in the input distribution.
- Predictor for Forecasting: A fully connected network that predicts the target value (e.g., hourly wind power). It monitors the relationship between inputs and outputs ($P(Y|X)$).
Dual-Buffer Strategy and Online-EWC
To manage incoming data, CLeaR employs two buffers:
- Novelty Buffer: A finite storage for new, unseen patterns. Once full, it triggers a model update.
- Familiarity Buffer: An infinite storage for data patterns the model has already mastered.
During updates, CLeaR uses Online Elastic Weight Consolidation (Online-EWC). This algorithm identifies weights critical to previous tasks using a Fisher information matrix and penalizes significant changes to them. This ensures the model adapts to new "tasks" (defined by distribution shifts) without erasing its prior expertise.
Experimental Evaluation
The framework was tested against two datasets:
- Artificial Dataset: A 7-dimensional periodic dataset with sinusoidal fluctuations, used to optimize hyperparameters like buffer size and regularization strength.
- European Wind Farm Dataset: Real-world meteorological and power generation data from 10 wind farms over two years. This tested the framework's performance against actual environmental non-stationarity.
Key Results and Insights
The researchers compared CLeaR against a static baseline (no updates) and a standard fine-tuning approach (updates without CL protections).
- Robust Performance: In artificial tests, 97.2% of CLeaR configurations outperformed the baseline in fitting error.
- Real-World Accuracy: On wind farm data, CLeaR (using Online-EWC) achieved a mean prediction error of 2.177 (e-2), a significant improvement over the 3.725 (e-2) error seen with standard fine-tuning.
- Stability-Plasticity Balance: The study found that while smaller novelty buffers allow for faster adaptation, they require stronger EWC regularization to prevent the forgetting ratio from spiking.
Conclusion and Future Directions
CLeaR provides a flexible, "LEGO-like" architecture for regression tasks in changing environments. Future work will focus on automating hyperparameter selection and integrating uncertainty estimation (such as Monte Carlo dropout) to create even more sensitive triggers for novelty detection. Additionally, the authors aim to improve the framework's ability to distinguish between long-term distribution shifts and short-term sensor exceptions or extreme weather events.
Summary updated