← Latest papers
💻 computer science

TS-ICL: A Flexible Time-Indexed Foundation Model for Time Series via In-Context Learning

TS-ICL is a novel time-indexed foundation model that leverages In-Context Learning to unify forecasting and imputation, achieving state-of-the-art performance on irregular and partially observed time series by formulating tasks as timestamp-aligned regression with synthetic causal dependencies.

Original authors: Etienne Le Naour, Tahar Nabil, Adrien Petralia

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

Original authors: Etienne Le Naour, Tahar Nabil, Adrien Petralia

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, but your weather station is broken. Sometimes it stops recording for hours; sometimes it only gives you temperature but no wind speed; and sometimes the data comes in at weird, irregular intervals. Most current "super-smart" computer models (called Foundation Models) are great at guessing the future if the data is perfect and regular, but they stumble when the data is messy or missing.

This paper introduces TS-ICL, a new kind of AI model designed specifically to handle this messy reality. Think of it as a universal time-traveling detective that can solve two different mysteries at once: filling in the missing pages of a diary (imputation) and predicting what happens next (forecasting).

Here is how it works, using simple analogies:

1. The "Context" Detective (In-Context Learning)

Most AI models are like students who memorize a specific textbook. If you ask them a question about a topic they didn't study, they fail. TS-ICL is different. It uses a technique called In-Context Learning.

Imagine you are a detective trying to solve a crime. Instead of having a pre-written rulebook, you look at the clues right in front of you (the "context").

  • The Analogy: If you see a pattern of footprints leading to a door, you don't need to have seen that specific door before to know someone went inside. You just look at the footprints you have right now and figure out the pattern.
  • How TS-ICL does it: It takes the data you give it (the "look-back" window) and treats it like a mini-lesson. It learns the pattern from those specific clues and immediately applies that lesson to predict the future or fill in the gaps, without needing to be retrained for every new job.

2. The "Time-Indexed" Map (Handling Irregular Data)

Traditional models often force time series data into a rigid grid, like a spreadsheet where every row must be exactly one hour apart. If a sensor misses a reading, the whole row breaks, or the model has to guess where the missing row goes.

TS-ICL is like a GPS map rather than a spreadsheet.

  • The Analogy: A spreadsheet says, "Row 1 is 1:00 PM, Row 2 is 2:00 PM." If you miss 2:00 PM, the spreadsheet is confused. A GPS says, "You are at 1:00 PM, and the next point is at 2:15 PM." It understands that time is a continuous flow, not a set of fixed boxes.
  • The Benefit: Because TS-ICL understands specific timestamps, it can handle data that is missing, irregular, or arrives late without breaking a sweat. It doesn't need to "fix" the data first; it just reads the time stamps and moves on.

3. The "Sidekick" System (Covariates)

Sometimes, to predict the future, you need more than just the main story. For example, to predict electricity usage, you might need to know the temperature (a "covariate").

  • The Analogy: Imagine you are predicting how fast a car will go. The main data is the car's speed. But if you also know the wind speed and road slope (the sidekicks), your prediction becomes much better.
  • How TS-ICL does it: It has a special mechanism to listen to these "sidekick" signals. It can figure out if the wind speed actually matters for the car's speed, or if it's just noise. It learns to ignore irrelevant sidekicks and focus on the helpful ones, all while looking at the main story.

4. The Two-in-One Superpower

Usually, you need one tool to fill in missing data (imputation) and a different tool to predict the future (forecasting).

  • The Analogy: It's like having a Swiss Army knife that is both a screwdriver and a bottle opener, but works better than buying two separate tools.
  • The Result: TS-ICL unifies these tasks. It can look at a messy, incomplete history, fill in the missing pieces, and then immediately predict the future, all in one single step.

What the Paper Claims (The Results)

The authors tested this "detective" against the best existing models:

  • Filling in the blanks: TS-ICL is the new champion at filling in missing data. It beats the previous best models (called Tabular Foundation Models) significantly and does it 50 times faster.
  • Predicting the future: When it comes to forecasting, it is just as good as the top-tier models (like Chronos-2), even though it uses a different approach.
  • The "Broken Data" Test: The most impressive claim is its performance when the past data is broken. If you give a standard model a history with 50% missing data, its prediction gets terrible. TS-ICL, however, stays strong and accurate because it is built to handle irregular time stamps natively.

Summary

TS-ICL is a flexible, smart model that doesn't care if your data is messy, missing, or irregular. It treats time as a continuous flow, learns from the clues right in front of it, and uses extra information (like temperature or wind) only when it helps. It's currently the best at fixing broken data records and is a top-tier competitor for predicting the future, all while being much faster than its rivals when dealing with missing information.

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 →