Align-RAG: Alignment Is All You Need for TSFM In-Context Learning
Mohammad Asadi, Soheil Hor, Bardiya Akhbari, Jack W O'Sullivan, Tahoura Nedaee, Layne Price, Raviteja Anantha Ramesh, Euan Ashley, Ehsan Adeli
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Time Series, PDEs & Probabilistic ML › Time Series Foundation Models · Type: new method · Keywords: retrieval-augmented forecasting, time series foundation models, alignment, training-free adaptation, in-context learning
Areas: Time Series › Foundation Models and Irregular Data › Time Series Foundation Models; Continual Learning & Adaptation › Non-Stationarity Adaptation › Domain Shift Adaptation
Summary
Align-RAG is a training-free method that aligns retrieved past-future windows via per-pair amplitude rescaling and integer-lag phase shift, enabling frozen foundation models to adapt to new domains without any learned parameters.
Explained to a 5-year-old
A big computer brain knows how to guess what will happen next in time-series data. It can look at old examples and change them a little by moving them and making them bigger or smaller. By doing this, the brain can use those changed examples to make better guesses without learning anything new. This trick works for many different kinds of data and helps the brain get better at predicting new things. It lets people adapt the brain to new tasks easily.
Explained to a 5-year-old, longer
Imagine a super smart robot that can predict the future based on past events. It has a memory of many old examples, like old weather data or stock prices. Before the robot makes a new prediction, we gently adjust those old examples by shifting them a bit and scaling their size. This adjustment helps the robot see patterns more clearly without needing to learn anything new. The robot can then use these adjusted examples to guess what will happen in new situations. This method works for many different types of data, like finance, health, and traffic. It makes the robot better at forecasting without any extra training, saving time and computer power. By simply aligning the old examples, we get a lot of the same benefits that complicated training methods provide. This simple trick shows that sometimes the easiest changes give the biggest improvements.
For a technical reader
The system aligns retrieved time-series windows by applying a per-pair amplitude scaling and a lag shift before feeding them into a frozen foundation model. This alignment is done analytically, requiring no learned parameters. It improves forecasting performance on multiple benchmarks and across different frozen models without any per-model tuning.
Problem
Adapting frozen large time series models to new domains without fine-tuning is difficult because prior retrieval-augmented approaches depend on learned adapters that assume the frozen backbones cannot dynamically use retrieved examples.
Method
The approach aligns retrieved past-future windows by applying a per-pair amplitude rescaling and integer-lag phase shift before feeding them into the frozen backbone, requiring no learned parameters.
Results
The approach achieves an average -3.75% MSE improvement over the state-of-the-art trained retrieval adapter on the standard benchmark and further improves zero-shot MSE on four additional frozen models by 2.5% to 13.7%.
Contributions
The paper shows that frozen time series foundation models can already incorporate retrieved context via simple alignment, providing a training-free baseline that recovers gains previously attributed to learned fusion, and it demonstrates this across multiple models and datasets.
Practical relevance
By offering a training-free baseline, the work enables practitioners to adapt frozen time series models to new domains with negligible computational overhead.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction