Learning to Design City-scale Transit Routes
Bibek Poudel, Weizi Li
TL;DR
This work tackles the Transit Route Network Design Problem (TRNDP) by introducing an end-to-end reinforcement learning framework that builds city-scale transit networks sequentially using graph attention networks. A two-level reward scheme provides intermediate feedback during route construction and terminal feedback from full traffic simulations, enabling effective credit assignment over long horizons. The approach is validated on a real Bloomington, IN dataset with 143 nodes, 243 edges, census-based origin-destination demand, and 16 existing routes, showing substantial improvements over human-designed networks and traditional heuristics under multiple initializations and modal-split scenarios, including a notable increase in service rate and reductions in wait times. The authors release the dataset and code, demonstrating the potential of data-driven transit design and outlining future work to generalize to more cities and time-varying demand patterns.
Abstract
Designing efficient transit route networks is an NP-hard problem with exponentially large solution spaces that traditionally relies on manual planning processes. We present an end-to-end reinforcement learning (RL) framework based on graph attention networks for sequential transit network construction. To address the long-horizon credit assignment challenge, we introduce a two-level reward structure combining incremental topological feedback with simulation-based terminal rewards. We evaluate our approach on a new real-world dataset from Bloomington, Indiana with topologically accurate road networks, census-derived demand, and existing transit routes. Our learned policies substantially outperform existing designs and traditional heuristics across two initialization schemes and two modal-split scenarios. Under high transit adoption with transit center initialization, our approach achieves 25.6% higher service rates, 30.9\% shorter wait times, and 21.0% better bus utilization compared to the real-world network. Under mixed-mode conditions with random initialization, it delivers 68.8% higher route efficiency than demand coverage heuristics and 5.9% lower travel times than shortest path construction. These results demonstrate that end-to-end RL can design transit networks that substantially outperform both human-designed systems and hand-crafted heuristics on realistic city-scale benchmarks.
