TL;DR
This research introduces a computational graph (CG) approach to estimate granular link travel times and station waiting times in urban rail transit networks using only tap-in/tap-out Automatic Fare Collection (AFC) data. By framing the transit network as a differentiable graph, the authors use backpropagation to deduce hidden variables (waiting and riding times) from total trip durations, achieving high accuracy without needing confidential train timetables or manual surveys.
Introduction: The Challenge of Granular Transit Data
To effectively manage Urban Rail Transit (URT) systems, operators must identify specific bottlenecks. Delays can stem from slow-moving trains or crowded platforms, but distinguishing between these requires detailed data. Currently, transit agencies rely on Automatic Fare Collection (AFC) data—records generated when passengers tap cards at entry and exit gates.
While AFC data provides the total origin-destination (OD) travel time, it lacks a breakdown of the trip into its constituent parts: walking time, platform waiting time, and in-vehicle riding time. Existing estimation methods often require confidential train timetables or expensive manual field surveys. This paper addresses the challenge of decomposing total travel time into specific link and waiting times on a network-wide scale using only raw AFC data.
Methodology: A Computational Graph Approach
The authors formulate a data-driven optimization model solved via a Computational Graph (CG) framework, similar to the architecture of deep learning libraries like PyTorch.
1. Network Representation
The subway network is modeled as a graph where stations are decomposed into specific nodes (gate machines, platforms) and edges (entry links, vehicle links, transfer links, exit links). This allows for a precise mapping of the passenger journey.
2. Route Choice and Optimization
A utility function is defined based on link travel time (assumed static) and station waiting time (assumed dynamic, varying by time interval). The optimization problem is cast as an end-to-end computational graph:
- Forward Propagation: The model uses initialized link and waiting times to calculate route choice probabilities and output an estimated total OD travel time.
- Backward Propagation: The model compares the estimated OD time to the true OD time from AFC data. Using the chain rule, it backpropagates the error through the graph to update and optimize the individual link and waiting times.
Datasets and Evaluation
The methodology was evaluated on two distinct datasets:
- Synthetic Data: A 14-station, 3-line network with 18.1 million generated AFC records. This provided a "ground truth" to validate the mathematical framework.
- Real-World Data: A massive dataset from the Beijing Subway (March 7, 2016) containing 20.9 million AFC records across over 767,000 OD pairs.
Key Insights
- Differentiable Transit Networks: By treating the transit network as a differentiable graph, the authors apply gradient descent to solve for hidden physical variables like waiting times.
- Timetable Independence: The model learns purely from the distribution of tap-in/tap-out times, bypassing the need for potentially confidential or inaccurate train timetables.
- Variable Constraints: The model assumes walking and riding times are static, while platform waiting times are dynamic. This logical constraint aids optimization convergence.
Results and Robustness
- Validation: On synthetic data, the CG model achieved an $R^2$ of 0.999 for all estimated time components.
- Real-World Performance: On the Beijing Subway dataset, the model achieved an $R^2$ of 0.700 for path travel time, demonstrating viability in noisy environments.
- Robustness: Sensitivity analyses showed high accuracy even with 20% artificial white noise. Using "SoftImpute" matrix completion, the model remained effective even when 20% of OD pairs were missing.
Conclusion and Future Work
While the model assumes static link travel times (in-vehicle time), future iterations could relax this to capture peak-hour congestion effects on train speeds. The authors also suggest testing the framework on weekend data to observe different passenger flow patterns. This CG approach offers a scalable, end-to-end solution for transit agencies to gain deep operational insights from existing data.
Summary updated