Skip to content
Preprint

TS-RAG: Retrieval Augmented Generation for Time Series Forecasting

Aug 2026 · 1 citation · 21 references
Computer Science

TL;DR

TS-RAG is proposed, which leverages RAG to enhance forecasting performance and introduces specially designed reference tokens to effectively fuse information from the input sequence with that from retrieved similar sequences, enabling a more robust capture of complex temporal dynamics.

Abstract

While deep learning models, particularly transformer-based architectures, have shown impressive performance in time series forecasting, the application of retrieval-augmented generation (RAG) in this domain remains limited. Since RAG has proven effective in enhancing the capabilities of large language models by incorporating relevant external information, retrieving similar time series sequences as references might also improve accuracy in time series forecasting tasks. However, most time series models are constrained by limited training data, smaller parameter scales, and a lack of the extensive generative capabilities found in large language models. Simply concatenating reference sequences into the prompt, as done in language models, may not yield the expected results. To address these challenges, we propose a novel approach, TS-RAG, which leverages RAG to enhance forecasting performance. The framework introduces specially designed reference tokens to effectively fuse information from the input sequence with that from retrieved similar sequences, enabling a more robust capture of complex temporal dynamics. Experimental results demonstrate that TS-RAG achieves consistent state-of-the-art performance across several real-world forecasting benchmarks.

View source

Similar papers

Preprint Aug 2026

Model-agnostic Retrieval-Augmented Extended Forecasting for time series

Empirical evaluation across multiple benchmark datasets demonstrates that RAEF outperforms RAF in both accuracy and inference overhead, and comprehensive comparisons with zero-shot and fine-tuned foundation models show that RAEF achieves competitive or superior performance to fine-tuning while avoiding its computationa...

Juan Pablo Villa Serna, Rohan Asthana, Vasileios Belagiannis · 0 citations
#machine learning Preprint Sep 2026

Instance-Adaptive Prompts as Context for Time-Series Foundation Models

PaCTS is introduced, which generates a small set of instance-adaptive latent prompts in the form of continuous embedding tokens conditioned on the visible context, which serve as compact context surrogates for frozen TSFMs.

Ze-Hao Xiao, Shi-Feng Xie, Lei Zan et al. · 0 citations
#machine learning Preprint Sep 2026

Compositional Spectral Prompts for LLM-based Online Time Series Forecasting

To address the sequential and evolving nature of time series, the Online Time Series Forecasting (OTSF) task has been extensively studied in multiple domains. Existing research focuses on adapting to non-stationary environments by employing memory buffer-based retrieval strategies. However, we observe that such framewo...

Seungyoon Choi, Hyunchul C. Kim, Jae-Gil Lee et al. · 1 citation
#artificial intelligence Review Sep 2026

Memory in Deep Time-Series Models

This work develops a unified taxonomy of memory mechanisms and reviews three classes of external memory, including explicit modules, retrieval augmentation, and agentic stores, under a common framework for what is retained, how it is written and accessed, and how it persists.

M. Nguyen, H. Nguyen, Manh Nguyen et al. · 0 citations
#machine learning Preprint Sep 2026

Aurora-X: Built for Extreme Time Series Forecasting

A novel pattern-guided mixture-of-experts that expands model capacity through sparse activation and uses shallow patch similarities to constrain deep-layer routing, guiding expert specialization across heterogeneous time series and an implicit quantile network head that predicts arbitrary quantiles to characterize pred...

Xingjian Wu, Chen-Juan Guo, Xiangfei Qiu et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.