Algorithm Search⌘K

Problemresearch

Sample complexity of revenue maximization

Also called Cole-Roughgarden sample complexity.

How many samples from the value distributions are needed to choose an auction that earns at least a 1 - epsilon fraction of the optimal expected revenue.

Myerson's optimal auction needs the value distribution of every bidder. A real seller does not know the distributions, but it can see past bids or values. The sample complexity of revenue maximization asks how many such samples a seller needs to choose an auction whose expected revenue is within a factor 1−ε1 - \varepsilon of the optimal revenue for the true distributions. The answer depends on the number nn of bidders, on ε\varepsilon, and on the class of distributions. For some classes no finite number of samples is enough, and for the standard classes the answer is now known up to logarithmic factors.

In plain words

A seller who knew how much each buyer is likely to pay could set the best reserve prices. Instead, the seller has a record of what buyers paid or bid before. How long does that record need to be before the seller can set prices almost as well as with perfect knowledge? If values can be extremely spread out, a few rare buyers with huge values can carry most of the revenue, and the seller needs many samples to notice them. If the distributions are well behaved, fewer samples are enough. The question is to find the exact number of samples for each kind of distribution, and the auction that uses them best.

Definition

There are nn bidders with values viv_i drawn independently from distributions D1,…,DnD_1, \ldots, D_n, all from a class C\mathcal{C}. Write D=D1×⋯×DnD = D_1 \times \cdots \times D_n and let OPT(D)\mathrm{OPT}(D) be the expected revenue of Myerson's optimal auction for DD. A learning algorithm receives NN independent samples v(1),…,v(N)v^{(1)}, \ldots, v^{(N)} from DD, each a profile of nn values, and outputs a single-item auction MM that is dominant-strategy incentive compatible. Its expected revenue Rev(M,D)\mathrm{Rev}(M, D) is taken over fresh values drawn from DD.

The sample complexity NC(n,ε)N_{\mathcal{C}}(n, \varepsilon) is the least NN for which some algorithm satisfies, for every D∈CnD \in \mathcal{C}^n,

Esamples[Rev(M,D)]≥(1−ε) OPT(D).\mathbb{E}_{\text{samples}}\big[\mathrm{Rev}(M, D)\big] \ge (1 - \varepsilon)\, \mathrm{OPT}(D).

The standard classes are:

  • Regular: the virtual valuation is nondecreasing (regular distribution).
  • MHR (monotone hazard rate): f(v)/(1−F(v))f(v)/(1 - F(v)) is nondecreasing. Every MHR distribution is regular.
  • [1,H][1, H]: any distribution with support in [1,H][1, H].
  • [0,1][0, 1] with additive error: any distribution on [0,1][0, 1], with the goal Rev≥OPT−ε\mathrm{Rev} \ge \mathrm{OPT} - \varepsilon in place of the factor 1−ε1 - \varepsilon.

Without some such restriction the problem has no finite answer: with values on {0,h}\{0, h\} and the value hh of probability 1/h1/h, a seller who sees N≪hN \ll h samples sees only zeros with probability close to 1, while the optimal revenue is 1.

Variants

  • One buyer. For n=1n = 1 the problem is to learn a near-optimal posted price, the monopoly price of the reserve price page.
  • Identical or different bidders. The bidders may share one distribution, or each may have its own.
  • A single sample. With N=1N = 1, the goal is a constant approximation ratio in place of 1−ε1 - \varepsilon.
  • Learning with high probability. The revenue must be at least (1−ε) OPT(1 - \varepsilon)\, \mathrm{OPT} with probability 1−δ1 - \delta over the samples, in the style of PAC learning.
  • Richer settings. Many items, many units, or matroid constraints, where the class of candidate auctions is larger.

Examples

  • A single sample for one buyer. Post the price ss equal to the one sample. For U[0,1]U[0, 1], the price s∼U[0,1]s \sim U[0, 1] earns E[s(1−s)]=1/6\mathbb{E}[s(1 - s)] = 1/6, while the optimal price 1/21/2 earns 1/41/4, a ratio of 2/32/3. For the exponential distribution with mean 1, the sample price earns E[se−s]=∫0∞se−2s ds=1/4\mathbb{E}[s e^{-s}] = \int_0^\infty s e^{-2s}\, ds = 1/4, while the optimal price 1 earns 1/e1/e, a ratio of e/4≈0.68e/4 \approx 0.68. For every regular distribution the ratio is at least 1/21/2.
  • A simple bound for values in [1,H][1, H]. Take NN samples from one buyer, let F^\hat F be the empirical distribution function, and post the price p^\hat p that maximizes the empirical revenue p⋅Pr⁡^[v≥p]p \cdot \hat{\Pr}[v \ge p]. By the DKW inequality, with probability at least 1−δ1 - \delta every sale probability is estimated within η\eta when N≥ln⁡(2/δ)/(2η2)N \ge \ln(2/\delta)/(2\eta^2). Then every price p≤Hp \le H has its revenue estimated within HηH\eta, so p^\hat p loses at most 2Hη2H\eta against the best price. Since the price 1 always sells, OPT≥1\mathrm{OPT} \ge 1, and η=ε/(2H)\eta = \varepsilon/(2H) gives revenue at least (1−ε) OPT(1 - \varepsilon)\, \mathrm{OPT} with N=2H2ln⁡(2/δ)/ε2N = 2H^2 \ln(2/\delta)/\varepsilon^2 samples. The best bound is smaller by a factor of about HH.
  • Why heavy tails cost samples. For the two-point distribution above, the price hh and the price 0 earn 1 and 0. A seller that has not seen the value hh cannot tell the distribution from a point mass at 0. This distribution has no density, so it is outside the regular and MHR classes, but a regular distribution can still put much of its revenue on rare high values, which is why the regular class needs more samples than the MHR class.

