Abstract
Spatial-temporal forecasting systems play a crucial role in addressing numerous real-world challenges. In this paper, we investigate the potential of addressing spatial-temporal forecasting problems using general time series forecasting models, i.e., models that do not leverage the spatial relationships among the nodes. We propose a all-Multi-Layer Perceptron (all-MLP) time series forecasting architecture called RPMixer. The all-MLP architecture was chosen due to its recent success in time series forecasting benchmarks. Furthermore, our method capitalizes on the ensemble-like behavior of deep neural networks, where each individual block within the network behaves like a base learner in an ensemble model, particularly when identity mapping residual connections are incorporated. By integrating random projection layers into our model, we increase the diversity among the blocks' outputs, thereby improving the overall performance of the network. Extensive experiments conducted on the largest spatial-temporal forecasting benchmark datasets demonstrate that the proposed method outperforms alternative methods, including both spatial-temporal graph models and general forecasting models.
Introduction
Predicting future states in a network—such as traffic flow across a city—is a fundamental spatial-temporal forecasting problem. Traditionally, Graph Neural Networks (GNNs) have been the standard for modeling sensor relationships. However, GNNs face significant hurdles: they often require $O(N^2)$ complexity for pairwise similarity matrices, leading to memory exhaustion on large-scale datasets, and physical graphs may not always capture actual data correlations. RPMixer addresses these issues by utilizing an all-MLP architecture that scales linearly with the number of nodes while maintaining high predictive accuracy without an explicit graph.
Methodology
RPMixer is built on an all-MLP "Mixer" architecture, avoiding complex convolutions or attention mechanisms in favor of simple linear layers organized into specialized sub-blocks.
The Mixer Architecture
The core of the model consists of two primary components within each block:
- Temporal Mixer (Frequency Domain): Traffic data is inherently periodic. To capture these cycles, RPMixer processes time series in the frequency domain using a Fast Fourier Transform (FFT) followed by complex linear layers. This allows the model to efficiently learn the "rhythm" of the data.
- Spatial Mixer (Random Projections): To model inter-sensor relationships without a graph, the authors introduce Random Projection (RP) layers. These fixed, randomly initialized linear layers project node features into a different space, forcing each block to act as a diverse "base learner" in an ensemble-like structure.
Experimental Evaluation
The model was evaluated on the LargeST benchmark, which includes data from 8,600 sensors in California. The datasets range from San Diego (716 nodes) to the full California (CA) set (8,600 nodes). While most traditional graph-based models fail to run on the CA dataset due to memory constraints, RPMixer scales effortlessly.
Key Results
- Accuracy: RPMixer outperformed 14 baseline methods, including state-of-the-art GNNs like GWNET and D2STGNN.
- Scalability: It was the top performer on the largest (CA) dataset, where many competitors could not execute.
- Efficiency: RPMixer demonstrated a nearly 4x speedup over its closest MLP relative, TSMixer, on the GLA dataset (261s vs 954s per epoch).
Key Insights: Diversity via Randomness
A central finding is that fixing random weights in the RP layers prevents the network layers from "collapsing" into learning redundant features. This diversity is crucial for the model's performance, as evidenced by ablation studies showing a drop in accuracy when RP layers are removed.
Conclusion
RPMixer demonstrates that explicit graph structures are not strictly necessary for high-performance spatial-temporal forecasting. By combining frequency-domain processing with random projection layers, the model achieves superior accuracy and scalability. Future work includes exploring the integration of these techniques into large-scale time series foundation models.
Summary updated