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

*Etienne Le Naour, Tahar Nabil, Adrien Petralia*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148825) · [OpenReview](https://openreview.net/forum?id=urL7kBfWB5) · [alphaXiv](https://www.alphaxiv.org/abs/2606.05878) · [Open on the map](../papers.html#p148825)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Time Series Foundation Models](../pgroup/16.md) · Type: new method · Keywords: time series foundation model, in-context learning, forecasting imputation, probabilistic transformer, causal data prior

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Dynamic and relational architectures › Time Series Forecasting; [Time Series](../areas/time-series.md) › Foundation Models and Irregular Data › Time Series Foundation Models

## Summary
TS-ICL is a probabilistic In-Context Learning encoder-regressor Transformer that jointly forecasts and imputes time series, achieving state-of-the-art imputation performance.

## Explained to a 5-year-old
Big computers learn to understand many kinds of time data. Usually they only guess what comes next. But sometimes data is missing or not regular. This new model learns to both guess the future and fill in missing parts. It works like a helpful assistant that can answer many questions about time data without needing to be taught each task separately.

## Explained to a 5-year-old, longer
Computers can be taught to read patterns in data that changes over time, like a series of numbers. Many of these computers are built to predict what will happen next, like weather forecasts. However, real-world data sometimes has gaps or is not measured at regular intervals. When data is missing, it is hard to know what the missing pieces should be. The new system learns to do two things at once: it predicts future values and fills in missing values. It uses a special way of learning that works like reading a story and understanding both the beginning and the middle. The system also takes into account other related information that might influence the time data. By training on many examples, it becomes good at handling different kinds of time data without needing separate models for each task. This makes it useful for many applications, like finance, health monitoring, or sensor data. The approach can work even when only part of the past data is available, which is common in real life. It helps users get more complete and reliable predictions without having to build many separate tools. Overall, it acts like a versatile assistant that can answer many questions about time data in a unified way.

## For a technical reader
The paper addresses the limitation of existing time-series foundation models that focus only on forecasting by proposing a unified encoder-regressor architecture that simultaneously performs forecasting and imputation. It frames each timestamp as a regression target, allowing the model to predict future values and fill missing entries using the same learned representation. Covariates are incorporated through synthetic dependency structures generated from a causal prior, enabling the model to exploit auxiliary information without additional task-specific pipelines. Empirically, the system achieves state-of-the-art imputation results and remains competitive with leading forecasting models on both univariate and covariate-aware benchmarks, especially when the look-back window contains gaps. The design provides a flexible, zero-shot solution for real-world time-series pipelines where irregular sampling and missing data are common.

## Problem
Existing foundation models for time series focus mainly on forecasting, yet real-world series are often irregularly and partially observed, requiring joint forecasting, imputation, and handling of degraded sampling conditions.

## Method
The approach formulates time series tasks as timestamp-aligned regression, uses a probabilistic In-Context Learning encoder-regressor Transformer, and incorporates covariates via synthetic dependency structures generated from a causal data prior.

## Results
The approach attains state-of-the-art imputation performance and remains competitive with leading forecasting models on both univariate and covariate-aware benchmarks, especially excelling in forecasting with partially observed look-back windows.

## Contributions
It introduces a unified probabilistic In-Context Learning encoder-regressor Transformer that jointly handles forecasting and imputation, and leverages a causal data prior to incorporate covariates.

## Research questions this paper is counted under

- [How can we build time series forecasting models that remain accurate, efficient, and robust across non-stationary, multi-periodic, and irregular data conditions?](../q/0.md)

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](../feedback/?on=p/148825)
