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:
- Aggregation Module: A 1D convolution layer that smooths the input signal and provides local context, mitigating information loss during subsequent reshaping.
- 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).
- Cross-Period Sparse Forecast: A simple linear layer models the evolution of trends across different periods (e.g., day-to-day variations).
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.
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