Data-Driven Metro Travel-Time Reliability Assessment
I processed more than eight million Shanghai Metro smart-card records to study how travel-time reliability varies across origin–destination pairs. Our team combined reliability measures with anomaly detection and regression, then brought the results together in an operations dashboard.

Where and when are metro journeys less predictable?
Passengers making the same journey can experience different travel times because of demand, transfers, and operating conditions. We studied this variation for individual origin–destination (OD) pairs.
We first compared several reliability measures, then examined the spatial and temporal patterns of less reliable trips.
The measures describe travel-time dispersion, longer journeys in the tail of the distribution, and differences from a low-travel-time baseline.
From smart-card records to OD-level reliability.
Four indicators describe different parts of the travel-time distribution.
| Metric | Definition used in the project | Main interpretation |
|---|---|---|
| CoV | Coefficient of variation of travel time | Relative dispersion |
| TTI | Mean travel time divided by free-flow travel time (15th percentile) | Shift from low-end / free-flow travel time |
| BTI | Extra time needed relative to the center of the distribution to arrive on time in most trips | Long-tail buffer |
| PTI | 95th-percentile travel time divided by 15th-percentile travel time | Spread 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.
| Pair | Spearman ρ |
|---|---|
| BTI – CoV | 0.8625 |
| BTI – PTI | 0.9361 |
| BTI – TTI | 0.8410 |
| CoV – PTI | 0.9377 |
| CoV – TTI | 0.9265 |
| PTI – TTI | 0.9704 |


Identifying OD pairs with low reliability.
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.

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 factor | Reported correlation with TTI |
|---|---|
| Free-flow travel time | −0.8804 |
| Passenger volume | 0.7130 |
| Transfer involvement | −0.2596 |
| Central-city location | 0.3318 |
| Origin station age | 0.1690 |
| Destination station age | 0.2213 |
Free-flow travel time and passenger volume had the strongest reported correlations with TTI. We used them as predictors in the regression model.
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.


In these data, the busiest periods were not always the least reliable. More regular service and passenger routines may help explain the pattern, although this comparison does not establish a causal relationship.
Bringing the results into an operations dashboard.
Our team built a dashboard so operators could inspect reliability across the network, compare operating periods, and locate OD pairs for further investigation.

The panels show network reliability summaries, spatial patterns, and daily trends. They bring the results into one view so users can investigate an OD pair or operating period. The original dashboard uses Chinese interface labels.
I worked on OD-level data processing, reliability indicators, and pattern mining.
I processed more than eight million Shanghai Metro AFC records; implemented and validated CoV, TTI, BTI, and PTI; and applied Isolation Forest and regression modeling to identify unreliable OD pairs and examine associated factors.
I also helped visualize OD-level travel-time reliability so the results could support transit-management decisions.
Source: “数据驱动的地铁网络出行服务可靠性评估与规律挖掘,” Tongji University, final project report.