Lune

NeurIPS2025Top-tier venue

TiRex: Zero-Shot Forecasting Across Long and Short Horizons with Enhanced In-Context Learning

Andreas Auer, Patrick Podest, Daniel Klotz, Sebastian Böck, Günter Klambauer, Sepp Hochreiter

Abstract

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. 0 500 1000 1500 2000 2500 (a) bitbrains_rnd/5T/medium Signal Prediction (5th quantile) Prediction range (2nd to 8th quantile)

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Beyond Accuracy: Are Time Series Foundation Models Well-Calibrated? cites A decoder-only foundation model for time-series forecasting
  • CauKer: Classification Time Series Foundation Models Can Be Pretrained on Synthetic Data cites A decoder-only foundation model for time-series forecasting
  • CauKer: Classification Time Series Foundation Models Can Be Pretrained on Synthetic Data cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Exploring Neural Granger Causality with xLSTMs: Unveiling Temporal Dependencies in Complex Data cites xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar Memories
  • xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar Memories cites Exploring Neural Granger Causality with xLSTMs: Unveiling Temporal Dependencies in Complex Data
  • Exploring Neural Granger Causality with xLSTMs: Unveiling Temporal Dependencies in Complex Data cites Are Transformers Effective for Time Series Forecasting?
  • A decoder-only foundation model for time-series forecasting cites Reversible Instance Normalization for Accurate Time-Series Forecasting against Distribution Shift
  • xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar Memories cites Are Transformers Effective for Time Series Forecasting?
  • xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar Memories cites Reversible Instance Normalization for Accurate Time-Series Forecasting against Distribution Shift
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar MemoriesMaurice Kraus, Felix Divo, Devendra Singh Dhami, Kristian KerstingNeurIPS 2025 · 27 citations
  2. CauKer: Classification Time Series Foundation Models Can Be Pretrained on Synthetic DataShifeng Xie, Vasilii Feofanov, Jianfeng Zhang, Themis Palpanas et al.ICLR 2026 · 15 citations
  3. Exploring Neural Granger Causality with xLSTMs: Unveiling Temporal Dependencies in Complex DataHarsh Poonia, Felix Divo, Kristian Kersting, Devendra Singh DhamiNeurIPS 2025 · 5 citations
  4. Adaptive Conformal Anomaly Detection with Time Series Foundation Models for Signal Monitoring.Natalia Martinez, Fearghal O'Donncha, Wesley M. Gifford, Nianjun Zhou et al.ICLR 2026 · 5 citations
  5. Beyond Accuracy: Are Time Series Foundation Models Well-Calibrated?Coen Adler, Yuxin Chang, Samar Abdi, Felix Draxler et al.ICLR 2026 · 3 citations

Builds on15

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Are Transformers Effective for Time Series Forecasting?Ailing Zeng, Muxi Chen, Lei Zhang, Qiang XuAAAI 2023 · 3,619 citations
  4. Reversible Instance Normalization for Accurate Time-Series Forecasting against Distribution ShiftTaesung Kim, Jinhee Kim, Yunwon Tae, Cheonbok Park et al.ICLR 2022 · 1,020 citations
  5. A decoder-only foundation model for time-series forecastingAbhimanyu Das, Weihao Kong, Rajat Sen, Yichen ZhouICML 2024 · 601 citations

Related papers

  1. In-context Time Series PredictorJiecheng Lu, Yan Sun, Shihao YangICLR 2025
  2. Timer-XL: Long-Context Transformers for Unified Time Series ForecastingYong Liu, Guo Qin, Xiangdong Huang, Jianmin Wang et al.ICLR 2025
  3. In-Context Fine-Tuning for Time-Series Foundation ModelsMatthew Faw, Rajat Sen, Yichen Zhou, Abhimanyu DasICML 2025
  4. LSTPrompt: Large Language Models as Zero-Shot Time Series Forecasters by Long-Short-Term PromptingHaoxin Liu, Zhiyuan Zhao, Jindong Wang, Harshavardhan Kamarthi et al.ACL Findings 2024 · 33 citations
  5. Enhancing Large Language Models for Time-Series Forecasting via Vector-Injected In-Context LearningJianqi Zhang, Jingyao Wang, Wenwen Qiang, Fanjiang Xu et al.WWW 2026
Dusk over the sea between two cliffs drawn in fine vertical lines