Deep Reinforcement Learning for Multi-Driver Vehicle Dispatching and Repositioning Problem

John Holler, Risto Vuorio, Zhiwei Qin, Xiaocheng Tang, Yan Jiao, Tiancheng Jin, Satinder Singh, Chenxi Wang, Jieping Ye

TL;DR

This paper introduces the Multi-Driver Vehicle Dispatching and Repositioning Problem (MDVDRP), a complex resource allocation challenge central to ride-sharing platforms. The authors propose a deep reinforcement learning (RL) framework using a novel neural network architecture that handles variable-sized observation and action spaces, demonstrating that learned policies significantly outperform traditional heuristics in both synthetic and real-world scenarios.

What Problem Does This Paper Address?

Ride-sharing giants like Didi or Uber face a constant two-pronged challenge: dispatching (matching available drivers to passengers) and repositioning (moving idle drivers to areas with anticipated high demand).

Traditional solutions often rely on hand-crafted heuristics that are "myopic"—they focus on immediate gains (like minimizing pickup distance) while ignoring long-term impacts on fleet distribution. While previous machine learning attempts have looked at these tasks in isolation or treated drivers as purely independent agents, this paper tackles the full, joint problem. It seeks to balance individual driver incentives with system-wide efficiency in a dynamic environment where supply and demand are constantly shifting.

Methods

The authors employ two primary RL algorithms: Deep Q-Networks (DQN) and Proximal Policy Optimization (PPO). Their core contribution is a specialized neural network architecture designed for the "set-based" nature of ride-sharing data.

  • Global Context Architecture: Since the number of drivers and orders changes every second, the model cannot use a standard fixed-size input. Instead, it uses a learned pooling mechanism. It embeds individual driver and order data into vectors, computes attention-like weights for them, and aggregates them into a "Global Context" vector.
  • Action Heads: This context is then used by two separate heads: MLPassign (which outputs values for matching a driver to specific nearby orders) and MLPrepo (which outputs values for repositioning moves, like heading North or staying put).
  • Reward Perspectives: They compare two training regimes:
  • Driver-Centric: Each driver aims to maximize their own individual revenue.
  • System-Centric: The agent aims to maximize the total revenue of the entire fleet.
The proposed network architecture uses learned pooling to create a global context from a variable number of drivers and orders.

Datasets

The researchers evaluated their approach across several environments:

  1. Illustrative Synthetic Domains: "Regional," "Hot-Cold," and "Distribute" domains designed to test specific behaviors like price exploitation and spatial balancing.
  2. Historical Orders Domain: A high-fidelity simulation based on the GAIA dataset, containing real GPS records for orders in Chengdu, China, over a 30-day period.
  3. Historical Statistics Domain: A Poisson-process-based simulation derived from the same real-world data to test scalability with over 1,000 drivers and 100,000 orders per day.

Key Insights and Ideas

  • The Credit Assignment Trap: Surprisingly, the authors found that system-centric rewards are often harder to train. In a fleet of thousands, it is difficult for the RL algorithm to figure out which specific driver's action led to a marginal increase in total fleet revenue.
  • Driver-Centric Stability: Training with driver-centric rewards proved more stable and often resulted in system-wide performance that was competitive with, or even superior to, system-centric approaches.
  • Temporal vs. Spatial Advantage: In the "Hot-Cold" domain, the model learned that taking a lower-priced, shorter trip to a "hot" area is often better than a high-priced long trip to a "cold" area, because the driver can complete more orders in the same timeframe.
  • Proactive Repositioning: Unlike simple heuristics, the RL agents learned to "redistribute" themselves back to high-demand areas during downtime, effectively anticipating where the next wave of passengers would appear.
Conceptual drawings of the synthetic domains used to test specific RL behaviors.

Key Results

  • Outperforming Baselines: In the "Regional" high-demand scenario, the RL approach outperformed the best heuristic baseline (MPDM-demand) by over 15%.
  • Real-World Success: On the Historical Orders domain (real Chengdu data), driver-centric DQN and PPO beat all baselines by more than 6%.
  • Efficiency: DQN was generally found to be more sample-efficient than PPO, requiring fewer episodes to reach peak performance in synthetic tests.
  • Scalability: The parallelized PPO implementation successfully handled the large-scale "Historical Statistics" domain, maintaining high performance even as the number of agents scaled to over a thousand.

Limitations and Future Work

  • Low-Demand Sensitivity: The authors noted that in low-demand scenarios, RL agents can sometimes "over-commit" to high-reward areas, leading to idle drivers and potentially worse performance than simple distance-minimizing heuristics.
  • Discount Factor Instability: In the system-centric setting with many drivers, the time between decision points becomes very small. This makes the effective discount factor approach 1.0, which can make training highly unstable.
  • Future Directions: The authors suggest exploring better multi-agent credit assignment techniques and further refining how the system handles the transition between high and low demand periods.

Summary updated

BibTeX
@inproceedings{holler2019deep,
  author = {John Holler and Risto Vuorio and Zhiwei Qin and Xiaocheng Tang and Yan Jiao and Tiancheng Jin and Satinder Singh and Chenxi Wang and Jieping Ye},
  title = {{Deep Reinforcement Learning for Multi-Driver Vehicle Dispatching and Repositioning Problem}},
  booktitle = {ICDM},
  year = {2019},
  doi = {10.1109/icdm.2019.00129},
}
Figure