Feature-Based Dynamic Pricing: The EllipsoidPricing Algorithm Has Worst-Case Regret O(R d² ln(T/d))Research Paper
Motivation
Online marketplaces, ad exchanges and real-estate platforms sell items that are each described by a vector of features and are rarely seen twice. A seller who prices such items cannot learn a demand curve item by item. It must learn how features map to values, while pricing, from accept/reject feedback alone. Cohen, Lobel and Paes Leme (Management Science, 2020; SSRN 2737045) model this as feature-based dynamic pricing with adversarial features and a linear valuation. They show that a direct multi-dimensional binary search (PolytopePricing) can have regret exponential in the dimension (their Theorem 1). Their EllipsoidPricing algorithm, a pricing variant of Khachiyan's ellipsoid method (Khachiyan 1979), has worst-case regret quadratic in the dimension and logarithmic in the horizon (their Theorem 2). This mission formalizes Theorem 2 and the chain of lemmas behind it.
Setting
Fix a dimension , a radius and a horizon . Nature picks an unknown parameter with Euclidean norm . In each period a product arrives with a feature vector , , and market value . The seller sees , posts a price , and a sale occurs iff , earning . The regret (Eq. (1)) is
and the worst-case regret of a policy is its maximum over and over nature's (possibly adaptive) choice of features.
An ellipsoid with center and positive definite shape matrix is . EllipsoidPricing with parameter keeps an ellipsoid , starting from the ball . In period it computes
the minimum and maximum of over .
- If , it exploits: it posts and keeps .
- Otherwise it explores: it posts and replaces by the ellipsoid of Eq. (4) that covers the half of consistent with the feedback. With , the new shape is and the new center is , with after a sale.
Write for the smallest eigenvalue of a symmetric matrix .
Formalization targets
Goal: Theorem 2
There is a universal constant such that for all , , , and , EllipsoidPricing run with satisfies
This is the paper's claim, with no constant fixed.
Milestones, in the order of the paper's argument
- the closed forms of (§5.2);
- the containment of each half-ellipsoid in the updated ellipsoid (Eq. (4), already proved on the platform);
- and along the run;
- the volume formula and the volume decrease (§5.1);
- Lemma 2: if and , then ;
- Lemma 3: ;
- Lemma 4: if and , then ;
- the eigenvalue floor ;
- Lemma 1: at most exploration periods;
- an exploitation period sells and has regret at most .
Significance
The result. Theorem 2 shows that contextual posted-price learning with adversarial features costs only polynomially many "probing" sales in the dimension. A direct cutting-plane search over the polytope of consistent parameters (PolytopePricing) cannot do this: its worst-case regret is exponential in (Theorem 1). The ellipsoid analysis via the smallest eigenvalue (Lemmas 2–4) is reused in the paper's noisy-valuation extension (ShallowPricing, §6) and in later work on contextual pricing and contextual search.
Formalizing it. No part of the paper is machine-checked. The Eq. (4) containment is already proved on the platform (Bertsimas–Tsitsiklis Theorem 8.1). The volume factor there is , weaker than the used here. The eigenvalue lemmas on rank-one perturbations (Lemmas 2–4) are new to the platform and reusable for any analysis of ellipsoid-type updates. A formal proof of the goal would also settle a gap in the printed proof, noted under the formalization scope.
Difficulty
The obvious argument is the textbook ellipsoid bound: volume shrinks by per exploration, so exploration must stop. This fails because the ellipsoid need not become small in every direction. The volume can go to zero while one axis stays long, and then a feature along that axis keeps triggering exploration. The paper replaces the volume argument by a lower bound on the smallest eigenvalue, which needs a sign analysis of the characteristic polynomial of a rank-one perturbation (Lemmas 2–4) together with the exploration test . The constant in Lemma 4 is chosen to make a specific inequality hold for every .
The regret bound needs, in addition, a per-round bound for exploration periods. The printed proof (p. 16) uses "the trivial bound of regret per round". That bound is not immediate when an exploration price is accepted, since the center can leave and the round's regret is then only bounded by . This is why the goal is the -form with an unspecified universal constant rather than the proof's explicit inequality.
Formalization scope
- Types. Vectors are
Fin d → ℝ; is the dot productθ ⬝ᵥ x. Both norms are Euclidean, encoded as and ; Mathlib's‖·‖onFin d → ℝis the sup norm and is never used. Ellipsoids, the ball, and the update (4) are the publishedLinearOptimization.ellipsoid,ellipsoidBall,ellipsoidUpdateCenterandellipsoidUpdateMatrix. - Eigenvalues and volume. is the infimum of the real spectrum, i.e. the minimum eigenvalue of a symmetric matrix. Volumes are Lebesgue measure on
Fin d → ℝin . is as printed, not Mathlib'scharpoly. - The algorithm. EllipsoidPricing is a deterministic recursion indexed from (Lean period is the paper's ), started from , which the paper allows ("or in fact any ellipsoid that contains ", p. 11). The paper's "smallest ellipsoid containing " is replaced by its closed form (4), which the paper gives on p. 14. Because the algorithm is deterministic, a closed-loop nature generates a fixed feature sequence, and the worst case is a universal quantifier over in the ball and over sequences.
- Added hypotheses, all disclosed in the items.
- everywhere, since (4) divides by .
- in the goal, since for .
- in Lemma 1 and the eigenvalue floor: for larger the printed bound is negative.
- in Lemma 4, the §3 normalization that its proof uses.
- Not taken from the page. E₁ is not the Löwner–John ellipsoid of a general : the proof's " lies in the ball of radius " fails for it. The proof's explicit inequality is not a milestone, because of the per-round gap above.
- Ruled out. The goal may not be trivialized by any of the following:
- a constant that depends on , , or the instance;
- regret measured against a price the algorithm never posts, or an exploit price that is not accepted;
- features bounded in the sup norm;
- an explore test or update different from (4);
- a single fixed feature sequence.
- Contributions welcome. Proofs of the volume formula and the decrease, which are reusable for any ellipsoid-method development; the eigenvalue lemmas; and the per-round bound for accepted exploration prices that the goal needs.
Selected references
- M. C. Cohen, I. Lobel, R. Paes Leme, Feature-Based Dynamic Pricing, Management Science 66(11), 2020. https://doi.org/10.1287/mnsc.2019.3485 (authors' copy: https://ssrn.com/abstract=2737045)
- L. G. Khachiyan, Polynomial algorithms in linear programming, USSR Comput. Math. Math. Phys. 20(1), 1980. https://doi.org/10.1016/0041-5553(80)90061-0
- M. Grötschel, L. Lovász, A. Schrijver, Geometric Algorithms and Combinatorial Optimization, Springer, 1993. https://doi.org/10.1007/978-3-642-78240-4
- G. H. Golub, Some modified matrix eigenvalue problems, SIAM Review 15(2), 1973. https://doi.org/10.1137/1015032
- D. Bertsimas, J. N. Tsitsiklis, Introduction to Linear Optimization, Athena Scientific, 1997 (Theorem 8.1, the platform's ellipsoid update).