A Compact Model for Large-Scale Time Series Forecasting

Chin-Chia Michael Yeh, Xiran Fan, Zhimeng Jiang, Yujie Fan, Huiyuan Chen, Uday Singh Saini, Vivian Lai, Xin Dai, Junpeng Wang, Zhongfang Zhuang, Liang Wang, Yan Zheng · OpenReview

Abstract

Spatio-temporal data, which commonly arise in real-world applications such as traffic monitoring, financial transactions, and ride-share demands, represent a special category of multivariate time series. They exhibit two distinct characteristics: high dimensionality and commensurability across spatial locations. These attributes call for computationally efficient modeling approaches and facilitate the use of univariate forecasting models in a channel-independent fashion. SparseTSF, a recently introduced competitive univariate forecasting model, harnesses periodicity to achieve compactness by concentrating on cross-period dynamics, thereby extending the Pareto frontier with respect to model size and predictive performance. Nonetheless, it underperforms on spatio-temporal data due to an inadequate capture of intra-period temporal dependencies. To address this shortcoming, we propose UltraSTF, which integrates a cross-period forecasting module with an ultra-compact shape bank component. Our model effectively detects recurring patterns in time series through the attention mechanism of the shape bank component, thereby strengthening its ability to learn intra-period dynamics. UltraSTF achieves state-of-the-art performance on the LargeST benchmark while employing fewer than 0.2% of the parameters required by the second-best approaches, thus further extending the Pareto frontier of existing methods.

Introduction

Predicting spatio-temporal dynamics—such as city-wide traffic flow or network-scale financial transactions—presents a significant computational challenge. These datasets typically involve thousands of sensors generating high-frequency time series. Traditional state-of-the-art models often rely on massive architectures with millions of parameters, leading to high training costs and deployment difficulties on edge devices.

UltraSTF (Ultra-Compact Spatio-Temporal Forecasting) addresses these challenges by exploiting the inherent periodicity of time-series data. By combining "cross-period" trend modeling with a novel "shape bank" for "intra-period" dynamics, UltraSTF achieves state-of-the-art accuracy with a parameter count that is less than 0.2% of its closest competitors.

Methodology

UltraSTF adopts a channel-independent strategy, treating each sensor or location as an independent univariate series. This approach circumvents the $O(N^2)$ complexity typically associated with modeling exhaustive sensor-to-sensor interactions.

Model Architecture

The architecture consists of three primary stages:

  1. Aggregation Module: A 1D convolution layer that smooths the input signal and provides local context, mitigating information loss during subsequent reshaping.
  2. Ultra-Compact Shape Bank: This core innovation utilizes a lightweight attention mechanism to learn a set of "shapes" or patterns corresponding to the period length $w$. This allows the model to capture complex intra-period dynamics (e.g., how traffic evolves within a single hour).
  3. Cross-Period Sparse Forecast: A simple linear layer models the evolution of trends across different periods (e.g., day-to-day variations).
Figure 1: The architecture of UltraSTF, featuring the Aggregation module and the Cross-period sparse forecast component.

Experiments and Results

The model was evaluated primarily on the LargeST benchmark, which encompasses traffic data from 8,600 sensors across California (SD, GBA, GLA, and CA sub-datasets).

Performance and Efficiency

UltraSTF outperformed 19 baseline methods, including heavyweights like DCRNN, GWNET, and TSMixer. Notably, on the full California (CA) dataset, UltraSTF achieved superior performance using only 13,000 parameters. This efficiency significantly extends the Pareto frontier of existing forecasting methods, providing a much higher accuracy-to-parameter ratio.

Figure 2: UltraSTF extends the Pareto frontier, achieving lower Mean Absolute Error (MAE) with significantly fewer parameters than existing methods.

Generalization and Scaling

A key insight from the results is the model's robust generalization. By learning general periodic patterns rather than specific sensor correlations, a model trained on one region (e.g., San Diego) generalizes effectively to others (e.g., Los Angeles). Furthermore, UltraSTF demonstrates superior scaling, consistently improving in accuracy as parameters are added more efficiently than competing models.

Conclusion

UltraSTF demonstrates that high-performance spatio-temporal forecasting does not necessitate massive parameter counts. By leveraging periodicity as an inductive bias and introducing the shape bank for intra-period dynamics, the model provides a scalable, efficient solution for large-scale applications. Future work may explore the integration of ultra-compact spatial components to further enhance accuracy while maintaining the model's lightweight profile.

Summary updated

BibTeX
@misc{yeh2025compact,
  author = {Chin-Chia Michael Yeh and Xiran Fan and Zhimeng Jiang and Yujie Fan and Huiyuan Chen and Uday Singh Saini and Vivian Lai and Xin Dai and Junpeng Wang and Zhongfang Zhuang and Liang Wang and Yan Zheng},
  title = {{A Compact Model for Large-Scale Time Series Forecasting}},
  year = {2025},
  eprint = {2502.20634},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.20634},
}
Figure