Enhancing Topological Dependencies in Spatio-Temporal Graphs with Cycle Message Passing Blocks
About
Graph Neural Networks (GNNs) and Transformer-based models have been increasingly adopted to learn the complex vector representations of spatio-temporal graphs, capturing intricate spatio-temporal dependencies crucial for applications such as traffic datasets. Although many existing methods utilize multi-head attention mechanisms and message-passing neural networks (MPNNs) to capture both spatial and temporal relations, these approaches encode temporal and spatial relations independently, and reflect the graph's topological characteristics in a limited manner. In this work, we introduce the Cycle to Mixer (Cy2Mixer), a novel spatio-temporal GNN based on topological non-trivial invariants of spatio-temporal graphs with gated multi-layer perceptrons (gMLP). The Cy2Mixer is composed of three blocks based on MLPs: A temporal block for capturing temporal properties, a message-passing block for encapsulating spatial information, and a cycle message-passing block for enriching topological information through cyclic subgraphs. We bolster the effectiveness of Cy2Mixer with mathematical evidence emphasizing that our cycle message-passing block is capable of offering differentiated information to the deep learning model compared to the message-passing block. Furthermore, empirical evaluations substantiate the efficacy of the Cy2Mixer, demonstrating state-of-the-art performances across various spatio-temporal benchmark datasets. The source code is available at https://github.com/leemingo/cy2mixer.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Traffic Forecasting | PeMS08 | RMSE23.22 | 166 | |
| Traffic Forecasting | PeMS07 | MAE19.45 | 94 | |
| Traffic Forecasting | METR-LA 30min horizon 6 | MAE3.03 | 44 | |
| Traffic Forecasting | PeMS04 | -- | 25 | |
| Traffic Forecasting | METR-LA Horizon 12 (60 min) (test) | MAE3.39 | 20 | |
| Traffic Forecasting | METR-LA Horizon 3 (15 min) (test) | MAE2.7 | 20 | |
| Traffic Flow Prediction | TDrive | MAE11.99 | 8 | |
| Traffic Flow Prediction | CHBike | MAE3.8 | 8 | |
| Traffic Flow Prediction | NYTaxi | Mean Absolute Error12.59 | 8 | |
| Air pollution prediction | KnowAir 4-year (Sub-dataset 1) | RMSE19.34 | 7 |