A Queueing-Theoretic Framework for Vehicle Dispatching in Dynamic Car-Hailing

Peng Cheng, Jiabao Jin, Lei Chen, Xuemin Lin, Libin Zheng

Abstract

Modern car-hailing platforms face the challenge of matching drivers and riders in real-time to maximize platform-wide revenue. Traditional "nearest-neighbor" approaches often lead to regional supply-demand imbalances. This paper proposes a novel framework that models city regions as double-sided queues to predict future idle times and optimize dispatching decisions. By balancing immediate travel costs with predicted future availability, the system achieves a 3–10% revenue increase on real-world datasets while maintaining sub-second dispatching efficiency.

Introduction: The Challenge of Spatial Imbalance

In dynamic car-hailing environments like Uber or DiDi, the Maximum Revenue Vehicle Dispatching (MRVD) problem is computationally complex. Most existing systems prioritize minimizing pickup time by matching riders with the nearest available driver. While intuitive, this local optimization often ignores the long-term impact on driver distribution. A driver sent to a "cold" zone with low demand may remain idle for extended periods after drop-off, whereas "hot" zones may experience severe vehicle shortages. Solving this globally to maximize revenue is NP-hard, necessitating efficient heuristic frameworks for real-time application.

Methodology: A Two-Stage Dispatching Framework

The proposed framework addresses the MRVD problem through a combination of offline predictive modeling and online queueing-based optimization.

Overview of the two-stage dispatching framework, including offline demand prediction and online queueing-based dispatching.

1. Offline Prediction

The system utilizes DeepST, a Spatio-Temporal Convolutional Neural Network, to analyze historical data. It predicts future rider demand and driver "rejoin" rates—the frequency at which drivers complete trips and become available again—across different urban grid cells.

2. Online Dispatching and Queueing Analysis

The city is partitioned into regions, each modeled as a double-sided queue. Unlike traditional queues where only customers wait, this symmetric model accounts for both riders waiting for cars and drivers waiting for orders.

State transition diagram for a double-sided queue, where states represent the surplus or deficit of drivers relative to riders.

Using this model, the platform calculates the Expected Idle Time a driver will face at a rider's destination. The Idle Ratio Oriented Greedy (IRG) algorithm then assigns pairs by evaluating an "Idle Ratio," which balances the immediate travel cost against the predicted future utility of the driver's destination. A Local Search (LS) layer further refines these assignments by iteratively swapping pairs to escape local optima.

Key Insights

  • Revenue-Idle Time Equivalence: The authors mathematically demonstrate that maximizing total platform revenue is equivalent to minimizing the cumulative idle time of the driver fleet.
  • Prioritizing "Hot" Destinations: To maintain high fleet utilization, the system prioritizes trips ending in high-demand regions. This ensures drivers can transition to their next fare almost immediately.
  • Accounting for Rider Impatience: The framework incorporates "reneging" behavior, recognizing that riders will cancel requests if dispatching delays exceed a certain threshold.

Experimental Results

The framework was validated using the NYC Taxi Trip Dataset (yellow taxi records from 2013) and synthetic stress tests.

  • Revenue Gains: The IRG and LS algorithms outperformed state-of-the-art baselines like POLAR, increasing overall revenue by 3% to 10%.
  • Real-Time Performance: Batch dispatching decisions are computed in under 2 seconds, meeting the stringent latency requirements of production car-hailing environments.
  • Model Accuracy: The idle time estimation achieved a relative Root Mean Square Error (RMSE) of just 2.32% on real-world data, confirming the robustness of the queueing-theoretic approach.

Conclusion and Future Directions

By moving beyond simple spatial matching to a predictive, queueing-theoretic model, car-hailing platforms can significantly improve fleet efficiency and revenue. While the current model assumes stable arrival rates within short windows, future work may integrate real-time traffic dynamics and more complex driver behavior models, such as destination filtering, to further enhance dispatching precision.

Summary updated

BibTeX
@article{cheng2021queueing,
  author = {Peng Cheng and Jiabao Jin and Lei Chen and Xuemin Lin and Libin Zheng},
  title = {{A Queueing-Theoretic Framework for Vehicle Dispatching in Dynamic Car-Hailing}},
  journal = {Proc. VLDB Endow.},
  year = {2021},
  doi = {10.14778/3476249.3476271},
}
Figure