Abstract
The proliferation of time series foundation models (TSFMs) has created a new challenge: how to effectively orchestrate diverse architectures that excel in different data regimes. This paper presents TSOrchestr, a framework that employs a finetuned Large Language Model (LLM) as an "intelligent judge" to dynamically weight an ensemble of TSFMs. By integrating R1-style reinforcement learning and SHAP-based faithfulness scores, TSOrchestr delivers state-of-the-art forecasting accuracy alongside human-readable explanations for model selection.
Introduction
In the current landscape of time series forecasting, no single model dominates across all domains—whether energy, finance, or healthcare. The challenge has shifted from building a singular "best" model to intelligently managing an ensemble. Traditional ensemble methods often rely on static weights or simple averages, which fail during regime shifts. TSOrchestr addresses this by using an LLM to perform high-level reasoning over model performance, bridging the gap between numerical precision and contextual understanding.
The TSOrchestr Framework
TSOrchestr separates high-level reasoning from numerical computation through a multi-stage process that combines optimization with metacognitive evaluation.
The system draws from a pool of top-tier models (e.g., Moirai-2, Sundial, Toto) and uses Sequential Least Squares Programming (SLSQP) to find initial optimal weights. A compact LLM (Qwen-2.5-3B) then acts as the orchestrator, evaluating the optimization "audit trail."
To ensure the LLM's reasoning is both accurate and faithful, the authors utilized a two-stage finetuning process:
- Supervised Fine-Tuning (SFT): Training on expert-annotated optimization trajectories.
- Group Relative Policy Optimization (GRPO): A reinforcement learning technique that rewards correct decisions and Faithfulness.
Faithfulness is verified using SHAP (Shapley Additive exPlanations) values. If the LLM claims a model is weighted highly because it captures "seasonality," the system verifies this against the actual SHAP values of that model’s performance to prevent hallucinations.
Experimental Evaluation
The framework was validated using the GIFT-Eval benchmark, a comprehensive suite containing 23 real-world datasets across 97 different settings. These cover diverse domains including Energy, Economics, Healthcare, and Web/Cloud Operations.
Key Results
- State-of-the-Art Performance: TSOrchestr significantly outperformed all individual foundation models on the GIFT-Eval benchmark. It achieved a 25.5% improvement over the best individual model (Moirai-2) on the MASE metric.
- Robustness to "Mirage Trends": The LLM judge acts as a filter, identifying temporary price spikes that might mislead standard optimizers into over-weighting trend-heavy models. It favors models with better local adaptability in volatile scenarios.
- Efficiency: While reasoning is computationally intensive, it is only triggered during calibration phases (e.g., when a regime shift is detected). Daily inference remains a simple, efficient weighted linear combination, making it production-ready.
Discussion and Future Work
TSOrchestr demonstrates that domain-specific reasoning in small, finetuned models (3B parameters) can outperform much larger general-purpose models like GPT-4o in weight selection accuracy. However, several areas for growth remain, including multi-objective optimization (balancing accuracy with computational cost), real-time online adaptation for concept drift, and scaling the framework to handle complex hierarchical forecasting tasks across nested time series.
Summary updated