English

In-Context Fine-Tuning for Time-Series Foundation Models

Machine Learning 2024-11-01 v1 Artificial Intelligence Computation and Language

Abstract

Motivated by the recent success of time-series foundation models for zero-shot forecasting, we present a methodology for in-context fine-tuning\textit{in-context fine-tuning} of a time-series foundation model. In particular, we design a pretrained foundation model that can be prompted (at inference time) with multiple time-series examples, in order to forecast a target time-series into the future. Our foundation model is specifically trained to utilize examples from multiple related time-series in its context window (in addition to the history of the target time-series) to help it adapt to the specific distribution of the target domain at inference time. We show that such a foundation model that uses in-context examples at inference time can obtain much better performance on popular forecasting benchmarks compared to supervised deep learning methods, statistical models, as well as other time-series foundation models. Interestingly, our in-context fine-tuning approach even rivals the performance of a foundation model that is explicitly fine-tuned on the target domain.

Keywords

Cite

@article{arxiv.2410.24087,
  title  = {In-Context Fine-Tuning for Time-Series Foundation Models},
  author = {Abhimanyu Das and Matthew Faw and Rajat Sen and Yichen Zhou},
  journal= {arXiv preprint arXiv:2410.24087},
  year   = {2024}
}
R2 v1 2026-06-28T19:43:07.213Z