← Latest papers
🤖 machine learning

Unified Zero-Shot Time Series Forecasting: A Darts Foundation

This paper introduces a unified `FoundationModel` class collection within the Darts Python library that standardizes the integration of various pre-trained foundation models (such as Chronos-2 and TimesFM 2.5), enabling seamless zero-shot and fine-tuned time series forecasting, uncertainty estimation, and backtesting within a single, interoperable framework.

Original authors: Zhihao Dai, Dennis Bader, Alain Gysi

Published 2026-06-29
📖 5 min read🧠 Deep dive

Original authors: Zhihao Dai, Dennis Bader, Alain Gysi

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 have a massive library of time-traveling weather forecasters. Each one is a genius at predicting the future, but they all speak different languages, use different maps, and require you to build a custom house just to let them in. One needs a specific type of door handle; another only works if you feed it data in a very specific bowl. This is the current state of "Foundation Models" for time series (predicting things like sales, weather, or energy use). They are powerful, but they are isolated islands.

The Paper's Big Idea: The "Universal Adapter"

This paper introduces a new feature for Darts, a popular open-source tool for time series analysis. Think of Darts as a well-organized, friendly workshop. The authors have built a "Universal Adapter" (called the FoundationModel class) that lets these isolated, genius forecasters plug directly into the workshop.

Instead of building a new house for every new forecaster, you just plug them into the same socket. Suddenly, you can swap one genius forecaster for another just by changing a name on a label, without rebuilding your entire workflow.

How It Works (The Simple Version)

1. The "Plug-and-Play" System
Before this update, if you wanted to use a new AI model (like Chronos-2 or TimesFM), you had to learn its unique rules. Now, Darts treats them all the same.

  • The Analogy: Imagine a universal remote control. Whether you want to change the channel on a Samsung TV or a Sony TV, you just press "Channel Up." You don't need to know the internal wiring of the TV. Darts now does this for AI forecasters. You call fit() (teach the model) and predict() (ask for the future), and it works the same way for every model.

2. Zero-Shot: The "Instant Expert"
These models are "pre-trained," meaning they have already studied millions of years of data (like global weather patterns or stock markets) before you even meet them.

  • The Analogy: It's like hiring a chef who has already cooked every dish in the world. You don't need to teach them how to chop onions; you just hand them your specific ingredients (your data), and they can immediately guess how your dish will turn out. This is called Zero-Shot Forecasting.

3. Handling the "Extras" (Covariates)
Sometimes, to predict the future, you need more than just past numbers. You need context, like "It's Christmas" or "There was a strike."

  • The Analogy: If you are predicting ice cream sales, just looking at past sales isn't enough. You need to know the temperature. Darts allows you to hand these extra clues (covariates) to the model alongside your data, and it knows exactly how to mix them together without getting confused.

4. The "What If" Scenarios (Probabilistic Forecasting)
Old models often gave you one single answer: "It will be 75 degrees." But the future is uncertain.

  • The Analogy: Instead of a single number, these models give you a range of possibilities. They might say, "It will likely be 75, but there's a chance it could be 70 or 80." They draw a "safety zone" (uncertainty interval) around their prediction, helping you prepare for the unexpected.

5. Learning on the Job (Fine-Tuning)
Sometimes, the "instant expert" needs a little nudge to fit your specific situation perfectly.

  • The Analogy: Imagine that world-class chef is great at Italian food, but you run a sushi restaurant. You can tell the chef, "Keep your knife skills, but let's practice making sushi for a few days." Darts allows you to fine-tune the model. You can freeze some parts of the brain (keep the general knowledge) and only let it learn the new stuff (your specific data).

What's New in the Toolbox?

The paper highlights that Darts now supports four specific "genius" models (Chronos-2, TimesFM 2.5, TiRex, and PatchTST-FM) under this new system.

  • Speed: It can run these models on many different data streams at once (like predicting sales for 100 different stores simultaneously) without slowing down.
  • Trust: It includes tools to explain why the model made a prediction, so you aren't just blindly trusting a black box.
  • Testing: It lets you run "backtests," which is like replaying history to see how well the model would have done in the past, ensuring it's actually good before you use it for real.

The Bottom Line

The authors aren't claiming these models are perfect or that they will replace every single forecasting tool forever. They are simply saying: "We have built a universal docking station."

This makes it incredibly easy for anyone to use the most advanced AI forecasters available today without getting bogged down in technical headaches. It turns a chaotic collection of isolated tools into a single, streamlined workflow where you can switch models, test them, and fine-tune them with just a few lines of code.

In short: Darts has built the universal power strip that finally lets all these powerful time-series AI models work together in the same room.

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 →