Retrieval Augmented Time Series Forecasting
Sungwon Han, Seungeon Lee, Meeyoung Cha, Sercan O Arik, Jinsung Yoon
TL;DR
RAFT addresses the challenge of forecasting nonstationary time series by injecting a retrieval-based inductive bias. It retrieves similar historical patches from the training data and leverages the subsequent values to augment a simple predictor, with multi-period downsampling to capture both short- and long-term patterns. Empirical results across ten benchmarks show consistent improvements over contemporary baselines, and analyses on synthetic data reveal that retrieval benefits are greatest for rare or weakly correlated patterns. The approach is also effective as a plug-in enhancement for transformer-based models, suggesting broad practical impact for real-world forecasting tasks.
Abstract
Time series forecasting uses historical data to predict future trends, leveraging the relationships between past observations and available features. In this paper, we propose RAFT, a retrieval-augmented time series forecasting method to provide sufficient inductive biases and complement the model's learning capacity. When forecasting the subsequent time frames, we directly retrieve historical data candidates from the training dataset with patterns most similar to the input, and utilize the future values of these candidates alongside the inputs to obtain predictions. This simple approach augments the model's capacity by externally providing information about past patterns via retrieval modules. Our empirical evaluations on ten benchmark datasets show that RAFT consistently outperforms contemporary baselines with an average win ratio of 86%.
