Online Mechanisms

Online mechanism design with arrivals, departures and uncertain supply; direct-revelation online mechanisms, limited misreports (no early arrival, no late departure), DSIC, strong truthfulness and BNIC; failure of the revelation principle and the heartbeat fix; single-valued domains, critical value, monotonic and monotonic-late policies (Theorems 16.13, 16.15, Lemma 16.14); the greedy expiring-items auction, 2-competitive and tight (Theorems 16.17–16.19); the secretary problem and an adaptive limited-supply auction, e- and e^2-competitive (Theorems 16.21, 16.23); ex-post IC vs DSIC with feedback; price-schedule auctions; stochastic monotonicity (Theorem 16.25); MDPs and the dynamic VCG mechanism, BNIC under stalling (Theorem 16.28)

· 42 min read · 8,371 words

Motivation: mechanism design when agents come and go

Many allocation problems are inherently dynamic:

  • selling airline seats to buyers who arrive over time;
  • allocating CPU or bandwidth to arriving jobs;
  • selling search adverts when both buyers and future supply of search terms are uncertain;
  • assigning tasks to a changing team.

In each, either agents arrive and depart, or future feasible decisions are uncertain, or both. Decisions must be made online: now, without knowing future types or future supply, as in online algorithms.

IntuitionThe central question

When decisions can’t wait for everyone to show up, and agents can lie about when they are present as well as how much they value things, can we still make truthful reporting optimal — and how much efficiency or revenue must we give up relative to a mechanism that knew the future?

What is genuinely new

Offline MDOnline MD
all types reported before any decisiondecide without types not yet arrived, and without knowing future feasibility
agents misreport valuesagents also misreport arrival and departure; strategies are temporal
any type can be claimedlimited misreports: e.g. you can’t claim to arrive before you exist

More generally, an agent’s type may be revealed to itself over time, depending on the mechanism’s decisions. For example, you learn your value for a resource only by using it.

The running example: Jane’s ice cream

DefinitionCanonical expiring items environment

Periods T={1,2,… }T = \{1, 2, \dots\}, with one indivisible item per period that perishes if unsold. Agent ii has private type θi=(ai,di,wi)∈T×T×R>0\theta_i = (a_i, d_i, w_i) \in T \times T \times \mathbb{R}_{>0}: arrival aia_i, departure did_i, and value wiw_i for one unit allocated in some t∈[ai,di]t \in [a_i, d_i]. Utility is wi−pw_i - p if served in the window, and −p-p otherwise.

The arrival aia_i is the first period the agent’s information can reach the mechanism. “Can” matters, because a strategic agent may delay.

ExampleExample 16.1 — the naive dynamic Vickrey auction fails

Auction 1: bids are reports θ^i=(a^i,d^i,w^i)\hat\theta_i = (\hat a_i, \hat d_i, \hat w_i), made in period a^i\hat a_i. Each period, allocate to the highest unassigned bid and charge the second-highest unallocated bid in that period.

Jane makes one cone per hour. Buyers (1,2,100)(1,2,100), (1,2,80)(1,2,80), (2,2,60)(2,2,60).

  • Truthful: buyer 1 wins period 1 for 80, and buyer 2 wins period 2 for 60.
  • Buyer 1 shades to (1,2,61)(1,2,61): buyer 2 wins period 1 for 61, then buyer 1 wins period 2 for 60.
  • Buyer 1 delays, reporting (2,2,80)(2,2,80): buyer 2 wins period 1 for 0, then buyer 1 wins period 2 for 60.

WarningWhy static Vickrey logic breaks

Offline, Vickrey is truthful because your bid doesn’t affect your price. Sequentially, an agent chooses which period’s auction to enter, and hence which rivals and which price it faces. If every agent were impatient (di=aid_i = a_i), future prices would be irrelevant and truthful immediate bidding would be dominant. The manipulation here also depended on buyer 3’s bid, so it won’t always pay, but one failure is enough to kill dominant- strategy truthfulness.

Two analytical frameworks

FrameworkAnalysisWhen appropriateChapter section
model-freeworst case, competitive ratio vs an offline benchmarkno good probabilistic model (e.g. a brand-new product)§16.3
model-basedaverage case, expected value under a common-knowledge priordata-rich (e.g. sponsored search, where arrivals and departures can be modeled)§16.4

The online MD model

Agents are risk-neutral with quasilinear utility: they maximize expected value of the decision sequence minus total payment. Time is discrete, T={1,2,… }T = \{1,2,\dots\}, possibly infinite. The mechanism makes decisions k=(k1,k2,… )k = (k^1, k^2, \dots), writing k[t1,t2]=(kt1,…,kt2)k^{[t_1,t_2]} = (k^{t_1},\dots,k^{t_2}). Decisions depend on agents’ messages and on uncertain environment events, such as the realized supply of search terms.

DefinitionTypes and valuations

θi=(ai,di,wi)∈Θi\theta_i = (a_i, d_i, w_i) \in \Theta_i defines a private valuation vi(θi,k)v_i(\theta_i, k) that depends only on the window: vi(θi,k)=vi(θi,k[ai,di]).v_i(\theta_i, k) = v_i(\theta_i, k^{[a_i, d_i]}). The valuation component wi∈Wiw_i \in W_i can be rich. For example, it may express substitutes or complements in an online combinatorial auction, or discount future value by γt−ai\gamma^{t - a_i}.

Direct-revelation online mechanisms

Closed mechanisms give agents no feedback before they report, so a report can’t be conditioned on others’ reports.

SymbolMeaning
ω∈Ω=∏tΩt\omega \in \Omega = \prod_t \Omega^texogenous stochastic events (e.g. supply); excludes agent types and the mechanism’s own coin flips
ωt\omega^t, θt\theta^tinformation revealed and types reported in period tt
ht=(θ1..θt; ω1..ωt; k1..kt−1)h^t = (\theta^1..\theta^t;\ \omega^1..\omega^t;\ k^1..k^{t-1})mechanism state (in practice a small sufficient statistic)
K(ht)K(h^t)feasible decisions now (finite)
I(ht)I(h^t)active agents: t∈[ai,di]t \in [a_i, d_i]

DefinitionDefinition 16.2 — direct-revelation online mechanism

M=(π,x)M = (\pi, x): each agent makes one claim about its type.

  • Decision policy π={πt}\pi = \{\pi^t\}, with πt(ht)∈K(ht)\pi^t(h^t) \in K(h^t); may be stochastic.
  • Payment policy x={xt}x = \{x^t\}, with xit(ht)x_i^t(h^t) collected from active ii; may be spread over periods.

Write π(θ,ω)\pi(\theta,\omega) for the decision sequence and pi(θ,ω)p_i(\theta,\omega) for ii‘s total payment.

ExampleExample 16.3 — ice cream as a mechanism

State hth^t: the reported types currently present, each flagged allocated or not. Decision: whether to give this period’s cone to some present, unallocated agent.

Limited misreports

DefinitionDefinition 16.4 — limited misreports

C(θi)⊆ΘiC(\theta_i) \subseteq \Theta_i is the set of reports available to an agent of true type θi\theta_i. Offline MD usually takes C(θi)=ΘiC(\theta_i) = \Theta_i.

AssumptionC(θi)C(\theta_i)Why it is credible
no early arrival (always assumed)ai≤a^i≤d^ia_i \le \hat a_i \le \hat d_i, any w^i\hat w_ithe agent doesn’t know its type, or about the mechanism, before aia_i
+ no late departure (sometimes)ai≤a^i≤d^i≤dia_i \le \hat a_i \le \hat d_i \le d_ie.g. no one claims to want a 7 p.m. Broadway ticket after 5 p.m. when travel takes 2 hours; or require presence for the whole reported window

ConventionTighter and weaker windows

