Logarithmic Regret in Feature-based Dynamic Pricing

Jianyu Xu, Yu-Xiang Wang

Abstract

This paper investigates the problem of feature-based dynamic pricing with binary "buy/no-buy" feedback. We introduce two novel algorithms, EMLP and ONSP, which achieve the optimal $O(d \log T)$ regret in stochastic and adversarial environments, respectively. A key theoretical contribution is the proof that achieving logarithmic regret necessitates prior knowledge of the customer demand curve's exact shape. Our results demonstrate an exponential improvement over previous adversarial bounds and establish fundamental limits on regret when noise parameters are unknown.

Introduction

In modern e-commerce, retailers often face the challenge of pricing unique, highly differentiated products—such as used cars or boutique fashion—where historical sales data for identical items is unavailable. Instead, pricing must be determined based on product features. This "feature-based dynamic pricing" requires learning the relationship between features and customer valuations from limited feedback: whether a customer purchased the item at a given price.

Problem Formulation

In each round $t$, a product with features $x_t \in \mathbb{R}^d$ is presented. The customer's valuation $w_t$ is modeled as a linear combination of features plus random noise: $$w_t = x_t^\top \theta^* + \text{Noise}$$ where $\theta^*$ is the unknown true parameter. The seller sets a price $v_t$ and receives binary censored feedback: $y_t = 1$ if $v_t \le w_t$ (sale), and $y_t = 0$ otherwise. The objective is to minimize cumulative regret—the difference between the revenue of an optimal pricing strategy knowing $\theta^*$ and the revenue achieved by the algorithm over $T$ rounds.

Methods

The authors propose two distinct approaches based on the nature of feature arrivals:

  1. EMLP (Epoch-based Max-Likelihood Pricing): Designed for i.i.d. (stochastic) features. EMLP operates in doubling epochs, using Maximum Likelihood Estimation (MLE) on historical binary data at the end of each epoch to update its estimate of $\theta^*$.
  2. ONSP (Online-Newton-Step Pricing): Designed for adversarial features. ONSP updates its estimate every round using the Online Newton Step (ONS) algorithm, treating the negative log-likelihood of the binary feedback as a surrogate loss function.

The success of these algorithms hinges on the discovery that the expected log-likelihood for censored feedback is "exponentially concave," enabling the application of fast-converging online convex optimization techniques.

Results and Comparison

The proposed algorithms significantly advance the state-of-the-art in dynamic pricing. As shown in the comparison table below, EMLP and ONSP achieve $O(\log T)$ regret, whereas previous methods for adversarial features were limited to $O(T^{2/3})$.

Comparison of EMLP and ONSP with existing literature on feature-based dynamic pricing.

Key findings include:

  • Optimal Regret: Both algorithms achieve $O(d \log T)$ regret, which is theoretically optimal.
  • Adversarial Robustness: ONSP provides an exponential improvement over the $O(T^{2/3})$ regret of prior adversarial models.
  • Lower Bounds: The authors prove an $\Omega(\sqrt{T})$ lower bound when the noise distribution (e.g., Gaussian variance) is unknown, highlighting the "price of uncertainty" regarding the demand curve.

Key Insights

  • The Value of Knowing the Demand Curve: Logarithmic regret is only possible if the exact distribution of the noise is known. If the variance of a Gaussian noise distribution is unknown, the regret bound degrades significantly to $\Omega(\sqrt{T})$.
  • Noise as Exploration: Counterintuitively, larger noise variance can lead to better performance. In this setting, noise acts as natural exploration, helping the algorithm learn $\theta^*$ without needing to deviate as much from the estimated optimal price.
  • Affine Invariance: EMLP's performance is independent of the feature distribution's condition number, making it robust to highly correlated real-world data.

Conclusion

This work establishes that $O(d \log T)$ regret is achievable in feature-based dynamic pricing across both stochastic and adversarial settings, provided the noise distribution is known. Future research may address the "vanishing noise" regime and explore fully agnostic settings where the noise distribution is entirely unknown or the linear model is misspecified.

Summary updated

BibTeX
@inproceedings{xu2021logarithmic,
  author = {Jianyu Xu and Yu-Xiang Wang},
  title = {{Logarithmic Regret in Feature-based Dynamic Pricing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=ii5mGEbRo93},
}
Figure