Introduction
Ride-hailing platforms such as DiDi, Uber, and Lyft face the complex challenge of optimizing two deeply interconnected tasks: order dispatching (matching idle drivers to passengers) and vehicle repositioning (proactively moving drivers to high-demand areas). Traditionally, these problems have been treated as separate silos. However, a dispatch decision fundamentally alters the future spatial distribution of drivers, which in turn dictates the necessity and location of repositioning.
To address this, we present V1D3 (Value-based Dynamic learning framework), a unified reinforcement learning framework. V1D3 utilizes a single, globally shared value function to optimize both dispatching and repositioning simultaneously. By blending fast online adaptation with robust offline learning from historical data, V1D3 achieves state-of-the-art performance, outperforming the winners of the KDD Cup 2020 RL competition.
The V1D3 Framework Architecture
The core of V1D3 is a centralized value function $V_\theta$ that serves as a "shared memory" for both dispatching and repositioning tasks. Both tasks are modeled within a unified Semi-Markov Decision Process (SMDP) where dispatching is reactive and repositioning is proactive.
Key Methodological Components
- Population-Based Online Learning: Instead of training individual agents, the framework updates the global value function using the collective experience of the entire fleet, minimizing a population-mean squared Temporal Difference (TD) error in real-time.
- Regularized Offline Policy Evaluation (OPE): To leverage massive historical datasets, the system pre-trains a value function using OPE with Lipschitz regularization, ensuring smooth and robust value responses.
- Periodic Ensemble: The system employs change-point detection to identify shifts in demand patterns (e.g., the start of a morning peak). At these points, the online value function is "re-ensembled" with the offline model, balancing real-time adaptation with long-term historical knowledge.
- Stochastic Repositioning: To prevent "herding" behavior—where all idle drivers rush to the same high-value cell—V1D3 uses a probabilistic sampling method. Drivers move to destinations with a probability proportional to the discounted state value.
Synergy of Online and Offline Learning
A critical insight of V1D3 is the implicit coordination created by the shared value function. By updating $V_\theta$ after every dispatch round, the system creates a feedback loop: if many drivers are sent to one area, the value of that area decreases, naturally discouraging the repositioning algorithm from sending more drivers there.
Furthermore, the ensemble approach captures the best of both worlds: online learning handles "recency" (e.g., a sudden surge after a concert), while offline learning captures "global patterns" (e.g., predictable rush hour traffic). This synergy ensures the system remains both stable and adaptive.
Performance and Scalability
V1D3 was evaluated using real-world, anonymized datasets from DiDi Chuxing across three different cities. The framework demonstrated significant improvements in driver income (up to 8% in supply-constrained environments) and user experience metrics like Answer Rate and Completion Rate.
One of the most striking results is the framework's scalability. While competing methods like TLab saw performance drops of up to 15% as the managed fleet size increased to 2,000 vehicles, V1D3 maintained robust performance with less than 0.7% variation across a 20x increase in fleet size. This stability is largely attributed to the transition from greedy to stochastic repositioning strategies, which prevents the performance degradation typically seen in large-scale multi-agent systems.
Conclusion
V1D3 represents a significant step forward in unified optimization for ride-hailing platforms. By centering the architecture on a single value function and balancing online and offline learning, the framework achieves superior performance and unprecedented scalability. Future work will focus on incorporating platform-side operational costs and environmental metrics, such as reducing "deadheading" miles, as the system moves toward large-scale real-world deployment.
Summary updated