Scalable Ride-Sourcing Vehicle Rebalancing with Service Accessibility Guarantee: A Constrained Mean-Field Reinforcement Learning Approach

Matej Jusup, Kenan Zhang, Zhiyuan Hu, Barna Pásztor, Andreas Krause, Francesco Corman

TL;DR

This paper tackles the complex problem of ride-sourcing vehicle rebalancing by proposing a novel approach that balances efficiency with equitable service access. They introduce a constrained mean-field reinforcement learning (MFRL) framework that scales to tens of thousands of vehicles and demonstrates strong performance and robustness, even under unexpected demand surges.

What Problem Does This Paper Address?

Ride-sourcing platforms like Uber and Lyft face a significant operational challenge: vehicle rebalancing. This involves strategically repositioning idle vehicles to areas where demand is expected to be high, ensuring drivers are available and riders don't wait too long. Inadequate rebalancing leads to inefficient vehicle use, longer wait times, and potentially unfair service distribution. Traditional approaches struggle with the sheer scale of these operations and the dynamic nature of urban demand. Furthermore, existing methods often prioritize maximizing profit or efficiency, neglecting the crucial aspect of service accessibility – ensuring that service quality is equitable across all geographic regions, not just high-demand areas. This paper aims to bridge this gap by developing a scalable and robust rebalancing strategy that guarantees a minimum level of service accessibility.

Methods

The core of this work lies in a constrained mean-field reinforcement learning (MFRL) approach. Here's a breakdown of the key techniques:

  • Mean-Field Control (MFC) and MFRL: Instead of modeling each individual vehicle's interactions (which quickly becomes computationally intractable with large fleets), MFRL models the behavior of a single "representative" vehicle interacting with the aggregate behavior of the entire fleet. This "mean-field" approximation drastically reduces complexity. MFC is used when the system dynamics are known, while MFRL is employed when these dynamics (specifically, the vehicle-rider matching process) need to be learned from data.
  • Continuous State and Action Space: Unlike some prior work that discretizes the city into zones, this approach handles vehicle positions in a continuous space, offering more precise control.
  • Accessibility Constraint: A novel contribution is the integration of a service accessibility constraint. This is formulated using the concept of "ɛ-smoothed weighted differential entropy" to measure the spatial spread of available vehicles. By imposing a lower bound on this entropy, the model ensures a minimum level of vehicle availability across the service region, promoting equity.
  • Optimal Transport for Matching: To approximate the complex vehicle-rider matching process, the authors leverage optimal transport theory. This provides a principled way to model how available vehicles are matched with demand, considering a matching radius.
  • Log-Barrier Method: To handle the accessibility constraint within the optimization framework, they employ a log-barrier method. This technique converts the hard constraint into a soft penalty in the objective function, allowing for more efficient optimization using standard RL techniques.

Datasets

The experiments were conducted using a large dataset of taxi trajectories collected over five weeks in Shenzhen, China. This dataset was provided by a local transportation authority. The authors also define four demand patterns for training and evaluation:

  • Historical demand (from the Shenzhen dataset)
  • Historical demand + Gaussian noise
  • Randomly permuted demand
  • Hypothetical demand shock

Key Insights and Ideas

  • Scalability is Key: The mean-field approximation is crucial for making ride-sourcing rebalancing feasible for fleets of tens of thousands of vehicles, a scale that traditional multi-agent approaches struggle with.
  • Equity Matters: Explicitly incorporating a service accessibility constraint is vital for ensuring fair service distribution, moving beyond purely profit-driven optimization. This constraint helps avoid situations where vehicles are overly concentrated in a few hotspots, leaving other areas underserved.
  • Robustness to Demand Fluctuations: The MFRL approach, particularly with the accessibility constraint, demonstrates remarkable robustness to unexpected demand shifts and surges, maintaining higher service rates than traditional methods.
  • Efficiency-Equity Trade-off: The study quantifies the trade-off between service accessibility and other performance metrics (like utilization rate and service fulfillment). It shows that significant accessibility can be achieved with only a modest drop in efficiency, suggesting a viable path for platforms to balance these competing goals.

Key Results

  • Computational Efficiency: MFC and MFRL policies generate rebalancing actions for 18,000 vehicles in under a second, vastly outperforming LP-based benchmarks that take over 10 minutes.
  • Performance: MFRL and MFC policies achieve higher service fulfillment and vehicle utilization compared to benchmarks, often dominating them across key metrics. MFRL generally shows a slight edge over MFC.
  • Accessibility Guarantee: The proposed policies effectively maintain service accessibility, even under stricter constraints, while other methods struggle.
  • Robustness: The models demonstrate strong robustness to demand shocks, maintaining significantly higher service rates (70-85%) compared to benchmarks (failing to serve over 40% of requests).
  • Initialization Sensitivity: MFRL policies, especially the more conservative ones, show higher robustness to variations in initial vehicle distribution compared to MFC.

Limitations and Future Work

  • Driver Compliance: The current model assumes perfect compliance from drivers with platform dispatches. Future work could explore modeling human driver behaviors and their potential deviations.
  • Time Discretization: The assumption that all trips complete within a single time interval is a simplification. Extending the model to handle multi-step flows would be beneficial.
  • Fleet Competition: The current framework focuses on a single platform. Future research could investigate how to model competition among multiple ride-sourcing fleets.
  • Local Constraints: The accessibility constraint is currently system-level. Introducing finer-grained, local constraints could lead to more context-aware rebalancing policies.
  • Hyperparameter Tuning: While the log-barrier hyperparameter $\lambda$ was fixed to 1 for simplicity, further investigation into its impact and optimal selection for business-critical applications is suggested.

Summary updated

BibTeX
@misc{jusup2025scalable,
  author = {Matej Jusup and Kenan Zhang and Zhiyuan Hu and Barna Pásztor and Andreas Krause and Francesco Corman},
  title = {{Scalable Ride-Sourcing Vehicle Rebalancing with Service Accessibility Guarantee: A Constrained Mean-Field Reinforcement Learning Approach}},
  year = {2025},
  eprint = {2503.24183},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.24183},
}
Figure