Known algorithms

  • Empirical Myerson. Estimate each DiD_i from the samples, iron the estimates, and run Myerson's auction for them. Cole and Roughgarden (2014) showed that a version of this approach needs a number of samples polynomial in nn and 1/ε1/\varepsilon for regular distributions.
  • Myerson on a dominated empirical distribution. Guo, Huang and Zhang (2019) shift each empirical distribution down by its confidence margin, so that the true distribution stochastically dominates it with high probability, and run Myerson's auction for the shifted distributions. The analysis uses the strong revenue monotonicity of Devanur, Huang and Psomas (2016): the optimal auction for a dominated distribution earns at least its own optimal revenue on the true one. This gives the tight bounds below.
  • Empirical price for one buyer. Huang, Mansour and Roughgarden (2018) give price-learning algorithms for one buyer that reach their bounds.
  • One sample per bidder. Dhangwatnotai, Roughgarden and Yan (2015) showed that the price equal to the sample earns half of the optimal revenue from one buyer with a regular distribution.

Bounds

For one buyer (Huang, Mansour and Roughgarden, Table 1):

Class Upper bound Lower bound
MHR O(ε−3/2log⁡ε−1)O(\varepsilon^{-3/2} \log \varepsilon^{-1}) (Theorem 3.2) Ω(ε−3/2)\Omega(\varepsilon^{-3/2}) (Theorem 4.12)
Regular O(ε−3log⁡ε−1)O(\varepsilon^{-3} \log \varepsilon^{-1}) Ω(ε−3)\Omega(\varepsilon^{-3}) (Theorem 4.8)
[1,H][1, H] O(Hε−2log⁡(Hε−1))O(H \varepsilon^{-2} \log(H \varepsilon^{-1})) (Theorem 3.7) Ω(Hε−2)\Omega(H \varepsilon^{-2}) (Theorem 4.7)

For nn bidders (Guo, Huang and Zhang), with Θ~\tilde\Theta hiding polylogarithmic factors:

Class Sample complexity
Regular Θ~(nε−3)\tilde\Theta(n \varepsilon^{-3})
MHR Θ~(nε−2)\tilde\Theta(n \varepsilon^{-2})
[1,H][1, H] Θ~(nHε−2)\tilde\Theta(n H \varepsilon^{-2})
[0,1][0, 1], additive error Θ~(nε−2)\tilde\Theta(n \varepsilon^{-2})

These settle the earlier gap between the polynomial upper bound and the lower bound of order n/εn/\varepsilon of Cole and Roughgarden.

With a single sample and one buyer: the price equal to the sample is a 1/21/2 approximation for regular distributions, and no deterministic pricing rule does better on this class. For MHR distributions, a fixed multiple of the sample earns at least 0.5890.589 of the optimal revenue, no deterministic rule beats e/4≈0.68e/4 \approx 0.68, and no continuously differentiable rule beats 0.6770.677 (Huang, Mansour and Roughgarden).

Reductions

  • To statistical learning. Choosing an auction from samples is empirical risk minimization over a class of mechanisms, with revenue in place of a loss. For values in a bounded range, uniform convergence bounds, such as those from the VC dimension of a class of prices, give sample bounds of the form poly(H,1/ε)\mathrm{poly}(H, 1/\varepsilon), as in the DKW example above. The tight bounds need arguments specific to auctions.
  • From extra bidders. By the Bulow-Klemperer theorem, for i.i.d. regular values one more bidder in a Vickrey auction is worth at least as much as full knowledge of the distribution. A bidder's value is a sample from the common distribution, which is the link between samples and competition that the single-sample mechanisms use.
  • Lower bounds by distinguishing. Lower bounds come from pairs of distributions that are hard to tell apart with few samples but have different optimal auctions, so any algorithm loses on one of them.

Applications

  • Reserve prices in online advertising. A seller of ad space can set reserve prices from logs of past bids, which is a direct use of revenue learning from samples.
  • Data-driven pricing. A seller with a history of purchases chooses a posted price or a menu, and the sample bounds say how much history is enough.
  • Prior-independent mechanism design. A mechanism that must do well without knowing the distribution can treat the bids of some bidders as samples for setting the prices of others, which leads to the same questions.

References

  1. Richard Cole and Tim Roughgarden, The sample complexity of revenue maximization, Proceedings of the 46th ACM Symposium on Theory of Computing (STOC 2014), 243-252, the model of learning a near-optimal single-item auction from samples, the upper bound polynomial in n and 1/epsilon for regular distributions, and the lower bound of order n/epsilon
  2. Zhiyi Huang, Yishay Mansour and Tim Roughgarden, Making the most of your samples, SIAM Journal on Computing 47(3) (2018), 651-674, Table 1 (one buyer), Theorems 3.2 and 4.12 (MHR), Theorem 4.8 (regular), Theorems 3.7 and 4.7 (support [1, H]), and the results for a single sample
  3. Chenghao Guo, Zhiyi Huang and Xinzhi Zhang, Settling the sample complexity of single-parameter revenue maximization, Proceedings of the 51st ACM Symposium on Theory of Computing (STOC 2019), 662-673, the bounds for n bidders, tight up to polylogarithmic factors, for regular, MHR, [1, H] and [0, 1] values, and the method that runs Myerson's auction on a dominated empirical distribution
  4. Peerapong Dhangwatnotai, Tim Roughgarden and Qiqi Yan, Revenue maximization with a single sample, Games and Economic Behavior 91 (2015), 318-333, the price equal to one sample, which earns half of the optimal revenue from one buyer with a regular distribution

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW2 basic
  • a known algorithm
  • a contract.yaml