A Primal-Dual Learning Algorithm for Personalized Dynamic Pricing with an Inventory Constraint: The Primal-Dual Learning Algorithm Has Regret at Most C(log n)^(2+δ) n^(−1/2)Research Paper
Motivation
A firm selling a fixed stock of a perishable product over a finite season must set prices without knowing how demand responds to them. Online retail and travel platforms often see a customer's segment before quoting a price, so they can price-discriminate across consumer types. Learning a separate demand curve for each type, however, seems to cost more exploration as the number of types grows. Chen and Gallego (arXiv:1812.09234v3, 2021; Mathematics of Operations Research, 2022) give a learning algorithm whose regret does not depend on the number of types. Their key step is to learn a single scalar first: the shadow price of inventory.
Earlier work on the single-type problem frames the question. Besbes and Zeevi (Operations Research, 2009) defined the regret against the fluid benchmark and showed that no policy can achieve regret decaying faster than . Wang, Deng and Ye (Operations Research, 2014) gave a single-product algorithm whose regret matches this rate up to logarithmic factors. Chen and Gallego extend the rate to types with one inventory constraint.
Setting
There are consumer types, a season and an inventory . When the firm charges price to type , type- consumers arrive at rate . Prices range over , where is a choke price with . Assumption 1 asks that each be strictly decreasing, bounded and Lipschitz, and that the revenue rate be Lipschitz and twice differentiable, with .
The fluid problem (2) maximizes subject to . Its optimal value is . Its dual is one-dimensional. With
the dual optimum is , and the optimal fluid prices are the constants .
In the -th system demand and inventory scale together: type arrives as a Poisson process with rate , and the inventory is . The firm does not know . It knows , , , the constants of Assumption 1 and, by Assumption 2, intervals and that contain every and . A policy has expected revenue , and its regret is
Algorithm 1, the primal-dual learning algorithm, runs phases of shrinking lengths . In each learning phase it tests a price grid inside the current interval estimators of every . It then minimizes an empirical dual function on a grid of and re-centres the interval estimators of and . In the last phase it either charges a marked-up price (sufficient capacity), or tests two prices and interpolates between them so that total sales end close to (insufficient capacity). Its tuning depends on a constant .
Formalization targets
Goal: Theorem 1 (p. 17)
For every one can choose and a constant , independent of , such that
The two capacity regimes (Propositions 2–3)
Milestones
- Proposition 1: the fluid problem is solved by the constant prices , with complementary slackness; and the monotonicity, convexity and derivative of and .
- Lemmas 9 and 10: a Poisson tail bound decaying faster than any power, and .
- Lemmas 1 and 2: , and the learning phases take at most half the season.
- Lemmas 3–5: the interval estimators contain , and on the dual interval, except with probability .
- Lemmas 6–7: the sales at the start of the last phase are close to the fluid level.
- Lemma 8: when , .
Significance
Theorem 1 states that personalized pricing for types under a shared inventory constraint is learnable at the single-type rate , up to logarithms, with a constant independent of . Combined with the Besbes–Zeevi lower bound, the algorithm is rate-optimal. Learning the scalar shadow price , instead of the joint optimum of an -dimensional problem, is what avoids the curse of dimensionality.
The result is proved in the paper; no machine-checked version exists. A formalization would add to the platform a multi-type Poisson pricing model with stock-outs, the one-dimensional Lagrangian dual of the fluid revenue-management problem, an exactly specified multi-phase learning algorithm, and reusable Poisson deviation lemmas. Lemmas 1, 2, 9 and 10 and Proposition 1 can be proved independently of the probabilistic analysis.
Difficulty
The obvious argument estimates every directly and charges the estimate. With interval estimators of width this loses revenue of order per unit time when the inventory constraint binds (), because is then not the unconstrained maximizer of . The paper's (11) and (19) show the loss. The bound requires steering the total sales to within of the inventory, which is Lemma 8, and a second-order expansion of the revenue around that uses the first-order condition .
Formally, a further difficulty is the closed loop: the prices of a phase depend on the counts of earlier phases, and the counts are Poisson only conditionally, through the random time change .
Formalization scope
All declarations live in the namespace PrimalDualPricing.Regret. Printed page numbers equal PDF page numbers in the cited preprint.
- Model. Types are
Fin M. Each satisfies Assumption 1 on and is otherwise any extension with ; the last-phase prices and can leave . encodes the choke price. and are fields carrying their optimality properties. - Assumption 2 is read with ; the page prints , which would drop the case that Proposition 2 and Theorem 1 cover. The price interval is placed in the domain, .
- Remark 2 assumes ; this is read on , because globally it is unsatisfiable. Each is -Lipschitz.
- The fluid value is the supremum of (2) over measurable price paths. The identity is Proposition 1.4, a milestone, and is not built into the definition.
- The algorithm. The grid sizes , are rounded up. Grid spacing is for prices and for duals: the text and Table 1, respectively the text and line 15, agree on these, and Algorithm 1 line 7 and Table 1 print the other forms. Ties in (8)–(9) go to the smallest index. in (14) is projected onto , with when (14) is degenerate. An empty period in step 4 follows the pseudo-code. The decision rules never take , or as arguments.
- The system. independent unit-rate Poisson processes (the published
IsPoissonProcess) with right-continuous, jointly measurable paths. The inventory of the -th system is units, and nothing is sold after the stock-out. Lemmas 6–8 use the uncapped sales of the paper's modified system (§4). - Asymptotics. "" is read as , independent of and the phase index, for all . "Sufficiently small " is read as every . The algorithm needs for to exist.
- Corrected misprints. Proposition 1.2 prints with the index reused; the statement is . Proposition 1.3 and the global form of the bound in 1.1 fail at the kinks of . Part 1's derivative bound is stated as a Lipschitz bound, and part 3 is omitted. Lemmas 3–4 are stated in product form. Propositions 2–3 are stated through their regret conclusions. The printed comparison (pp. 13–14) can fail when a last-phase price exceeds , so it is not used.
A formalization that lets the policy read the true demand, measures regret against anything other than , ignores the stock-out in , or assumes the high-probability events of Lemma 5 would trivialize the goal; none of these is done here.
Contributions to the reusable parts are welcome: Poisson tails, the envelope theorem for , and the time-change construction of policy-driven Poisson sales.
Selected references
- N. Chen, G. Gallego, A Primal-dual Learning Algorithm for Personalized Dynamic Pricing with an Inventory Constraint, arXiv:1812.09234v3, 2021; Mathematics of Operations Research, 2022. https://arxiv.org/abs/1812.09234
- O. Besbes, A. Zeevi, Dynamic Pricing Without Knowing the Demand Function: Risk Bounds and Near-Optimal Algorithms, Operations Research 57(6), 2009. https://doi.org/10.1287/opre.1080.0640
- Z. Wang, S. Deng, Y. Ye, Close the Gaps: A Learning-While-Doing Algorithm for Single-Product Revenue Management Problems, Operations Research 62(2), 2014. https://doi.org/10.1287/opre.2013.1249
- G. Gallego, G. van Ryzin, A Multiproduct Dynamic Pricing Problem and Its Applications to Network Yield Management, Operations Research 45(1), 1997. https://doi.org/10.1287/opre.45.1.24