Efficient metro operation relies on knowing exactly where passengers are going. However, predicting these patterns in real-time is a "missing data" nightmare. This paper introduces a novel deep learning framework that turns incomplete real-time data into highly accurate ridership forecasts.
TL;DR
The authors propose the Heterogeneous Information Aggregation Machine (HIAM), a framework that solves the "incomplete data" problem in online metro systems by explicitly modeling unfinished trips and the causal relationships between passenger entries and exits. It achieves state-of-the-art performance on massive datasets from Shanghai and Hangzhou, significantly outperforming existing spatial-temporal models.
What Problem Does This Paper Address?
In a perfect world, we would have a complete Origin-Destination (OD) matrix at every moment—knowing exactly where every passenger who just entered station A will eventually exit. In reality, we only know a passenger's destination once they swipe out at their exit station.
This creates a massive gap for "online" (real-time) systems. At any given time interval, a large portion of passengers are still in transit. If we only look at "finished" trips, our data is sparse and uninformative. Most existing methods either ignore these ongoing trips or try to predict entries (OD) and exits (Destination-Origin or DO) as separate, independent tasks.
Methods
The core of the solution is the Heterogeneous Information Aggregation Machine (HIAM). It moves beyond simple time-series forecasting by integrating three distinct types of data: incomplete OD matrices, unfinished order vectors, and complete DO matrices.
1. Modeling the "Unfinished"
Instead of discarding passengers currently on trains, HIAM uses an OD modeling branch to estimate their potential destinations. It does this by looking at long-term (e.g., all Mondays in the training set) and short-term (e.g., yesterday at the same time) historical distributions. This "complements" the sparse real-time data.
2. Dual Information Transformer (DIT)
The authors observe a fundamental link: today's entries (OD) are tomorrow's exits (DO). This is OD-to-DO causality. Conversely, there is DO-to-OD correlation, especially at "tide stations" in residential or office areas. The DIT is a novel attention mechanism that allows OD and DO features to interact and enhance each other mutually.
3. Spatial-Temporal Graph Learning
Since metro systems have a non-Euclidean topology (stations are nodes, tracks are edges), the model uses Graph Convolutional Gated Recurrent Units (GCGRU). This allows the network to learn patterns based on the actual physical layout of the metro map rather than just treating stations as independent entities.
Datasets
The model was evaluated on two massive, real-world benchmarks:
- SHMOD (Shanghai Metro): 288 stations, ~8.82 million daily transactions.
- HZMOD (Hangzhou Metro): 80 stations, ~2.35 million daily transactions. Both datasets use 15-minute time intervals and were split into standard training, validation, and testing sets.
Key Insights and Ideas
- Ongoing trips are a goldmine: Explicitly estimating where current passengers are likely to go (based on historical patterns) provides a much stronger signal for prediction than relying solely on completed trips.
- Joint Modeling is Essential: Modeling OD and DO together via the DIT significantly boosts accuracy for both. The model learns that a surge in entries at a residential station in the morning will inevitably lead to a surge in exits at office-heavy stations shortly after.
- Topology Matters: Using graph convolutions to respect the physical connections of the metro network is far superior to standard RNNs or CNNs that ignore the underlying "map."
Key Results
HIAM consistently outperformed ten baseline and state-of-the-art methods (including GraphWaveNet, DCRNN, and Informer) across all time horizons (15, 30, 45, and 60 minutes).
- Accuracy: On the Shanghai dataset, HIAM achieved a Mean Absolute Percentage Error (MAPE) of 38.36% for 60-minute OD prediction, a notable improvement over the previous best-performing model (PVCGN at 39.34%).
- Consistency: The performance gains were even more pronounced on the Hangzhou dataset, where HIAM outperformed the next best model by over 2% MAPE in several categories.
- Ablation Success: Removing the "unfinished order" estimation or the DIT interaction caused performance to drop significantly, proving these novel components are the primary drivers of the model's success.
Limitations and Future Work
- Matrix Compression: To handle the extreme sparsity of OD matrices (most station pairs have zero ridership at any given time), the authors merge "weakly-relevant" stations. While this improves overall network-wide accuracy, it might lose fine-grained detail for niche travel patterns.
- External Factors: The current model relies purely on historical ridership data. The authors suggest that future iterations could incorporate external variables like weather conditions, holidays, or major city events (concerts, sports) which can cause sudden, non-periodic spikes in ridership.
Summary updated