Abstract
TS-REASONER is a novel framework designed to bridge the gap between numerical time series analysis and high-level linguistic reasoning. By aligning a frozen Time Series Foundation Model (TSFM) with a Large Language Model (LLM) using an "attribute-aware" synthetic captioning method, the framework achieves state-of-the-art performance on complex reasoning tasks. Notably, TS-REASONER demonstrates significantly higher data efficiency than previous approaches, outperforming larger models trained on more extensive datasets.
Introduction
While Time Series Foundation Models (TSFMs) have reached high proficiency in low-level tasks such as forecasting and imputation, they generally lack the "common sense" and cross-domain background knowledge required for sophisticated reasoning. For instance, while a TSFM might identify a downward trend in stock prices, it cannot independently correlate this trend with a specific geopolitical event described in a news report.
Conversely, Large Language Models (LLMs) possess immense reasoning capabilities but are often "numerically illiterate," struggling to interpret raw sequences of numbers. Integrating these two modalities is historically difficult due to a massive data bottleneck: high-quality datasets pairing complex time series with analytical text are scarce. TS-REASONER addresses this by treating time series as visual-semantic concepts rather than just numerical sequences.
Methodology
The TS-REASONER architecture consists of three primary components: a frozen TSFM (such as TimesFM) acting as a feature extractor, a TS-to-Text Adapter (a Multi-Layer Perceptron) that projects latent features into the LLM’s embedding space, and a pretrained LLM (Qwen2.5-7B) serving as the reasoning engine.
The training process is divided into two distinct stages:
- Alignment Pretraining: To overcome the data shortage, the authors developed Attribute-aware Captioning. Advanced Vision Language Models (VLMs) like GPT-4o were used to "view" plots of time series data and describe them using qualitative attributes such as trends, noise levels, and periodicity. This creates a rich, synthetic dataset of 120,000 pairs that teaches the model to map temporal features to linguistic descriptions.
- Instruction Finetuning: The model is further refined using 30,000 instructions designed to improve its ability to follow complex analytical commands and perform multi-step reasoning.
Experimental Setup
The model was evaluated against several benchmarks to test its versatility:
- TimeSeriesExam: A comprehensive suite testing five key dimensions: Pattern Recognition, Noise Understanding, Anomaly Detection, Similarity Analysis, and Causality Analysis.
- MTBench: A large-scale benchmark focused on real-world reasoning within the Finance and Weather domains.
Results and Discussion
TS-REASONER demonstrated superior performance across all tested benchmarks. On the TimeSeriesExam, it outperformed the best-performing LLM baseline by 7.60% and the leading VLM by 5.25%.
Key Insights
- Visual Semantics vs. Raw Numbers: A core finding is that LLMs reason more effectively when time series are presented as "visual" concepts (e.g., "sharp rise," "cyclical pattern") rather than raw numerical strings. This suggests that the bottleneck in time series reasoning is often the representation format.
- Efficiency of Frozen Encoders: Keeping the TSFM frozen preserves specialized temporal knowledge while significantly reducing computational overhead. This modularity allows for easier updates to either the encoder or the reasoning backbone.
- Data Quality over Quantity: TS-REASONER achieved higher accuracy using only 60,000 alignment samples—half the volume required by previous state-of-the-art models. This underscores the importance of descriptive richness in alignment data.
Conclusion
TS-REASONER successfully aligns specialized time series encoders with the general reasoning power of LLMs. While currently limited to 7B parameter models, the framework is inherently scalable. Future research will explore larger backbones (70B+) and the integration of Reinforcement Learning to foster "Chain-of-Thought" reasoning, potentially enabling models to perform self-reflection during complex data analysis.
Summary updated