Table of Contents
Fetching ...

Bayesian Optimization for Dynamic Pricing and Learning

Anush Anand, Pranav Agrawal, Tejas Bodas

TL;DR

This paper tackles dynamic pricing under both infinite and finite inventory, addressing the challenge of unknown demand without restrictive parametric assumptions. It advances a Gaussian Process-based Bayesian Optimization framework, introducing BO-$Inf$, Lightweight$BO$-$Inf$, GP-$Fin$, and BO-$Fin$-Heuristic to efficiently learn and optimize pricing with guaranteed (sublinear) regret in the infinite-horizon case and practical planning in finite-horizon, finite-inventory settings. The approach demonstrates superior revenue performance and robustness compared to multiple RL baselines and CVP under various demand models, including mis-specifications and non-polynomial forms. The results underscore Bayesian Optimization as a data-efficient, flexible tool for revenue management in uncertain, real-world environments, with scalable variants and a clear path for theoretical refinements such as regret guarantees for the finite-inventory heuristic. The work highlights practical implications for online pricing with limited experimentation budgets and motivates future exploration of adaptive acquisition strategies and broader dynamic pricing applications.

Abstract

Dynamic pricing is the practice of adjusting the selling price of a product to maximize a firm's revenue by responding to market demand. The literature typically distinguishes between two settings: infinite inventory, where the firm has unlimited stock and time to sell, and finite inventory, where both inventory and selling horizon are limited. In both cases, the central challenge lies in the fact that the demand function -- how sales respond to price -- is unknown and must be learned from data. Traditional approaches often assume a specific parametric form for the demand function, enabling the use of reinforcement learning (RL) to identify near-optimal pricing strategies. However, such assumptions may not hold in real-world scenarios, limiting the applicability of these methods. In this work, we propose a Gaussian Process (GP) based nonparametric approach to dynamic pricing that avoids restrictive modeling assumptions. We treat the demand function as a black-box function of the price and develop pricing algorithms based on Bayesian Optimization (BO) -- a sample-efficient method for optimizing unknown functions. We present BO-based algorithms tailored for both infinite and finite inventory settings and provide regret guarantees for both regimes, thereby quantifying the learning efficiency of our methods. Through extensive experiments, we demonstrate that our BO-based methods outperform several state-of-the-art RL algorithms in terms of revenue, while requiring fewer assumptions and offering greater robustness. This highlights Bayesian Optimization as a powerful and practical tool for dynamic pricing in complex, uncertain environments.

Bayesian Optimization for Dynamic Pricing and Learning

TL;DR

This paper tackles dynamic pricing under both infinite and finite inventory, addressing the challenge of unknown demand without restrictive parametric assumptions. It advances a Gaussian Process-based Bayesian Optimization framework, introducing BO-, Lightweight-, GP-, and BO--Heuristic to efficiently learn and optimize pricing with guaranteed (sublinear) regret in the infinite-horizon case and practical planning in finite-horizon, finite-inventory settings. The approach demonstrates superior revenue performance and robustness compared to multiple RL baselines and CVP under various demand models, including mis-specifications and non-polynomial forms. The results underscore Bayesian Optimization as a data-efficient, flexible tool for revenue management in uncertain, real-world environments, with scalable variants and a clear path for theoretical refinements such as regret guarantees for the finite-inventory heuristic. The work highlights practical implications for online pricing with limited experimentation budgets and motivates future exploration of adaptive acquisition strategies and broader dynamic pricing applications.

Abstract

Dynamic pricing is the practice of adjusting the selling price of a product to maximize a firm's revenue by responding to market demand. The literature typically distinguishes between two settings: infinite inventory, where the firm has unlimited stock and time to sell, and finite inventory, where both inventory and selling horizon are limited. In both cases, the central challenge lies in the fact that the demand function -- how sales respond to price -- is unknown and must be learned from data. Traditional approaches often assume a specific parametric form for the demand function, enabling the use of reinforcement learning (RL) to identify near-optimal pricing strategies. However, such assumptions may not hold in real-world scenarios, limiting the applicability of these methods. In this work, we propose a Gaussian Process (GP) based nonparametric approach to dynamic pricing that avoids restrictive modeling assumptions. We treat the demand function as a black-box function of the price and develop pricing algorithms based on Bayesian Optimization (BO) -- a sample-efficient method for optimizing unknown functions. We present BO-based algorithms tailored for both infinite and finite inventory settings and provide regret guarantees for both regimes, thereby quantifying the learning efficiency of our methods. Through extensive experiments, we demonstrate that our BO-based methods outperform several state-of-the-art RL algorithms in terms of revenue, while requiring fewer assumptions and offering greater robustness. This highlights Bayesian Optimization as a powerful and practical tool for dynamic pricing in complex, uncertain environments.
Paper Structure (47 sections, 7 theorems, 104 equations, 33 figures, 4 tables, 4 algorithms)

This paper contains 47 sections, 7 theorems, 104 equations, 33 figures, 4 tables, 4 algorithms.

Key Result

Theorem 1

Suppose $\bar{R}(p)$ lies in the RKHS $\mathcal{H}_k$ associated with the squared exponential kernel. Set and where $C_0$ and $C_{subG}$ are suitable constants as defined in wang2023regretoptimalitygpucb, the cumulative regret of $BO$-$Inf$ after $T$ rounds satisfies $\mathcal{R}_T = \mathcal{O}(T^{1/2} \log^2 T).$

Figures (33)

  • Figure 1: Cumulative and best-till-now regret under polynomial demand of degrees 4 and 6 with low observational noise. Plots (a)–(b) correspond to degree 4, and plots (c)–(d) to degree 6. The legend is shared across all plots.
  • Figure 5: Average regret with shaded variance and Cumulative regret for Poisson distribution with h function as $e^x$ for CVP and our approach. The values are computed for 500 iterations and averaged over 1000 runs.
  • Figure 6: Best till now Regret and Cumulative regret for actual function as Normal with $h(x) = x^{0.25}$ and CVP assumes it as $h(x) = x^{0.75}$. The values are computed after 300 periods/iterations.
  • Figure 8: Convergence of policies to the optimal policy for Endogenous Learning, $GP$-$Fin$-Model-Based and $BO$-$Fin$-Heuristic along with when we don't consider the state with 1 inventory left
  • Figure 9: Performance of different algorithms under a possison demand distribution with $\sigma=30$.
  • ...and 28 more figures

Theorems & Definitions (15)

  • Theorem 1: Regret of $BO$-$Inf$
  • Remark 1.1
  • Lemma 1: Asymptotic Regret Comparison with CVP
  • Theorem 2: Regret of $GP$-$Fin$-Model-Based
  • Remark 2.1: Maintaining $\sigma_{\min}$
  • Remark 2.2: Effect of Model Misspecification
  • proof
  • Lemma 2
  • proof
  • Lemma 3
  • ...and 5 more