Distribution-Free Contextual Dynamic Pricing 1: The DIP Policy Has Expected Regret at Most C T^(2/3) log T Plus 4 p_max L Times the Episode-Weighted ℓ₁ Estimation ErrorsResearch Paper
Motivation
In contextual dynamic pricing a seller posts a price for each arriving customer, observes only whether the customer buys, and must learn the demand from these binary responses while selling. The problem arises in e-commerce, insurance and consumer lending, where every customer comes with features (product attributes, customer characteristics) that shift the willingness to pay. Most regret analyses assume either that the noise distribution of the valuation is known up to a parameter, or that it belongs to a parametric family. Luo, Sun and Liu (arXiv:2109.07340, Mathematics of Operations Research, 2024) drop that assumption: the valuation is linear in the features plus a noise with an unknown distribution, and they give a policy, DIP, whose regret is bounded without parametric knowledge of the noise.
This mission formalizes the paper's main upper bound, Theorem 1, together with the chain of lemmas and propositions of its proof. The source is the arXiv v2 preprint (6 March 2023); all proofs are in its Appendix A.
Setting
At each period a customer arrives with a covariate , where on . The customer's valuation is , with an unknown parameter , for a known , and market noises drawn i.i.d. from an unknown CDF . The seller posts a price and observes ; the revenue is . The expected revenue of price at linear value is
The clairvoyant price maximizes over and is assumed to lie in . The regret of period is , and .
Two assumptions are made on . Assumption 1: is -Lipschitz. Assumption 2: there is a constant with for all , and .
The DIP policy (Algorithm 4) splits time into episodes of lengths and , , for . In episode it takes an estimate computed from episode (Inner Algorithm A), cuts into equal pieces with midpoints , and runs a UCB rule (Inner Algorithm B) over the candidate prices . The UCB step is analysed as a perturbed linear bandit (PLB): rewards whose parameters satisfy . The algorithm M-LinUCB (Algorithm 5) is optimistic linear UCB with forced exploration of new coordinates.
Formalization targets
Goal: Theorem 1 with the pinned
For every model satisfying the standing assumptions and Assumptions 1–2, every DIP configuration with and , there is such that every run of DIP satisfies, for all ,
where is the number of episodes. The printed statement reads ; the single logarithm is what the proof gives.
Milestones
In the order of the proof: Lemma 1 (the pricing problem of one episode is a PLB with perturbation ); Lemma 2 (M-LinUCB on that PLB is Inner Algorithm B); Lemmas S1–S5 (weighted averages, the elliptical potential lemma, the shadow parameter, the self-normalized bound, a confidence ellipsoid); Lemma 3 (M-LinUCB on a PLB has regret with high probability); Proposition 4 (the discrete-part regret of one episode); Lemma S6 (the confidence term in form); Proposition 3 (the total regret of one episode, ). Lemmas S2 and S4 are already proved on the platform and are referenced.
Significance
The bound separates the cost of learning the unknown noise distribution, up to a logarithm, from the cost of estimating , which enters only through the estimation errors. Any estimator with a known error rate therefore gives an explicit regret rate for DIP: if with , the regret is (p. 19). The rate of the paper's logistic-regression estimator on adaptively collected data is not established; the authors study it by simulation. Lemma 3 is a regret bound for linear bandits with bounded parameter drift that is linear in the drift and otherwise, which the authors note is of independent interest.
The results are proved in the paper, not formalized. The two textbook lemmas the paper quotes, the elliptical potential lemma (S2) and the self-normalized bound (S4), are already proved on the platform; the paper's own results (Lemma 3, the PLB reduction, the episode analysis and Theorem 1) have no machine-checked proof. Faithfulness checks during drafting found printed slips that the formal statements correct and disclose: the unsquared norm in Lemma S2, the finite UCB of an unpulled arm in display (2), and a missing nonemptiness condition for the candidate price sets.
Difficulty
The obvious argument treats each episode as a linear bandit around the central parameter and invokes the standard optimistic regret bound. That fails because the parameter moves with the covariate through the estimation error ; the ridge estimate then tracks no fixed vector, and a general misspecified-bandit bound pays an extra factor in the drift term (Remark 5, p. 21), which destroys the rate once grows with the horizon. A second difficulty is bookkeeping: the per-episode bound must hold uniformly over the random estimate , over the growing discretization , and over the truncated last episode, before the episodes are summed.
Formalization scope
Periods are 1-based; arm indices are Fin d, 0-based. Norms are written out: , coordinatewise. The probability space carries a filtration ; covariates and prices are -measurable (adaptive or adversarial covariates and randomized prices are allowed), and has CDF and is independent of . Conditional sub-Gaussianity is Mathlib's HasCondSubgaussianMGF, which needs a standard Borel sample space. Expectations are lower Lebesgue integrals of nonnegative regrets. "With probability at least " means a measurable event of probability at least on which the bound holds.
The standing assumptions are , , on , and maximizing the revenue over . Hypotheses added to the printed statements: (resp. ), which makes every candidate price set nonempty; in Proposition 3; in Lemma 3; finite action sets; a nonempty index set in Lemma S1. Algorithm 3 is read with forced exploration of unpulled arms, as Lemma 2 fixes. Inner Algorithm A is any measurable estimator of the previous episode's data with values in ; the paper's logistic regression with projection is one instance. Algorithms are run predicates that hold for every tie-breaking rule. The constants of Theorem 1, Proposition 3 and Lemma S6 are chosen before the processes, the estimate, and the horizon.
The formalization cannot be satisfied trivially: expectations are integrals of nonnegative quantities, so no non-integrability default applies; the run predicates are satisfiable (a sorry-free check accompanies the drafts); LinUCB is a closed form whose maximality over the confidence ellipsoid is itself a milestone, not a real supremum; and the noise CDF is pinned by .
A complete development needs the PLB analysis (Lemmas S3, S5, 3), which is reusable for any linear bandit with one-sparse actions, and the conditional Hoeffding step for Lemma 1, for which a platform theorem exists. Proofs of any milestone, and reusable lemmas on ridge estimates with diagonal designs, are welcome.
Selected references
- Y. Luo, W. W. Sun, Y. Liu, Distribution-Free Contextual Dynamic Pricing, Mathematics of Operations Research, 2024; arXiv:2109.07340v2. https://arxiv.org/abs/2109.07340 , https://doi.org/10.1287/moor.2023.1369
- T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020 (Lemma 19.4, Theorem 20.4). https://doi.org/10.1017/9781108571401
- Y. Abbasi-Yadkori, D. Pál, C. Szepesvári, Improved Algorithms for Linear Stochastic Bandits, NeurIPS, 2011. https://papers.nips.cc/paper/2011/hash/e1d5be1c7f2f456670de3d53c7b54f4a-Abstract.html
- R. Kleinberg, T. Leighton, The Value of Knowing a Demand Curve: Bounds on Regret for Online Posted-Price Auctions, FOCS, 2003. https://doi.org/10.1109/SFCS.2003.1238232