Time series forecasting has been dominated by increasingly complex architectures. From CNNs to RNNs, from Transformers to MLP-mixers, we've thrown everything at the problem of predicting the future from past data. Yet a fundamental question remains: Why are we forcing models to memorize patterns when we could simply look them up?
See RAFT (Retrieval-Augmented Forecasting of Time-series), a refreshingly simple yet powerful approach from researchers at KAIST, Max Planck Institute, and Google Cloud AI. Instead of relying solely on learned parameters, RAFT retrieves relevant historical patterns from the training data at inference time, and the results are striking.
Table of Contents
Retrieval-Augmented Time Series Forecasting is an approach that improves prediction models by retrieving similar historical patterns at inference time rather than relying only on learned model parameters. Instead of forcing a neural network to memorize rare or unstable patterns within its weights, the system dynamically searches past data for comparable sequences and uses their subsequent values to guide future predictions. This retrieval mechanism acts as an external memory layer, helping the model respond more effectively to uncommon events or weak temporal correlations.
RAFT reframes time series forecasting by shifting the burden from memorization to retrieval. Rather than forcing models to internalize rare, unstable, or weakly correlated patterns within fixed parameters, it retrieves similar historical sequences at inference time and uses them to guide predictions. This simple yet powerful design improves performance across benchmarks, particularly in scenarios where traditional deep learning struggles. The key insight is clear: smarter access to historical data can outperform increasingly complex architectures.
Dataset
RAFT
Best Baseline
Improvement
ETTh1
0.420
0.447 (TimeMixer)
6.0%
ETTh2
0.359
0.364 (TimeMixer)
1.4%
ETTm1
0.348
0.381 (TimeMixer)
8.7%
ETTm2
0.254
0.275 (TimeMixer)
7.6%
Electricity
0.160
0.182 (TimeMixer)
12.1%
Exchange
0.441
0.386 (TimeMixer)
-14.3%
Illness
2.097
1.480 (PatchTST)
-41.7%
Solar
0.231
0.216 (TimeMixer)
-7.0%
Traffic
0.434
0.484 (TimeMixer)
10.3%
Weather
0.241
0.240 (TimeMixer)
-0.4%
Pattern
Occurrences
RAFT (no retrieval)
RAFT (with retrieval)
1 (rarest)
0.2590
0.2209
14.7% ↓
2
0.2310
0.2064
10.7% ↓
4
0.2344
0.2128
9.2% ↓
Pattern Occurrences
Improvement with Retrieval
1
31.5% MSE reduction
31.4% MSE reduction
16.0% MSE reduction
AutoFormer
AutoFormer + Retrieval
0.496
0.471
0.450
0.444
0.588
0.454
0.327
0.326
Data Scientist Data Scientist architecting scalable ML systems. Builds production-grade solutions that combine predictive analytics with agentic AI capabilities.
Fiori Launchpad Designer and Configurations
The Fiori Launchpad Designer, is a crucial configuration tool within the SAP Fiori system for managing catalogs, groups, and tiles, offers...
SAP Quality Management and SAP EWM Integration
What is Quality Management (QM)?SAP Quality Management (QM) is a part of SAP ECC (ERP Central Component) which is mainly used to help businesses...
E-Transformation Regulations in Turkey: e-Invoice, e-Archive, SAP Guide
E-transformation regulations in Turkey define which companies must use electronic documents (e-Invoice, e-Archive, e-Delivery Note, e-Ledger) and by...
ABAP Clean Code: The Key to Better Software Development
Clean code refers to software that is readable, understandable, maintainable, and testable. Embracing clean code principles in ABAP ensures that...
Physical Inventory Process Using RF Device
In the SAP Extended Warehouse Management (EWM) System, it is possible to count available stock and keep the records on the system by using the...
What is SAP Signavio Process Explorer?
SAP Signavio Process Explorer is part of the SAP Signavio Process Transformation Suite, a suite of tools that helps businesses improve their business...
Benefits of SAP Signavio
We live in a world where technology is developing rapidly and where there is constant change and transformation. These changes have a huge impact on...
Electronic Data Interchange (EDI): Complete Guide
In these days, businesses use EDI integration to share purchase orders, invoices, requests for quotations, loan applications, and many more types of...
How SAP EWM Can Optimize Warehouse Operations?
Overview of SAP EWM and SAP WMSAP EWM (Extended Warehouse Management) is a new-generation warehouse management system developed to optimize warehouse...
Your mail has been sent successfully. You will be contacted as soon as possible.
Your message could not be delivered! Please try again later.