Why Do Transformers Fail to Forecast Time Series In-Context?
Not on the map. Why?
Abstract (arXiv)
Time series forecasting (TSF) remains a challenging and largely unsolved problem in machine learning, despite significant recent efforts leveraging Large Language Models (LLMs), which predominantly rely on Transformer architectures. Empirical evidence consistently shows that even powerful Transformers often fail to outperform much simpler models, e.g., linear models, on TSF tasks; however, a rigorous theoretical understanding of this phenomenon remains limited. In this paper, we provide a theoretical analysis of Transformers' limitations for TSF through the lens of In-Context Learning (ICL) theory. Specifically, under AR(p) data, we establish that: (1) Linear Self-Attention (LSA) models textitcannot achieve lower expected MSE than classical linear models for in-context forecasting; (2) as the context length approaches to infinity, LSA asymptotically recovers the optimal linear predictor; and (3) under Chain-of-Thought (CoT) style inference, predictions collapse to the mean exponentially. We empirically validate these findings through carefully designed experiments. Our theory not only sheds light on several previously underexplored phenomena but also offers practical insights for designing more effective forecasting architectures. We hope our work encourages the broader research community to revisit the fundamental theoretical limitations of TSF and to critically evaluate the direct application of increasingly sophisticated architectures without deeper scrutiny.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Oct 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Universal Redundancies in Time Series Foundation Modelscited by 3
- 2026Deep Learning for Financial Time Series: A Large-Scale Benchmark of Risk-Adjusted Performancecited by 0
- 2026AutoAdapt: An Automated Domain Adaptation Framework for LLMscited by 0
- 2026LLM-based Agents for Forecasting and Prediction: Methods, Training, Evaluation, and Applicationscited by 0
- 2026LLM-based Agents for Forecasting and Prediction: Methods, Training, Evaluation, and Applications24 Aug 2026
- 2026AutoAdapt: An Automated Domain Adaptation Framework for LLMs9 Mar 2026
- 2026Deep Learning for Financial Time Series: A Large-Scale Benchmark of Risk-Adjusted Performance2 Mar 2026
- 2026Universal Redundancies in Time Series Foundation Models2 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2025The Few Govern the Many:Unveiling Few-Layer Dominance for Time Series Models
- 2026Rethinking the Role of LLMs in Time Series Forecasting
- 2025Can Slow-thinking LLMs Reason Over Time? Empirical Studies in Time Series Forecasting
- 2024Implicit Reasoning in Deep Time Series Forecasting
- 2025A Mechanistic Analysis of Transformers for Dynamical Systems
- 2025Context information can be more important than reasoning for time series forecasting with a large language model
- 2025TsLLM: Augmenting LLMs for General Time Series Understanding and Prediction
- 2026When Does Context Routing Help? A Systematic Study of Multi-Modal Fusion in Time Series Forecasting