Skip to main content
QUICK REVIEW

[Paper Review] Efficient Ridesharing Dispatch Using Multi-Agent Reinforcement Learning

Oscar Lima, Hansal Shah|arXiv (Cornell University)|Jun 18, 2020
Transportation and Mobility InnovationsEngineering29 references5 citations
TL;DR

This paper proposes a multi-agent reinforcement learning approach using QMIX for efficient ridesharing dispatch, enabling centralized training with decentralized execution to improve ride completion speed and generalization. It outperforms IDQN and greedy baselines in fixed and variable-sized grids, reducing average waiting times by up to 20.3% on larger maps.

ABSTRACT

With the advent of ride-sharing services, there is a huge increase in the number of people who rely on them for various needs. Most of the earlier approaches tackling this issue required handcrafted functions for estimating travel times and passenger waiting times. Traditional Reinforcement Learning (RL) based methods attempting to solve the ridesharing problem are unable to accurately model the complex environment in which taxis operate. Prior Multi-Agent Deep RL based methods based on Independent DQN (IDQN) learn decentralized value functions prone to instability due to the concurrent learning and exploring of multiple agents. Our proposed method based on QMIX is able to achieve centralized training with decentralized execution. We show that our model performs better than the IDQN baseline on a fixed grid size and is able to generalize well to smaller or larger grid sizes. Also, our algorithm is able to outperform IDQN baseline in the scenario where we have a variable number of passengers and cars in each episode. Code for our paper is publicly available at: https://github.com/UMich-ML-Group/RL-Ridesharing.

Motivation & Objective

  • To address the challenge of efficient ridesharing dispatch in dynamic urban environments with high-dimensional state and action spaces.
  • To overcome instability in decentralized multi-agent RL methods like Independent DQN (IDQN), which suffer from non-stationarity due to concurrent learning.
  • To enable generalization across different grid sizes and varying numbers of passengers and vehicles in each episode.
  • To improve passenger waiting times by incorporating a First-Come-First-Serve (FCFS) priority mechanism in dispatch decisions.
  • To demonstrate superior performance and scalability of QMIX-based training with decentralized execution in realistic ridesharing scenarios.

Proposed method

  • Uses QMIX, a multi-agent RL algorithm that enables centralized training with decentralized execution by learning a global value function that is a monotonic function of individual agent Q-values.
  • Employs a non-linear, monotonic combination of individual Q-values to estimate joint action-values, ensuring consistent policy optimization across agents.
  • Models the ridesharing environment as a grid-world with dynamic passenger requests and vehicle movements, using a First-Come-First-Serve (FCFS) priority rule to reduce passenger waiting time.
  • Trains agents using deep Q-networks with experience replay and target networks to stabilize learning, while maintaining independent action selection during inference.
  • Applies curriculum learning by training on a fixed 100×100 grid and evaluating generalization to smaller (10×10) and larger (500×500) grids.
  • Uses a simulation environment built with RLPyT to support training and evaluation of multiple algorithms under identical conditions.

Experimental results

Research questions

  • RQ1Can a QMIX-based multi-agent RL approach outperform Independent DQN (IDQN) in ridesharing dispatch under fixed grid and fixed agent counts?
  • RQ2Does the QMIX model generalize effectively to different grid sizes (smaller and larger) than the one it was trained on?
  • RQ3How does the model perform when the number of passengers and vehicles varies across episodes?
  • RQ4Can the integration of a First-Come-First-Serve (FCFS) priority mechanism reduce passenger waiting times in the dispatch policy?
  • RQ5How does the centralized training with decentralized execution in QMIX mitigate the non-stationarity issues present in IDQN-based approaches?

Key findings

  • On a 100×100 grid with fixed 10 passengers and 10 cars, QMIX reduced average waiting time to 195.66, outperforming IDQN (199.43), Greedy (201.85), and Random (209.03).
  • On a 500×500 grid with 25 passengers and 20 cars, QMIX achieved a waiting time of 12,812.79, outperforming the Greedy baseline (13,871.07) by 8.3%.
  • When generalizing from a 100×100 grid to a 10×10 grid with 7 passengers and 2 cars, QMIX was 9.2% better than Greedy and 2.3% better than generalized IDQN.
  • On a 500×500 grid with 25 passengers and 20 cars, QMIX outperformed Greedy by 20.3% and IDQN by 12.7% in terms of waiting time.
  • QMIX generalized to other grid sizes better than IDQN in nearly all configurations, with no case where it was more than 2.5% slower than IDQN.
  • The model maintained strong performance across variable agent counts, demonstrating robustness in dynamic ridesharing scenarios.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.