TL;DR
This paper introduces a novel deep learning framework, the Contextualized Spatial-Temporal Network (CSTN), to predict taxi demand between specific origin-destination (OD) pairs rather than just total demand per region. By integrating local spatial features, temporal evolution, and global region correlations, the model significantly improves taxi pre-allocation efficiency, helping platforms better match drivers to passenger destinations.
What Problem Does This Paper Address?
Most existing intelligent transportation systems focus on predicting taxi demand at the departure point (origin). However, the authors argue this is suboptimal. Knowing where a passenger is going (destination) is just as critical for efficient fleet management.
Without destination data, pre-allocation systems face several friction points:
- Regulatory Restrictions: In cities like Beijing, some drivers are restricted from entering certain zones. Assigning a driver to a region where most passengers are heading toward a restricted zone leads to rejected orders and wasted resources.
- Driver Preferences: Drivers often prefer familiar routes or avoid very short trips that offer little profit.
- Operational Efficiency: If a driver is sent to an unfamiliar destination, they may rely heavily on GPS, increasing travel time and reducing overall market efficiency.
Predicting the full OD matrix—the demand between every possible pair of regions—is a high-dimensional challenge that requires capturing complex, multi-scale contextual information.
Methods
The authors propose the CSTN, which decomposes the problem into three specialized modules:
- Local Spatial Context (LSC) Module: This uses a "Two-View ConvNet." It processes the standard OD matrix (origin view) and a transposed "DO" matrix (destination view). This allows the model to learn spatial dependencies from both where trips start and where they end.
- Temporal Evolution Context (TEC) Module: To handle the time-varying nature of demand, this module uses a Convolutional LSTM (ConvLSTM). Unlike standard LSTMs, ConvLSTMs preserve spatial structural locality. It also integrates external meteorological data (temperature, precipitation, etc.) via a Multi-Layer Perceptron (MLP) to account for weather-driven demand shifts.
- Global Correlation Context (GCC) Module: Spatially distant regions may still have highly correlated demand patterns if they share similar functionalities (e.g., two far-apart residential districts). The GCC module uses a self-attention-like mechanism to compute a similarity matrix between all regions, allowing the model to capture these non-local relationships.
Datasets
The authors created and released a new benchmark dataset: NYC-TOD.
- Source: 132 million yellow taxi trip records from New York City (2014).
- Scope: Manhattan borough, partitioned into a $15 \times 5$ grid.
- Features: Includes both taxi request records (origin, destination, timestamp) and detailed meteorological data (23 weather types plus numeric indicators like wind speed and visibility).
Key Insights and Ideas
- The "Two-View" Advantage: By treating the OD matrix as a 3D tensor (where channels represent destinations), the authors cleverly adapt standard 2D convolutions to capture inter-regional relationships. Transposing this to a DO matrix (Figure 4) ensures the model doesn't ignore the spatial context of the destination.
- Weather as a Catalyst: The paper quantifies how extreme weather (like heavy snow) drastically alters demand patterns (Figure 2), justifying the inclusion of meteorological data in the TEC module.
- Functional Similarity Over Distance: The GCC module acknowledges that geography isn't everything. A business district in Midtown and a business district in Financial District might behave more similarly than a business district and a neighboring park.
- Real-time Feasibility: Despite the complexity, the model is highly efficient, performing an inference in just 1.187 ms on a standard GPU, making it viable for production environments.
Key Results
The CSTN was compared against several baselines, including XGBoost, ST-ResNet, and standard ConvLSTM.
- Overall Accuracy: CSTN achieved the lowest error rates on the NYC-TOD dataset, with an OD-MAPE of 27.37% and an O-MAPE of 18.48%.
- Improvement: It outperformed the previous state-of-the-art (ConvLSTM) by roughly 5.6% to 7.1% in relative performance.
- Robustness: The model maintained superior performance across different days of the week, though all deep learning models performed slightly better on weekdays than weekends due to more regular patterns.
Limitations and Future Work
- Grid Partitioning: The current model uses a simple rectangular grid. The authors experimented with partitioning based on Zip Codes and land-use homogeneity (Figure 9), but found that the standard grid currently preserves spatial information better for CNNs. Finding a way to combine irregular semantic regions with deep learning is an open challenge.
- Missing Features: The model does not yet incorporate Point of Interest (POI) data (e.g., locations of stadiums or malls) or explicit periodic demand signals (e.g., annual holidays), which could further boost accuracy.
- Long-term Prediction: While the paper touches on long-term forecasting (L-CSTN), accuracy naturally degrades as the prediction horizon increases. Refining multi-step forecasting remains a priority.
Summary updated