Think Before You Forecast: Scaling Test-Time Compute for Time Series Forecasting
Organizations: Key Laboratory of Computing Power Network and Information Security, Ministry of Education, Shandong Computer Science Center (National Supercomputing Center in Jinan), Qilu University of Technology (Shandong Academy of Sciences), Jinan, 250103, China · Shandong Provincial Key Laboratory of Computing Power Internet and Service Computing, Shandong Fundamental Research Center for Computer Science, Jinan, 250103, China · Shandong Normal University, Jinan, 250103, China · Department of Computer and Data Sciences, Case Western Reserve University, Cleveland, USA ·
Abstract
Test-time compute has become an important paradigm in computer vision and language modeling, where additional computation at inference time enables models to explore multiple candidate solutions and select or refine the most reliable one. However, time series forecasting models typically produce predictions through a single forward pass, leaving them vulnerable to distribution shifts and non-stationarity that frequently arise in real-world temporal data. We propose Time Test Compute for Time Series (TTC4TS), an architecture-agnostic framework that improves the predictive performance of frozen forecasting models at inference time. Given a pretrained backbone, the generator produces multiple candidate forecast trajectories using augmentation, retrieval, adapter. The synthesizer then selects or combines these candidates using aggregation, classification, or candidate-scoring and ranking methods to produce the final forecast. By increasing the number of candidates, TTC4TS scales test-time compute without retraining the forecasting backbone. Beyond improving point-forecast accuracy, TTC4TS can exploit candidate forecasts for uncertainty quantification, which supports improved interval forecasts. We also theoretically analyze when additional test-time computation improves forecasting. Experiments across diverse datasets and backbones demonstrate consistent gains in accuracy and calibration. Code is provided in https://github.com/Anoise/TTC4TS.
Figures & tables
| Method | Rel. MSE | Rel. MAE | Seed SD | Wins | TTC wins |
| Frozen backbone | 1.000 | 1.000 | 0.0000 | 0/432 | 420/432 |
| SOLID ( Chen et al., 2024 ) | 1.019 | 1.055 | 0.0002 | 2/432 | 428/432 |
| TAFAS ( Kim et al., 2025 ) | 1.002 | 1.042 | 0.0014 | 166/432 | 402/432 |
| DynaTTA ( Grover and Etemad, 2025 ) | 1.015 | 1.067 | 0.0068 | 112/432 | 424/432 |
| AdaPTS ( Benechehab et al., 2025 ) | 0.993 | 1.009 | 0.0034 | 216/432 | 410/432 |
| -Adapter input ( Liang et al., 2026b ) | 0.981 | 1.013 | 0.0097 | 251/432 | 372/432 |
| Backbone | Frozen | Uniform | Weights | Class. | Risk | Rank | Ensem. | Retro. | Single | V.Select | Oracle |
| Bolt-S | 1.000 | 0.973 | 0.936 | 1.286 | 0.977 | 0.992 | 0.927 | 0.980 | 0.988 | 0.957 | 0.736 |
| Bolt-B | 1.000 | 0.970 | 0.935 | 1.149 | 0.974 | 0.979 | 0.913 | 0.977 | 0.979 | 0.954 | 0.730 |
| TimesFM | 1.000 | 0.907 | 0.868 | 1.163 | 0.904 | 0.913 | 0.868 | 0.945 | 0.930 | 0.876 | 0.659 |
| Timer | 1.000 | 0.988 | 0.969 | 1.192 | 0.987 | 1.019 | 0.975 | 0.986 | 1.012 | 0.980 | 0.804 |
| Sundial | 1.000 | 0.985 | 0.962 | 1.290 | 0.985 | 1.027 | 0.962 | 0.985 | 1.001 | 0.974 | 0.794 |
| Chronos-2 | 1.000 | 0.939 | 0.895 | 1.300 | 0.939 | 0.972 | 0.876 | 0.948 | 0.937 | 0.907 | 0.721 |
| Aggregation | Rel. MSE | Rel. MAE | Seed SD | Wins |
| Frozen backbone | 1.000 | 1.000 | 0.0000 | 0/432 |
| Uniform | 0.965 | 0.997 | 0.0012 | 406/432 |
| Learned weights | 0.936 | 0.988 | 0.0023 | 420/432 |
| Classifier | 1.228 | 1.156 | 0.0186 | 73/432 |
| Risk regressor | 0.961 | 0.996 | 0.0029 | 407/432 |
| Pairwise ranker | 0.983 | 1.026 | 0.0086 | 213/432 |
| Method | C80 | C90 | C95 | W90 | R-WIS |
| Frozen Gaussian ( Hyndman and Athanasopoulos, 2018 ) | 84.9 | 90.5 | 93.5 | 2.930 | 1.155 |
| Frozen split CP ( Lei et al., 2018 ) | 81.6 | 89.9 | 94.9 | 2.168 | 1.000 |
| Raw candidate quantiles ( Koenker and Hallock, 2001 ) | 25.6 | 31.4 | 38.8 | 0.314 | 1.596 |
| History-scale CP ( Romano et al., 2019 ) | 81.0 | 89.7 | 94.9 | 2.254 | 1.022 |
| CQR (non-shrinking) ( Romano et al., 2019 ) | 83.8 | 93.1 | 97.0 | 2.453 | 1.029 |
| Candidate-spread CP ( Xu and Xie, 2023 ) | 80.9 | 90.0 | 95.2 | 2.539 | 1.043 |
Appendix figures & tables22 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | length | features | frequency |
| ETTh1 | 17,420 | 7 | 1h |
| ETTh2 | 17,420 | 7 | 1h |
| ETTm1 | 69,680 | 7 | 15m |
| ETTm2 | 69,680 | 7 | 15m |
| Electricity | 26,304 | 321 | 1h |
| Exchange | 7,588 | 8 | 1d |
| Dataset | AdaPTS | -Adp+In | -Apt+Out | TS-RAG | Align-RAG | TTC4TS+U | TTC4TS+RR | TTC4TS+LW |
| Bolt-S | ||||||||
| ETTh1 | 0.985 | 0.998 | 0.986 | 0.996 | 0.996 | 0.996 | 0.995 | 0.906 |
| ETTh2 | 0.996 | 1.011 | 1.010 | 0.997 | 0.983 | 1.000 | 0.995 | 0.988 |
| ETTm1 | 0.970 | 0.990 | 0.965 | 0.976 | 1.022 | 0.996 | 0.958 | 0.888 |
| ETTm2 | 1.003 | 1.012 | 1.024 | 1.004 | 1.016 | 0.973 | 0.972 | 0.980 |
| Appliances | 1.025 | 0.991 | 1.023 | 0.990 | 1.045 | 1.071 | 0.992 | 0.969 |
| Dataset | AdaPTS | -Adp+In | -Apt+Out | TS-RAG | Align-RAG | TTC4TS+U | TTC4TS+RR | TTC4TS+LW |
| Bolt-S | ||||||||
| ETTh1 | 1.004 | 1.026 | 1.030 | 1.023 | 1.002 | 0.998 | 0.997 | 0.982 |
| ETTh2 | 1.007 | 1.027 | 1.034 | 1.009 | 1.013 | 1.003 | 0.998 | 1.000 |
| ETTm1 | 1.005 | 1.036 | 1.036 | 1.022 | 1.056 | 1.048 | 0.990 | 0.978 |
| ETTm2 | 1.016 | 1.037 | 1.052 | 1.020 | 1.021 | 0.990 | 0.984 | 0.996 |
| Appliances | 1.035 | 1.014 | 1.039 | 1.015 | 1.018 | 1.029 | 0.997 | 1.009 |
| Domain | Classifier | Risk | Val.-best | VS |
| Appliances | 1.419 | 0.971 | 1.025 | 0.957 |
| BeijingWeather | 0.863 | 0.890 | 0.868 | 0.842 |
| ETT family | 1.294 | 0.976 | 0.989 | 0.962 |
| Backbone | Frozen | Input | Output | Joint | Raw demo | Align demo | TTC4TS-LW |
| Bolt-S | 42.9 | 40.7 | 43.0 | 41.5 | 415.2 | 461.6 | 2594.7 |
| Bolt-B | 73.5 | 75.8 | 74.7 | 75.4 | 759.6 | 839.4 | 4618.1 |
| TimesFM | 50.7 | 52.8 | 51.1 | 50.3 | 512.6 | 564.8 | 3233.6 |
| Timer | 9.1 | 9.7 | 9.8 | 10.5 | 91.0 | 110.2 | 633.7 |
| Sundial | 118.5 | 104.8 | 105.1 | 105.2 | 1465.9 | 1164.5 | 7069.2 |
| Chronos-2 | 35.6 | 32.9 | 33.1 | 33.6 | 345.4 | 387.1 | 2235.3 |
| Backbone | Frozen | Uniform | Classifier | Risk | VS |
| Bolt-S | 39.9 | 2516.6 | 2401.2 | 4919.6 | 2502.3 |
| Bolt-B | 68.5 | 4298.8 | 4375.0 | 8342.6 | 4060.2 |
| TimesFM | 44.8 | 3038.4 | 2717.2 | 5733.2 | 2920.4 |
| Timer | 8.6 | 598.8 | 591.3 | 1186.2 | 1217.8 |
| Sundial | 98.4 | 7819.9 | 6047.5 | 12397.8 | 6056.9 |
| Chronos-2 | 31.5 | 1989.3 | 2094.1 | 3976.2 | 1958.7 |
| Dataset | Frozen | A | U | R | A+R | A+U | A+U+R | U+R |
| Chronos-Bolt-small | ||||||||
| ETTh1 | 1.000 | 0.997 | 0.970 | 0.972 | 0.995 | 0.916 | 0.934 | 0.995 |
| ETTh2 | 1.000 | 1.002 | 0.994 | 0.993 | 0.999 | 0.972 | 0.978 | 0.999 |
| ETTm1 | 1.000 | 0.991 | 0.953 | 0.943 | 0.970 | 0.911 | 0.922 | 0.982 |
| ETTm2 | 1.000 | 1.001 | 0.992 | 0.980 | 0.986 | 0.971 | 0.951 | 0.969 |
| Appliances | 1.000 | 1.010 | 1.000 | 0.994 | 1.001 | 0.998 | 1.002 | 1.053 |
| Dataset | F | U | W | C | Risk | Rank | E | Rt | VB | VS | O | |
| ETTh1 | 1 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| 2 | 1.000 | 0.997 | 0.996 | 0.999 | 0.997 | 1.002 | 0.996 | 0.999 | 1.001 | 1.000 | 0.987 | |
| 4 | 1.000 | 0.963 | 0.965 | 1.010 | 0.966 | 1.001 | 0.964 | 0.980 | 1.040 | 0.966 | 0.918 | |
| 8 | 1.000 | 0.984 | 0.972 | 1.026 | 0.985 | 0.995 | 0.961 | 0.998 | 1.040 | 0.993 | 0.899 | |
| 16 | 1.000 | 0.988 | 0.978 | 1.081 | 0.987 | 0.997 | 0.961 | 0.999 | 1.040 | 0.990 | 0.899 | |
| 80 | 1.000 | 0.972 | 0.906 | 1.098 | 0.982 | 0.985 | 0.879 | 1.005 | 0.941 | 0.927 | 0.703 |
| Dataset | F | U | W | C | Risk | Rank | E | Rt | VB | VS | O | |
| ETTh1 | 1 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| 2 | 1.000 | 0.990 | 0.991 | 0.995 | 0.989 | 0.997 | 0.992 | 0.997 | 1.001 | 0.999 | 0.982 | |
| 4 | 1.000 | 0.959 | 0.962 | 1.009 | 0.961 | 0.982 | 0.965 | 0.985 | 1.035 | 0.993 | 0.899 | |
| 8 | 1.000 | 0.973 | 0.966 | 1.037 | 0.974 | 1.014 | 0.960 | 0.994 | 1.030 | 1.005 | 0.880 | |
| 16 | 1.000 | 0.982 | 0.972 | 1.028 | 0.982 | 1.043 | 0.960 | 0.995 | 1.029 | 1.008 | 0.880 | |
| 80 | 1.000 | 0.964 | 0.889 | 1.030 | 0.973 | 1.006 | 0.858 | 0.988 | 0.949 | 0.956 | 0.683 |
| Dataset | F | U | W | C | Risk | Rank | E | Rt | VB | VS | O | |
| ETTh1 | 1 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| 2 | 1.000 | 0.994 | 0.994 | 1.004 | 0.993 | 0.998 | 0.994 | 0.997 | 1.005 | 0.994 | 0.973 | |
| 4 | 1.000 | 0.934 | 0.938 | 1.003 | 0.935 | 0.968 | 0.943 | 0.967 | 1.026 | 1.013 | 0.821 | |
| 8 | 1.000 | 0.956 | 0.947 | 0.982 | 0.957 | 0.977 | 0.949 | 0.966 | 1.023 | 1.003 | 0.780 | |
| 16 | 1.000 | 0.971 | 0.956 | 1.014 | 0.971 | 1.003 | 0.950 | 0.979 | 1.023 | 0.996 | 0.779 | |
| 80 | 1.000 | 0.966 | 0.938 | 1.030 | 0.971 | 0.987 | 0.938 | 0.990 | 1.043 | 0.972 | 0.713 |
| Dataset | F | U | W | C | Risk | Rank | E | Rt | VB | VS | O | |
| ETTh1 | 1 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| 2 | 1.000 | 1.004 | 1.001 | 1.003 | 1.004 | 1.000 | 1.000 | 1.000 | 1.004 | 1.003 | 0.999 | |
| 4 | 1.000 | 1.000 | 0.989 | 1.014 | 0.999 | 1.005 | 0.985 | 0.995 | 1.006 | 0.993 | 0.942 | |
| 8 | 1.000 | 1.001 | 0.994 | 1.062 | 1.002 | 1.003 | 0.995 | 1.001 | 1.003 | 1.003 | 0.920 | |
| 16 | 1.000 | 0.997 | 0.997 | 1.068 | 0.997 | 1.005 | 0.995 | 1.000 | 1.003 | 1.004 | 0.920 | |
| 80 | 1.000 | 0.988 | 0.972 | 1.121 | 0.989 | 1.034 | 0.975 | 0.992 | 1.019 | 1.012 | 0.850 |
| Dataset | F | U | W | C | Risk | Rank | E | Rt | VB | VS | O | |
| ETTh1 | 1 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| 2 | 1.000 | 1.005 | 1.002 | 1.009 | 1.005 | 1.003 | 1.000 | 1.004 | 1.010 | 1.009 | 0.994 | |
| 4 | 1.000 | 0.990 | 0.984 | 1.021 | 0.989 | 1.007 | 0.987 | 0.992 | 0.997 | 0.990 | 0.935 | |
| 8 | 1.000 | 0.996 | 0.999 | 1.121 | 0.999 | 1.008 | 1.000 | 0.993 | 0.990 | 0.995 | 0.897 | |
| 16 | 1.000 | 0.992 | 0.994 | 1.119 | 0.992 | 1.032 | 1.000 | 0.993 | 0.990 | 1.010 | 0.897 | |
| 80 | 1.000 | 0.985 | 0.978 | 1.251 | 0.987 | 1.051 | 0.970 | 0.995 | 0.987 | 0.977 | 0.828 |
| Dataset | F | U | W | C | Risk | Rank | E | Rt | VB | VS | O | |
| ETTh1 | 1 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| 2 | 1.000 | 0.996 | 0.995 | 1.000 | 0.996 | 0.995 | 0.995 | 0.997 | 1.007 | 1.001 | 0.982 | |
| 4 | 1.000 | 0.935 | 0.932 | 0.959 | 0.934 | 0.965 | 0.930 | 0.950 | 1.024 | 0.953 | 0.853 | |
| 8 | 1.000 | 0.960 | 0.947 | 0.986 | 0.956 | 0.975 | 0.933 | 0.968 | 1.017 | 0.964 | 0.846 | |
| 16 | 1.000 | 0.973 | 0.957 | 0.986 | 0.971 | 0.977 | 0.933 | 0.986 | 1.017 | 0.980 | 0.845 | |
| 80 | 1.000 | 0.961 | 0.883 | 1.155 | 0.968 | 0.979 | 0.839 | 0.978 | 0.975 | 0.869 | 0.709 |
| Frozen split | TTC split | Candidate-scale | CQR | |||||
| Dataset | C | R | C | R | C | R | C | R |
| Chronos-Bolt-small | ||||||||
| ETTh1 | 94.6 | 1.000 | 94.9 | 0.967 | 93.4 | 1.037 | 95.5 | 1.020 |
| ETTh2 | 86.2 | 1.000 | 86.6 | 1.005 | 87.7 | 1.072 | 92.4 | 1.068 |
| ETTm1 | 92.8 | 1.000 | 93.4 | 0.958 | 92.1 | 1.023 | 94.8 | 1.110 |
| ETTm2 | 87.8 | 1.000 | 87.9 | 0.994 | 87.9 | 1.026 | 90.8 | 1.030 |
| TTC max-residual CP | Candidate max-score CP | |||
| Model | C | W | C | W |
| Chronos-Bolt-small | 88.7 | 4.856 | 90.2 | 5.848 |
| Chronos-Bolt-base | 88.3 | 4.855 | 90.1 | 5.879 |
| TimesFM-2.0 | 89.5 | 5.003 | 90.0 | 5.844 |
| Timer-base | 88.3 | 5.013 | 90.0 | 6.025 |
| Sundial-base | 88.1 | 4.912 | 90.3 | 5.821 |
| Panel / model | Dataset | Channel | Rule | Gain (%) | |
| (a) Bolt-S | ETTh1 | MUFL | Ensemble learning | 11808 | 22.9 |
| (b) Bolt-B | ETTh2 | MUFL | Val.-best | 14112 | 8.2 |
| (c) TimesFM | ETTm1 | HUFL | Val.-best | 53664 | 43.3 |
| (d) Timer | ETTm2 | OT | Ensemble learning | 46560 | 35.6 |
| (e) Sundial | Appliances | T4 | Ensemble learning | 19148 | 61.6 |
| (f) Chronos-2 | BeijingWeather | TEMP | Retro. | 35539 | 15.3 |
| Candidate | Rel. MSE | Rel. MAE | Candidate | Rel. MSE | Rel. MAE |
| ewma | 1.029 | 1.044 | joint=0.284211 | 1.013 | 1.062 |
| horizontal | 1.380 | 1.236 | joint=0.3 | 1.015 | 1.067 |
| identity | 1.000 | 1.000 | magnitude flip | 0.995 | 1.005 |
| input=0.0157895 | 1.001 | 1.000 | magnitude warp | 0.981 | 1.003 |
| input=0.0315789 | 1.000 | 1.001 | output=0.0157895 | 1.000 | 1.001 |
| input=0.0473684 | 1.001 | 1.002 | output=0.0315789 | 1.000 | 1.002 |
Time Series Forecasting
Time series forecasting predicts future values from ordered observations using statistical, neural, and probabilistic models to support decisions under uncertainty.
See all 966 papers