TL;DR
TimeReasoner demonstrates that "slow-thinking" large language models (LLMs), such as DeepSeek-R1, can perform highly accurate time series forecasting completely zero-shot. By reformulating forecasting as an inference-time conditional reasoning task, this approach matches or outperforms specialized deep learning models without any task-specific training.
What Problem Does This Paper Address?
Traditional time series forecasting (TSF) operates on a "fast-thinking" paradigm. Whether using classical statistical methods (like ARIMA) or modern deep learning architectures (like PatchTST), these models map historical numerical sequences directly to future values via pattern matching.
While effective, this direct mapping lacks explicit reasoning. Traditional models struggle to dynamically integrate heterogeneous contextual features (such as textual metadata or domain knowledge) and adapt to sudden regime shifts. This paper explores a provocative alternative: Can the multi-step, inference-time reasoning capabilities of modern "slow-thinking" LLMs be leveraged to reason over temporal dynamics and forecast the future without any fine-tuning?
Methods
The authors introduce TimeReasoner, a training-free framework that transforms TSF into a structured, step-by-step conditional reasoning process at inference time.
The framework consists of three main pillars:
- Hybrid Instruction: Instead of feeding raw numbers blindly, TimeReasoner constructs a multimodal prompt combining instructive directives (e.g., target prediction length), contextual features (natural language domain descriptions), raw time series values, and original timestamps.
- Inference-Time Reasoning Strategies: The authors experiment with three distinct generation paradigms:
- One-Shot Reasoning: A single, comprehensive reasoning pass that outputs the entire forecast.
- Decoupled Reasoning: A generate–reflect–generate loop where the model creates a partial thought, critiques it, and refines its prediction.
- Rollout Reasoning: An incremental approach where the model predicts one segment at a time, using its own previous outputs as context.
- Ensemble Aggregation: To mitigate the inherent stochasticity of LLM token generation, the framework runs independent inferences multiple times and averages the numerical outputs to produce a stable final forecast.
Datasets
To rigorously test generalization, the authors evaluated TimeReasoner across 10 diverse datasets spanning multiple real-world domains:
- ETT (ETTh1, ETTh2, ETTm1, ETTm2): Electricity transformer load and temperature data.
- AQ (AQWan, AQShunyi): Air quality monitoring metrics.
- Wind: Wind energy measurements.
- Exchange & NASDAQ: Financial and economic indicators.
- VitalDB: High-frequency physiological signals from healthcare settings.
Key Insights and Ideas
- Raw Data Beats Normalization: Standard deep learning models rely heavily on normalization (like Z-score or RevIN) to stabilize training. Surprisingly, TimeReasoner performs best on raw, unnormalized data. Normalization flattens absolute magnitudes and abrupt changes, stripping away semantic cues that slow-thinking LLMs use to understand real-world context.
- Over-Thinking Can Degrade Performance: More reasoning tokens do not always equal better accuracy. The authors discovered that excessively long Chain-of-Thought (CoT) chains often lead to worse Mean Squared Error (MSE). The model begins to overfit transient noise or drift away from the core signal.
- Horizon Dictates Strategy: Rollout reasoning excels at short-horizon forecasts because it limits immediate error bounds. However, for long-horizon forecasting, Decoupled Reasoning is superior; its internal reflection loops help prevent the compounding error propagation typical of iterative rollouts.
Key Results
TimeReasoner achieves highly competitive, and often superior, zero-shot performance compared to both specialized deep learning models and time-series foundation models.
- Complex Dynamics: On datasets characterized by intricate, non-stationary patterns like Air Quality (
AQWan) andWind, TimeReasoner consistently outperformed state-of-the-art deep learning models likeiTransformerandPatchTST. For instance, onAQWan, TimeReasoner achieved an MSE of 11305.63 versus PatchTST's 12528.55. - Zero-Shot vs. Trained: On the
ETTh1dataset, TimeReasoner achieved an MSE of 5.4469, significantly outperforming specialized time-series foundation models like Chronos (10.6328) and Moirai (10.5981), despite having zero task-specific training.
Limitations and Future Work
Despite its impressive zero-shot capabilities, the authors highlight four distinct failure modes that slow-thinking LLMs encounter in temporal spaces:
- Peak Clipping: A tendency to underestimate or overestimate extreme values, flattening out critical turning points.
- Phase-Shift Errors: Predicting the correct wave shape but misaligning it chronologically.
- Copy-Paste Repeat: Naively replicating historical windows without adapting to new conditions.
- Constant Collapse: Degenerating into a flat, constant line output.
Future work will focus on developing more robust, principled uncertainty quantification and building explicit error-correction mechanisms directly into the LLM's reasoning loop to prevent these behavioral collapses.
Summary updated