In-Context Inpainting for Time Series Forecasting

Thang Nguyen, Dung Nguyen, Romero Morais, Truyen Tran
8/24/2026
cs.AI

No confident code implementation found for this paper.

Abstract

We propose ICI-Time, a novel framework that reframes time series forecasting as a visual inpainting task, leveraging the generalisation power of large vision models (LVMs). Unlike methods that require specialised temporal architectures and extensive domain-specific training, ICI-Time transforms time series into structured visual representations (area charts) and applies visual in-context learning, reformulating forecasting as pattern completion within a grid-structured prompt that pre-trained vision transformers can solve without fine-tuning or architectural modification.

Show full abstract

Temporal dependencies are represented through spatial layout, with a consistent, invertible mapping between numerical and visual domains. Extensive experiments across epidemiology, meteorology, and power systems demonstrate that ICI-Time performs competitively against deep learning baselines and shows promising adaptability under limited-data settings, introducing a new paradigm that bridges temporal and visual domains.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nguyen2026incontext,
  title  = {In-Context Inpainting for Time Series Forecasting},
  author = {Thang Nguyen and Dung Nguyen and Romero Morais and Truyen Tran},
  year   = {2026},
  eprint = {2608.23855},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.23855v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.23855.svg)](https://codeofpaper.com/paper/2608.23855)

Discussion