Skip to main content
QUICK REVIEW

[Paper Review] Reinforcement Learning in the Wild: Scalable RL Dispatching Algorithm Deployed in Ridehailing Marketplace

Soheil Sadeghi Eshkevari, Xiaocheng Tang|arXiv (Cornell University)|Feb 10, 2022
Transportation and Mobility InnovationsEngineering5 citations
TL;DR

This paper proposes a scalable, real-time reinforcement learning (RL) dispatching algorithm for ridehailing platforms that uses temporal difference (TD) value updates and adaptive mechanisms to optimize driver-order assignments. The method improves driver income by 1.3% in A/B tests and shows up to 5.3% performance gain in causal analysis, demonstrating robust, large-scale deployment in real-world markets.

ABSTRACT

In this study, a real-time dispatching algorithm based on reinforcement learning is proposed and for the first time, is deployed in large scale. Current dispatching methods in ridehailing platforms are dominantly based on myopic or rule-based non-myopic approaches. Reinforcement learning enables dispatching policies that are informed of historical data and able to employ the learned information to optimize returns of expected future trajectories. Previous studies in this field yielded promising results, yet have left room for further improvements in terms of performance gain, self-dependency, transferability, and scalable deployment mechanisms. The present study proposes a standalone RL-based dispatching solution that is equipped with multiple mechanisms to ensure robust and efficient on-policy learning and inference while being adaptable for full-scale deployment. A new form of value updating based on temporal difference is proposed that is more adapted to the inherent uncertainty of the problem. For the driver-order assignment, a customized utility function is proposed that when tuned based on the statistics of the market, results in remarkable performance improvement and interpretability. In addition, for reducing the risk of cancellation after drivers' assignment, an adaptive graph pruning strategy based on the multi-arm bandit problem is introduced. The method is evaluated using offline simulation with real data and yields notable performance improvement. In addition, the algorithm is deployed online in multiple cities under DiDi's operation for A/B testing and is launched in one of the major international markets as the primary mode of dispatch. The deployed algorithm shows over 1.3% improvement in total driver income from A/B testing. In addition, by causal inference analysis, as much as 5.3% improvement in major performance metrics is detected after full-scale deployment.

Motivation & Objective

  • To develop a scalable, real-time reinforcement learning (RL) dispatching system for ridehailing platforms that operates without offline pre-training.
  • To address the limitations of myopic and rule-based dispatching by incorporating long-term value estimation and historical data through online TD learning.
  • To improve driver income and service completion rates by designing a customized utility function and adaptive graph pruning for cancellation risk reduction.
  • To ensure robust and efficient on-policy learning and inference through novel mechanisms like adaptive learning rates and reward smoothing.
  • To validate the algorithm’s effectiveness through offline simulation, A/B testing, and full-scale deployment in a major international market.

Proposed method

  • Employs online temporal difference (TD) learning to update state values in real time, replacing expected returns with deterministic TD updates that account for trip completion fate.
  • Introduces an adaptive learning rate that scales updates based on state visitation frequency and update magnitude, reducing variance in value estimation.
  • Applies a reward smoothing mechanism to mitigate high variance in immediate RL signals, improving training stability.
  • Designs a customized utility function that standardizes and dynamically weights independent components (e.g., distance, price) for bipartite matching in driver-order assignment.
  • Implements a feedback-controlled multi-arm bandit strategy to set dynamic graph pruning thresholds, reducing post-assignment cancellations by adjusting assignment aggressiveness based on global performance metrics.
  • Integrates a two-stage dispatching pipeline: maximum bipartite matching using the utility function, followed by TD-based value updating with a feedback loop to regulate assignment failure rates.

Experimental results

Research questions

  • RQ1Can a real-time, online RL-based dispatching system outperform traditional rule-based and myopic methods in large-scale ridehailing operations?
  • RQ2How can temporal difference learning be adapted to handle the uncertainty of trip completion and delayed rewards in real-world dispatching?
  • RQ3To what extent can a customized utility function and adaptive pruning improve driver income and completion rates compared to static edge weights?
  • RQ4What is the causal impact of deploying an RL-based dispatching system on key performance metrics in real-world markets?
  • RQ5How does the performance of the RL system scale across cities of varying demand density and urban structure?

Key findings

  • The deployed RL-based dispatching algorithm achieved a 1.3% improvement in total driver income in A/B testing across multiple large cities.
  • Causal inference analysis using synthetic control and difference-in-differences methods revealed a 5.3% improvement in major performance metrics after full-scale deployment in a major international market.
  • Offline simulation demonstrated that the proposed RLW algorithm outperformed state-of-the-art baselines in the majority of tested cities.
  • The algorithm showed marginal or slightly negative improvements in smaller cities, attributed to demand sparsity and less stable signal-to-noise ratios.
  • The feedback-controlled multi-arm bandit mechanism effectively reduced post-assignment cancellations by dynamically adjusting graph pruning thresholds based on real-time performance.
  • The integration of adaptive learning rates and reward smoothing significantly improved training stability and value function convergence in high-uncertainty environments.

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.