A Multi-Task Matrix Factorized Graph Neural Network for Co-Prediction of Zone-Based and OD-Based Ride-Hailing Demand

Siyuan Feng, Jintao Ke, Hai Yang, Jieping Ye

Introduction

Ride-hailing platforms like Uber and Didi require precise demand forecasting to optimize fleet management and route planning. This involves two distinct but related tasks: predicting zone-based demand (total inflow/outflow in a neighborhood) and Origin-Destination (OD) demand (trip volumes between specific pairs). Historically, these tasks have been treated separately, often using simplified "Euclidean" grids that fail to reflect the irregular administrative boundaries of real cities.

The Challenge of Irregular Urban Domains

Most existing deep learning models for traffic prediction rely on regular grids. However, urban zones are typically defined by irregular zip codes or neighborhood boundaries. Modeling these requires a transition from standard convolutional neural networks (CNNs) to Graph Neural Networks (GNNs) capable of handling non-Euclidean spatial structures.

Comparison between Euclidean (grid-based) and non-Euclidean (irregular zone) domains in urban demand forecasting.

Methodology: The MT-MF-GCN Framework

The researchers proposed the Multi-Task Matrix Factorized Graph Neural Network (MT-MF-GCN) to address these complexities through a two-stage architecture.

1. Multi-Graph Encoder

The encoder captures "semantic" relationships between zones by constructing four distinct graphs: geographical adjacency, distance proximity, functional similarity (e.g., land use), and historical commuting patterns. These graphs are processed by a Mixture-model Graph Convolutional (MGC) network, which dynamically weights neighbor importance using learnable Gaussian kernels. This allows the model to recognize that zones far apart geographically can still be "neighbors" in behavior.

Visualization of graph-based spatial dependencies where nodes represent urban zones connected by semantic relationships.

2. Matrix Factorization Decoder

To convert hidden features into predictions without an explosion in parameters, the model employs a Matrix Factorization (MF) decoding scheme. By decomposing a large decoder tensor into smaller matrices, the model achieves region-specific decoding—capturing the unique demand characteristics of individual neighborhoods—while maintaining computational efficiency. This strikes a balance between a single global decoder (too simple) and individual decoders for every zone (too heavy).

Experimental Results

The model was validated using large-scale datasets from Manhattan (NYC) and Haikou (China).

  • Manhattan Dataset: Covering 19 million shared-ride transactions, the model achieved a Mean Absolute Percentage Error (MAPE) of 0.536 for OD demand, outperforming standard GCN baselines like ST-GCN (0.541).
  • Haikou Dataset: The model reached an RMSE of 28.836 for inflow demand, a significant improvement over the 31.251 recorded by the ST-GCN baseline.

Crucially, the multi-task approach proved more parameter-efficient than training three separate single-task models, demonstrating that joint learning acts as an effective regularizer for urban mobility data.

Conclusion

MT-MF-GCN represents a significant step forward in urban mobility modeling. By leveraging multi-graph representations and matrix factorization, it captures the irregular and interconnected nature of city-wide demand. Future research may extend this framework to multi-modal transit systems and incorporate more flexible temporal intervals to account for sudden demand spikes during holidays or special events.

Summary updated

BibTeX
@article{feng2022multi,
  author = {Siyuan Feng and Jintao Ke and Hai Yang and Jieping Ye},
  title = {{A Multi-Task Matrix Factorized Graph Neural Network for Co-Prediction of Zone-Based and OD-Based Ride-Hailing Demand}},
  journal = {IEEE Trans. Intell. Transp. Syst.},
  year = {2022},
  doi = {10.1109/tits.2021.3056415},
}
Figure