Skip to main content
QUICK REVIEW

[Paper Review] Learning Fast and Slow for Online Time Series Forecasting

Quang Pham, Chenghao Liu|arXiv (Cornell University)|Feb 23, 2022
Time Series Analysis and ForecastingComputer Science15 citations
TL;DR

This paper proposes FSNet, a novel online time series forecasting framework inspired by the Complementary Learning Systems (CLS) theory, which combines a per-layer adapter for fast adaptation to recent changes and an associative memory for recalling and updating recurring patterns. FSNet achieves state-of-the-art performance on both real and synthetic datasets by dynamically balancing fast learning and long-term knowledge retention, outperforming existing methods in handling non-stationary and recurring patterns.

ABSTRACT

The fast adaptation capability of deep neural networks in non-stationary environments is critical for online time series forecasting. Successful solutions require handling changes to new and recurring patterns. However, training deep neural forecaster on the fly is notoriously challenging because of their limited ability to adapt to non-stationary environments and the catastrophic forgetting of old knowledge. In this work, inspired by the Complementary Learning Systems (CLS) theory, we propose Fast and Slow learning Networks (FSNet), a holistic framework for online time-series forecasting to simultaneously deal with abrupt changing and repeating patterns. Particularly, FSNet improves the slowly-learned backbone by dynamically balancing fast adaptation to recent changes and retrieving similar old knowledge. FSNet achieves this mechanism via an interaction between two complementary components of an adapter to monitor each layer's contribution to the lost, and an associative memory to support remembering, updating, and recalling repeating events. Extensive experiments on real and synthetic datasets validate FSNet's efficacy and robustness to both new and recurring patterns. Our code is available at \url{https://github.com/salesforce/fsnet}.

Motivation & Objective

  • To address the challenge of online time series forecasting with deep learning models that struggle with concept drift and catastrophic forgetting.
  • To improve model adaptability to new patterns while retaining knowledge of previously seen recurring patterns in streaming data.
  • To formulate online forecasting as a task-free continual learning problem, avoiding reliance on explicit task boundaries.
  • To develop a scalable and robust framework that balances fast adaptation and long-term memory without requiring prior knowledge of distribution shifts.

Proposed method

  • FSNet employs a per-layer adapter that enables each intermediate layer to adaptively learn from recent time series samples, supporting fast learning of new patterns.
  • An associative memory component stores, retrieves, and updates embeddings of recurring patterns observed during training, enabling efficient recall when patterns reappear.
  • The interaction between the per-layer adapter and associative memory allows the model to rapidly adapt to recurring events by leveraging previously learned representations.
  • The framework is designed as a plug-in to existing deep neural network backbones, such as TCN, without requiring architectural changes.
  • It uses z-normalization per feature with online statistics adaptation to handle distribution shifts in streaming data.
  • The method is task-free, meaning it does not require task labels or explicit detection of concept drifts, relying instead on temporal smoothness and pattern recurrence.

Experimental results

Research questions

  • RQ1How can deep learning models be made more adaptive to non-stationary time series data in online settings without retraining from scratch?
  • RQ2Can a dual mechanism of fast and slow learning improve performance on both new and recurring patterns in time series forecasting?
  • RQ3To what extent can an associative memory component mitigate catastrophic forgetting in online learning of time series?
  • RQ4How does the interaction between per-layer adapters and associative memory enhance model generalization and adaptation speed?
  • RQ5What is the impact of experience replay on FSNet’s performance, and how does it affect memory and computational complexity?

Key findings

  • FSNet outperforms strong baselines on both real-world and synthetic time series datasets, demonstrating superior robustness to concept drift and recurring patterns.
  • The variant FSNet+ER (with experience replay) achieves even better performance across all settings, confirming the value of replay in online learning.
  • On the S-Abrupt and S-Gradual synthetic datasets, FSNet achieves lower MAE and RMSE, with improvements of up to 20% over baseline models in some cases.
  • Visualization shows that the associative memory units activate regularly during learning, particularly in early and middle layers (e.g., 4th and 6th), indicating active use of stored patterns.
  • The model effectively leverages temporal smoothness and pattern recurrence, with minimal reliance on explicit change detection or task boundaries.
  • The ablation study confirms that both the per-layer adapter and associative memory contribute significantly to performance, with the combination yielding the best results.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.