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
摘要
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)
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Beyond Accuracy: Are Time Series Foundation Models Well-Calibrated? 引用了 A decoder-only foundation model for time-series forecasting
- CauKer: Classification Time Series Foundation Models Can Be Pretrained on Synthetic Data 引用了 A decoder-only foundation model for time-series forecasting
- CauKer: Classification Time Series Foundation Models Can Be Pretrained on Synthetic Data 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Exploring Neural Granger Causality with xLSTMs: Unveiling Temporal Dependencies in Complex Data 引用了 xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar Memories
- xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar Memories 引用了 Exploring Neural Granger Causality with xLSTMs: Unveiling Temporal Dependencies in Complex Data
- Exploring Neural Granger Causality with xLSTMs: Unveiling Temporal Dependencies in Complex Data 引用了 Are Transformers Effective for Time Series Forecasting?
- A decoder-only foundation model for time-series forecasting 引用了 Reversible Instance Normalization for Accurate Time-Series Forecasting against Distribution Shift
- xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar Memories 引用了 Are Transformers Effective for Time Series Forecasting?
- xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar Memories 引用了 Reversible Instance Normalization for Accurate Time-Series Forecasting against Distribution Shift
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale 引用了 Language Models are Few-Shot Learners
引用它的顶会 Paper7
- xLSTM-Mixer: Multivariate Time Series Forecasting by Mixing via Scalar MemoriesMaurice Kraus, Felix Divo, Devendra Singh Dhami, Kristian KerstingNeurIPS 2025 · 27 次引用
- CauKer: Classification Time Series Foundation Models Can Be Pretrained on Synthetic DataShifeng Xie, Vasilii Feofanov, Jianfeng Zhang, Themis Palpanas 等ICLR 2026 · 15 次引用
- Exploring Neural Granger Causality with xLSTMs: Unveiling Temporal Dependencies in Complex DataHarsh Poonia, Felix Divo, Kristian Kersting, Devendra Singh DhamiNeurIPS 2025 · 5 次引用
- Adaptive Conformal Anomaly Detection with Time Series Foundation Models for Signal Monitoring.Natalia Martinez, Fearghal O'Donncha, Wesley M. Gifford, Nianjun Zhou 等ICLR 2026 · 5 次引用
- Beyond Accuracy: Are Time Series Foundation Models Well-Calibrated?Coen Adler, Yuxin Chang, Samar Abdi, Felix Draxler 等ICLR 2026 · 3 次引用
它引用的 Paper15
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Are Transformers Effective for Time Series Forecasting?Ailing Zeng, Muxi Chen, Lei Zhang, Qiang XuAAAI 2023 · 3,619 次引用
- Reversible Instance Normalization for Accurate Time-Series Forecasting against Distribution ShiftTaesung Kim, Jinhee Kim, Yunwon Tae, Cheonbok Park 等ICLR 2022 · 1,020 次引用
- A decoder-only foundation model for time-series forecastingAbhimanyu Das, Weihao Kong, Rajat Sen, Yichen ZhouICML 2024 · 601 次引用
相关 Paper
- In-context Time Series PredictorJiecheng Lu, Yan Sun, Shihao YangICLR 2025
- Timer-XL: Long-Context Transformers for Unified Time Series ForecastingYong Liu, Guo Qin, Xiangdong Huang, Jianmin Wang 等ICLR 2025
- In-Context Fine-Tuning for Time-Series Foundation ModelsMatthew Faw, Rajat Sen, Yichen Zhou, Abhimanyu DasICML 2025
- LSTPrompt: Large Language Models as Zero-Shot Time Series Forecasters by Long-Short-Term PromptingHaoxin Liu, Zhiyuan Zhao, Jindong Wang, Harshavardhan Kamarthi 等ACL Findings 2024 · 33 次引用
- Enhancing Large Language Models for Time-Series Forecasting via Vector-Injected In-Context LearningJianqi Zhang, Jingyao Wang, Wenwen Qiang, Fanjiang Xu 等WWW 2026
