DeepPool: Distributed Model-free Algorithm for Ride-sharing using Deep Reinforcement Learning

Abubakr O. Al-Abbasi, Arnob Ghosh, Vaneet Aggarwal · DOI

Abstract

The success of modern ride-sharing platforms crucially depends on the profit of the ride-sharing fleet operating companies, and how efficiently the resources are managed. Further, ride-sharing allows sharing costs and, hence, reduces the congestion and emission by making better use of vehicle capacities. In this work, we develop a distributed model-free, DeepPool, that uses deep Q-network (DQN) techniques to learn optimal dispatch policies by interacting with the environment. Further, DeepPool efficiently incorporates travel demand statistics and deep learning models to manage dispatching vehicles for improved ride sharing services. Using real-world dataset of taxi trip records in New York City, DeepPool performs better than other strategies, proposed in the literature, that do not consider ride sharing or do not dispatch the vehicles to regions where the future demand is anticipated. Finally, DeepPool can adapt rapidly to dynamic environments since it is implemented in a distributed manner in which each vehicle solves its own DQN individually without coordination.

The Ride-Sharing Coordination Challenge

Modern ride-sharing platforms face a massive coordination challenge: matching thousands of drivers with fluctuating passenger demand in real-time. This problem becomes exponentially harder when "pooling" is introduced, where multiple passengers with different origins and destinations share a single vehicle.

Traditional solutions often rely on model-based approaches that require pre-defined mathematical models for demand evolution and travel times. These models struggle to scale in dynamic urban environments with massive state spaces and high uncertainty. Furthermore, centralized controllers often suffer from high computational latency, making them less effective for instantaneous decision-making in the field.

Figure 1: Illustration of the ride-sharing and pooling problem, where vehicles must navigate complex routes to serve multiple riders simultaneously.

The DeepPool Framework

The authors propose DeepPool, a framework where each vehicle acts as an independent agent solving its own Deep Q-Network (DQN) problem. This distributed approach allows the system to be both model-free (learning rules through experience) and highly scalable.

System Architecture

As shown in the architecture diagram below, the system integrates several components to inform the agent's decisions:

  • Distributed DQN: Each vehicle observes the environment and chooses actions to maximize its own long-term reward, avoiding the bottleneck of a single central controller.
  • State Representation: The "state" includes the current status of all vehicles, predicted future demand (via a CNN), and predicted future supply (available vehicles in various zones).
  • Reward Function: The reward balances four conflicting goals: minimizing demand-supply mismatch, reducing customer wait times, minimizing detour overhead for pooling, and reducing the total number of active vehicles to mitigate congestion.
Figure 3: The DeepPool system architecture, featuring the interaction between the DQN Agent, the Control Unit, and various prediction models.

Real-World Evaluation

The study utilizes a massive real-world dataset of approximately 15 million NYC Taxi Trip Records from Manhattan. Road network data was sourced from OpenStreetMap to construct a realistic region graph partitioned into a 212 × 219 grid. Data from June 2017 was used for training, while the first week of July 2017 served as the evaluation period.

Key Results

  • Anticipatory Dispatch: Unlike simple greedy algorithms, DeepPool learns to dispatch empty or partially full cars to regions where demand is anticipated to be high, significantly improving efficiency.
  • Fleet Reduction: Empirical results showed that DeepPool could reduce the number of operating vehicles by at least 500 cars while maintaining the same request acceptance rate and passenger wait times as state-of-the-art centralized algorithms.
  • Efficiency Gains: The algorithm consistently achieved lower average wait times and idle times compared to baselines, particularly in high-demand scenarios.
  • Stable Convergence: The DQN loss stabilized over 10,000 training epochs, proving that distributed agents can effectively learn stable policies despite the "moving target" problem inherent in multi-agent reinforcement learning.

Limitations and Future Work

While DeepPool demonstrates significant improvements, the authors identify several areas for future research. Currently, the model assumes a single fleet operator; future work should explore how competing services (e.g., Uber and Lyft) would interact. Additionally, the researchers suggest investigating "multi-hop" scenarios where passengers might transfer between vehicles and exploring incentive designs to encourage users to accept the extra travel overhead associated with pooling. Finally, adding a light layer of coordination between nearby vehicles could help prevent "herding," where too many cars rush to the same high-demand zone.

Summary updated

BibTeX
@article{alabbasi2019deeppool,
  author = {Abubakr O. Al-Abbasi and Arnob Ghosh and Vaneet Aggarwal},
  title = {{DeepPool: Distributed Model-free Algorithm for Ride-sharing using Deep Reinforcement Learning}},
  journal = {IEEE Trans. Intell. Transp. Syst.},
  year = {2019},
  doi = {10.1109/tits.2019.2931830},
}
Figure