TRANSMISSION // 2605.24381v2

A router asks when a forecasting AI is worth its cost

Source published

A pre-inference router directs time series to either a foundation model or a specialist. Tests suggest it can reduce costly model calls on some datasets, but the evidence is limited.

AI-generated conceptual illustration for A router asks when a forecasting AI is worth its cost
AI-generated conceptual illustration; not documentary evidence.

Foundation models can forecast many kinds of time series without task-specific training, but they may cost far more to run than lightweight alternatives. The Complexity Router study tests whether features of a series’ past can help decide, before forecasting begins, which model to use.

The cost of a general-purpose forecaster

A time series is a sequence of measurements over time: electricity demand, traffic counts or product sales, for example. Forecasting systems can use a foundation model—a large model designed to work across many kinds of series—or a smaller specialist trained on a particular dataset. Foundation models can be useful when there is little history or maintaining many separate systems is impractical. But running them can require more computing resources than running a lightweight specialist.

The study asks whether a system can choose between the two for each series without first running both models. The authors call their approach the Complexity Router. It examines four properties of a series’ history: how concentrated its repeating patterns are (spectral entropy), how variable it is relative to its average (coefficient of variation), how strongly it repeats at a seasonal interval (seasonal autocorrelation), and how well a straight-line trend describes it (trend strength). The router uses these measurements to send a series to either a foundation model or a specialist. It does not consult either model’s forecast when making that choice.

Testing choices on held-out series

The researchers tested two foundation models, TimesFM 2.5 and Chronos T5-Base, against two supervised specialists, PatchTST and DLinear. Their main test was M4 Daily, a collection of 4,227 demand series. They also tested a combined portfolio of M4 Daily and 862 hourly traffic series from California’s PeMS system. Two smaller datasets—electricity transformer temperature and exchange rates—were used only as checks on how model performance varied across settings, not for routing conclusions.

The team divided series into calibration and holdout groups. On the calibration group, they selected the best-performing foundation model and specialist for each dataset, then set the router’s thresholds or fit its classifier. They evaluated the resulting choices on held-out series and repeated the procedure across 100 random splits. The forecasting models were trained once per dataset; the repeated splits tested the routing process, not 100 independent rounds of model training.

Forecast accuracy was measured with mean absolute scaled error (MASE), for which lower is better. The researchers also compared computing costs, counting the router’s feature-extraction overhead. That comparison needs care: the foundation models and specialists ran on different hardware, and the authors say batching could change the apparent cost gap.

What the tests found

On M4 Daily, the foundation model and DLinear were close in average accuracy. A simple rule sent a series to the foundation model if at least one of four feature-based conditions was met. This “1-of-4” rule routed 31.6% of the headline-split holdout series to the foundation model and achieved a MASE of 1.179, compared with 1.206 for always using the foundation model. It beat always using that model in all 100 routing splits. A logistic-regression router matched the rule at the same share of foundation-model calls on M4; it did not reliably outperform the simple rule there.

Results differed on the mixed traffic-and-demand portfolio. At the same foundation-model share as the voting rule, logistic regression had lower error than the vote rule in 93% of splits. This is evidence for that particular test, not a guarantee that a learned router will do better on other portfolios. The router’s own feature calculations also matter: under the paper’s approximate cost assumptions, savings for the 1-of-4 rule begin when a foundation-model call costs roughly 11 times as much as a specialist call.

The study includes an “oracle” comparison that assigns models using knowledge of which one actually forecast each held-out series better. That information is unavailable before deployment, so the oracle is not a usable router. Its better score instead shows that the tested features leave room for improvement.

Promising, but not a general rule

The authors’ evidence is narrow. M4 Daily is the only dataset with a substantial within-dataset routing test; traffic strongly favored the foundation model, while the two smaller checks had too few series for reliable routing analysis. Each series was evaluated at one forecast origin, and the study reports average MASE rather than performance weighted by the importance of individual series. The authors also note that model runs were not consistently seeded, repeated splits overlap, and routing thresholds need recalibration for each portfolio and model pair. They did not audit whether foundation-model pretraining data overlapped with the benchmark data.

These caveats mean the results do not establish that the router will save money or preserve accuracy in every forecasting system. The break-even point depends on actual deployment costs, while forecast results may shift with different models, training runs, datasets or evaluation periods. The work is available as a paper posted on arXiv; the supplied evidence does not establish its publication or review status. Its central proposal is a practical one to test: use cheap information about a series’ history to decide whether an expensive general-purpose forecaster is worth calling.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.