Thoth: Mid-Training Bridges LLMs to Time Series Understanding
Organizations: School of Software, BNRist, Tsinghua University.
Abstract
Large Language Models (LLMs) have demonstrated remarkable success in general-purpose reasoning. However, they still struggle to understand and reason about time series data, which limits their effectiveness in decision-making scenarios that depend on temporal dynamics. In this paper, we propose Thoth, the first family of mid-trained LLMs with general-purpose time series understanding capabilities. As a pivotal intermediate stage, mid-training achieves task- and domain-agnostic alignment between time series and natural language, for which we construct Book-of-Thoth, a high-quality, time-series-centric mid-training corpus. Book-of-Thoth enables both time-series-to-text and text-to-time-series generation, equipping LLMs with a foundational grasp of temporal patterns. To better evaluate advanced reasoning capabilities, we further present KnoTS, a novel benchmark of knowledge-intensive time series understanding, designed for joint reasoning over temporal patterns and domain knowledge. Extensive experiments demonstrate that mid-training with Book-of-Thoth enables Thoth to significantly outperform its base model and advanced LLMs across a range of time series question answering benchmarks. Moreover, Thoth exhibits superior capabilities when fine-tuned under data scarcity, underscoring the effectiveness of mid-training for time series understanding. Code is available at: https://github.com/thuml/Thoth.
Figures & tables
| Model | ChatTime Benchmark | Time-MQA Benchmark | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Trend | Volatility | Seasonality | Outliers | Forecast | Impu. | Clas. | Anom. | Judge. | MCQ | Open. | |
| Proprietary Models | |||||||||||
| Gemini-3-Flash-Preview | 0.837 | 0.863 | 0.520 | 0.747 | 0.642 | 0.263 | 0.34 | 0.70 | 0.62 | 0.52 | 6.60 |
| GPT-4o-mini | 0.850 | 0.433 | 0.427 | 0.673 | 0.546 | 0.252 | 0.16 | 0.80 | 0.76 | 0.60 | 7.32 |
| Grok-4.1-Fast | 0.647 | 0.383 | 0.620 | 0.747 | 0.503 | 0.303 | 0.14 | 0.68 | 0.78 | 0.60 | 7.62 |
| Open-source Large Language Models | |||||||||||
| Model | ChatTime Benchmark | Time-MQA Benchmark | KnoTS Benchmark | ||||||||||
| Trend | Volatility | Seasonality | Outliers | Forecast | Impu. | Clas. | Anom. | Judge. | MCQ | Open. | Reason | Decision | |
| Qwen3-8B | 0.163 | 0.220 | 0.100 | 0.447 | 0.671 | 0.533 | 0.02 | 0.48 | 0.62 | 0.54 | 6.28 | 3.94 | 1.91 |
| – TS-to-Text | 0.360 | 0.487 | 0.347 | 0.453 | 0.495 | 0.286 | 0.14 | 0.48 | 0.68 | 0.46 | 3.32 | 3.13 | 1.45 |
| – Text-to-TS | 0.967 | 0.677 | 0.630 | 0.733 | 0.532 | 0.476 | 0.12 | 0.56 | 0.68 | 0.58 | 5.10 | 5.23 | 3.04 |
| – General | 0.963 | 0.547 | 0.387 | 0.763 | 0.538 | 0.363 | 0.16 | 0.58 | 0.70 | 0.60 | 6.12 | 5.30 | 3.06 |
| Thoth-8B | 0.973 | 0.750 | 0.603 | 0.753 | 0.522 | 0.333 | 0.100 | 0.58 | 0.72 | 0.64 | 5.98 | 5.54 | 3.21 |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | ChatTime Benchmark | Time-MQA Benchmark | KnoTS Benchmark | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Trend | Volatility | Seasonality | Outliers | Forecast | Impu. | Clas. | Anom. | Judge. | MCQ | Open. | Reason | Decision | |
| Thoth-8B | 0.973 0.003 | 0.750 0.005 | 0.603 0.007 | 0.753 0.003 | 0.522 0.019 | 0.333 0.013 | 0.10 0.00 | 0.58 0.01 | 0.72 0.02 | 0.64 0.02 | 5.98 0.17 | 5.54 0.24 | 3.21 0.18 |
| Thoth-30B-A3B | 0.957 0.003 | 0.770 0.010 | 0.573 0.010 | 0.740 0.007 | 0.432 0.021 | 0.247 0.014 | 0.02 0.00 | 0.70 0.00 | 0.78 0.01 | 0.72 0.02 | 7.42 0.11 | 8.05 0.21 | 4.96 0.31 |
| Dataset | TTR | 1-Ent | 2-Ent | 3-Ent | Avg-Len |
|---|---|---|---|---|---|
| KnoTS (Ours) | 0.2109 | 9.69 | 13.02 | 13.67 | 169.8 |
| MTBench ( 2025 ) | 0.1131 | 7.54 | 10.69 | 12.00 | 77.5 |
| Time-MQA ( 2025 ) | 0.0877 | 7.35 | 8.90 | 9.25 | 49.7 |
| ChatTime ( 2025a ) | 0.0098 | 5.56 | 6.86 | 7.40 | 90.4 |
| ChatTS ( 2024 ) | 0.0309 | 7.16 | 8.89 | 9.45 | 293.7 |
| TS-Insights ( 2025 ) | 0.0118 | 4.81 | 5.05 | 5.10 | 37.0 |
| Model | Trend | Volatility | Seasonality | Outliers | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 64 | 128 | 256 | Avg | 64 | 128 | 256 | Avg | 64 | 128 | 256 | Avg | 64 | 128 | 256 | Avg | |
| Proprietary Models | ||||||||||||||||
| Gemini-3-Flash-Preview | 0.970 | 0.800 | 0.840 | 0.870 | 0.880 | 0.860 | 0.920 | 0.887 | 0.550 | 0.550 | 0.460 | 0.520 | 0.700 | 0.800 | 0.740 | 0.747 |
| GPT-4o-mini | 0.890 | 0.790 | 0.870 | 0.850 | 0.380 | 0.500 | 0.420 | 0.433 | 0.540 | 0.370 | 0.370 | 0.427 | 0.660 | 0.660 | 0.700 | 0.673 |
| Grok-4.1-Fast | 0.680 | 0.700 | 0.560 | 0.647 | 0.460 | 0.380 | 0.310 | 0.383 | 0.590 | 0.730 | 0.540 | 0.620 | 0.700 | 0.750 | 0.790 | 0.747 |
| Open-source Large Language Models | ||||||||||||||||
Temporal Reasoning in Language Models
Temporal reasoning in language models studies how models represent, order, update, and apply facts and events across time.
See all 92 papers