# Contextualized Spatial-Temporal Network for Taxi Origin-Destination Demand Prediction

arXiv: https://arxiv.org/abs/1905.06335 · HTML: https://mlsanity.com/paper/1905.06335/

## Key facts

- Cited by 35 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 15 May 2019.

## Built on by (most cited first, 30 of 35)

- [Graph-Based Spatial-Temporal Convolutional Network for Vehicle Trajectory Prediction in Autonomous Driving](https://mlsanity.com/paper/2109.12764/) (2021)
- [Uncertainty Quantification of Sparse Travel Demand Prediction with Spatial-Temporal Graph Neural Networks](https://mlsanity.com/paper/2208.05908/) (2022)
- [LibCity: A Unified Library Towards Efficient and Comprehensive Urban Spatial-Temporal Prediction](https://mlsanity.com/paper/2304.14343/) (2023)
- [Heterogeneous Semantic Transfer for Multi-label Recognition with Partial Labels](https://mlsanity.com/paper/2205.11131/) (2022)
- [Uncertainty Quantification via Spatial-Temporal Tweedie Model for Zero-inflated and Long-tail Travel Demand Prediction](https://mlsanity.com/paper/2306.09882/) (2023)
- [Traffic Prediction using Artificial Intelligence: Review of Recent Advances and Emerging Opportunities](https://mlsanity.com/paper/2305.19591/) (2023)
- [Online Metro Origin-Destination Prediction via Heterogeneous Information Aggregation](https://mlsanity.com/paper/2107.00946/) (2021)
- [EPG-MGCN: Ego-Planning Guided Multi-Graph Convolutional Network for Heterogeneous Agent Trajectory Prediction](https://mlsanity.com/paper/2303.17027/) (2023)
- [Urban Region Pre-training and Prompting: A Graph-based Approach](https://mlsanity.com/paper/2408.05920/) (2024)
- [Passenger Mobility Prediction via Representation Learning for Dynamic Directed and Weighted Graph](https://mlsanity.com/paper/2101.00752/) (2021)
- [Continuous-Time and Multi-Level Graph Representation Learning for Origin-Destination Demand Prediction](https://mlsanity.com/paper/2206.15005/) (2022)
- [Aerial Images Meet Crowdsourced Trajectories: A New Approach to Robust Road Extraction](https://mlsanity.com/paper/2111.15119/) (2021)
- [Unconstrained Face Sketch Synthesis via Perception-Adaptive Network and A New Benchmark](https://mlsanity.com/paper/2112.01019/) (2021)
- [Semi-decentralized Inference in Heterogeneous Graph Neural Networks for Traffic Demand Forecasting: An Edge-Computing Approach](https://mlsanity.com/paper/2303.00524/) (2023)
- [Road Network Guided Fine-Grained Urban Traffic Flow Inference](https://mlsanity.com/paper/2109.14251/) (2021)
- [Completion and Augmentation based Spatiotemporal Deep Learning Approach for Short-Term Metro Origin-Destination Matrix Prediction under Limited Observable Data](https://mlsanity.com/paper/2108.03900/) (2021)
- [Neural Embeddings of Urban Big Data Reveal Emergent Structures in Cities](https://mlsanity.com/paper/2110.12371/) (2021)
- [ICN: Interactive Convolutional Network for Forecasting Travel Demand of Shared Micromobility](https://mlsanity.com/paper/2306.13897/) (2023)
- [Unified Data Management and Comprehensive Performance Evaluation for Urban Spatial-Temporal Prediction [Experiment, Analysis & Benchmark]](https://mlsanity.com/paper/2308.12899/) (2023)
- [Exploring the impact of spatiotemporal granularity on the demand prediction of dynamic ride-hailing](https://mlsanity.com/paper/2203.10301/) (2022)
- [Surge Routing: Event-informed Multiagent Reinforcement Learning for Autonomous Rideshare](https://mlsanity.com/paper/2307.02637/) (2023)
- [FusionTransNet for Smart Urban Mobility: Spatiotemporal Traffic Forecasting Through Multimodal Network Integration](https://mlsanity.com/paper/2405.05786/) (2024)
- [STContext: A Multifaceted Dataset for Developing Context-aware Spatio-temporal Crowd Mobility Prediction Models](https://mlsanity.com/paper/2501.03583/) (2025)
- [Cyclic Graph Attentive Match Encoder (CGAME): A Novel Neural Network For OD Estimation](https://mlsanity.com/paper/2111.14625/) (2021)
- [A Spatial-Temporal Attention Multi-Graph Convolution Network for Ride-Hailing Demand Prediction Based on Periodicity with Offset](https://mlsanity.com/paper/2203.12505/) (2022)
- [Unsupervised Knowledge Adaptation for Passenger Demand Forecasting](https://mlsanity.com/paper/2206.04053/) (2022)
- [Learning Generalization and Regularization of Nonhomogeneous Temporal Poisson Processes](https://mlsanity.com/paper/2402.12808/) (2024)
- [A Survey on Differential Privacy for SpatioTemporal Data in Transportation Research](https://mlsanity.com/paper/2407.15868/) (2024)
- [UMOD: A Novel and Effective Urban Metro Origin-Destination Flow Prediction Method](https://mlsanity.com/paper/2409.04942/) (2024)
- [Spatio-temporal Prediction of Fine-Grained Origin-Destination Matrices with Applications in Ridesharing](https://mlsanity.com/paper/2503.24237/) (2025)

## Abstract (arXiv)

Taxi demand prediction has recently attracted increasing research interest due to its huge potential application in large-scale intelligent transportation systems. However, most of the previous methods only considered the taxi demand prediction in origin regions, but neglected the modeling of the specific situation of the destination passengers. We believe it is suboptimal to preallocate the taxi into each region based solely on the taxi origin demand. In this paper, we present a challenging and worth-exploring task, called taxi origin-destination demand prediction, which aims at predicting the taxi demand between all region pairs in a future time interval. Its main challenges come from how to effectively capture the diverse contextual information to learn the demand patterns. We address this problem with a novel Contextualized Spatial-Temporal Network (CSTN), which consists of three components for the modeling of local spatial context (LSC), temporal evolution context (TEC) and global correlation context (GCC) respectively. Firstly, an LSC module utilizes two convolution neural networks to learn the local spatial dependencies of taxi demand respectively from the origin view and the destination view. Secondly, a TEC module incorporates both the local spatial features of taxi demand and the meteorological information to a Convolutional Long Short-term Memory Network (ConvLSTM) for the analysis of taxi demand evolution. Finally, a GCC module is applied to model the correlation between all regions by computing a global correlation feature as a weighted sum of all regional features, with the weights being calculated as the similarity between the corresponding region pairs. Extensive experiments and evaluations on a large-scale dataset well demonstrate the superiority of our CSTN over other compared methods for taxi origin-destination demand prediction.
