TL;DR
Instead of forcing Large Language Models (LLMs) to output numbers or relying on a single time series foundation model, TSOrchestra uses an LLM as a "metacognitive judge" to dynamically guide and explain an ensemble of specialized foundation models. Fine-tuned with an R1-style reinforcement learning pipeline rewarded by SHAP-based causal faithfulness, a compact 3B-parameter LLM steers numerical optimization, achieving state-of-the-art accuracy across 97 benchmark settings while providing transparent, human-readable explanations.
What Problem Does This Paper Address?
Time series forecasting has seen an influx of foundation models (such as Moirai, Sundial, and Toto), but real-world data is non-stationary: seasonal shifts, structural breaks, and regime changes mean no single model consistently wins. While ensembling can combine complementary models, standard numerical optimizers (like SLSQP) suffer from two major flaws:
- Brittleness in non-stationary regimes: They optimize purely on historical cross-validation windows, easily overfitting transient anomalies (e.g., mistaking a short volatility spike for a genuine trend).
- Opacity: Numerical ensembles produce static weights without any causal explanation of why specific models were prioritized.
Directly applying LLMs to forecast numerical sequences usually yields poor accuracy and high compute costs. TSOrchestra addresses this by assigning LLMs to their actual strength: strategic reasoning, hypothesis testing, and explanation.
Methods
TSOrchestra decouples numerical computation from high-level reasoning through an iterative dialogue loop:
[Candidate Models] ──> [SLSQP Weight Optimization] ──> [Candidate Weights]
▲ │
│ (Refine Metric / Weights) ▼
[User Proxy] <── multi-turn ──> [LLM Reasoning Agent]
│
[Reflective Explanation]
- Ensemble Optimization Core: Uses Sequential Least Squares Programming (SLSQP) to find convex model weights under specific metrics (MAE, MSE, sMAPE, CRPS).
- LLM Metacognitive Controller: A fine-tuned LLM agent analyzes intermediate optimization metrics, dataset characteristics, and domain knowledge. Over multi-turn dialogue with a user proxy, the agent tests hypotheses, determines whether to switch optimization objectives or stop, and detects when validation gains represent artifacts rather than genuine improvements.
- R1-Style Fine-Tuning:
- Supervised Fine-Tuning (SFT): The model (Qwen-2.5-3B-Instruct) is trained on structured reasoning traces (
<think>chains followed by JSON decisions) covering clear-cut, marginal, and ambiguous convergence scenarios. - Reinforcement Learning with GRPO: Group Relative Policy Optimization refines the policy using a composite reward covering decision correctness, confidence calibration, and causal faithfulness.
- Causal Faithfulness via STL-SHAP: To prevent hallucinated explanations, the authors decompose time series into Trend, Seasonality, and Residual components using STL and compute counterfactual Shapley values (Pearl's do-calculus). The LLM's reward is tied to the Pearson correlation between its textual justifications and these empirical causal effects.
Datasets
- Evaluation Benchmark: GIFT-Eval, comprising 23 real-world datasets across 97 experimental settings spanning 7 diverse domains (Energy, Economics/Finance, Healthcare, Nature, Transportation, Sales, and Web/Cloud Operations).
- Training Trajectories: A synthetic corpus of over 2,800 trajectories generated by executing SLSQP across 80% of GIFT-Eval datasets, extracting optimal actions on held-out splits, generating GPT-4o reasoning traces, and filtering for high SHAP faithfulness ($\tau > 0.8$). The final split consists of 2,000 SFT samples and 800 GRPO samples.
Key Insights and Ideas
- Separation of Concerns: Deep learning foundation models excel at high-dimensional pattern recognition; LLMs excel at metacognitive control and qualitative reasoning. Letting each do what it does best overcomes LLM regression failures.
- Theoretical Guarantees for Incompatibility: The authors prove that ensemble superiority over monolithic models scales with temporal incompatibility (divergent future paths emerging from similar historical inputs).
- Filtering "Mirage Trends": When a volatile asset experiences a short price spike, standard optimizers over-allocate weight to trend models. The causally grounded agent spots that the model's actual causal contribution to the trend component is near zero, overrides the optimizer, and redirects it toward robust metrics (like sMAPE) or noise-tolerant models.
- Small Models Can Beat Frontier LLMs: With targeted R1-style fine-tuning, a 3B-parameter open-weights model outperformed general-purpose frontier models (like Claude-3.5-Sonnet and GPT-4o) on domain-specific weight selection accuracy.
Key Results
- Benchmark Performance: On GIFT-Eval, TSOrchestra achieved an overall rank of 7.3 on MASE and 8.2 on CRPS, surpassing all individual foundation models (a 25.5% improvement over the top single model, Moirai-2, which ranked 10.0 and 10.6).
- Stability: Across 6 independent runs over 97 datasets, 96/97 exhibited near-zero variance ($0.0$) in MASE, proving that agentic reasoning converged consistently rather than behaving stochastically.
- Practical Efficiency: Heavy reasoning and SHAP decompositions run strictly during an amortized calibration phase (triggered periodically or upon detected regime shifts). Real-time inference remains a lightweight weighted average of model predictions.
Limitations and Future Work
- Static Calibration Boundaries: The current system relies on periodic or discrete calibration phases to rerun LLM reasoning, rather than continuously adapting weights online in the presence of streaming concept drift.
- Point Weights: The optimizer outputs deterministic point weights; the authors highlight extending this to probabilistic weight distributions to capture forecasting uncertainty more thoroughly.
- Multi-Objective Expansion: Future iterations aim to integrate explicit multi-objective optimization directly into the core search, and expand into hierarchical and distributed forecasting environments.
Summary updated