← Latest papers
🤖 machine learning

Retrieval Mechanisms Surpass Long-Context Scaling in Time Series Forecasting

This paper demonstrates that extending context windows in time series foundation models leads to performance degradation due to noise, whereas Retrieval-Augmented Forecasting (RAFT) significantly outperforms long-context and zero-shot approaches by selectively injecting relevant historical segments to provide a more effective inductive bias.

Original authors: Rishi Ahuja, Kumar Prateek, Simranjit Singh, Vijay Kumar

Published 2026-05-12
📖 4 min read☕ Coffee break read

Original authors: Rishi Ahuja, Kumar Prateek, Simranjit Singh, Vijay Kumar

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Idea: Why "More History" Can Be a Bad Thing

Imagine you are trying to predict the weather for tomorrow. You have two options:

  1. Option A: Look at the weather report from the last 3,000 days.
  2. Option B: Look at the weather report from the last 720 days, but only pick the 5 days that look most similar to today's weather.

For a long time, experts in Artificial Intelligence (AI) believed Option A was always better. They thought, "If we feed the computer more history, it will get smarter." This idea worked great for reading books or writing essays (where old words still matter).

However, this paper argues that for time series data (like electricity usage, stock prices, or temperature), Option A is actually a trap. The authors found that giving the AI more history often makes it dumber, not smarter.

The Problem: The "Static Noise" Trap

The paper calls this problem "Stochastic Noise Accumulation." Here is a simple way to think about it:

  • Language is like a story: If you read a novel, the first chapter matters just as much as the last one. The story connects.
  • Time series is like a noisy radio: Imagine you are trying to hear a specific song on the radio. If you turn the volume up on a station that is mostly static (noise), you don't hear the song better; you just hear more static.

In the world of electricity or stock markets, what happened 3,000 steps ago is usually just random noise. It has no real connection to what will happen tomorrow. When the AI tries to look at 3,000 steps of history, it gets overwhelmed by this "static." It starts guessing randomly because it can't tell the difference between a useful signal and random noise.

The Result: The authors tested a top-tier AI model (PatchTST) on electricity data.

  • When they gave it 720 days of history, it did well.
  • When they gave it 3,000 days of history, its performance dropped by 68%.
  • It's like trying to find a needle in a haystack, but then someone dumps 100 more haystacks on top of it. You are less likely to find the needle.

The Solution: The "Smart Librarian" (RAFT)

Instead of forcing the AI to read the entire library, the authors tried a different approach called RAFT (Retrieval-Augmented Forecasting).

Think of this like a Smart Librarian:

  • Instead of handing the AI the whole library (3,000 books), the librarian asks, "What are you looking for?"
  • The librarian then goes to the shelves and pulls out only the 5 books that are most similar to the current situation.
  • The AI reads just those 5 books.

Why this works:

  1. Less Noise: The AI isn't distracted by irrelevant history.
  2. Better Focus: It only looks at the "signal" (useful patterns) and ignores the "noise" (random fluctuations).
  3. Faster & Cheaper: The AI doesn't have to process thousands of useless numbers.

The Results:

  • The "Smart Librarian" approach (RAFT) was the winner.
  • It made more accurate predictions than the AI that tried to read everything.
  • It was also 40 times faster to train and required much less computing power.

The "Inverse Scaling Law"

Usually, in AI, we believe in the "Scaling Law": Bigger models + More data = Better results.

This paper discovered an "Inverse Scaling Law" for time series:

  • More Context = Worse Results.
  • The more history you feed the model, the more confused it gets, and the worse its predictions become.

What About the "Super Models"?

The researchers also tested two famous, pre-trained "Foundation Models" (Chronos and Moirai). These are like "Genius Students" who have read millions of books before.

  • Even these genius students performed worse than the "Smart Librarian" (RAFT) on this specific task.
  • This proves that just being "big" or "pre-trained" isn't enough if the model is forced to listen to too much noise.

The Bottom Line

If you are trying to predict things that change randomly (like electricity or stocks), don't just feed the AI more history.

Instead, teach the AI to be selective. It should look for the specific, relevant moments in the past that match the present, rather than trying to remember everything. Quality of information matters much more than quantity.

In short: Sometimes, knowing less (but knowing the right things) is better than knowing everything.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →