Graph-Based Equilibrium Metrics for Dynamic Supply–Demand Systems With Applications to Ride-sourcing Platforms

Fan Zhou, Shikai Luo, Xiaohu Qie, Jieping Ye, Hongtu Zhu

Abstract

How to dynamically measure the local-to-global spatio-temporal coherence between demand and supply networks is a fundamental task for ride-sourcing platforms. Such coherence measurement is critically important for the quantification of market efficiency and the comparison of different platform policies. This paper introduces a graph-based equilibrium metric (GEM) to quantify the distance between demand and supply networks based on a weighted graph structure. Formulated as an unbalanced transport problem, GEM can be efficiently solved via linear programming. GEM achieves up to 70.6% reduction in RMSE for prediction accuracy and increases platform efficiency by over 1% when integrated into dispatching policies.

The Challenge of Spatial Equilibrium

In ride-sourcing ecosystems like DiDi or Uber, platform efficiency hinges on "spatial equilibrium"—ensuring drivers are positioned where passenger demand is highest. However, quantifying this equilibrium is complex. Traditional statistical distances, such as $L_2$ or Hellinger distance, treat geographic locations as independent "pixels." This approach ignores the physical reality that a driver in one grid can easily service a request in an adjacent one.

Furthermore, advanced "Optimal Transport" metrics like the Wasserstein distance typically require "balanced" mass, meaning the total number of drivers must equal the total number of orders. In practice, supply and demand are rarely equal. Forcing balance through normalization creates a "false balance" that obscures actual shortages or surpluses.

Limitations of traditional metrics: Case 1 shows the failure to account for movement between grids, and Case 2 illustrates how normalization distorts the actual supply-demand relationship.

The GEM Framework

To address these limitations, the researchers developed the Graph-Based Equilibrium Metric (GEM). GEM models the urban environment as a weighted graph where vertices represent hexagonal grids and edges represent road connections with associated travel costs.

An overview of the dynamic supply-demand system, incorporating platform policies, traffic, and weather conditions across discrete time steps (t1, t2, t3).

The core innovation lies in the use of Unbalanced Optimal Transport (UOT). Unlike standard transport models, GEM allows for unequal total masses. It identifies an optimal "transport plan" that moves supply to meet demand while minimizing a combination of movement costs and the remaining unmet demand (the $L_1$ imbalance).

Key technical features include:

  • Asymmetric Costs: By utilizing a directed graph, GEM accounts for one-way streets and varying traffic conditions where travel costs between two points are not identical.
  • Computational Efficiency: The authors reformulated GEM as a standard Linear Programming (LP) problem. By restricting transport to neighboring nodes, the variable dimension is reduced from $O(N^2)$ to $O(N)$, enabling real-time application.
  • Multi-level Resolution: GEM can be adjusted to provide fine-scale views for local dispatching or coarse-scale views for city-wide strategic planning.

Experimental Validation

The study utilized the "Supply-Demand Diagnostic Data Set" from the DiDi GAIA Open Data Initiative, covering a large Chinese city over a one-month period. The city was divided into 800 hexagonal regions, with minute-by-minute tracking of idle drivers and passenger demand.

The paper validates GEM across three critical operational tasks:

  1. Answer-Rate Prediction: Integrating GEM as a feature in regression models reduced the Root Mean Squared Error (RMSE) of answer-rate predictions by 70.6% compared to the next best metric.
  2. Order Dispatching: When GEM was used to shape the reward function in a Reinforcement Learning-based dispatching policy, it increased both driver revenue and the order answer rate by more than 1%. In high-volume platforms, a 1% gain represents a significant operational improvement.
  3. A/B Testing: GEM served as a sensitive endpoint for policy evaluation, successfully detecting improvements in system equilibrium that traditional metrics failed to capture.

Conclusion and Future Directions

GEM provides a physically intuitive "predator-prey" framework for supply and demand, preserving the relative scale of data that normalization typically destroys. While highly effective, future work aims to improve computational scaling for even larger networks using approximation algorithms like Sinkhorn iterations. Additionally, the researchers look to integrate temporal costs more deeply, accounting for how traffic evolves during the transport process itself.

Summary updated

Abstract

How to dynamically measure the local-to-global spatio-temporal coherence between demand and supply networks is a fundamental task for ride-sourcing platforms, such as DiDi. Such coherence measurement is critically important for the quantification of the market efficiency and the comparison of different platform policies, such as dispatching. The aim of this paper is to introduce a graph-based equilibrium metric (GEM) to quantify the distance between demand and supply networks based on a weighted graph structure. We formulate GEM as the optimal objective value of an unbalanced optimal transport problem, which can be formulated as an equivalent linear programming and efficiently solved. We examine how the GEM can help solve three operational tasks of ride-sourcing platforms. The first one is that GEM achieves up to 70.6% reduction in root-mean-square error over the second-best distance measurement for the prediction accuracy of order answer rate. The second one is that the use of GEM for designing order dispatching policy increases drivers’ revenue for more than 1%, representing a huge improvement in number. The third one is that GEM can serve as an endpoint for comparing different platform policies in AB test. Supplementary materials for this article, including a standardized description of the materials available for reproducing the work, are available as an online supplement.
BibTeX
@article{zhou2021graph,
  author = {Fan Zhou and Shikai Luo and Xiaohu Qie and Jieping Ye and Hongtu Zhu},
  title = {{Graph-Based Equilibrium Metrics for Dynamic Supply–Demand Systems With Applications to Ride-sourcing Platforms}},
  journal = {Journal of the American Statistical Association},
  year = {2021},
  doi = {10.1080/01621459.2021.1898409},
}
Figure