Nexus : An Agentic Framework for Time Series Forecasting
The paper introduces Nexus, a multi-agent framework that decomposes time series forecasting into specialized stages to effectively integrate unstructured contextual data with numerical patterns, enabling current LLMs to match or outperform state-of-the-art models while providing transparent reasoning traces.
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
Imagine you are trying to predict the weather for next week. You have two different tools to help you:
- The Math Wizard (TSFM): This tool is incredible at looking at a long line of past temperatures and rain amounts. It sees patterns like "it usually rains on Tuesdays" or "temperatures drop every November." It's great at spotting the rhythm of the data. However, it is completely blind to the news. It doesn't know that a massive hurricane is forming off the coast or that a volcano just erupted, even though those events will completely change the weather.
- The Storyteller (LLM): This tool is a genius at reading news articles, social media, and reports. It understands why things happen. It knows that a hurricane means rain and wind. But, when you ask it to predict the exact temperature for next Tuesday based on a spreadsheet of numbers, it often gets the math wrong. It might guess a number that makes sense in a story but doesn't fit the actual pattern of the data.
The Problem:
For a long time, researchers had to choose: use the Math Wizard for accuracy but miss big events, or use the Storyteller to understand the context but get the numbers wrong.
The Solution: Nexus
The paper introduces Nexus, which is like hiring a specialized team of experts instead of relying on just one person. Nexus breaks the job of predicting the future into three distinct steps, using a team of AI agents to work together.
Here is how the Nexus team works, using a simple analogy:
1. The Librarian (Contextualization Agent)
Before anyone starts predicting, the Librarian takes the messy pile of raw data (numbers) and the messy pile of news stories (text) and organizes them into a clean, chronological timeline.
- What they do: They read the news and the numbers side-by-side and write a clear summary: "On this date, the stock went down because of this specific news event." They filter out the noise so the other experts don't get overwhelmed.
2. The Two Forecasters (Dual-Resolution Agents)
Nexus splits the prediction job between two different types of thinkers:
- The Macro Forecaster (The Big Picture Guy): This agent looks at the horizon. They ignore the tiny daily bumps and focus on the big trends. "Is the whole market going up? Is the housing market in a seasonal boom?" They set the general direction.
- The Micro Forecaster (The Detail Guy): This agent looks at the next few days step-by-step. "Okay, the big trend is up, but next Tuesday there is a holiday, and that usually causes a dip." They focus on the specific, short-term events that might shake things up.
3. The Editor (Synthesizer & Calibration Agent)
Finally, the Editor takes the "Big Picture" view and the "Step-by-Step" view and merges them.
- The Merge: If the Big Picture Guy says "Up" and the Detail Guy says "Down because of a holiday," the Editor figures out the final number. They decide how much weight to give each opinion.
- The Coach (Calibration): The Editor also has a "Coach" who looks at past mistakes. If the team predicted a rise last time but it actually fell, the Coach writes a rule: "Next time, if we see X event, don't be so optimistic." This helps the team learn and get better without needing to be retrained.
Why is this a big deal?
The paper tested Nexus on real-world data that happened after the AI models were trained (so the AI couldn't just "cheat" by remembering the answers). They looked at:
- Stock Markets: Highly volatile, driven by sudden news.
- Real Estate (Zillow): Highly seasonal, driven by predictable yearly cycles.
The Results:
- Better Numbers: Nexus was more accurate at predicting the actual numbers than the specialized Math Wizards (TSFMs) and much better than the Storytellers (LLMs) working alone.
- Better Explanations: Unlike other models that just spit out a number, Nexus provides a clear "reasoning trail." It tells you why it made that prediction (e.g., "We predicted a drop because of the upcoming holiday, even though the long-term trend is up").
- No Compromise: It successfully combines the best of both worlds: the pattern recognition of math and the context understanding of language.
In short: Nexus proves that predicting the future isn't just about crunching numbers or reading stories; it's about having a team that can do both, check each other's work, and learn from past mistakes to give you a forecast you can actually trust.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.