In-context Time Series Predictor

Jiecheng Lu, Yan Sun, Shihao Yang
5/23/2024
cs.LGcs.AIcs.CL

No official code found. Best implementation: LJC-FVNR/In-context-Time-Series-Predictor (16 stars, Apache-2.0, last commit 2025-02-11).

Abstract

Recent Transformer-based large language models (LLMs) demonstrate in-context learning ability to perform various functions based solely on the provided context, without updating model parameters. To fully utilize the in-context capabilities in time series forecasting (TSF) problems, unlike previous Transformer-based or LLM-based time series forecasting methods, we reformulate "time series forecasting tasks" as input tokens by constructing a series of (lookback, future) pairs within the tokens. This method aligns more closely with the inherent in-context mechanisms, and is more parameter-efficient without the need of using pre-trained LLM parameters. Furthermore, it addresses issues such as overfitting in existing Transformer-based TSF models, consistently achieving better performance across full-data, few-shot, and zero-shot settings compared to previous architectures.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Implementation of the paper "In-context Time Series Predictor" (ICLR 2025)

162Shell, PythonMay 28, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{lu2024incontext,
  title  = {In-context Time Series Predictor},
  author = {Jiecheng Lu and Yan Sun and Shihao Yang},
  year   = {2024},
  eprint = {2405.14982},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.14982v1},
  journal = {ICLR 2024 2024}
}

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/2405.14982.svg)](https://codeofpaper.com/paper/2405.14982)

Discussion