← Back to selected research
Research Case Study · Urban Rail Reliability

Data-Driven Metro Travel-Time Reliability Assessment

A network-level study of Shanghai Metro origin–destination travel reliability using AFC data, complementary reliability metrics, anomaly detection, regression modeling, temporal pattern analysis, and a manager-facing visualization platform.

InstitutionTongji University
PeriodOct 2024 – Jun 2025
DataShanghai Metro AFC · Apr 2015
MethodsReliability metrics · Isolation Forest · Regression
>0.80Pairwise rank correlation among metrics
0.742Regression R²
0.00287Test-set MSE
Original research framework from the metro reliability report
Original project artifact · reliability distributions from the final report
Team project · This case study summarizes project-level methods and results; the final section describes my contribution.

How reliable is metro travel at the OD-pair level, and what explains the unreliable tail?

Average travel time alone cannot describe the uncertainty passengers experience. The project therefore evaluated reliability at the origin–destination level, where the same trip can vary because of demand, transfers, operations, and temporal conditions.

The study was organized around two linked tasks: first, construct a multi-metric reliability assessment; second, identify spatial and temporal patterns that explain where and when reliability deteriorates.

Analytical perspective

The project treats reliability as a distributional property, not a single mean value: dispersion, long-tail behavior, and deviation from free-flow conditions are all represented.

AFC records were transformed into a network-level reliability analysis pipeline.

Data cleaningExtract valid metro trips and construct OD-level travel-time samples.
Metric systemCompute CoV, TTI, BTI, and PTI to capture dispersion and long-tail behavior.
Consistency checkUse Spearman rank correlations to test whether the metrics identify similar reliability ordering.
Pattern miningIdentify low-reliability OD pairs and study external drivers using Isolation Forest, t-SNE, correlations, and regression.
Temporal & decision supportCompare periods and dates, then summarize findings in a manager-facing BI dashboard.

Four indicators describe different parts of the travel-time distribution.

MetricDefinition used in the projectMain interpretation
CoVCoefficient of variation of travel timeRelative dispersion
TTIMean travel time divided by free-flow travel time (15th percentile)Shift from low-end / free-flow travel time
BTIExtra time needed relative to the center of the distribution to arrive on time in most tripsLong-tail buffer
PTI95th-percentile travel time divided by 15th-percentile travel timeSpread between distribution tails

Spearman rank analysis showed that the four metrics were strongly consistent in how they ordered OD pairs: all reported pairwise correlations exceeded 0.80.

PairSpearman ρ
BTI – CoV0.8625
BTI – PTI0.9361
BTI – TTI0.8410
CoV – PTI0.9377
CoV – TTI0.9265
PTI – TTI0.9704
Original project figure
Distributions of four metro travel time reliability metrics
Figure 1. Distribution of the four reliability indicators across OD pairs. Original figure from the project report.
Original project figure
Chord diagrams showing OD reliability differences
Figure 2. OD-pair reliability chord diagrams. Variation in line intensity reflects substantial heterogeneity across the metro network.

Anomaly detection isolates the long tail of unreliable OD pairs.

After computing reliability values for all OD pairs, the project focused on the low-reliability tail. Isolation Forest was used to flag anomalous OD pairs, and t-SNE was used to visualize the resulting separation in a lower-dimensional space.

Original project figure
t-SNE visualization of anomalous metro OD pairs
Figure 3. t-SNE visualization of OD-pair anomalies. Red points denote the anomalous set identified for further investigation.

The study then examined whether unreliable OD pairs shared common attributes, including transfer involvement, passenger volume, central-city location, trip length / free-flow travel time, and station age.

External factors associated with reliability

External factorReported correlation with TTI
Free-flow travel time−0.8804
Passenger volume0.7130
Transfer involvement−0.2596
Central-city location0.3318
Origin station age0.1690
Destination station age0.2213

Free-flow travel time and passenger volume emerged as the strongest reported correlates and were used as predictors in the downstream regression model.

Regression performance

The reported test-set mean squared error was 0.00287, with R² = 0.7421.

Reliability also changes by time of day and across dates.

The daily operating period was divided into five intervals: early-morning off-peak, morning peak, daytime off-peak, evening peak, and night off-peak. OD travel counts were used as weights when computing period-level mean PTI.

Original project figure
Weighted PTI by time period
Figure 4. Weighted PTI by operating period.
Original project figure
Daily weighted TTI trend
Figure 5. Daily weighted TTI trend.

The result shows that the busiest periods are not automatically the least reliable: denser but more regular service and more stable passenger routines can reduce travel-time dispersion.

The analysis was translated into a management-oriented visualization interface.

To make the reliability analysis usable beyond a research report, the team built a visualization platform from an operator / manager perspective.

Original research artifact · management dashboard
Original Shanghai Metro reliability dashboard
Figure 6. Original project dashboard built on Baidu Sugar BI.
English reading guide

The dashboard is designed from a metro-operations management perspective. Its panels consolidate network-level reliability summaries, spatial views, temporal trends, and key performance indicators so that unreliable OD pairs and unstable operating periods can be inspected in one place. The Chinese interface labels are retained because this is the original implemented platform; the surrounding English text explains its purpose rather than altering the artifact itself.

I worked on OD-level data analysis, reliability-metric construction, and pattern mining.

My project work included analyzing Shanghai Metro AFC travel data, developing and validating the reliability indicators, and applying anomaly detection and regression methods to identify unreliable OD pairs and the factors associated with them.

Project basis: “数据驱动的地铁网络出行服务可靠性评估与规律挖掘,” Tongji University. English text and captions are editorially restructured from the original Chinese report; quantitative values and figures are preserved.

Next case studyScenario-Adaptive Cooperative Perception →Explore another projectIntelligent Train Driving Assistance →