Reinforcement Learning for Autonomous Mobility-on-Demand Systems

Daniele Gammelli, Kaidi Yang, J. Michael Harrison, Filipe Rodrigues, Francisco C. Pereira, Marco PavoneTrafikdage 2022

Abstract

Autonomous mobility-on-demand (AMoD) systems represent a rapidly developing mode of transportation wherein travel requests are dynamically handled by a coordinated fleet of robotic, self-driving vehicles. Given a graph representation of the transportation network - one where, for example, nodes represent areas of the city, and edges the connectivity between them - we argue that the AMoD control problem is naturally cast as a node-wise decision-making problem. In this paper, we propose a deep reinforcement learning framework to control the rebalancing of AMoD systems through graph neural networks. Crucially, we demonstrate that graph neural networks enable reinforcement learning agents to recover behavior policies that are significantly more transferable, generalizable, and scalable than policies learned through other approaches. Empirically, we show how the learned policies exhibit promising zero-shot transfer capabilities when faced with critical portability tasks such as inter-city generalization, service area expansion, and adaptation to potentially complex urban topologies.

Introduction

Autonomous Mobility-on-Demand (AMoD) systems—fleets of self-driving taxis—face a significant logistical challenge: spatial imbalance. During peak hours, demand often flows unidirectionally (e.g., from suburbs to city centers), leading to an accumulation of idle vehicles in low-demand areas while high-demand zones remain underserved. To maintain service levels, operators must "rebalance" the fleet by moving empty vehicles to anticipated demand hotspots.

Traditionally, this is addressed via mathematical optimization like Model Predictive Control (MPC). However, MPC often requires perfect future knowledge and suffers from poor scalability as city networks grow. Previous Reinforcement Learning (RL) approaches have struggled with the $O(N^2)$ complexity of deciding movements between all possible location pairs. This paper introduces a deep RL framework utilizing Graph Neural Networks (GNNs) to treat city layouts as graphs, creating a control policy that is efficient, scalable, and capable of "zero-shot" transfer to new environments.

Methodology

The proposed framework decouples the control problem into a three-step process:

  1. Passenger Matching: A linear program matches available vehicles to current requests to maximize immediate service.
  2. RL-Based Distribution: An Advantage Actor-Critic (A2C) agent, powered by a GNN, analyzes the city state (represented as a graph of neighborhoods). Instead of individual vehicle routing, it predicts the optimal target density of idle cars for each node.
  3. Rebalancing Execution: A secondary linear program calculates the most cost-effective vehicle movements to achieve the GNN’s desired distribution.
GNN-based framework for AMoD rebalancing.

The core innovation lies in the GNN's relational inductive bias. By using graph convolutions, the model learns local relational rules—such as shifting surplus vehicles to adjacent empty nodes—rather than memorizing specific map coordinates. This shifts the decision space from $O(N^2)$ edges to $O(N)$ nodes.

Experimental Setup

The model was evaluated using real-world data from two major urban centers:

  • Chengdu, China: A 10km x 10km area during the morning commute (7 a.m. – 10 a.m.).
  • New York City (Manhattan), USA: A 4km x 4km area during the morning commute (8 a.m. – 10 a.m.).
  • Synthetic Grids: To test scalability and zero-shot transfer, the researchers used grids ranging from 4x4 (16 nodes) to 20x20 (400 nodes).

Results and Discussion

The A2C-GNN approach demonstrates several key advantages over traditional and other neural baselines:

  • Near-Optimal Performance: The GNN policy performs within 1.6% to 2.2% of the "Oracle" MPC, which represents a theoretical upper bound with perfect future demand knowledge.
  • Computational Efficiency: Unlike traditional methods that scale super-linearly, the GNN's computation time scales linearly with the number of stations, making it viable for massive urban networks.
  • Zero-Shot Transferability: A policy trained on a simple 4x4 grid successfully controlled a 20x20 grid with minimal performance loss, proving the model's map-agnostic nature.
Scalability and performance of A2C-GNN compared to MPC baselines.

Furthermore, the agent learned proactive strategies. In Chengdu, while it served fewer total customers than some baselines, it achieved 14% higher profit by strategically positioning vehicles for high-value trips. Compared to CNN or MLP architectures, the GNN reduced rebalancing costs by 65% in Chengdu and 36% in NYC.

Conclusion

By framing AMoD rebalancing as a node-wise decision problem on a graph, this work provides a scalable and generalizable solution for fleet management. Future research will address the complexities of mixed fleets (human and autonomous), stochastic urban environments (weather, accidents), and more intricate human-robot interactions to further bridge the gap between simulation and real-world deployment.

Summary updated

BibTeX
@inproceedings{gammelli2022reinforcement,
  author = {Daniele Gammelli and Kaidi Yang and J. Michael Harrison and Filipe Rodrigues and Francisco C. Pereira and Marco Pavone},
  title = {{Reinforcement Learning for Autonomous Mobility-on-Demand Systems}},
  booktitle = {Trafikdage},
  year = {2022},
  doi = {10.54337/ojs.td.v29i1.7451},
}
Figure