Introduction
Emergency Responder Management (ERM) is a critical component of urban infrastructure where decision-making directly impacts public safety. A central challenge in ERM is the "stationing problem": determining where emergency responders, such as ambulances, should wait between calls to minimize future response times. This task is inherently complex due to the stochastic nature of emergency incidents and the dynamic environment of a city.
Traditional approaches to this problem often rely on Monte Carlo Tree Search (MCTS). While MCTS provides high accuracy, it is computationally expensive, often requiring several minutes to generate a single stationing decision. In a field where every second counts, this latency is a significant bottleneck. This paper proposes a hierarchical multi-agent reinforcement learning (MARL) framework that replaces slow online searches with efficient neural network inference, achieving a 1,000x speedup while maintaining or improving response time performance.
The Complexity of Emergency Stationing
The scale of the stationing problem is immense. In a city like Nashville, TN, the number of possible ways to allocate responders across various depots at any given moment is approximately $10^{33}$. Current state-of-the-art methods using MCTS take between 2 to 4 minutes to process a single decision. This delay prevents the system from reacting in real-time to new incidents or changing traffic conditions. The authors' goal is to reduce this decision-making time to sub-second levels without sacrificing the quality of the stationing strategy.
Hierarchical Reinforcement Learning Framework
To manage the combinatorial explosion of the state space, the authors employ a hierarchical reinforcement learning approach, dividing the city into manageable sectors:
- High-Level Planner (HLP): This agent oversees the entire city. It analyzes predicted incident rates across broad regions and decides the optimal distribution of responders to each region.
- Low-Level Planners (LLP): Each region is assigned its own LLP. These agents take the number of responders allocated by the HLP and determine the specific depots where each responder should be stationed.
Technical Innovations
The framework incorporates several advanced techniques to ensure stability and efficiency:
- Deep Deterministic Policy Gradient (DDPG): Both the HLP and LLPs utilize DDPG, an actor-critic algorithm designed for continuous action spaces, which is well-suited for the complex coordination required in ERM.
- Transformer-XL for Variable States: A common limitation in MARL is the need for fixed-size inputs. However, the number of responders in a specific region fluctuates constantly. By using Transformer-XL layers, the LLPs can process a variable sequence of agent features, allowing for seamless coordination regardless of how many responders are present.
- Combinatorial Discretization: Neural networks typically output continuous values, but responder assignment is a discrete problem (one cannot send a fraction of an ambulance to a depot). The authors bridge this gap using Maximum Weight Matching for the LLPs and Minimum-Cost Flow for the HLP to map continuous policy outputs to valid discrete assignments.
- Critic-Based Reward Estimation: Training a high-level agent on raw response times can be difficult due to high variance and noise. Instead, the HLP is trained using the "Critic" networks of the LLPs to estimate rewards, providing a more stable and informative signal for global optimization.
Experimental Setup and Datasets
The framework was evaluated using real-world data from two major U.S. cities:
- Nashville, TN: The dataset included 36 depots, 9 hospitals, 26 responders, and 60 "incident chains" (11-day sequences of historical calls).
- Seattle, WA: This dataset utilized publicly available data featuring 34 depots and 14 general hospitals.
Travel times in both simulations were modeled using the Open Source Routing Machine (OSRM), accounting for dynamic changes based on the time of day and day of the week.
Key Results
Computational Efficiency
The most striking result is the improvement in decision-making speed. The RL-based approach requires approximately 0.22 seconds per decision, a three-order-of-magnitude improvement over the 180 seconds required by the MCTS baseline. This allows for near-instantaneous redeployment as soon as a responder becomes available.
Response Time Performance
Despite the massive increase in speed, the RL approach does not sacrifice quality. In simulations, the framework reduced average response times by 5 to 13 seconds compared to the state-of-the-art MCTS.
Robustness and Architecture
Ablation studies highlighted the importance of the Transformer-based architecture (TrXL), which outperformed simpler LSTM models by roughly 18 seconds per call. Furthermore, the system demonstrated high robustness, maintaining stable performance even when 20% noise was introduced into incident and travel time predictions.
Conclusion and Future Work
This research demonstrates that hierarchical MARL can effectively solve high-stakes combinatorial problems in real-time. By shifting the computational burden from online search to offline training, the authors provide a viable path for deploying sophisticated AI in emergency services.
Future work will focus on addressing current limitations, such as the intensive training time (up to 14 days for complex regions) and the assumption of single-capacity depots. Additionally, the authors aim to integrate this stationing framework with real-time dispatching—the process of deciding which specific unit to send to a call—to create a fully unified, end-to-end emergency response system.
Summary updated