[Paper Review] Spatial-Temporal Dynamic Graph Attention Networks for Ride-hailing Demand Prediction
This paper proposes STDGAT, a spatial-temporal dynamic graph attention network that models ride-hailing demand by adaptively learning spatial correlations through graph attention and dynamically updating graph structures based on time-specific commuting patterns. The method achieves state-of-the-art performance, reducing RMSE by 17.1% and MAPE by 18.6% compared to existing baselines on a real-world Didi Chuxing dataset.
Ride-hailing demand prediction is an essential task in spatial-temporal data mining. Accurate Ride-hailing demand prediction can help to pre-allocate resources, improve vehicle utilization and user experiences. Graph Convolutional Networks (GCN) is commonly used to model the complicated irregular non-Euclidean spatial correlations. However, existing GCN-based ride-hailing demand prediction methods only assign the same importance to different neighbor regions, and maintain a fixed graph structure with static spatial relationships throughout the timeline when extracting the irregular non-Euclidean spatial correlations. In this paper, we propose the Spatial-Temporal Dynamic Graph Attention Network (STDGAT), a novel ride-hailing demand prediction method. Based on the attention mechanism of GAT, STDGAT extracts different pair-wise correlations to achieve the adaptive importance allocation for different neighbor regions. Moreover, in STDGAT, we design a novel time-specific commuting-based graph attention mode to construct a dynamic graph structure for capturing the dynamic time-specific spatial relationships throughout the timeline. Extensive experiments are conducted on a real-world ride-hailing demand dataset, and the experimental results demonstrate the significant improvement of our method on three evaluation metrics RMSE, MAPE and MAE over state-of-the-art baselines.
Motivation & Objective
- To address the limitation of fixed graph structures and uniform neighbor weighting in existing GCN-based ride-hailing demand prediction models.
- To model irregular, non-Euclidean spatial correlations among urban regions with adaptive attention mechanisms.
- To capture time-varying spatial relationships by constructing dynamic graphs based on actual commuting flows rather than static geographical proximity.
- To jointly model spatial and temporal dependencies for improved demand forecasting performance.
- To validate the superiority of the time-specific commuting-based graph construction over traditional geographical neighborhood-based methods.
Proposed method
- Employs Graph Attention Networks (GAT) to enable adaptive, attention-based importance allocation among neighboring regions, capturing non-Euclidean spatial correlations.
- Introduces a time-specific commuting-based graph attention mode that constructs dynamic graph structures for each time interval using real commuting flow data instead of fixed geographical connections.
- Uses Long Short-Term Memory (LSTM) networks to model temporal dependencies in the sequence of spatially aggregated features.
- Combines spatial and temporal modules in a joint architecture: spatial features are extracted via GAT with dynamic edge construction, then fed into an LSTM for temporal modeling.
- Applies a prediction layer to output final demand forecasts after joint spatial-temporal feature learning.
- Constructs dynamic graphs per time interval by including directed edges only between regions with actual commuting flows at that time.
Experimental results
Research questions
- RQ1Can adaptive attention mechanisms improve ride-hailing demand prediction by learning different importances for neighboring regions?
Key findings
- STDGAT achieves an RMSE of 7.8811, which is 17.1% lower than the baseline spatial module + prediction layer (9.6273) and 15.5% lower than the temporal module + prediction layer (9.3151).
- The model reduces MAPE from 0.2143 (spatial-only) to 0.1744 and MAE from 5.2131 to 4.0881, demonstrating consistent improvement across all metrics.
- STDGAT outperforms the fixed-graph variant (STDGAT-fixed) with RMSE 8.2334, MAPE 0.1788, and MAE 4.1917, proving the effectiveness of time-specific commuting-based graph construction.
- Optimal performance is achieved with an input sequence length of 5 hours; longer sequences lead to performance degradation due to increased training complexity.
- Model performance improves with more graph attention layers (up to 5), as deeper layers expand receptive fields and capture broader spatial correlations.
- The ablation study confirms that joint modeling of spatial and temporal dependencies yields better results than modeling them separately.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.