An Online Approach to Solving Public Transit Stationing and Dispatch Problem

Jose Paolo Talusan, Chaeeun Han, Ayan Mukhopadhyay, Aron Laszka, Daniel Freudberg, Abhishek Dubey

Abstract

Public bus transit systems provide critical transportation services for large sections of modern communities. On-time performance and maintaining the reliable quality of service is therefore very important. Unfortunately, disruptions caused by overcrowding, vehicular failures, and road accidents often lead to service performance degradation. Though transit agencies keep a limited number of vehicles in reserve and dispatch them to relieve the affected routes during disruptions, the procedure is often ad-hoc and has to rely on human experience and intuition to allocate resources (vehicles) to affected trips under uncertainty. In this paper, we describe a principled approach using non-myopic sequential decision procedures to solve the problem and decide (a) if it is advantageous to anticipate problems and proactively station transit buses near areas with high-likelihood of disruptions and (b) decide if and which vehicle to dispatch to a particular problem. Our approach was developed in partnership with the Metropolitan Transportation Authority for a mid-sized city in the USA and models the system as a semi-Markov decision problem (solved as a Monte-Carlo tree search procedure) and shows that it is possible to obtain an answer to these two coupled decision problems in a way that maximizes the overall reward (number of people served). We sample many possible futures from generative models, each is assigned to a tree and processed using root parallelization. We validate our approach using 3 years of data from our partner agency. Our experiments show that the proposed framework serves 2% more passengers while reducing deadhead miles by 40%.

Introduction

Public transit is the backbone of urban mobility, but it is notoriously fragile. A single engine failure, a sudden spike in ridership, or a traffic accident can cause a ripple effect of service degradation. To combat this, transit agencies maintain a small pool of substitute buses. The core challenge lies in the Stationing and Dispatch Problem (SDP): deciding not just when to dispatch a bus to an active disruption, but where to proactively park idle buses to minimize future response times.

Currently, human operators often rely on "greedy" logic—sending the nearest spare immediately to any delay. However, this myopic approach can leave a system vulnerable to more severe disruptions later in the day. This paper introduces an online, non-myopic decision framework that uses Monte-Carlo Tree Search (MCTS) to manage these reserves strategically.

System Architecture

The proposed framework models the transit network as a semi-Markov Decision Process (SMDP). Unlike standard MDPs, the time between states in an SMDP is a random variable, accounting for the unpredictable nature of city traffic and passenger behavior. The system integrates data on regular bus schedules, substitute bus availability, and various sources of uncertainty to inform the decision procedure.

Overview of the transit system decision procedure, illustrating the integration of bus fleets, uncertainty factors, and the reward function.

Methodology: MCTS and Generative Modeling

To solve the SDP in real-time, the system employs MCTS, an algorithm capable of exploring vast decision spaces by simulating potential futures. The architecture is divided into two main components: the Simulation environment and the Decision Agent.

  1. Generative Modeling: The simulation uses historical data to create "future chains" of events, including passenger arrivals and potential mechanical breakdowns. These models are trained on real-world data to ensure realistic stochasticity.
  2. Decision Agent: The agent evaluates three possible actions for every idle substitute bus: Station (move to a strategic staging area), Dispatch (send to cover a specific trip), or Do Nothing.
  3. Root Parallelization: By running multiple search trees in parallel—each exploring a different sampled future—the system identifies robust actions that perform well across a wide distribution of possible scenarios.

A key feature of this approach is "strategic patience"—the algorithm may choose not to dispatch a bus to a minor delay if it anticipates a higher-priority disruption is likely to occur soon, a nuance often missed by greedy algorithms.

The Simulation and Decision Agent architecture, detailing the interaction between generative models and the MCTS decision-making process.

Experimental Validation

The framework was evaluated using three years of data (2020–2022) from WeGo Public Transit in Nashville, USA. The dataset comprised:

  • 17 million APC records tracking passenger boardings and alightings.
  • 2.3 million incident reports from Waze and agency logs.
  • 6,500+ disruption logs regarding mechanical failures.
  • Road network data from OpenStreetMap for realistic travel time calculations.

Key Results

Compared to traditional greedy baselines, the MCTS-based framework demonstrated significant improvements in both service quality and operational efficiency:

  • Passenger Service: The system served 2% to 7% more passengers who would have otherwise been left at the curb due to overcrowding or vehicle failures.
  • Operational Efficiency: It achieved a 40% reduction in deadhead miles (miles driven by empty buses). This reduction translates to lower fuel costs, decreased vehicle wear, and lower carbon emissions.
  • Real-time Feasibility: Despite the computational complexity, the solver produces optimal decisions in under five minutes, fitting within the operational windows of transit dispatchers.

Conclusion and Future Work

This research demonstrates that a principled, non-myopic approach to bus dispatching can significantly enhance public transit reliability. By proactively stationing vehicles and accounting for future uncertainty, agencies can better serve their communities while reducing costs. Future research will focus on integrating dynamic route changes for regular buses and the development of intuitive interfaces for human-in-the-loop dispatching in high-stress control room environments.

Summary updated

Abstract

Public bus transit systems provide critical transportation services for large sections of modern communities. On-time performance and maintaining the reliable quality of service is therefore very important. Unfortunately, disruptions caused by overcrowding, vehicular failures, and road accidents often lead to service performance degradation. Though transit agencies keep a limited number of vehicles in reserve and dispatch them to relieve the affected routes during disruptions, the procedure is often ad-hoc and has to rely on human experience and intuition to allocate resources (vehicles) to affected trips under uncertainty. In this paper, we describe a principled approach using non-myopic sequential decision procedures to solve the problem and decide (a) if it is advantageous to anticipate problems and proactively station transit buses near areas with high-likelihood of disruptions and (b) decide if and which vehicle to dispatch to a particular problem. Our approach was developed in partnership with the Metropolitan Transportation Authority for a mid-sized city in the USA and models the system as a semi-Markov decision problem (solved as a Monte-Carlo tree search procedure) and shows that it is possible to obtain an answer to these two coupled decision problems in a way that maximizes the overall reward (number of people served). We sample many possible futures from generative models, each is assigned to a tree and processed using root parallelization. We validate our approach using 3 years of data from our partner agency. Our experiments show that the proposed framework serves 2% more passengers while reducing deadhead miles by 40%.
BibTeX
@inproceedings{talusan2024online,
  author = {Jose Paolo Talusan and Chaeeun Han and Ayan Mukhopadhyay and Aron Laszka and Daniel Freudberg and Abhishek Dubey},
  title = {{An Online Approach to Solving Public Transit Stationing and Dispatch Problem}},
  booktitle = {ICCPS},
  year = {2024},
  doi = {10.1109/iccps61052.2024.00021},
}
Figure