Saved in:
Bibliographic Details
Main Authors: Auer, Andreas, Podest, Patrick, Klotz, Daniel, Böck, Sebastian, Klambauer, Günter, Hochreiter, Sepp
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.23719
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908623668510720
author Auer, Andreas
Podest, Patrick
Klotz, Daniel
Böck, Sebastian
Klambauer, Günter
Hochreiter, Sepp
author_facet Auer, Andreas
Podest, Patrick
Klotz, Daniel
Böck, Sebastian
Klambauer, Günter
Hochreiter, Sepp
contents In-context learning, the ability of large language models to perform tasks using only examples provided in the prompt, has recently been adapted for time series forecasting. This paradigm enables zero-shot prediction, where past values serve as context for forecasting future values, making powerful forecasting tools accessible to non-experts and increasing the performance when training data are scarce. Most existing zero-shot forecasting approaches rely on transformer architectures, which, despite their success in language, often fall short of expectations in time series forecasting, where recurrent models like LSTMs frequently have the edge. Conversely, while LSTMs are well-suited for time series modeling due to their state-tracking capabilities, they lack strong in-context learning abilities. We introduce TiRex that closes this gap by leveraging xLSTM, an enhanced LSTM with competitive in-context learning skills. Unlike transformers, state-space models, or parallelizable RNNs such as RWKV, TiRex retains state-tracking, a critical property for long-horizon forecasting. To further facilitate its state-tracking ability, we propose a training-time masking strategy called CPM. TiRex sets a new state of the art in zero-shot time series forecasting on the HuggingFace benchmarks GiftEval and Chronos-ZS, outperforming significantly larger models including TabPFN-TS (Prior Labs), Chronos Bolt (Amazon), TimesFM (Google), and Moirai (Salesforce) across both short- and long-term forecasts.
format Preprint
id arxiv_https___arxiv_org_abs_2505_23719
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle TiRex: Zero-Shot Forecasting Across Long and Short Horizons with Enhanced In-Context Learning
Auer, Andreas
Podest, Patrick
Klotz, Daniel
Böck, Sebastian
Klambauer, Günter
Hochreiter, Sepp
Machine Learning
In-context learning, the ability of large language models to perform tasks using only examples provided in the prompt, has recently been adapted for time series forecasting. This paradigm enables zero-shot prediction, where past values serve as context for forecasting future values, making powerful forecasting tools accessible to non-experts and increasing the performance when training data are scarce. Most existing zero-shot forecasting approaches rely on transformer architectures, which, despite their success in language, often fall short of expectations in time series forecasting, where recurrent models like LSTMs frequently have the edge. Conversely, while LSTMs are well-suited for time series modeling due to their state-tracking capabilities, they lack strong in-context learning abilities. We introduce TiRex that closes this gap by leveraging xLSTM, an enhanced LSTM with competitive in-context learning skills. Unlike transformers, state-space models, or parallelizable RNNs such as RWKV, TiRex retains state-tracking, a critical property for long-horizon forecasting. To further facilitate its state-tracking ability, we propose a training-time masking strategy called CPM. TiRex sets a new state of the art in zero-shot time series forecasting on the HuggingFace benchmarks GiftEval and Chronos-ZS, outperforming significantly larger models including TabPFN-TS (Prior Labs), Chronos Bolt (Amazon), TimesFM (Google), and Moirai (Salesforce) across both short- and long-term forecasts.
title TiRex: Zero-Shot Forecasting Across Long and Short Horizons with Enhanced In-Context Learning
topic Machine Learning
url https://arxiv.org/abs/2505.23719