Learning to price vehicle service with unknown demand

Haoran Yu, Ermin Wei, Randall A. Berry

Abstract

In the sharing economy, ride-sharing platforms must set prices and manage vehicle supply across complex spatial networks without perfect knowledge of consumer price sensitivity. This paper proposes a "No-Regret Pricing and Supply" (NRPS) policy that learns unknown demand parameters over time. By strategically alternating between profit-maximizing exploitation and price-varying exploration, the policy is proven to achieve sublinear regret. A novel resistor network analogy is introduced to handle the spatial coupling of vehicle flows, providing a tractable solution for large-scale networks.

Introduction: The Challenge of Spatial Pricing

Pricing in ride-sharing is fundamentally different from selling static goods. Lowering a price on one route doesn't just attract more riders; it shifts the physical distribution of the fleet, creating a vehicle flow balance constraint. If a platform lowers the price for a trip from Point A to Point B, it must ensure sufficient vehicles are at A, while also accounting for the fact that these vehicles will later increase supply at B.

Most existing literature assumes a known demand function. In practice, demand is a "black box" influenced by unknown parameters and random shocks. A provider must learn these parameters by observing user responses to different prices—a classic exploration-exploitation tradeoff. This paper is the first to address this tradeoff while explicitly modeling the spatial coupling of vehicle flows.

Key notation and model parameters used to define the pricing and supply problem.

The No-Regret Pricing and Supply (NRPS) Policy

The authors propose the NRPS policy, which operates on a day-by-day cycle to balance learning with profit:

  1. Exploitation (Odd Days): The provider uses historical data to estimate demand parameters via least squares estimation. It then solves a convex optimization problem to set prices and supply that maximize expected payoff based on current estimates.
  2. Exploration (Even Days): To prevent the model from getting stuck at incorrect estimates (myopia), the provider adds a decaying offset to the optimal prices. This price dispersion is essential for gathering the statistical variety needed to refine demand models.

The Resistor Network Analogy

To analyze the theoretical performance of NRPS, the authors map the traffic network to an electrical resistor network. Locations are treated as nodes, and traffic links are resistors with resistance values derived from travel times and demand sensitivity.

The resistor network analogy allows for closed-form solutions of complex spatial coupling by treating traffic links as resistors.

By using the concept of "effective resistance," the authors derive closed-form solutions for the provider's decisions. This mathematical bridge allows them to prove that the time-average regret—the gap between the NRPS policy and an omniscient "clairvoyant" system—shrinks to zero at a rate of $O((\ln D)^{1/2} D^{-1/4})$.

Empirical Results

The policy was evaluated using real-world data from the DiDi Chuxing GAIA Open Data Initiative, specifically ride data from November 2016 in Chengdu, China. The researchers clustered the city into 25 locations and simulated evening peak hours.

Key findings include:

  • Convergence: While the NRPS policy takes an initial profit hit due to exploration costs, it eventually converges to near-perfect pricing, significantly outperforming myopic strategies that fail to learn the true demand.
  • Parameter Sensitivity: The control parameter $\eta$, which dictates the decay of exploration, is critical. A value of $\eta = 0.25$ was identified as the "sweet spot" for balancing learning speed against profit stability.

Conclusion and Future Work

The NRPS policy provides a robust framework for ride-sharing platforms to optimize pricing in uncertain environments. However, several avenues for future research remain. The current model assumes stationary demand and linear patterns, whereas real-world demand is often non-stationary and non-linear. Additionally, extending the model to account for competition between platforms and the independent decision-making of drivers would further enhance its practical applicability.

Summary updated

BibTeX
@inproceedings{yu2020learning,
  author = {Haoran Yu and Ermin Wei and Randall A. Berry},
  title = {{Learning to price vehicle service with unknown demand}},
  booktitle = {MobiHoc},
  year = {2020},
  doi = {10.1145/3397166.3409129},
}
Figure