Introduction
Spatial-temporal forecasting—predicting future values for interconnected sensors, such as urban traffic flow—has traditionally relied on graph-based neural networks. These models use adjacency matrices to define node relationships, but they face two major hurdles: scalability and graph dependency. Computing pairwise relationships for thousands of nodes results in $O(N^2)$ space complexity, often causing memory errors. Furthermore, high-quality graphs are not always available, and true relationships may be better inferred directly from data.
RPMixer addresses these issues with an all-MLP (Multi-Layer Perceptron) architecture that eliminates the need for explicit graphs while maintaining linear scalability ($O(N)$).
Methodology
RPMixer builds on the "Mixer" architecture, using simple MLPs to mix information across time and sensors. It introduces two key innovations to enhance performance and scalability: Frequency Domain Processing and Random Projection layers.
The RPMixer Block
The architecture consists of a series of Mixer Blocks, each containing a Temporal Mixer and a Spatial Mixer.
- Frequency Domain Processing: Recognizing the periodic nature of human-driven data, RPMixer employs the Fast Fourier Transform (FFT). By processing signals in the frequency domain with complex linear layers, the model captures daily and weekly patterns more effectively than standard time-domain MLPs.
- Random Projection (RP) Layers: Within the spatial mixer, the authors insert fixed, randomly initialized linear layers. These RP layers act as "diversity injectors," forcing different blocks to focus on different random subsets of nodes. This creates a robust ensemble effect within a single model, preventing layer redundancy and improving final prediction accuracy.
Experiments and Results
The model was evaluated on LargeST, the largest benchmark for traffic flow prediction, featuring 8,600 sensors in California. RPMixer outperformed 14 baseline methods, including top-tier graph models like D2STGNN and DGCRN, across almost all horizons.
Scalability and Efficiency
On the largest dataset (CA), RPMixer was significantly faster than the baseline TSMixer (589 seconds per epoch vs. 2,115 seconds) and maintained a much lower memory footprint than graph-based alternatives. This efficiency allows it to handle massive datasets where other models fail due to memory constraints.
Ablation Study: The Role of Randomness
The authors conducted an ablation study to verify the impact of the Random Projection layers. Removing these layers led to a consistent drop in performance, confirming that "shaking up" intermediate representations is vital for accuracy.
Conclusion
RPMixer demonstrates that state-of-the-art spatial-temporal forecasting can be achieved without the overhead of graph-based modeling. By combining frequency-domain processing with random projections, the model offers a highly scalable and accurate solution for large-scale time series data. Future work will explore integrating these concepts into large-scale foundation models for improved spatial-temporal reasoning.
Summary updated