cs.LGSep 28, 2026

Instance-Adaptive Prompts as Context for Time-Series Foundation Models

Authors: Zehao Xiao, Shifeng Xie, Lei Zan, Jianfeng Zhang, Lujia Pan, Ievgen Redko, Malik Tiomoko, Keli Zhang

Organizations: Huawei Noah’s Ark Lab, Paris, France · LIPADE, Universit´e Paris Cit´e, Paris, France · Huawei Noah’s Ark Lab, Shenzhen, China

Abstract

Longer histories can improve time-series foundation models (TSFMs), but require substantially higher inference cost. We therefore ask whether contextual information can be provided more efficiently through a compact set of learned token embeddings. We introduce PaCTS, which generates a small set of instance-adaptive latent prompts in the form of continuous embedding tokens conditioned on the visible context. These prompts serve as compact context surrogates for frozen TSFMs. PaCTS constructs them from instance-specific global statistics and further refines them with segment-level temporal information, capturing both global characteristics and local temporal variations. The prompt module is jointly trained and deployed across heterogeneous time series with the frozen backbone. Extensive experiments demonstrate the effectiveness of prompts as context, consistently improving forecasting across context lengths and model architectures. With a shorter input context, PaCTS can outperform the same frozen backbone using double context while requiring substantially less inference computation. Compared with weight-space adaptation methods, PaCTS achieves stronger improvements and better out-of-distribution generalization.

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Time Series as Language: A Universal Tokenizer for General-Purpose Time Series Foundation Models

    May 31, 2026Yunhao Zhang, Ruiying Qi, Jiale Zheng +3Time Series Foundation ModelsTime Series

  2. Retrieval Mechanisms Surpass Long-Context Scaling in Time Series Forecasting

    May 6, 2026Rishi Ahuja, Kumar Prateek, Simranjit Singh +1Time Series Foundation ModelsRetrieval-Augmented Forecasting