[Paper Review] Public Transit Labeling
This paper introduces Public Transit Labeling (PTL), a novel preprocessing technique that adapts Hub Labeling to time-expanded public transit networks, enabling sub-microsecond query times for earliest arrival, profile, and multicriteria journey planning. By exploiting transit-specific properties like event ordering and trip structure, PTL achieves up to 2,000x speedup over state-of-the-art methods like RAPTOR and CSA on large-scale urban and national networks.
We study the journey planning problem in public transit networks. Developing efficient preprocessing-based speedup techniques for this problem has been challenging: current approaches either require massive preprocessing effort or provide limited speedups. Leveraging recent advances in Hub Labeling, the fastest algorithm for road networks, we revisit the well-known time-expanded model for public transit. Exploiting domain-specific properties, we provide simple and efficient algorithms for the earliest arrival, profile, and multicriteria problems, with queries that are orders of magnitude faster than the state of the art.
Motivation & Objective
- To close the performance gap between road network and public transit route planning by enabling fast, preprocessing-based queries.
- To adapt Hub Labeling—proven effective in road networks—to the time-expanded model used in public transit.
- To support diverse query types including earliest arrival, profile, and multicriteria queries with minimal overhead.
- To maintain practical preprocessing time while achieving ultra-low query latency on large-scale transit networks.
- To enable efficient retrieval of full journey descriptions alongside optimized criteria (arrival time, transfers).
Proposed method
- Transform the public transit network into a time-expanded graph where vertices represent events (e.g., train departures/arrivals at specific times).
- Apply 2-hop hub labeling to the time-expanded graph, assigning forward and backward labels to each event to enable fast reachability and distance queries.
- Leverage transit-specific properties: events at a stop are naturally ordered by time, and connections are grouped into trips, enabling efficient label construction.
- Use pruning, hashing, and binary search in label computation to optimize query performance for earliest arrival and multicriteria queries.
- Represent profile queries using stop-level labels instead of event-level labels to reduce storage and improve efficiency.
- Integrate label intersection and dominance checks to compute Pareto-optimal journeys for multicriteria queries.
Experimental results
Research questions
- RQ1Can Hub Labeling be effectively adapted to the time-expanded model of public transit networks to achieve sub-microsecond query times?
- RQ2How do transit-specific structural properties (e.g., event ordering, trip-based connections) enable efficient label construction and pruning?
- RQ3To what extent can PTL outperform existing state-of-the-art algorithms like RAPTOR, CSA, and TP in query speed and preprocessing efficiency?
- RQ4Does PTL maintain efficiency on national-scale networks, where high journey frequency increases complexity?
- RQ5Can PTL efficiently support multiple query types, including multicriteria and full journey description retrieval, with minimal performance degradation?
Key findings
- PTL achieves sub-microsecond query times for earliest arrival queries on London (0.0266 ms) and Madrid (0.0643 ms), outperforming RAPTOR by up to 643x.
- For profile queries, PTL is 2,167x faster than RAPTOR on London and 233x faster than Transfer Patterns on Madrid.
- On multicriteria queries, PTL is 203x faster than RAPTOR and 48x faster than Transfer Patterns on Madrid, with significantly reduced preprocessing time.
- PTL’s query performance is faster on national networks (e.g., Sweden, Switzerland) than on metropolitan networks due to efficient label pruning and reduced label set size.
- Despite using more space than some competitors, PTL’s preprocessing is 1–2 orders of magnitude faster than Transfer Patterns and comparable to CSA and CH.
- The method supports full journey reconstruction with minimal overhead, enabling practical deployment in real-world journey planning systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.