[ai′,di′][a'_i, d'_i] is tighter than [ai,di][a_i, d_i] if ai′≥aia'_i \ge a_i and di′≤did'_i \le d_i. Under both no-early and no-late assumptions, an agent can only report tighter windows than its true one.

Incentive compatibility

DefinitionDefinition 16.5 — DSIC (“truthful”)

MM is DSIC given CC if for all θ^i∈C(θi)\hat\theta_i \in C(\theta_i), all θi\theta_i, all θ−i′∈C(θ−i)\theta'_{-i} \in C(\theta_{-i}), all θ−i\theta_{-i}, and all ω\omega:

vi(θi,π(θi,θ−i′,ω))−pi(θi,θ−i′,ω)≥vi(θi,π(θ^i,θ−i′,ω))−pi(θ^i,θ−i′,ω).v_i(\theta_i, \pi(\theta_i, \theta'_{-i}, \omega)) - p_i(\theta_i, \theta'_{-i}, \omega) \ge v_i(\theta_i, \pi(\hat\theta_i, \theta'_{-i}, \omega)) - p_i(\hat\theta_i, \theta'_{-i}, \omega).

For stochastic π\pi this holds in expectation over the mechanism’s coins. Strong truthfulness requires it for every coin flip and every ω\omega.

DefinitionDefinition 16.6 — BNIC

Assume a correct probabilistic model of types and events is common knowledge. MM is BNIC if for all θ^i∈C(θi)\hat\theta_i \in C(\theta_i) and all θi\theta_i:

E{vi(θi,π(θi,θ−i,ω))−pi(θi,θ−i,ω)}≥E{vi(θi,π(θ^i,θ−i,ω))−pi(θ^i,θ−i,ω)},\mathbb{E}\big\{v_i(\theta_i, \pi(\theta_i,\theta_{-i},\omega)) - p_i(\theta_i,\theta_{-i},\omega)\big\} \ge \mathbb{E}\big\{v_i(\theta_i, \pi(\hat\theta_i,\theta_{-i},\omega)) - p_i(\hat\theta_i,\theta_{-i},\omega)\big\},

with expectation over θ−i\theta_{-i}, ω\omega, and the policy’s randomness.

ConceptTruth is bestNeeds a common prior?
strong truthfulnessagainst any reports, every ω\omega, every coin flipno
DSICagainst any reports, every ω\omega, in expectation over coinsno
BNICwhen others are truthful, in expectation over types and eventsyes

The revelation principle can fail

ExampleExample 16.7 — an indirect mechanism no direct one can copy

Setup: no early arrival, but late-departure misreports allowed. T={1,2}T=\{1,2\}, one item, one agent with type (1,1,1)(1,1,1) or (1,2,1)(1,2,1). Messages: {1,2}\{1,2\} in period 1, {1}\{1\} in period 2 (ϕ\phi = silence).

  • Decisions: π1(1)=0\pi^1(1) = 0, π1(2)=1\pi^1(2) = 1, and nothing in period 2.
  • Payments: x1(2)=3x^1(2) = 3, x2(2,1)=−2.01x^2(2,1) = -2.01, and 00 otherwise.

Type (1,2,1)(1,2,1) sends (2,1)(2,1): allocated in period 1, net payment 0.990.99, utility 0.010.01. Type (1,1,1)(1,1,1) sends 11 and gets utility 00. Sending 22 would cost 33 with no period-2 refund, because it has departed and cannot send the second message.

A direct version must allocate type (1,2,1)(1,2,1) in period 1 for 0.990.99. But then type (1,1,1)(1,1,1) simply claims (1,2,1)(1,2,1), a late-departure misreport, and gains 0.010.01. So it is not DSIC.

IntuitionWhy it fails

The indirect mechanism physically prevents claiming a later departure: you must be present in period 2 to send the refund message. A single report can’t enforce presence.

NoteRecovering the principle

  • The revelation principle does hold with no-early-arrival and no-late-departure misreports.
  • It can also be recovered with heartbeat messages: one type report, plus a noninformative message in every period of [a^i,d^i][\hat a_i, \hat d_i]. The derivation is left as an exercise.

The chapter focuses on IC direct-revelation mechanisms from here on.


Single-valued domains: monotonicity plus critical value

The problem. We want a recipe for truthful online mechanisms. In offline single-parameter settings, truthful means monotone allocation plus threshold payments (compare mechanism-design). Does that survive time?

DefinitionDefinition 16.8 — single-valued online domain

Agent ii has type θi=(ai,di,(ri,Li))\theta_i = (a_i, d_i, (r_i, L_i)), with reward ri∈Rr_i \in \mathbb{R} and interesting set Li∈LiL_i \in \mathcal{L}_i from a language of decision subsets, partially ordered by ⪰L\succeq_L:

vi(θi,k)={ri,if kt∈⋃L∈Li, L⪰LLiL for some t∈[ai,di],0,otherwise.(16.1)v_i(\theta_i, k) = \begin{cases} r_i, & \text{if } k^t \in \bigcup_{L \in \mathcal{L}_i,\ L \succeq_L L_i} L \text{ for some } t \in [a_i, d_i],\\ 0, & \text{otherwise.}\end{cases} \tag{16.1}

The agent gets the same value for any interesting decision in its window, and wants at most one.

Known interesting sets. Assume the mechanism knows LiL_i. Private information is then only arrival, departure and reward, which gives the partial order on types:

θ1⪯θθ2  ⟺  (a1≥a2)∧(d1≤d2)∧(r1≤r2)∧(L1=L2).(16.2)\theta_1 \preceq_\theta \theta_2 \iff (a_1 \ge a_2) \wedge (d_1 \le d_2) \wedge (r_1 \le r_2) \wedge (L_1 = L_2). \tag{16.2}

IntuitionReading ⪯θ\preceq_\theta

θ1⪯θθ2\theta_1 \preceq_\theta \theta_2 means θ1\theta_1 is harder to serve and worth less: a tighter window and a lower reward. Monotonicity will say that moving up the order never loses you an allocation.

ExampleExample 16.9 — known single-minded combinatorial auction

Heterogeneous items GG in uncertain, non-storable supply. LiL_i carries a bundle S(Li)S(L_i) and covers all decisions giving ii at least S(Li)S(L_i). Order: L1⪰LL2  ⟺  S(L1)⊇S(L2)L_1 \succeq_L L_2 \iff S(L_1) \supseteq S(L_2). The agent gets rir_i when it receives a superset of S(Li)S(L_i) in its window.

Policies are deterministic from here, with πi(θi,θ−i,ω)∈{0,1}\pi_i(\theta_i,\theta_{-i}, \omega) \in \{0,1\} indicating an interesting decision (“allocation”) for ii in its window. Stochastic policies are covered by folding coins into ω\omega and demanding strong truthfulness; see Stochastic policies.

DefinitionDefinition 16.10 — critical value

v(ai,di,Li)c(θ−i,ω)={min⁡ri′ s.t. πi((ai,di,(ri′,Li)),θ−i,ω)=1,∞, if no such ri′.(16.3)v^c_{(a_i,d_i,L_i)}(\theta_{-i},\omega) = \begin{cases} \min r'_i \ \text{s.t.}\ \pi_i((a_i,d_i,(r'_i,L_i)), \theta_{-i},\omega)=1,\\ \infty, \ \text{if no such } r'_i.\end{cases} \tag{16.3}
ComponentDetail
Signaturevc:(window,Li)×Θ−i×Ω→R∪{∞}v^c : (\text{window}, L_i) \times \Theta_{-i} \times \Omega \to \mathbb{R}\cup\{\infty\}
Domainthe agent’s reported window and interesting set, plus everyone else and the environment
Codomainthe lowest reward at which this window still gets served
Not an inputthe agent’s own reward rir_i

DefinitionDefinition 16.11 — monotonic policy

π\pi is monotonic if for all θ−i,ω\theta_{-i}, \omega:

(πi(θi,θ−i,ω)=1)∧(ri>v(ai,di,Li)c(θ−i,ω))⇒πi(θi′,θ−i,ω)=1∀ θi′⪰θθi.\big(\pi_i(\theta_i,\theta_{-i},\omega) = 1\big) \wedge \big(r_i > v^c_{(a_i,d_i,L_i)}(\theta_{-i},\omega)\big) \Rightarrow \pi_i(\theta'_i, \theta_{-i},\omega) = 1 \quad \forall\, \theta'_i \succeq_\theta \theta_i.

The strict profit condition ri>vcr_i > v^c just avoids knife-edge indifference when ri′=rir'_i = r_i.

LemmaLemma 16.12 — critical values behave

For a deterministic monotonic policy, the critical value is independent of rir_i and weakly increasing as the window tightens.

ProofSqueeze a reward between the two critical values

Step 1: Independence of rir_i. Immediate from (16.3): it is a minimum over rewards, with the window and the others fixed.

Step 2: Suppose tightening lowered it. Take windows with [ai,di][a_i,d_i] tighter than [ai′,di′][a'_i,d'_i], but v(ai,di,Li)c<v(ai′,di′,Li)cv^c_{(a_i,d_i,L_i)} < v^c_{(a'_i,d'_i,L_i)}.

Step 3: Pick a reward in the gap. Choose rr strictly between the two critical values. The tight-window type (ai,di,(r,Li))(a_i,d_i,(r,L_i)) is served with strict profit. The weak-window type (ai′,di′,(r,Li))(a'_i,d'_i,(r,L_i)) sits above it in ⪯θ\preceq_\theta but is not served, since rr is below its critical value. That contradicts monotonicity.

∎

TheoremTheorem 16.13 — monotone ⇒ truthful

A monotonic deterministic policy can be truthfully implemented (known interesting sets, single-valued, no early-arrival and no late-departure misreports) with the critical-value payment collected on departure:

xit(ht)={v(a^i,d^i,Li)c(θ^−i,ω),t=d^i and πi(θ^i,θ^−i,ω)=1,0,otherwise.(16.4)x_i^t(h^t) = \begin{cases} v^c_{(\hat a_i,\hat d_i,L_i)}(\hat\theta_{-i}, \omega), & t = \hat d_i \text{ and } \pi_i(\hat\theta_i,\hat\theta_{-i}, \omega) = 1,\\ 0, & \text{otherwise.}\end{cases} \tag{16.4}
ProofCase analysis; limited misreports only tighten the window

Fix θ−i,ω\theta_{-i}, \omega and true θi=(ai,di,(ri,Li))\theta_i = (a_i,d_i,(r_i,L_i)).

Case (a): truthful ii is not served, so v(ai,di,Li)c>riv^c_{(a_i,d_i,L_i)} > r_i. Any available report has a tighter window (limited misreports), so by Lemma 16.12 its critical value is at least as high. Being served under any report therefore costs more than rir_i, which gives negative utility.

Case (b): truthful ii is served at price vc≤riv^c \le r_i, so utility is nonnegative. A report that loses gives 00, no better. A report that still wins pays its own critical value. That value is independent of the reported reward and weakly higher for the necessarily tighter window (Lemma 16.12). No gain.

∎

Necessity. A mechanism is individually rational (IR) if every agent has nonnegative utility in equilibrium. This is needed when participation can’t be forced.

LemmaLemma 16.14 — payments must be critical values

Any truthful, IR online mechanism with a deterministic policy (known interesting set, single-valued) charges each allocated agent exactly its critical value.

ProofUndercharging invites misreports; overcharging breaks IR

Fix θ−i,ω\theta_{-i}, \omega.

Step 1: The price can’t depend on the reward. If two winning rewards ri≠ri′r_i \ne r'_i (both above critical, same window) paid different amounts, the type charged more would report the other reward.

Step 2: The price can’t be below critical. If a winner paid p<vcp < v^c, a type with the same window and reward ri′∈(p,vc)r'_i \in (p, v^c) loses when truthful but profits by claiming the winning reward. (This works even with negative pp if rewards can be negative.)

Step 3: The price can’t be above critical. If p>vcp > v^c, a type with reward in (vc,p)(v^c, p) is served and pays more than its value, violating IR.

∎

Reasonable misreporting. An agent can at least report any tighter window with any reward.

TheoremTheorem 16.15 — truthful ⇒ monotone

With reasonable misreporting, any deterministic policy truthfully implementable by an IR mechanism that doesn’t pay losers must be monotonic.

ProofA non-served stronger type imitates a served weaker one

Step 1: Suppose monotonicity fails. Take θi≺θθi′\theta_i \prec_\theta \theta'_i with θi\theta_i served at strict profit (ri>vcr_i > v^c) and θi′\theta'_i not served.

Step 2: The weaker type profits. By Lemma 16.14, θi\theta_i pays exactly v(ai,di,Li)c<ri≤ri′v^c_{(a_i,d_i,L_i)} < r_i \le r'_i.

Step 3: The stronger type can copy it. θi′\theta'_i is unserved and pays ≥0\ge 0 (losers aren’t paid), so its utility is ≤0\le 0. But its window is weaker, so it can report θi\theta_i and get ri′−vc>0r'_i - v^c > 0. This contradicts truthfulness.

∎

Warning“Don’t pay losers” is load-bearing

Take no late departure, types {(1,1,$10),(1,2,$10)}\{(1,1,\text{\textdollar}10), (1,2,\text{\textdollar}10)\}, with πi(1,1,$10)=1\pi_i(1,1,\text{\textdollar}10) = 1 and πi(1,2,$10)=0\pi_i(1,2,\text{\textdollar}10) = 0. This is nonmonotonic: the patient type loses. Yet it is truthful with payments 88 and −100-100. The patient loser is paid $100 to stay put.

DefinitionMonotonic-late (arbitrary departure misreports)

The critical departure d(ai,di,Li)c(θ−i,ω)d^c_{(a_i,d_i,L_i)}(\theta_{-i},\omega) is the earliest di′≤did'_i \le d_i with the same critical value as did_i. It is the earliest departure the agent could claim without raising its price. π\pi is monotonic-late if it is monotonic and never makes an interesting decision for ii before its critical departure.

TheoremMonotonic-late characterization

With no early arrival but arbitrary departure misreports, a deterministic policy is truthfully implementable iff it is monotonic-late, with critical-value payments.

IntuitionWhy “late” fixes late-departure lies

The danger is claiming a later departure to face a lower price. If service never comes before the critical departure, then overclaiming departure either doesn’t change the price or pushes service past your true departure, where it is worth nothing.

ImportantThe design recipe

In single-valued domains: design a monotone (or monotone-late) allocation rule, then charge critical values on departure. Truthfulness follows, and for IR mechanisms that don’t pay losers, nothing else works. This mirrors the offline single-parameter characterization; the time dimension enters only through the window part of ⪯θ\preceq_\theta.


Expiring items: the greedy auction

Competitive analysis

Worst case: an adversary picks inputs to make the mechanism look bad. We compare against an offline benchmark that knows the future. This is justified when there is no model, it yields robust designs and lower bounds, and it often does well on average anyway. We need three ingredients:

IngredientHere
optimality criterionefficiency (total value allocated)
adversary’s powerarbitrary values, arrivals, departures
offline benchmarkbest allocation with perfect information

FormulaOffline optimum

V∗(θ)=max⁡x,y∑i=1Nyiwis.t.∑t=aidixit≥yi  ∀i,∑i: t∈[ai,di]xit≤1  ∀t(16.5–16.7)V^*(\theta) = \max_{x,y} \sum_{i=1}^N y_i w_i \quad\text{s.t.}\quad \sum_{t=a_i}^{d_i} x_i^t \ge y_i\ \ \forall i,\qquad \sum_{i:\, t\in[a_i,d_i]} x_i^t \le 1\ \ \forall t \tag{16.5–16.7}

Here yi∈{0,1}y_i \in \{0,1\} means bid ii is served, and xit∈{0,1}x_i^t \in \{0,1\} is the serving period. Giving a winner extra units doesn’t change the objective.

Definitioncc-competitive for efficiency

min⁡z∈ZE[Val(π(θz))V∗(θz)]≥1c,c≥1,(16.8)\min_{z \in Z} \mathbb{E}\left[\frac{\mathrm{Val}(\pi(\theta_z))} {V^*(\theta_z)}\right] \ge \frac1c, \qquad c \ge 1, \tag{16.8}

where ZZ is the adversary’s input set. The expectation allows randomized policies or a randomized adversary.

The greedy auction

AlgorithmAuction 2 — greedy with critical-value payments

Bids θ^i\hat\theta_i are made in period a^i\hat a_i.

  1. Each period, give the item to the highest unassigned bid, breaking ties at random.
  2. Each winner pays its critical value, collected at its reported departure.

The allocation rule is Auction 1’s; only the payment changes. With all agents impatient, it reduces to a sequence of Vickrey auctions.

ExampleExample 16.16 — Jane’s buyers again

Truthful (1,2,100),(1,2,80),(2,2,60)(1,2,100), (1,2,80), (2,2,60): buyer 1 wins period 1, buyer 2 wins period 2. Both pay 60. For window (1,2)(1,2), a bid just above 60 still wins (in period 2 rather than 1), so 60 is the critical value.

TheoremTheorem 16.17 — greedy is truthful and 2-competitive

Auction 2 is strongly truthful and 2-competitive for efficiency, with no early-arrival and no late-departure misreports.

ProofMonotonicity, then a charging argument

Step 1: Truthfulness via Theorem 16.13. Let tie-breaking be invariant to the reported window. If ii wins at some tt, it still wins, at the same period or earlier, with a higher value, an earlier arrival or a later departure. So the rule is monotone, and payments are critical values.

Step 2: Charge the offline winners to online winners. For each ii served offline in period tt:

  • if ii is also served online, charge wiw_i to ii itself;
  • if not, ii was present and unassigned at tt, so greedy gave period tt to someone with value ≥wi\ge w_i; charge wiw_i to that agent.

The key step: each online winner receives at most two charges (itself, plus the offline winner of its own period), each at most its own value. So V∗(θ)≤2⋅Val(greedy)V^*(\theta) \le 2\cdot\mathrm{Val}(\text{greedy}).

∎

NoteAuction 1 in hindsight

Auction 1’s allocation rule was already monotone. It failed only because the second-price-this-period payment is not the critical value.

WarningThe best online algorithm isn’t truthful

A 1.618-competitive online algorithm exists for this problem, but it is not monotone, so it can’t be made truthful. For truthful mechanisms, 2 is tight:

TheoremTheorem 16.18 — 2 is optimal for truthful deterministic auctions

No truthful, IR, deterministic online auction achieves a (2−ϵ)(2-\epsilon)-approximation for efficiency (expiring items, no early arrival, no late departure), for any constant ϵ>0\epsilon > 0.

ProofThree scenarios force an impatient agent to lie profitably

Take T={1,2}T=\{1,2\} and 0<δ<ϵ/(1−ϵ)0 < \delta < \epsilon/(1-\epsilon), so that q(1+δ)q(2+δ)<12−ϵ\frac{q(1+\delta)}{q(2+\delta)} < \frac{1}{2-\epsilon}. Serving only one of two agents worth about qq is then not (2−ϵ)(2-\epsilon)-competitive.

Scenario (i): θ1=(1,1,q(1+δ))\theta_1 = (1,1,q(1+\delta)) and θ2=(1,2,q)\theta_2 = (1,2,q). Both must be served, so agent 1 is served in period 1. Its price is its critical value, independent of its reported value. Taking the scale so this price is ≤q\le q, agent 1 gets strictly positive utility.

Scenario (ii): θ1′=(1,2,q(1+δ))\theta'_1 = (1,2,q(1+\delta)), θ2=(1,2,q)\theta_2 = (1,2,q), and θ3=(2,2,∞)\theta_3 = (2,2,\infty) arriving in period 2.

  • Agent 1 must be served, else it would report (1,1,q(1+δ))(1,1,q(1+\delta)) (a tighter window, allowed) and profit as in (i).
  • It must be served in period 1, else period 2 can’t go to the infinite-value θ3\theta_3.
  • So agent 2 is not served.

Scenario (iii): θ1′=(1,2,q(1+δ))\theta'_1 = (1,2,q(1+\delta)) and θ2′=(1,1,q)\theta'_2 = (1,1,q). Both must be served, so the impatient agent 2 gets period 1. WLOG qq strictly exceeds agent 2’s critical value here (else rescale q→αqq \to \alpha q). Then agent 2 has strictly positive utility.

The key step: return to (ii). Agent 2, with true type (1,2,q)(1,2,q), is unserved. Period-1 decisions can’t depend on θ3\theta_3, who hasn’t arrived yet, so reporting (1,1,q)(1,1,q) reproduces (iii) in period 1. Agent 2 is then served at a profit. So the auction isn’t truthful.

∎

TheoremTheorem 16.19 — why no-late-departure is needed

With no early arrival but arbitrary departure misreports, no truthful, IR, deterministic online auction has a constant efficiency ratio.

ProofPatient agents must be served immediately, so only one can be

Take MM periods, fix θ−i\theta_{-i}, and assume v(1,1)c(θ−i)<∞v^c_{(1,1)}(\theta_{-i}) < \infty.

Step 1: A patient type above the impatient price must be served at once. Let wi=v(1,1)c+ϵw_i = v^c_{(1,1)} + \epsilon. Monotonicity gives v(1,M)c≤v(1,1)cv^c_{(1,M)} \le v^c_{(1,1)}, so type (1,M,wi)(1,M,w_i) is served. It must be served in period 1. Otherwise the adversary adds bids (t,t,βt−1)(t,t,\beta^{t-1}) for t=2..Mt = 2..M with large β\beta, all of which must be served to stay competitive. In that case ii would do better to claim (1,1,wi)(1,1,w_i) and be served at once for v(1,1)c<wiv^c_{(1,1)} < w_i.

Step 2: The two critical values coincide. Since (1,M,w)(1,M,w) is served in period 1, truthfulness and Lemma 16.14 force v(1,M)c=v(1,1)cv^c_{(1,M)} = v^c_{(1,1)}. Otherwise the impatient type would claim the patient window (a later departure is now allowed) and pay less. So every patient (1,M,wi)(1,M,w_i) with wi>v(1,M)cw_i > v^c_{(1,M)} is served in period 1.

Step 3: Many patient agents. Profile {(1,M,q1),…,(1,M,qM)}\{(1,M,q_1),\dots,(1,M,q_M)\} with distinct qj∈[q,q+δ]q_j \in [q,q+\delta]. Each critical value is finite, else the adversary swaps in a huge impatient bid. Perturb so each qjq_j is strictly above its critical value. Every served bid is served in period 1, so at most one is served: value ≤q+δ\le q+\delta, against V∗≥MqV^* \ge Mq. Let M→∞M \to \infty.

∎

RemarkDispensing with no-late-departure

If the resource can be used early but its benefit withheld until the reported departure (e.g. grid computing: run the job, hold the result), the no-late-departure assumption can be dropped while keeping truthfulness.


Limited supply: an adaptive secretary auction

The problem. There is one item and NN agents with types (ai,di,wi)(a_i, d_i, w_i). We want good revenue and efficiency. There is no early arrival, and departures may be misreported arbitrarily. Against the adversary of the previous section, no constant ratio is possible, so we weaken the adversary.

The secretary problem

DefinitionThe secretary problem

NN applicants (known) are interviewed in turn. After each, the interviewer learns its relative rank among those seen so far and must decide irrevocably whether to hire. The goal is to maximize the probability of hiring the best.

Random-ordering hypothesis: the adversary picks the set of qualities, but their assignment to arrival order is uniformly random.

TheoremOptimal stopping rule

Interview the first t−1t-1 applicants, then hire the next candidate (best so far), where

∑j=t+1N1j−1≤1<∑j=tN1j−1.(16.9)\sum_{j=t+1}^N \frac{1}{j-1} \le 1 < \sum_{j=t}^N \frac{1}{j-1}. \tag{16.9}

For N=10,000N = 10{,}000, t=3,680t = 3{,}680. As N→∞N \to \infty, t/N→1/et/N \to 1/e and the success probability →1/e\to 1/e: sample N/eN/e, then take the next best-so- far.

Auction reinterpretation. Bidders are strategic (value and timing) and have both entry and exit times. The adversary picks a set of values and a set of windows. Types are formed by matching the two uniformly at random. By averaging, the upper bounds also hold for i.i.d. values from an unknown distribution.

Definitioncc-competitive for revenue

Rev(p(θ))=∑ipi(θ)\mathrm{Rev}(p(\theta)) = \sum_i p_i(\theta). The benchmark R∗(θ)R^*(\theta) is the offline Vickrey revenue, the second-highest value.

min⁡z∈ZE[Rev(p(θz))R∗(θz)]≥1c,(16.10)\min_{z\in Z}\mathbb{E}\left[\frac{\mathrm{Rev}(p(\theta_z))} {R^*(\theta_z)}\right] \ge \frac1c, \tag{16.10}

with expectation over the random matching.

The straw man fails

ExampleExample 16.20 — naive learn-then-post isn’t truthful

Rule: observe the first N/eN/e reports, then post the maximum seen and sell to the first later bid above it.

Six agents; 6/e≈26/e \approx 2 bids are observed. Types (1,7,6)(1,7,6), (3,7,2)(3,7,2), (4,8,4)(4,8,4), (6,7,8)(6,7,8), and two later arrivals.

  • Truthful: the learning phase sees agents 1 and 2, so the price is 6. Agent 3 (value 4) passes. Agent 4 wins in period 6 and pays 6.
  • Agent 1 delays to (5,7,6)(5,7,6): the learning phase now sees agents 2 and 3, so the price is 4. Agent 1 bids in period 5, wins, and pays 4.

WarningWhy it fails

It is truthful for impatient agents, but not monotone in arrival time. Arriving early puts your value into the learning sample and raises your own price. So a patient agent wants to arrive late.

The fix

AlgorithmAuction 3 — adaptive limited-supply auction

Bids θ^i\hat\theta_i are made in period a^i\hat a_i.

  1. Learning: in the period τ\tau when the (N/e)(N/e)-th bid arrives, let p≥qp \ge q be the top two values so far.
  2. Transition: if an agent who bid pp is still present at τ\tau, sell to it (random tie-break) at price qq.
  3. Accepting: otherwise sell to the next agent bidding at least pp (random tie-break), at price pp.
graph LR
  L["Learning: collect first N/e bids"] --> X{"Top bidder still present at transition?"}
  X -->|"yes"| S1["Sell to top bidder at second price q"]
  X -->|"no"| A["Accepting: sell to next bid at least p, at price p"]

IntuitionWhy the transition step matters

An early arrival still sets the price pp, but if it is still around at the transition, it gets the item at the second price qq. Arriving early no longer hurts you. That restores monotonicity in arrival.

TheoremTheorem 16.21 — Auction 3 is strongly truthful

Auction 3 is strongly truthful in the single-unit, limited-supply environment with no early-arrival misreports.

ProofCase analysis on where the window sits; check monotonic-late

Let tie-breaking be independent of reported departure, and fix θ−i\theta_{-i}.

Case (a): window ends before the transition. Never served; nothing to check.

Case (b): window spans the transition, ii doesn’t trigger it, and wins with wi>qw_i > q. No tie is involved. An earlier arrival, later departure or higher value changes nothing about the price at the transition, so ii still wins. Price qq.

Case (c): arrives after the transition and wins with wi>pw_i > p (perhaps by tie-break with a same-period rival). ii still wins with an earlier arrival (even before the transition, where its value sets pp), with a later departure (the tie-break is departure-invariant), or with a higher value. Price pp.

Case (d): ii triggers the transition and wins with wi>qw_i > q. Then wi=pw_i = p and there is no tie. ii still wins with an earlier arrival (until the next-earliest agent becomes the trigger), with a higher value, and is unaffected by departure. Price qq.

Step 5: Payments are critical values (qq, pp, qq). The policy is monotonic-late: in (b) the critical value is infinite for departures before the transition and constant after, so the critical departure is the transition. In (c) and (d) the price is departure-independent, so the critical departure is the arrival.

∎

ExampleExample 16.22 — the same six agents under Auction 3

The transition happens at agent 2’s arrival (period 3), with p=6p=6, q=2q=2. Agent 1 is still present, so it wins for 2.

Now suppose agent 1’s true type were (1,2,6)(1,2,6). It has left by period 3, so the item goes to agent 4 in period 6 for 6. Could it gain by claiming (1,7,6)(1,7,6)? It would win, but not until period 3, after its true departure. Monotonic-late bites.

TheoremTheorem 16.23 — competitive ratios

As N→∞N\to\infty, Auction 3 is (e+o(1))(e + o(1))-competitive for efficiency and (e2+o(1))(e^2 + o(1))-competitive for revenue.

ProofLower-bound the probability of the “good” event in each branch

Let τ=N/e\tau = N/e.

Efficiency: the ratio is at least Pr⁡[sell to the highest value]\Pr[\text{sell to the highest value}].

  • Given a sale at the transition: ≥(N/e)/N=1/e−o(1)\ge (N/e)/N = 1/e - o(1).
  • Given a sale after it: 1/e−o(1)1/e - o(1), by the classical secretary analysis.

Revenue: the ratio is at least Pr⁡[sell to the highest at the second-highest price]\Pr[\text{sell to the highest at the second-highest price}].

  • At the transition: both top values arrive before τ\tau, with probability (1/e)2−o(1)(1/e)^2 - o(1).
  • After it: the second-highest arrives before τ\tau and the highest after, with probability (1/e)(1−1/e)−o(1)(1/e)(1-1/e) - o(1).

The key step: the unconditional probability is a weighted average of the branches, so it is at least the smaller one, (1/e)2−o(1)(1/e)^2 - o(1).

∎

NoteLower bound, stated without proof

No stopping rule beats success probability 1/e1/e asymptotically, and the same 1/e1/e bound holds here. This is so even though the mechanism sees values, not ranks, and a non-highest winner still earns partial efficiency. The proof is beyond scope. The sketch in the chapter: some hard distribution makes the second-highest value much smaller than the highest with high probability, so efficiency is driven by the chance of picking the top.

ImportantRandom ordering is essential

Under the fully adversarial model used for expiring items, no constant- competitive mechanism exists for limited supply.


Beyond the basic characterization

Ex-post IC vs DSIC

DefinitionEx-post IC (EPIC)

Truth is a best response given that others are truthful, whatever their types, and hence for all possible futures.

Offline with private values, EPIC and DSIC coincide. They still coincide for closed online mechanisms. If the mechanism gives feedback (prices, or even current bids), a later agent can condition on earlier reports. Monotonicity then gives EPIC but not necessarily DSIC.

ExampleA “crazy” conditional strategy under public bids

Auction 2 with (1,2,100),(1,2,80),(2,2,60)(1,2,100), (1,2,80), (2,2,60). Agent 3 plays: “bid (2,2,1000)(2,2,1000) if I see (1,2,100)(1,2,100), else bid (2,2,60)(2,2,60).”

  • Agent 1 truthful: agent 3 bids 1000, so agent 1 must beat agent 2 in period 1. It pays 80.
  • Agent 1 bids (1,2,90)(1,2,90): agent 3 bids 60, so agent 1 could win period 2 for anything above 60. It pays 60.

Truth isn’t dominant, but it is still a best response when everyone else is truthful.

Price-schedule auctions

AlgorithmTruthful auctions from agent-independent price schedules

Fix a schedule qit(L,θ−i,ω)q_i^t(L, \theta_{-i}, \omega). Let

p(ai,di,Li)(θ−i,ω)=min⁡t∈[ai,di]qit(Li,θ−i,ω),p_{(a_i,d_i,L_i)}(\theta_{-i},\omega) = \min_{t\in[a_i,d_i]} q_i^t(L_i,\theta_{-i},\omega),

and let t∗t^* be the first period in the window attaining it. Serve ii iff ri≥qitr_i \ge q_i^t for some tt in the window, and only at a period t≥t∗t \ge t^*. This is monotonic-late with critical value pp.

ExampleExample 16.24 — not every monotonic-late policy is a price schedule

Expiring items with v(1,2)c=20v^c_{(1,2)} = 20 and v(1,1)c=v(2,2)c=30v^c_{(1,1)} = v^c_{(2,2)} = 30. The policy serves (1,2,25)(1,2,25) in period 2, but not (1,1,28)(1,1,28) or (2,2,28)(2,2,28). A schedule would need q1>28q^1 > 28, q2>28q^2 > 28 and min⁡(q1,q2)≤25\min(q^1,q^2) \le 25, which is impossible.

The role of limited misreports

In Example 16.24 the period-2 price depends on the report: 30 for window (2,2)(2,2) but 20 for (1,2)(1,2). This violates agent-independent prices, and even weak monotonicity, which is normally necessary for truthfulness.

DefinitionWeak monotonicity (footnote)

If f(θi,θ−i)=af(\theta_i,\theta_{-i}) = a and f(θi′,θ−i)=bf(\theta'_i,\theta_{-i}) = b, then vi(b,θi′)−vi(b,θi)≥vi(a,θi′)−vi(a,θi)v_i(b,\theta'_i) - v_i(b,\theta_i) \ge v_i(a,\theta'_i) - v_i(a,\theta_i). In the example, moving from (1,2,25)(1,2,25) to (2,2,28)(2,2,28) raises the relative value of a period-2 allocation, yet the policy switches away from it.

ImportantWhy it’s still truthful

The agent (2,2,28)(2,2,28) can’t report (1,2,28)(1,2,28): that would be an early arrival. For transitive misreport sets (if θ′′∈C(θ′)\theta'' \in C(\theta') and θ′∈C(θ)\theta' \in C(\theta) then θ′′∈C(θ)\theta'' \in C(\theta), which holds for no-early and no-late), the price for outcome kk must be

pi(k,θi,θ−i,ω)=min⁡{pi(k,θ^i,θ−i,ω):θ^i∈C(θi), π(θ^i,θ−i,ω)=k},p_i(k,\theta_i,\theta_{-i},\omega) = \min\{p_i(k,\hat\theta_i, \theta_{-i},\omega) : \hat\theta_i \in C(\theta_i),\ \pi(\hat\theta_i, \theta_{-i},\omega) = k\},

or ∞\infty if no such report exists. Prices may depend on the report as long as they are constant across the agent’s available misreports. With unlimited misreports this collapses back to agent-independent prices.

IntuitionThe blessing and the curse of time

Time justifies limited misreports, which buy flexibility in pricing and in timing allocations. Time also forces decisions in ignorance of the future.

Unknown interesting sets

If LiL_i is private, make three changes:

  1. the sets in Li\mathcal{L}_i must be pairwise disjoint;
  2. the policy must be minimal: it never makes a decision in some L≻LLiL \succ_L L_i in the window;
  3. extend the order to θ1⪯θθ2  ⟺  (a1≥a2)∧(d1≤d2)∧(r1≤r2)∧(L1⪰LL2)(16.11)\theta_1 \preceq_\theta \theta_2 \iff (a_1\ge a_2)\wedge(d_1\le d_2) \wedge(r_1\le r_2)\wedge(L_1 \succeq_L L_2) \tag{16.11} and define monotonicity with it.

Then monotonic, minimal, deterministic policies with critical payments are truthful, and monotonicity is necessary among minimal deterministic policies. This is left as an exercise.

WarningDisjointness kills substitutes

With fruit G={apple, banana, pear, lime, lemon}G = \{\text{apple, banana, pear, lime, lemon}\}, known sets can express “any of these.” With private sets you must fix a partition, e.g. {{apple, pear},{banana},{lime, lemon}}\{\{\text{apple, pear}\}, \{\text{banana}\}, \{\text{lime, lemon}\}\}. Each agent wants exactly one block. “Apple, or banana, or either” can’t be modeled; this is an open problem.

Stochastic policies

Randomization matters for sampling-based planning and for anonymous tie-breaking. General DSIC for stochastic policies means truth maximizes expected utility (over the policy’s coins) for all others’ reports and all ω\omega. Let πi(θi,θ−i,ω)∈[0,1]\pi_i(\theta_i,\theta_{-i},\omega) \in [0,1] be the allocation probability.

DefinitionStochastic monotonicity

For all θi\theta_i, θ−i\theta_{-i}, ω\omega:

πi((ai,di,(ri′,Li)),⋅)≥πi((ai,di,(ri,Li)),⋅)∀ ri′≥ri,(16.12)\pi_i((a_i,d_i,(r'_i,L_i)),\cdot) \ge \pi_i((a_i,d_i,(r_i,L_i)),\cdot) \quad \forall\, r'_i \ge r_i, \tag{16.12} ∫0riπi((ai,di,(x,Li)),⋅) dx≥∫0riπi((ai′,di′,(x,Li)),⋅) dx∀ ai′≥ai, di′≤di.(16.13)\int_0^{r_i} \pi_i((a_i,d_i,(x,L_i)),\cdot)\,dx \ge \int_0^{r_i} \pi_i((a'_i,d'_i,(x,L_i)),\cdot)\,dx \quad \forall\, a'_i\ge a_i,\ d'_i\le d_i. \tag{16.13}

Critical value (an expected payment):

v(ai,di,(ri,Li))c(θ−i,ω)=πi(θ,ω) ri−∫0riπi((ai,di,(x,Li)),θ−i,ω) dx.(16.14)v^c_{(a_i,d_i,(r_i,L_i))}(\theta_{-i},\omega) = \pi_i(\theta,\omega)\,r_i - \int_0^{r_i} \pi_i((a_i,d_i,(x,L_i)),\theta_{-i},\omega)\,dx. \tag{16.14}

IntuitionWhat (16.13) compares

∫0rπ dx\int_0^{r}\pi\,dx is the expected utility of a truthful agent with reward rr (Myerson-style). (16.13) says the weaker window earns at least as much utility as any tighter window at every reward level, so no one wants to claim a tighter window. Pointwise allocation probabilities needn’t be ordered.

TheoremTheorem 16.25 — stochastic characterization

A stochastic policy is implementable by a truthful, IR mechanism that doesn’t pay losers (known interesting set, single-valued, no early arrival, no late departure) iff it satisfies (16.12) and (16.13). The payment is (16.14).

ExampleExample 16.26 — pointwise non-monotone, still truthful

T={1,2}T = \{1,2\}, types (1,1,w)(1,1,w), (1,2,w)(1,2,w), (2,2,w)(2,2,w).

Typeπi\pi_iexpected payment (16.14)
impatient (1,1,w)(1,1,w), (2,2,w)(2,2,w)00 (w≤8w\le8); w−82\frac{w-8}{2} (8<w≤108<w\le10); 11 (w>10w>10)00; w24−16\frac{w^2}{4}-16; 99
patient (1,2,w)(1,2,w)w20\frac{w}{20} (w≤10w\le10); w−510\frac{w-5}{10} (10<w≤1510<w\le15); 11 (w>15w>15)w240\frac{w^2}{40}; w220−52\frac{w^2}{20}-\frac52; 8.758.75

At w=10w=10: the impatient type is served surely for 9, and the patient type with probability 0.50.5 for expected payment 2.5. The patient type is served less often, but prefers truth: it gets 5−2.5=2.55 - 2.5 = 2.5 versus 10−9=110 - 9 = 1 from claiming (1,1,10)(1,1,10).

Check of (16.13) at large ww: ∫0wπ(1,2,x) dx=w−8.75≥w−9=∫0wπ(1,1,x) dx\int_0^w \pi(1,2,x)\,dx = w - 8.75 \ge w - 9 = \int_0^w \pi(1,1,x)\,dx. The full check is left as an exercise.

RemarkBayesian monotonicity is weaker

With a common-knowledge prior over types and ω\omega, it suffices that (16.12)–(16.13) hold in expectation. This yields BNIC, not DSIC: off equilibrium, the prior behind the expectation is wrong.


Model-based: the dynamic VCG mechanism

The problem. Beyond single-valued preferences, monotonicity methods run out. With a correct, common-knowledge model of types and events, we can aim for expected-value-maximizing sequential decisions, and make them truthful with a dynamic analogue of VCG.

MDPs

DefinitionMarkov decision process

(H,K,P,R)(H, K, P, R): states HH; feasible decisions K(h)K(h); transitions P(ht+1∣ht,kt)P(h^{t+1} \mid h^t, k^t) summing to 1; reward R(ht,kt)R(h^t,k^t). Markov property: feasibility, transitions and rewards depend on the past only through the current state. It holds trivially with ht=(θ≤t;ω≤t;k<t)h^t = (\theta^{\le t}; \omega^{\le t}; k^{<t}); in practice a compact summary suffices.

For total value, R(ht,kt)=∑i∈I(ht)Ri(ht,kt)R(h^t,k^t) = \sum_{i\in I(h^t)} R_i(h^t,k^t) with vi(θi,k)=∑t=aidiRi(ht,kt)v_i(\theta_i,k) = \sum_{t=a_i}^{d_i} R_i(h^t,k^t).

FormulaPolicy value and Bellman optimality

Finite horizon: Vπ(ht)=Eπ{∑τ=t∣T∣R(hτ,πτ(hτ))}V^\pi(h^t) = \mathbb{E}_\pi\{\sum_{\tau=t}^{|T|} R(h^\tau,\pi^\tau(h^\tau)) \}. Infinite horizon with a common discount γ∈(0,1)\gamma\in(0,1): Vπ(ht)=Eπ{∑τ≥tγτ−tR(hτ,πτ(hτ))}V^\pi(h^t) = \mathbb{E}_\pi\{\sum_{\tau\ge t}\gamma^{\tau-t} R(h^\tau,\pi^\tau(h^\tau))\}.

V∗(h)=max⁡k∈K(h)[R(h,k)+∑h′∈Ht+1P(h′∣h,k) V∗(h′)],(16.19)V^*(h) = \max_{k\in K(h)}\Big[R(h,k) + \sum_{h'\in H^{t+1}} P(h'\mid h, k)\,V^*(h')\Big], \tag{16.19} π∗(h)∈arg⁡max⁡k∈K(h)[R(h,k)+∑h′P(h′∣h,k) V∗(h′)].(16.20)\pi^*(h) \in \arg\max_{k\in K(h)}\Big[R(h,k) + \sum_{h'} P(h'\mid h,k) \,V^*(h')\Big]. \tag{16.20}

IntuitionBellman in words

Best value from here = best choice of (reward now + expected best value from wherever that choice sends you).

WarningThe state contains private types

π∗\pi^* is only optimal if the state it sees is the true state. So incentive compatibility is exactly what makes the planner’s view correct.

ExampleExample 16.27 — ice cream as an MDP

State and decisions as in Example 16.3. PP encodes the model of new arrivals and the allocation. R(ht,kt)=wiR(h^t,k^t) = w_i if the cone goes to present agent ii, else 0.

The mechanism

AlgorithmAuction 4 — dynamic VCG (finite horizon, no discounting)

Past decisions and reports are public (similar analysis holds without this).

  1. Agent ii reports θ^i\hat\theta_i in some period a^i≥ai\hat a_i \ge a_i.
  2. Implement π∗\pi^*, treating the reported state as true.
  3. At reported departure t=d^it = \hat d_i, collect
xit(ht)=vi(θ^i,π∗(θ≤t,ω≤t))−[V∗(ha^i)−V∗(h−ia^i)],(16.21)x_i^t(h^t) = v_i\big(\hat\theta_i, \pi^*(\theta^{\le t},\omega^{\le t}) \big) - \Big[V^*(h^{\hat a_i}) - V^*(h^{\hat a_i}_{-i})\Big], \tag{16.21}

where h−ith^t_{-i} is the counterfactual state with ii removed. Zero otherwise.

IntuitionPay your value, get rebated your expected marginal contribution

V∗(ha^i)−V∗(h−ia^i)V^*(h^{\hat a_i}) - V^*(h^{\hat a_i}_{-i}) is the expected marginal value ii adds to the system, estimated on arrival. ii pays its realized value minus this. So truthful ii‘s expected utility equals its expected marginal contribution. This is the Clarke-pivot idea with “welfare” replaced by “optimal expected continuation value.”

Two technical conditions:

  • Stalling: delaying an agent’s report can’t improve π∗\pi^*‘s expected value. This holds automatically if the policy could itself delay any decisions pertaining to that agent.
  • Independence: the arrival process of others doesn’t depend on whether ii has arrived.

TheoremTheorem 16.28 — dynamic VCG is BNIC and efficient

With a stalling policy, dynamic VCG is BNIC and implements the expected- value-maximizing policy, with no early-arrival misreports and arbitrary departure misreports.

ProofUtility = total welfare + an agent-independent term

Evaluate ii‘s expected utility from period aia_i for a misreport that delays arrival by c≥0c \ge 0 periods:

Eπ∗{vi(θi,π∗(hai))∣θ^i}⏟(A)+Eπ∗{∑t=ai+c∣T∣R−i(ht,π∗(ht))}⏟(B)−Eπ∗{V∗(h−iai+c)}⏟(C).\underbrace{\mathbb{E}_{\pi^*}\{v_i(\theta_i,\pi^*(h^{a_i})) \mid\hat\theta_i\}}_{(A)} + \underbrace{\mathbb{E}_{\pi^*}\Big\{ \sum_{t=a_i+c}^{|T|} R_{-i}(h^t,\pi^*(h^t))\Big\}}_{(B)} - \underbrace{\mathbb{E}_{\pi^*}\{V^*(h^{a_i+c}_{-i})\}}_{(C)}.

Step 1: Match terms to the payment.

  • (A) is ii‘s true value from the outcome its report induces.
  • (B) is the others’ realized value from its reported arrival onward. It is the expectation of −vi(θ^i,⋅)+V∗(ha^i)-v_i(\hat\theta_i,\cdot) + V^*(h^{\hat a_i}) in the payment.
  • (C) is the counterfactual value without ii, the last payment term.

Step 2: Shift the early periods. Add E{∑t=aiai+c−1R−i}\mathbb{E}\{\sum_{t=a_i}^{a_i+c-1} R_{-i}\} to (B) and subtract it from (C). The new (C′) covers the others’ value from aia_i in a world where ii hasn’t reported, and then without ii. By independence, (C′) doesn’t depend on ii‘s report, so ignore it.

The key step: (A) + (B′) is ii‘s true value plus everyone else’s value from aia_i on, i.e. the true total welfare. π∗\pi^* maximizes exactly this given the true state when others report truthfully. So ii maximizes its own utility by reporting truthfully and immediately. Stalling guarantees that delay can’t help.

∎

WarningBNIC, not DSIC

Correctness of π∗\pi^* rests on the center’s model being right. An agent whose beliefs differ from the center’s may believe it gains by misreporting (misrepresenting the state). Incentives also rely on future on-equilibrium play by everyone.

NoteIR and budget (footnotes)

  • Ex-post IR holds under agent-monotonicity: adding an agent never lowers the MDP value of any state.
  • Payments are nonnegative in expectation (ex ante budget balance) under no positive externalities: an arrival doesn’t raise others’ expected value.
  • The mechanism remains BNIC even without the no-early-arrival assumption.

Remarks

RemarkComputation

Exact MDP solutions (dynamic programming, value iteration, policy iteration, LP) don’t scale to real state spaces. Pair VCG with an online sampling-based approximation that plans forward from the current state only.

  • An ϵ\epsilon-approximation gives ϵ\epsilon-BNIC: no agent gains more than ϵ\epsilon, if others are truthful and ϵ\epsilon-accurate value estimates are available.
  • Sparse sampling builds a lookahead tree. Its cost is independent of the state-space size but exponential in the number of decisions and in the horizon.
  • Stochastic online combinatorial optimization handles MDPs whose uncertainty is independent of decisions. This is natural for IC auctions: allocations don’t change what types arrive.

RemarkInfinite horizon

With a common discount factor, collect payments every period, aligning ii‘s utility stream with the expected marginal value stream it contributes.

RemarkCoordinated learning

When decisions reveal information about types (types learned online), a VCG variant supports efficient multi-agent bandits. Each agent owns an arm with private reward signals. Gittins’ index policy gives the efficient explore/exploit rule (infinite horizon, discounting), and dynamic-VCG-style payments make truthful reporting of signals incentive compatible.


Open problems

  • Revenue in model-based settings: an online analogue of Myerson’s optimal auction is only partially solved, even in the simplest settings (see revenue-maximization).
  • Learning by the center: improve the type model over time while staying IC along the learning path, converging to efficient or optimal mechanisms.
  • Solution concepts between DSIC and BNIC that avoid common-knowledge priors: set Nash, undominated strategies, minimax regret.
  • Endogenous information: decisions affect what agents learn about their own types.
  • Richer domains: substitutes across non-partition sets, budgets, interdependent values, and ultimately online combinatorial auctions and exchanges.

Quick reference

ObjectStatementNote
Expiring items type(ai,di,wi)(a_i,d_i,w_i), one unit in windowJane’s ice cream
Auction 1greedy, second price this periodnot truthful (Ex. 16.1)
Def 16.2M=(π,x)M=(\pi,x), one report, πt(ht)∈K(ht)\pi^t(h^t)\in K(h^t)closed = no feedback
Limited misreportsno early: ai≤a^ia_i\le\hat a_i; no late: d^i≤di\hat d_i\le d_ireports only tighten the window
DSIC / strong truthful / BNICtruth dominant / for every coin / best reply under a prior
Revelation principlefails with late-departure misreports (Ex. 16.7)holds with no-late, or with heartbeats
Single-valued (16.1)value rir_i for any interesting decision in windowknown LiL_i
⪯θ\preceq_\theta (16.2)later arrival, earlier departure, lower reward”harder, worth less”
Critical value (16.3)min reward still servedindependent of rir_i
Lemma 16.12vcv^c weakly increases as window tightensmonotone π\pi
Thm 16.13monotone + critical payment at departure ⇒ truthfulno early, no late
Lemma 16.14truthful + IR ⇒ pay exactly vcv^c
Thm 16.15truthful + IR + losers unpaid ⇒ monotonefails if losers paid
Monotonic-latemonotone + no service before critical departureiff with arbitrary departures
Auction 2greedy + critical paymentsEx. 16.16: both pay 60
Thm 16.17Auction 2 strongly truthful, 2-competitivecharging, ≤2 charges each
Thm 16.18no truthful deterministic (2−ϵ)(2-\epsilon)1.618 algorithm exists, not monotone
Thm 16.19late departures ⇒ no constant ratiopatient agents served in period 1
Secretary rule (16.9)sample ≈N/e\approx N/e, take next best-so-farsuccess →1/e\to 1/e
Auction 3learn N/eN/e; sell to present top at qq, else next ≥p\ge p at ppEx. 16.20 straw man fails
Thm 16.21Auction 3 strongly truthful, monotonic-lateno early arrival
Thm 16.23ee-competitive efficiency, e2e^2 revenuerandom ordering essential
EPIC vs DSICequal for closed mechanisms; feedback breaks DSIC
Price schedulesp=min⁡t∈windowqtp=\min_{t\in\text{window}} q^t, serve at t≥t∗t\ge t^*not fully general (Ex. 16.24)
Limited-misreport pricingprice constant over available misreportstransitive CC
Unknown LiL_idisjoint sets + minimal policy + extended order (16.11)no substitutes
Stochastic monotonicity(16.12) in reward; (16.13) integral over windowThm 16.25 iff
Critical value (16.14)πri−∫0riπ dx\pi r_i - \int_0^{r_i}\pi\,dxexpected payment
Bellman (16.19)–(16.20)V∗=max⁡k[R+EV∗]V^* = \max_k[R + \mathbb{E}V^*]
Dynamic VCG (16.21)pay value minus V∗(ha^i)−V∗(h−ia^i)V^*(h^{\hat a_i}) - V^*(h^{\hat a_i}_{-i})on departure
Thm 16.28dynamic VCG BNIC, efficientstalling + independence
IR / BBagent-monotonicity / no positive externalitiesfootnote

Facts to keep to hand

  • Every DSIC result is monotonicity + critical value. The online twist is that the order on types includes the window. Tighter window, like lower reward, is “worse.”
  • Limited misreports do two jobs. They make monotonicity sufficient, since agents can only move down the order in the window dimension. They also permit report-dependent prices that would be illegal offline (Ex. 16.24).
  • Every attack in the chapter is a timing attack. Delay arrival to enter a cheaper auction (Ex. 16.1, 16.20). Claim a later departure to face a lower price (Thm 16.19). Each fix neutralizes one: critical payments, the transition sale, monotonic-late.
  • Truthfulness costs a factor. For expiring items: 1.618 algorithmically vs 2 truthfully. With late departures, no constant at all.
  • The adversary model decides what is possible. Limited supply has no constant ratio against a fully adversarial input, but ee / e2e^2 under random ordering.
  • Each weakening of the solution concept buys generality. Strong truthful → DSIC (randomization in expectation) → EPIC (feedback) → BNIC (a common prior buys general preferences and the MDP-optimal policy).
  • Dynamic VCG = VCG with “welfare” replaced by “optimal expected continuation value.” The proof is the usual one: utility = total welfare
    • an agent-independent term. Stalling handles delay, and independence makes the counterfactual term agent-independent.

References

← All notes