Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

Machine Learning

653 missions · 435 completed

The science of systems that learn from data and experience. Its scope runs from the statistical and mathematical foundations of learning, including generalization, expressivity, and computational limits, through the design of learning algorithms, deep learning, reinforcement learning, and probabilistic methods, to the empirical study of large models and the trustworthiness, interpretability, and societal impact of learned systems.

Missions

Open218Completed435All653
🏆Completed
CombinatoricsOperations ResearchOptimization·Captain: mikedeng1

The Power of Subsampling in Submodular Maximization: SampleGreedy is a (p+1)²/p-approximation for non-negative submodular maximization over p-extendible systemsResearch Paper

Motivation

Many selection problems in machine learning and operations research ask for a set of items that maximizes a utility with diminishing returns, subject to a combinatorial feasibility constraint: summarizing a collection of images or documents, placing sensors, recommending a diverse set of products, or choosing a set of edges that forms a matching. Diminishing returns is submodularity; the feasibility constraints in these examples (matroids, intersections of matroids, matchings, knapsack-type systems) are instances of ppp-extendible systems, a class introduced by Mestre (ESA 2006). Many useful objectives, such as graph cuts and diversity-regularized utilities, are non-monotone: adding an item can lower the value.

The greedy algorithm has a long history for this problem class. Fisher, Nemhauser and Wolsey (1978, doi:10.1007/BFb0121195) showed that greedy gives a (p+1)(p+1)(p+1)-approximation for monotone submodular objectives over ppp-systems, a class that contains ppp-extendible systems. For non-monotone objectives, the known greedy-based algorithms ran the greedy algorithm repeatedly. Gupta, Roth, Schoenebeck and Talwar (WINE 2010) obtained roughly 3p3p3p, Mirzasoleiman et al. (2016) roughly 2p2p2p, and Feldman, Harshaw and Karbasi (COLT 2017) p+O(p)p + O(\sqrt p)p+O(p​), each with Ω(nkp)\Omega(nkp)Ω(nkp) or Ω(nkp)\Omega(nk\sqrt p)Ω(nkp​) oracle queries. Harshaw, Kazemi, Feldman and Karbasi (arXiv:2104.02772; Mathematics of Operations Research, 2022) showed that a single random subsampling of the ground set, followed by one run of the plain greedy algorithm, gives a (p+1)2/p(p+1)^2/p(p+1)2/p-approximation for non-negative submodular objectives with expected O(n+nk/p)O(n + nk/p)O(n+nk/p) oracle calls. This mission formalizes that guarantee.

Setting

Let N\mathcal NN be a finite ground set of size nnn, with a fixed linear order u1<⋯<unu_1 < \dots < u_nu1​<⋯<un​ that is used only to break ties. A set function is a map f:2N→Rf : 2^{\mathcal N} \to \mathbb Rf:2N→R. The marginal gain of uuu at SSS is f(u∣S)=f(S∪{u})−f(S)f(u \mid S) = f(S \cup \{u\}) - f(S)f(u∣S)=f(S∪{u})−f(S).

  • fff is submodular if f(A∪{e})−f(A)≥f(B∪{e})−f(B)f(A \cup \{e\}) - f(A) \ge f(B \cup \{e\}) - f(B)f(A∪{e})−f(A)≥f(B∪{e})−f(B) whenever A⊆BA \subseteq BA⊆B and e∉Be \notin Be∈/B; monotone if A⊆BA \subseteq BA⊆B implies f(A)≤f(B)f(A) \le f(B)f(A)≤f(B); linear if the submodular inequality always holds with equality.
  • A predicate I\mathcal II on subsets is an independence system if ∅∈I\emptyset \in \mathcal I∅∈I and I\mathcal II is closed under taking subsets. It is ppp-extendible if for all A⊆BA \subseteq BA⊆B in I\mathcal II and every e∉Ae \notin Ae∈/A with A∪{e}∈IA \cup \{e\} \in \mathcal IA∪{e}∈I there is Y⊆B∖AY \subseteq B \setminus AY⊆B∖A with ∣Y∣≤p|Y| \le p∣Y∣≤p and (B∖Y)∪{e}∈I(B \setminus Y) \cup \{e\} \in \mathcal I(B∖Y)∪{e}∈I.

The problem is max⁡S∈If(S)\max_{S \in \mathcal I} f(S)maxS∈I​f(S) for non-negative submodular fff; OPT denotes a maximizer.

SampleGreedy with sampling probability qqq keeps each element independently with probability qqq, giving a sample N′\mathcal N'N′. It then starts from S=∅S = \emptysetS=∅ and repeatedly adds the element u∈N′u \in \mathcal N'u∈N′ of largest marginal gain among those with S∪{u}∈IS \cup \{u\} \in \mathcal IS∪{u}∈I and f(u∣S)>0f(u \mid S) > 0f(u∣S)>0, ties broken by the fixed order, until no such element is left. Its expected value is

Eq[f(S)]=∑N′⊆Nq∣N′∣(1−q)n−∣N′∣ f(SampleGreedy(N′)).\mathbb E_q[f(S)] = \sum_{\mathcal N' \subseteq \mathcal N} q^{|\mathcal N'|}(1-q)^{n-|\mathcal N'|}\, f\big(\mathrm{SampleGreedy}(\mathcal N')\big).Eq​[f(S)]=N′⊆N∑​q∣N′∣(1−q)n−∣N′∣f(SampleGreedy(N′)).

For the analysis the paper introduces Algorithm 2, which runs greedy over the whole ground set, flips a qqq-coin for each chosen element, and maintains a set OOO (initially OPT), removal sets OuO_uOu​, snapshots SuS_uSu​ and indicators XuX_uXu​ ("uuu was considered") and YuY_uYu​.

Formalization targets

Goal: Theorem 1 (p. 7)

For non-negative submodular fff, a ppp-extendible system with p≥1p \ge 1p≥1, and every T∈IT \in \mathcal IT∈I: SampleGreedy's output is always independent, and $$f(T) \le \frac{(p+1)^2}{p},\mathbb E_{1/(p+1)}[f(S)], \qquad f(T) \le (p+1),\mathbb E_{1/(p+1)}[f(S)] \ \text{if fff is monotone},

f(T) \le p,\mathbb E_{1/p}[f(S)] \ \text{if fff is linear}.$$

Milestones

In attack order: Lemma 3 (p. 8, already Proved on the platform: a random set whose elements each appear with probability at most qqq keeps a (1−q)(1-q)(1−q) fraction of g(∅)g(\emptyset)g(∅) in expectation); Lemma 4 (p. 10, SampleGreedy and Algorithm 2 have the same output law); Lemma 5 (p. 11, invariants of Algorithm 2); Lemma 6 (p. 12, f(S)≥f(S∪OPT)−∑u∣Ou∖S∣ f(u∣Su)f(S) \ge f(S\cup \mathrm{OPT}) - \sum_u |O_u \setminus S|\, f(u\mid S_u)f(S)≥f(S∪OPT)−∑u​∣Ou​∖S∣f(u∣Su​)); Lemma 7 (p. 13, inequality (5)); Lemma 8 (p. 14); the display of §4.1.1 (p. 14); Lemma 9 (p. 15, linear objectives); Lemma 10 (p. 16, inequality (7)).

Significance

The result shows that one random subsample plus one greedy pass beats the repeated-greedy algorithms for non-monotone objectives over ppp-extendible systems, both in ratio and in query count, and matches the classical p+1p+1p+1 for monotone objectives. Since no polynomial-query algorithm achieves a ratio better than p+1/2p + 1/2p+1/2 for this problem (Feldman, Harshaw and Karbasi 2017, Theorem 4), the ratio (p+1)2/p=p+2+1/p(p+1)^2/p = p + 2 + 1/p(p+1)2/p=p+2+1/p is nearly tight. The proof technique, which couples the subsampled algorithm with an auxiliary algorithm that flips coins only for the elements it considers, is reused in the paper's streaming algorithm and in later subsampling-based algorithms.

The result is proved on paper; no machine-checked version is known. A formalization would give a checked analysis of a randomized greedy algorithm over an abstract independence system, including the coupling of two random processes, which is the step that informal proofs usually treat most briefly. It would also give reusable definitions of ppp-extendible systems and of greedy runs with explicit tie-breaking. The mission also records a defect of the printed text: Lemma 9 as printed is false for linear functions with f(∅)>0f(\emptyset) > 0f(∅)>0, so it is stated here with f(∅)=0f(\emptyset) = 0f(∅)=0.

Difficulty

The obvious argument would analyze SampleGreedy directly, but there the sample and the greedy path are entangled: which element is chosen next depends on the whole sample. The analysis instead goes through Algorithm 2, and the hard step is Lemma 4, an exact equality of output laws. Its proof needs both algorithms to break ties identically and the coins to be fixed in advance. After that, the expectation bounds of Lemmas 7, 8 and 10 condition on the history up to the iteration in which a given element is considered, and the coin of that element is independent of that history. In the finite-sum encoding this conditioning becomes a combinatorial regrouping of the 2n2^n2n coin outcomes, which has to be carried out explicitly. Lemma 6 requires a disjointness argument for the sets Ou∖SO_u \setminus SOu​∖S across the whole run.

Formalization scope

The ground set is a Fintype α with a LinearOrder α, which is the paper's tie-breaking order (p. 10). Set functions are Finset α → ℝ, and I\mathcal II is a predicate Finset α → Prop. The parameter ppp is a natural number with p≥1p \ge 1p≥1. Submodularity is the published lattice form NonmonotoneSubmod.Shared.Submodular (f(S∪T)+f(S∩T)≤f(S)+f(T)f(S\cup T)+f(S\cap T)\le f(S)+f(T)f(S∪T)+f(S∩T)≤f(S)+f(T)), equivalent on finite ground sets to the paper's (1). The while loops run for exactly nnn iterations, which is enough because each effective iteration adds or considers a new element. Expectations are exact finite sums over the 2n2^n2n samples or coin outcomes. Algorithm 2's coins are a fixed bit set, and its line 6 is one fixed minimum-cardinality choice. "α\alphaα-approximation" for a randomized algorithm is read, as in the paper's proof, as E[f(S)]≥f(OPT)/α\mathbb E[f(S)] \ge f(\mathrm{OPT})/\alphaE[f(S)]≥f(OPT)/α, stated against every independent TTT. Linear means (1) with equality and allows f(∅)≠0f(\emptyset) \neq 0f(∅)=0, except in Lemma 9, which adds f(∅)=0f(\emptyset)=0f(∅)=0. The oracle-count clause O(nk/p)O(nk/p)O(nk/p) of Theorem 1 is not formalized.

Trivializing encodings are excluded. The expected value is a sum over the greedy runs on each sample, with the sample as the greedy pool (not the whole ground set followed by a filter). The weights sum to 1. The comparison set is always assumed independent. The ratio (p+1)2/p(p+1)^2/p(p+1)2/p is real division. A sanity file checks that the output on a sample differs from the output on the whole ground set.

A complete development needs the greedy run's invariants, the coupling of Lemma 4, and the regrouping of finite sums over coin outcomes by the history before a given element is considered. The last of these is reusable for any analysis of an algorithm that flips independent coins. Proofs of any milestone, and alternative proofs of Lemma 4, are welcome.

Selected references

  • C. Harshaw, E. Kazemi, M. Feldman, A. Karbasi, The Power of Subsampling in Submodular Maximization, Mathematics of Operations Research, 2022; preprint arXiv:2104.02772v1, 2021. https://arxiv.org/abs/2104.02772
  • M. Feldman, C. Harshaw, A. Karbasi, Greed is Good: Near-Optimal Submodular Maximization via Greedy Optimization, COLT, 2017. https://arxiv.org/abs/1704.01652
  • N. Buchbinder, M. Feldman, J. Naor, R. Schwartz, Submodular Maximization with Cardinality Constraints, SODA, 2014. https://doi.org/10.1137/1.9781611973402.106
  • M. L. Fisher, G. L. Nemhauser, L. A. Wolsey, An analysis of approximations for maximizing submodular set functions – II, Mathematical Programming Study 8, 1978. https://doi.org/10.1007/BFb0121195
  • J. Mestre, Greedy in Approximation Algorithms, ESA, 2006. https://doi.org/10.1007/11841036_49
13 thms3 active usersReviewed
Bandit AlgorithmsOperations ResearchProbability·Captain: mikedeng1

Dynamic Pricing with Unknown Non-Parametric Demand and Limited Price Changes: The SLPE Policy Has Regret O(√T log T log log T) on Its Concentration Event and Makes O(log log T) Price ChangesResearch Paper

Motivation

A retailer selling one product over TTT periods must choose a price each period without knowing how demand responds to price. Charging different prices reveals the demand curve but costs revenue, and in practice every price change has its own cost: relabelling, customer goodwill, contractual limits on repricing. Dynamic pricing with learning asks for policies whose cumulative revenue loss against the best fixed price, the regret, grows slowly in TTT, and recent work also asks that the policy change its price rarely.

The paper's literature review (pp. 3–5) frames the gap. For parametric demand, Broder (2011) gives an MLE-based policy with O~(T)\tilde O(\sqrt T)O~(T​) regret and O(log⁡T)O(\log T)O(logT) price changes, and Cheung, Simchi-Levi and Wang (2017) study limited price changes when demand is one of finitely many known curves. Non-parametric policies such as Besbes and Zeevi (2015) and the continuum-armed bandit algorithm of Agarwal et al. (2011) do not control price changes and incur at least O(log⁡T)O(\log T)O(logT) of them. Perakis and Singhvi (SSRN 3336949; published in Operations Research, doi:10.1287/opre.2020.0445) show that, under a two-point bandit feedback assumption borrowed from online convex optimisation (Agarwal and Dekel 2010, Nesterov 2011), a non-parametric policy can keep O~(T)\tilde O(\sqrt T)O~(T​) regret while changing its price only O(log⁡log⁡T)O(\log\log T)O(loglogT) times.

Setting

Prices lie in [0,1][0,1][0,1]. In period ttt the retailer charges ptp_tpt​ and observes demand

Yt=d(pt)+ϵt,Y_t=d(p_t)+\epsilon_t,Yt​=d(pt​)+ϵt​,

where ddd is an unknown smooth non-increasing demand curve and ϵt\epsilon_tϵt​ is noise. The revenue is r(p)=p d(p)r(p)=p\,d(p)r(p)=pd(p), maximised on [0,1][0,1][0,1] at a unique interior price p∗p^*p∗. The two performance measures are

R(T)=∑t=1T(r(p∗)−r(pt)),LPC(T)=1+∣{2≤t≤T: pt≠pt−1}∣.\mathcal R(T)=\sum_{t=1}^T\big(r(p^*)-r(p_t)\big),\qquad LPC(T)=1+\big|\{2\le t\le T:\ p_t\ne p_{t-1}\}\big|.R(T)=t=1∑T​(r(p∗)−r(pt​)),LPC(T)=1+​{2≤t≤T: pt​=pt−1​}​.

Assumption 1 asks for κ>0\kappa>0κ>0 with d(p∗)−κ(p−p∗)2≤−d′(p) p∗d(p^*)-\kappa(p-p^*)^2\le-d'(p)\,p^*d(p∗)−κ(p−p∗)2≤−d′(p)p∗; Assumption 2 asks that among the observations at two charged prices there is one pair with identical noise, and that the policy can identify it. K1K_1K1​ bounds ∣d(k)∣|d^{(k)}|∣d(k)∣ for k≤3k\le3k≤3.

The SLPE policy (Algorithm 1) runs in rounds i=1,2,…i=1,2,\dotsi=1,2,… with half-widths Δ1=12\Delta_1=\tfrac12Δ1​=21​, Δi+1=μΔi2\Delta_{i+1}=\mu\Delta_i^2Δi+1​=μΔi2​. Round iii charges piL=piM−Δip^L_i=p^M_i-\Delta_ipiL​=piM​−Δi​, piMp^M_ipiM​ and piH=piM+Δip^H_i=p^M_i+\Delta_ipiH​=piM​+Δi​ for ni=2ρ4log⁡T/Δi4n_i=2\rho^4\log T/\Delta_i^4ni​=2ρ4logT/Δi4​ periods each, starting from p1M=12p^M_1=\tfrac12p1M​=21​. It fits a two-piece linear demand estimate whose level is the average demand Dˉni(piM)\bar D_{n_i}(p^M_i)Dˉni​​(piM​) and whose slopes are finite differences of the two identical-noise pairs, maximises the estimated revenue on [piL,piH][p^L_i,p^H_i][piL​,piH​] to obtain p~i∗\tilde p^*_ip~​i∗​, and recentres: pi+1M=p~i∗p^M_{i+1}=\tilde p^*_ipi+1M​=p~​i∗​.

Formalization targets

Goal: Theorem 1 and Corollary 1

Under Assumption 1, the gradient condition ∣d′(p∗)∣≥(K1/24+κ/4)14+c/2|d'(p^*)|\ge(K_1/24+\kappa/4)\tfrac14+c/2∣d′(p∗)∣≥(K1​/24+κ/4)41​+c/2 with c>0c>0c>0, and

2>μ≥M=1c(1ρ2+K16+κ4)+K112+4κ,2>\mu\ge M=\tfrac1c\big(\tfrac1{\rho^2}+\tfrac{K_1}6+\tfrac\kappa4\big)+\tfrac{K_1}{12}+4\kappa,2>μ≥M=c1​(ρ21​+6K1​​+4κ​)+12K1​​+4κ,

there are constants C1,C2,C3C_1,C_2,C_3C1​,C2​,C3​ independent of TTT such that for every T≥3T\ge3T≥3, every noise realisation and every choice of the policy's tie-breaking and pair selection,

LPCSLPE(T)≤C3+3log⁡2(log⁡T),LPC^{SLPE}(T)\le C_3+3\log_2(\log T),LPCSLPE(T)≤C3​+3log2​(logT),

and, on every realisation where Assumption 2 and the concentration event ∣Dˉni(piM)−d(piM)∣≤Δi2/ρ2|\bar D_{n_i}(p^M_i)-d(p^M_i)|\le\Delta_i^2/\rho^2∣Dˉni​​(piM​)−d(piM​)∣≤Δi2​/ρ2 hold in each used round,

RSLPE(T)≤(C1+C2log⁡(log⁡T))Tlog⁡T.\mathcal R^{SLPE}(T)\le\big(C_1+C_2\log(\log T)\big)\sqrt T\log T .RSLPE(T)≤(C1​+C2​log(logT))T​logT.

Milestones

  1. Lemma 1 (p. 10): Assumption 1 gives p∗(d′(p)−d′(p∗))≤κ(p−p∗)2p^*(d'(p)-d'(p^*))\le\kappa(p-p^*)^2p∗(d′(p)−d′(p∗))≤κ(p−p∗)2.
  2. Lemma 2 (p. 11): d′′(p∗)=0d''(p^*)=0d′′(p∗)=0 with Lipschitz r′′r''r′′ and d′d'd′ gives the same inequality with κ=Ψ+Ψˉ+2K1\kappa=\Psi+\bar\Psi+2K_1κ=Ψ+Ψˉ+2K1​.
  3. Lemma 3 (p. 17): the identical-noise finite differences of round iii are within 12K1Δi2/12\tfrac12K_1\Delta_i^2/1221​K1​Δi2​/12 of d′d'd′ at the midpoints.
  4. Hoeffding step (pp. 19–20): P(∣Xˉn∣>Δ2/ρ2)≤1/T2\mathbb P(|\bar X_n|>\Delta^2/\rho^2)\le1/T^2P(∣Xˉn​∣>Δ2/ρ2)≤1/T2 for n≥2ρ4log⁡T/Δ4n\ge2\rho^4\log T/\Delta^4n≥2ρ4logT/Δ4 and sub-Gaussian noise with variance proxy at most 1/31/31/3.
  5. Lemma 4 (p. 17): ∣p∗−p~i∗∣≤MΔi2|p^*-\tilde p^*_i|\le M\Delta_i^2∣p∗−p~​i∗​∣≤MΔi2​ on the good event of rounds 1,…,i1,\dots,i1,…,i.
  6. Containment (p. 17): piL≤p∗≤piHp^L_i\le p^*\le p^H_ipiL​≤p∗≤piH​ on the good event of earlier rounds.
  7. Round count (p. 24): at most C+log⁡2(log⁡T)C+\log_2(\log T)C+log2​(logT) rounds start before TTT.

Significance

The result gives a non-parametric pricing policy whose number of price changes is doubly logarithmic, the same order as the number of batches needed in batched multi-armed bandits, while its regret is within log⁡Tlog⁡log⁡T\log T\log\log TlogTloglogT of the Ω(T)\Omega(\sqrt T)Ω(T​) lower bound of Keskin and Zeevi (2014). Its key estimate, Lemma 4, is a perturbation bound for the maximiser of a piecewise linear surrogate of a smooth revenue function; it applies wherever an optimum is located from noisy function values with matched-noise finite differences.

The theorem is proved on paper and, to the extent that can be determined, has no machine-checked proof. Formalizing it adds a continuum-armed pricing policy with an explicit price-change bound, and a checked version of an argument whose printed proof has gaps: a high-probability step that is false as printed, an inequality used two-sidedly that is assumed one-sidedly, and a logarithm base that does not match. Lemma 4 is posed as printed. It is supported numerically but its printed proof is incomplete, so a formal proof, or a counterexample, is itself new information.

Difficulty

The obvious argument for Lemma 4 compares the first-order condition of the surrogate with that of the true revenue. It fails as written: the surrogate's maximiser may sit at an endpoint of [piL,piH][p^L_i,p^H_i][piL​,piH​] or at the kink piMp^M_ipiM​, where no first-order condition holds, and the comparison needs a two-sided bound on d′(p)−d′(p∗)d'(p)-d'(p^*)d′(p)−d′(p∗) while Assumption 1 is one-sided and weighted by p∗p^*p∗. The regret bound then needs the induction that keeps p∗p^*p∗ inside every round's range, a careful treatment of the last round, which the horizon truncates, and the conversion of the doubly exponential decay of Δi\Delta_iΔi​ into a log⁡2log⁡T\log_2\log Tlog2​logT round count.

Formalization scope

Periods are 0-based and rounds 1-based. The demand is d : ℝ → ℝ, and p∗p^*p∗ is a parameter satisfying hypotheses, not a defined argmax. The noise is a single realisation ε : ℕ → ℝ, and the regret and the price-change count are numbers on it, with no expectation. The policy receives only T,μ,ρT,\mu,\rhoT,μ,ρ, an argmax selector (any rule returning a maximiser of a continuous function on an interval), a pair selector (four periods per round), and the observations d(p)+ϵtd(p)+\epsilon_td(p)+ϵt​ at the prices it charges. nin_ini​ is rounded up. The concentration event's probability is the separate Hoeffding milestone.

The following hypotheses and repairs are added and disclosed in each item:

  • Assumption 1 and the bound K1K_1K1​ are imposed on [−1,2][-1,2][−1,2], because SLPE can charge prices outside [0,1][0,1][0,1].
  • p∗<1p^*<1p∗<1, so that the optimum is interior.
  • Assumption 2 is a property of the realisation, not an almost-sure statement, because under i.i.d. continuous noise it has probability zero.
  • The Hoeffding step carries σ2≤1/3\sigma^2\le1/3σ2≤1/3 and T≥2T\ge2T≥2, since the printed 1−1/T21-1/T^21−1/T2 is false for σ≥1\sigma\ge1σ≥1.
  • The round count and Corollary 1 use log⁡2log⁡T\log_2\log Tlog2​logT; the printed natural-log bounds fail numerically (19 price changes against a printed bound of 15.8 at T=106T=10^6T=106).
  • The inner log⁡(T/(2μρ4log⁡T))\log(T/(2\mu\rho^4\log T))log(T/(2μρ4logT)) is replaced by log⁡T\log TlogT, which only changes the constants.
  • Lemma 1 is posed with Assumption 1's own κ\kappaκ, since the printed "∀p ∃κ\forall p\,\exists\kappa∀p∃κ" is trivial.

Four formalizations would make the goal trivial, and the statements rule each out: a policy that reads ddd or p∗p^*p∗, constants allowed to depend on TTT or on the realisation, an argmax or pair oracle not tied to the observations, and an Assumption 2 that no realisation can satisfy (zero noise with in-block pairs satisfies it, and a sanity check exhibits a full instance).

Theorem 2 (the relaxed Assumption 2A and Algorithm 2) is not part of the mission. A complete development needs Taylor's theorem with remainder, sub-Gaussian tail bounds (available as Mathlib's HasSubgaussianMGF and the platform theorem BanditAlgorithm.subgaussian_sample_mean_tail_bound), and bookkeeping for the round schedule. The schedule lemmas and the finite-difference bound are reusable beyond this paper. Proofs of any milestone are welcome, as is a counterexample to Lemma 4's constant.

Selected references

  • G. Perakis and D. Singhvi, Dynamic Pricing with Unknown Non-Parametric Demand and Limited Price Changes, SSRN 3336949 (PDF of 2020-07-03); published in Operations Research. https://ssrn.com/abstract=3336949, https://doi.org/10.1287/opre.2020.0445
  • O. Besbes and A. Zeevi, On the (Surprising) Sufficiency of Linear Models for Dynamic Pricing with Demand Learning, Management Science 61(4), 2015. https://doi.org/10.1287/mnsc.2014.2031
  • W. C. Cheung, D. Simchi-Levi and H. Wang, Dynamic Pricing and Demand Learning with Limited Price Experimentation, Operations Research 65(6), 2017. https://doi.org/10.1287/opre.2017.1629
  • N. B. Keskin and A. Zeevi, Dynamic Pricing with an Unknown Demand Model: Asymptotically Optimal Semi-Myopic Policies, Operations Research 62(5), 2014. https://doi.org/10.1287/opre.2014.1294
  • A. Agarwal, D. P. Foster, D. Hsu, S. M. Kakade and A. Rakhlin, Stochastic Convex Optimization with Bandit Feedback, NeurIPS 2011. https://arxiv.org/abs/1107.1744
  • V. Perchet, P. Rigollet, S. Chassang and E. Snowberg, Batched Bandit Problems, Annals of Statistics 44(2), 2016. https://arxiv.org/abs/1505.00369
10 thms3 active usersReviewed
Bandit AlgorithmsOperations ResearchProbability·Captain: mikedeng1

An Optimal Policy for Dynamic Assortment Planning Under Uncapacitated Multinomial Logit Models: The Adaptive-Confidence Trisection Policy Has N-Independent Regret at Most C√TResearch Paper

Learning which products to offer

A retailer that sells NNN substitutable products must decide, for each arriving customer, which subset of products to display. Customer preferences are unknown at the start and have to be learned from purchases, while every suboptimal display costs revenue. This is dynamic assortment planning, a standard problem of revenue management in e-commerce and online advertising, and its learning version is a bandit problem whose arms are the 2N2^N2N subsets of products.

Under the multinomial logit (MNL) choice model the problem has been studied through the regret of a policy over TTT customers (Chen, Wang and Zhou, §2 and Table 1):

  • Rusmevichientong, Shen and Shmoys (2010) analysed the same revenue potential as this paper with a golden-ratio search; their bound involves log⁡N\log NlogN and needs a separability (gap) assumption between candidate assortments.
  • Sauré and Zeevi (2013) also cast MNL assortment learning as regret minimization.
  • Agrawal, Avadhanula, Goyal and Zeevi gave UCB and Thompson-sampling policies with regret O~(NT+N)\tilde O(\sqrt{NT} + N)O~(NT​+N) for assortments of capacity KKK.
  • Chen and Wang (2018) proved an Ω(NT)\Omega(\sqrt{NT})Ω(NT​) lower bound in the capacitated model when K≤N/4K \le N/4K≤N/4.

In the capacitated model the regret must grow with NNN. Chen, Wang and Zhou (arXiv:1805.04785v2, Mathematics of Operations Research 2021) show that without a capacity constraint it need not: a trisection policy achieves regret C1TC_1\sqrt TC1​T​ with a universal constant, and T/384\sqrt T/384T​/384 is a lower bound. This mission formalizes the upper bound.

Setting

There are NNN items with known revenues r1,…,rN∈[0,1]r_1,\dots,r_N \in [0,1]r1​,…,rN​∈[0,1] and unknown utilities v1,…,vN≥0v_1,\dots,v_N \ge 0v1​,…,vN​≥0; the no-purchase option has utility v0=1v_0 = 1v0​=1. In each period t=1,…,Tt = 1,\dots,Tt=1,…,T the retailer offers an assortment St⊆[N]S_t \subseteq [N]St​⊆[N], and the customer buys j∈Stj \in S_tj∈St​ with probability vj/(1+∑i∈Stvi)v_j/(1+\sum_{i\in S_t} v_i)vj​/(1+∑i∈St​​vi​) or buys nothing with probability 1/(1+∑i∈Stvi)1/(1+\sum_{i\in S_t} v_i)1/(1+∑i∈St​​vi​), independently of the past. The expected revenue of SSS is

R(S)=∑j∈Srjvj1+∑j∈Svj,R(S) = \frac{\sum_{j\in S} r_j v_j}{1 + \sum_{j\in S} v_j},R(S)=1+∑j∈S​vj​∑j∈S​rj​vj​​,

and the regret of a policy is Regret=E∑t=1TR(S∗)−R(St)\mathrm{Regret} = \mathbb E\sum_{t=1}^T R(S^*) - R(S_t)Regret=E∑t=1T​R(S∗)−R(St​), where S∗S^*S∗ maximizes RRR over all 2N2^N2N subsets.

The policy rests on two objects. The level set Lθ={i:ri≥θ}\mathcal L_\theta = \{i : r_i \ge \theta\}Lθ​={i:ri​≥θ} collects the items whose revenue is at least θ\thetaθ. The revenue potential F(θ)=R(Lθ)F(\theta) = R(\mathcal L_\theta)F(θ)=R(Lθ​) is a piecewise-constant function of one real variable. Its maximum is F∗=sup⁡θ≥0F(θ)F^* = \sup_{\theta \ge 0} F(\theta)F∗=supθ≥0​F(θ), its right limit is F(θ+)F(\theta^+)F(θ+), and θ∗\theta^*θ∗ denotes the fixed point θ∗=F(θ∗)=F∗\theta^* = F(\theta^*) = F^*θ∗=F(θ∗)=F∗.

The adaptive-confidence trisection policy keeps an interval [aτ,bτ][a_\tau, b_\tau][aτ​,bτ​], starting from [0,1][0,1][0,1]. In epoch τ\tauτ it forms the points xτ=23aτ+13bτx_\tau = \tfrac23 a_\tau + \tfrac13 b_\tauxτ​=32​aτ​+31​bτ​ and yτ=13aτ+23bτy_\tau = \tfrac13 a_\tau + \tfrac23 b_\tauyτ​=31​aτ​+32​bτ​, at distance ετ=yτ−xτ=13(23)τ\varepsilon_\tau = y_\tau - x_\tau = \tfrac13(\tfrac23)^\tauετ​=yτ​−xτ​=31​(32​)τ, and runs nτ=8⌈ετ−2ln⁡(8Tετ2)⌉n_\tau = 8\lceil\varepsilon_\tau^{-2}\ln(8T\varepsilon_\tau^2)\rceilnτ​=8⌈ετ−2​ln(8Tετ2​)⌉ inner iterations. Each inner iteration does two things:

  • while yτy_\tauyτ​ lies inside the current confidence interval [ℓ,u][\ell, u][ℓ,u] for F(yτ)F(y_\tau)F(yτ​), it explores: it offers Lyτ\mathcal L_{y_\tau}Lyτ​​, adds the revenue to the running sum ρt\rho_tρt​, and sets [ℓt,ut]=ρt/t±2ln⁡(8T/t)/t[\ell_t, u_t] = \rho_t/t \pm \sqrt{2\ln(8T/t)/t}[ℓt​,ut​]=ρt​/t±2ln(8T/t)/t​;
  • it then exploits by offering Laτ\mathcal L_{a_\tau}Laτ​​.

At the end of the epoch the policy sets bτ+1=yτb_{\tau+1} = y_\taubτ+1​=yτ​ if u<yτu < y_\tauu<yτ​, and aτ+1=xτa_{\tau+1} = x_\tauaτ+1​=xτ​ otherwise. The policy knows rrr and TTT but never vvv.

Formalization targets

Goal: Theorem 3

There is a universal constant C1>0C_1 > 0C1​>0 such that for every NNN, every horizon TTT, all vi≥0v_i \ge 0vi​≥0 and all ri∈[0,1]r_i \in [0,1]ri​∈[0,1], the adaptive-confidence trisection policy satisfies

E∑t=1TR(S∗)−R(St)≤C1T.\mathbb E\sum_{t=1}^T R(S^*) - R(S_t) \le C_1\sqrt T.Et=1∑T​R(S∗)−R(St​)≤C1​T​.

No gap condition and no bound on vvv is assumed. The constant is left unspecified, as in the paper.

Milestones

  • Structure of FFF. Lemma 1 (revenue-ordered optimality), Corollary 1 (F∗=R(S∗)F^* = R(S^*)F∗=R(S∗)), Lemma 2 (the fixed point, under F∗>0F^* > 0F∗>0), the jump identity (S4)/(S8), and Lemmas 3–4 (FFF is below the diagonal to the right of θ∗\theta^*θ∗ and above it to the left).
  • Concentration. Hoeffding's inequality (Lemma 15, already proved on the platform), the uniform inequality with growing confidence levels (Lemma 8, (11)), and the two tail bounds (S32) and (S33) used in the proof of Lemma 10.
  • Recursion. With ψτω(α,β)\psi^\omega_\tau(\alpha,\beta)ψτω​(α,β) the expected regret of epochs τ,…,τ0\tau,\dots,\tau_0τ,…,τ0​ conditioned on the relative position of aτa_\tauaτ​, bτb_\taubτ​ and θ∗\theta^*θ∗ ((14)): Lemma 11 (Case 3, ψτ3≤αT\psi^3_\tau \le \alpha Tψτ3​≤αT), Lemma 9 (Case 1) and Lemma 10 (Case 2).

Significance

Theorem 3, together with the lower bound of Theorem 4, settles the minimax regret of uncapacitated MNL assortment learning at Θ(T)\Theta(\sqrt T)Θ(T​), independent of the number of products. The policy uses no estimate of the individual utilities, and its cost per period is one level-set offer, so it applies to catalogues where NNN is large compared with TTT. The structural lemmas on the revenue potential (Lemmas 1–4) are standard tools for MNL assortment problems and are reusable by other missions on static and dynamic assortment optimization. Lemma 8 is a MOSS-style concentration inequality whose confidence level grows with the sample size; it is the device that removes the log⁡T\sqrt{\log T}logT​ factor of the paper's baseline bound (Theorem 2).

The result is proved in the paper and is not presented as open; no machine-checked proof of any part of it is known. The platform has the MNL model, the UCB policy of Agrawal et al. (whose bound depends on NNN) and Hoeffding's inequality, but no level-set or trisection analysis. A formal proof would also check the paper's argument, whose printed slips are recorded in the scope section.

Difficulty

The regret concerns a stateful algorithm whose epochs end at random times: an inner iteration takes two periods while exploration is active and one afterwards, and the policy's internal state must be recomputed from the purchase history alone. The obvious argument fixes a confidence level 1/T21/T^21/T2, bounds each epoch's regret on the event that all confidence intervals hold, and sums a geometric series. That argument loses a log⁡T\sqrt{\log T}logT​ factor, and it is the paper's own Theorem 2. Removing the factor needs confidence levels that weaken as data accumulate. A failure is then no longer rare enough to be ignored, so the analysis has to track its cost. This is done by a recursion on conditional expected regrets across three cases (interval to the right of, containing, or to the left of θ∗\theta^*θ∗), in which a wrong decision in one epoch passes to another case with controlled probability. Within an epoch, the purchases made while exploring a level set must be shown to behave like i.i.d. samples with mean F(yτ)F(y_\tau)F(yτ​), although the number of explorations is itself random.

Formalization scope

  • Model. The model is the published MNLBandit.UCB.Setting with every subset admissible: histories are sequences of choices in Option (Fin N) (none = no purchase), policies are deterministic functions of the past choices, and expectations are finite sums over histories. Items and periods are 0-based in Lean; epochs and inner iterations are as on the page.
  • Policy. The policy is defined exactly. Confidence radius 2ln⁡(8T/t)/t\sqrt{2\ln(8T/t)/t}2ln(8T/t)/t​ (δ = 1/T in (12)); nτ=max⁡(1,8⌈(yτ−xτ)−2ln⁡(8T(yτ−xτ)2)⌉)n_\tau = \max(1, 8\lceil(y_\tau-x_\tau)^{-2}\ln(8T(y_\tau-x_\tau)^2)\rceil)nτ​=max(1,8⌈(yτ​−xτ​)−2ln(8T(yτ​−xτ​)2)⌉); trisection weights 2/3,1/32/3, 1/32/3,1/3; the update b←yτb \leftarrow y_\taub←yτ​ if and only if u<yτu < y_\tauu<yτ​; exploitation of Laτ\mathcal L_{a_\tau}Laτ​​ in every inner iteration; exploration only while ℓ≤yτ≤u\ell \le y_\tau \le uℓ≤yτ​≤u.
  • Conventions.
    • The max⁡(1,⋅)\max(1,\cdot)max(1,⋅) matters only for tiny TTT, where the printed nτn_\taunτ​ is 000.
    • The empty assortment is allowed (§3 asks St≠∅S_t \neq \varnothingSt​=∅; R(∅)=0R(\varnothing) = 0R(∅)=0).
    • §3's ri>0r_i > 0ri​>0 is relaxed to Theorem 3's ri∈[0,1]r_i \in [0,1]ri​∈[0,1].
    • FFF is defined on all of R\mathbb RR, and F(θ+)F(\theta^+)F(θ+) is Mathlib's Function.rightLim.
    • θ∗\theta^*θ∗ is defined as F∗F^*F∗.
    • ψ\psiψ is a ratio of finite sums and is 000 on a conditioning event of probability 000.
    • Every O(⋅)O(\cdot)O(⋅) and ≲\lesssim≲ is an existential constant chosen before all other quantities.
  • Added hypotheses. Lemma 2 assumes F∗>0F^* > 0F∗>0, which its proof uses. Lemmas 9 and 10 and (S33) assume T≥25T \ge 25T≥25 and that epoch τ\tauτ can start (∑τ′<τnτ′<T\sum_{\tau'<\tau} n_{\tau'} < T∑τ′<τ​nτ′​<T); without these, log⁡(Tε2)\log(T\varepsilon^2)log(Tε2) can be negative.
  • Repairs. Two printed statements are repaired.
    • (S32) is stated with exp⁡{−nτΔ2/2}\exp\{-n_\tau\Delta^2/2\}exp{−nτ​Δ2/2}, which its printed justification gives; the printed exp⁡{−nτΔ2}\exp\{-n_\tau\Delta^2\}exp{−nτ​Δ2} fails on an explicit instance.
    • Lemma 9 sums from τ′=τ\tau' = \tauτ′=τ, as its proof does, with exponent nτ′n_{\tau'}nτ′​ and the deterministic last epoch τˉ(T)\bar\tau(T)τˉ(T) as upper limit.
  • Ruled out. Three formalizations would make the goal trivial, and none is admissible: a policy that receives vvv (it could offer S∗S^*S∗ in every period); a constant C1C_1C1​ that depends on TTT, NNN or the instance (the regret is at most TTT); and an abstract "trisection oracle" with assumed guarantees in place of the algorithm above.
  • Not included. Theorem 4 (the T/384\sqrt T/384T​/384 lower bound) and its Lemmas 12–14 are not part of the mission, and neither are Theorem 2 and its Lemmas 5–7 (the baseline policy) or Proposition 1.
  • Contributions welcome. Lemmas 1–4 need only finite sums; Lemma 8 and (S32)/(S33) need Hoeffding's inequality and a union bound over sample sizes; the reduction of exploration purchases to i.i.d. samples is reusable for other level-set policies.

Selected references

  • X. Chen, Y. Wang, Y. Zhou, An Optimal Policy for Dynamic Assortment Planning Under Uncapacitated Multinomial Logit Models, arXiv:1805.04785v2, 2019; Mathematics of Operations Research 46(4), 2021. https://arxiv.org/abs/1805.04785
  • S. Agrawal, V. Avadhanula, V. Goyal, A. Zeevi, MNL-Bandit: A Dynamic Learning Approach to Assortment Selection, Operations Research 67(5), 2019. https://arxiv.org/abs/1706.03880
  • X. Chen, Y. Wang, A note on tight lower bound for MNL-bandit assortment selection models, Operations Research Letters 46(5), 534–537, 2018.
  • P. Rusmevichientong, Z.-J. M. Shen, D. B. Shmoys, Dynamic Assortment Optimization with a Multinomial Logit Choice Model and Capacity Constraint, Operations Research 58(6), 2010. https://doi.org/10.1287/opre.1100.0866
  • D. Sauré, A. Zeevi, Optimal Dynamic Assortment Planning with Demand Learning, Manufacturing & Service Operations Management 15(3), 2013. https://doi.org/10.1287/msom.2013.0429
  • K. Talluri, G. van Ryzin, Revenue Management Under a General Discrete Choice Model of Consumer Behavior, Management Science 50(1), 2004. https://doi.org/10.1287/mnsc.1030.0147
  • J.-Y. Audibert, S. Bubeck, Minimax Policies for Adversarial and Stochastic Bandits, COLT 2009.
17 thms3 active usersReviewed
🏆Completed
CombinatoricsGraph Theory·Captain: mikedeng1

Geometric Deep Learning IX: Message-Passing GNNs Are No More Powerful Than the Weisfeiler–Lehman Test — Equal Colour Histograms Force Equal OutputsTextbook

Motivation

Graph neural networks (GNNs) compute representations of nodes and whole graphs by repeatedly combining each node's state with information from its neighbours. Soon after they became a standard tool, the question arose of what they cannot do. A natural test case is graph isomorphism: given two graphs that are not isomorphic, can the network attach different representations to them? If it cannot, it is hopeless on any task that needs to tell the two graphs apart.

The yardstick for this question is the Weisfeiler–Lehman (WL) test (Weisfeiler and Leman, 1968), a colour-refinement procedure that is a necessary condition for isomorphism. Bronstein, Bruna, Cohen and Veličković's Geometric Deep Learning (arXiv:2104.13478v2) reports, in its historical chapter (Ch. 7, p. 120), the conclusion of Morris et al. (2019) and Xu et al. (2019): any GNN of the three flavours of §5.3 "cannot be more powerful than the WL test". This mission formalizes that claim, together with the surrounding remarks of the book that make it precise.

Timeline. 1968: Weisfeiler and Leman introduce the refinement. 2011: Shervashidze et al. use the WL iteration to build graph kernels. 2017: Gilmer et al. unify many architectures as message-passing neural networks. 2019: Morris et al. and Xu et al. independently prove that message-passing GNNs are bounded by 1-WL, and that injective aggregation attains the bound (the Graph Isomorphism Network). 2020: Corso et al. show that with continuous features injective aggregation needs several aggregators.

Setting

A graph GGG has node set V={0,…,n−1}V = \{0, \dots, n-1\}V={0,…,n−1} and a symmetric, loopless adjacency relation. The neighbourhood of a node is Nu={v:(u,v)∈E}\mathcal N_u = \{v : (u, v) \in E\}Nu​={v:(u,v)∈E} (eq. (11), p. 34); it does not contain uuu.

The WL colour refinement on a featureless graph starts with the same colour c0(u)c^0(u)c0(u) for every node and sets

cs+1(u)=(cs(u),{ ⁣{cs(v):v∈Nu} ⁣}),c^{s+1}(u) = \big(c^s(u), \{\!\{c^s(v) : v \in \mathcal N_u\}\!\}\big),cs+1(u)=(cs(u),{{cs(v):v∈Nu​}}),

where { ⁣{⋅} ⁣}\{\!\{\cdot\}\!\}{{⋅}} is a multiset. Colours carry their full history, so colours of nodes of two different graphs can be compared directly. The colour histogram at round sss is the multiset { ⁣{cs(u):u∈V} ⁣}\{\!\{c^s(u) : u \in V\}\!\}{{cs(u):u∈V}}. The WL test declares two graphs indistinguishable when their histograms agree at every round.

A message-passing layer (eq. (35), p. 79) has a message function ψ\psiψ, a permutation-invariant aggregator ⨁\bigoplus⨁ and an update ϕ\phiϕ, and updates node features hhh by

hu←ϕ(hu,⨁v∈Nuψ(hu,hv)).h_u \leftarrow \phi\Big(h_u, \bigoplus_{v \in \mathcal N_u} \psi(h_u, h_v)\Big).hu​←ϕ(hu​,v∈Nu​⨁​ψ(hu​,hv​)).

A GNN starts from a constant feature hu0=ch^0_u = chu0​=c and applies layers t=0,1,…t = 0, 1, \dotst=0,1,…, with parameters (ψt,⨁t,ϕt)(\psi_t, \bigoplus_t, \phi_t)(ψt​,⨁t​,ϕt​) shared by all graphs. Its graph-level output after TTT rounds is a read-out of the multiset { ⁣{huT:u∈V} ⁣}\{\!\{h^T_u : u \in V\}\!\}{{huT​:u∈V}}.

Formalization targets

Goal: GNNs are bounded by WL

For every GNN, read-out, depth TTT and pair of graphs GGG, G′G'G′ (of possibly different sizes):

cGt(u)=cG′t(v)  ⟹  hGt(u)=hG′t(v)(t≤T),c^t_G(u) = c^t_{G'}(v) \implies h^t_G(u) = h^t_{G'}(v) \quad (t \le T),cGt​(u)=cG′t​(v)⟹hGt​(u)=hG′t​(v)(t≤T), { ⁣{cGT(u)} ⁣}u={ ⁣{cG′T(v)} ⁣}v  ⟹  readout({ ⁣{hGT(u)} ⁣}u)=readout({ ⁣{hG′T(v)} ⁣}v).\{\!\{c^T_G(u)\}\!\}_u = \{\!\{c^T_{G'}(v)\}\!\}_v \implies \mathrm{readout}\big(\{\!\{h^T_G(u)\}\!\}_u\big) = \mathrm{readout}\big(\{\!\{h^T_{G'}(v)\}\!\}_v\big).{{cGT​(u)}}u​={{cG′T​(v)}}v​⟹readout({{hGT​(u)}}u​)=readout({{hG′T​(v)}}v​).

The statement fixes no architecture and no feature space: it quantifies over all message, aggregation, update and read-out functions.

Milestones

  1. Injective ϕ\phiϕ is one WL step (§4.1, p. 34): for the local layer hu↦ϕ(hu,{ ⁣{hv:v∈Nu} ⁣})h_u \mapsto \phi(h_u, \{\!\{h_v : v \in \mathcal N_u\}\!\})hu​↦ϕ(hu​,{{hv​:v∈Nu​}}) with ϕ\phiϕ injective, if equal features are exactly equal round-sss colours, then equal new features are exactly equal round-(s+1)(s+1)(s+1) colours.
  2. Isomorphic graphs (side-note p. 119): a GNN attaches identical representations to isomorphic graphs.
  3. C6C_6C6​ versus 2K32K_32K3​ (side-note p. 120): the 6-cycle and two disjoint triangles have equal WL histograms at every round but are not isomorphic.
  4. Max and mean (side-note p. 120): the multisets { ⁣{a,b} ⁣}\{\!\{a, b\}\!\}{{a,b}} and { ⁣{a,a,b,b} ⁣}\{\!\{a, a, b, b\}\!\}{{a,a,b,b}} differ but have the same maximum and the same mean.

Companion: reaching the bound

If every layer's update (x,S)↦ϕt(x,⨁y∈Sψt(x,y))(x, S) \mapsto \phi_t(x, \bigoplus_{y \in S} \psi_t(x, y))(x,S)↦ϕt​(x,⨁y∈S​ψt​(x,y)) is injective, then equal features are exactly equal WL colours (Xu et al.).

Significance

The result. The bound says that a GNN's ability to separate graphs is capped by a cheap combinatorial procedure. Every pair of non-isomorphic graphs that WL fails to separate — all regular graphs of the same degree and size, such as C6C_6C6​ and 2K32K_32K3​ — is also inseparable by every message-passing GNN, whatever its width, depth or training. This limitation motivated the higher-order and subgraph-based architectures discussed later in Ch. 7. The companion result explains why architectures with injective (sum-type) aggregation, such as GIN, are the maximally expressive members of the class, and the max/mean example explains why common aggregators fall short of it.

Formalizing it. The results are proved on paper; to the knowledge of this mission none has a machine-checked proof. The formalization makes explicit what the informal statements leave open: that the comparison needs parameters shared across graphs, that it concerns featureless graphs, which flavour of layer is covered, and in what sense "equivalent to one step" holds. It reuses a published 1-WL colour refinement (WLIdentification), so the GNN results connect to the platform's existing WL statements.

Difficulty

The statements are close to their definitions, and the difficulty is in the bookkeeping rather than in an idea. The comparison is between two different graphs, whose node sets are different types, so the relation between features and colours has to be carried across graphs rather than within one; equalities of colour multisets over neighbourhoods have to become equalities of multisets of messages, and histograms of colours have to become multisets of features. The C6C_6C6​ / 2K32K_32K3​ example needs the colours of a regular graph at every round and a separate non-isomorphism argument. A tempting shortcut, defining the GNN's features to be the WL colours, proves nothing: the goal quantifies over all GNNs.

Formalization scope

Graphs are the published OAI.WLIdentification.Graph (order nnn, Boolean symmetric loopless adjacency on Fin n); the WL test is its neighborColor and neighborHistogram, featureless and with history-carrying colours. The book numbers no theorems, so every item is cited by section, equation and printed page.

Conventions committed to:

  • Featureless graphs. The GNN's initial features are a constant, matching the featureless WL refinement (the WL analyses "almost always consider featureless or categorically-featured graphs", side-note p. 120). The featured version is not stated.
  • The message-passing flavour. The goal is posed for layers (35). It covers the attentional flavour (34) and the convolutional flavour (33) when the coefficient cuvc_{uv}cuv​ is a function of the features of uuu and vvv. A coefficient that is an arbitrary function of the graph is outside the claim; with cuvc_{uv}cuv​ the number of triangles through uuu, a convolutional layer separates C6C_6C6​ from 2K32K_32K3​.
  • Shared parameters. One GNN is evaluated on both graphs. A formalization in which each graph receives its own parameters would be trivially satisfiable and is ruled out.
  • Aggregation on multisets. The aggregator is a function of the multiset of messages, so permutation invariance holds by construction; message, aggregate and feature types are arbitrary types.
  • Neighbourhoods exclude the node itself; the node's own state enters through the first argument of ϕ\phiϕ.
  • The page's slips. The WL test is described (p. 120) as "randomly hashing their sums"; the refinement used hashes the multiset injectively. "With summation being a key representative" is not formalized: on real features summation is not injective on multisets, and Xu et al.'s result uses a chosen feature embedding.

Infrastructure needed is light: multiset bijections along equal maps (Multiset.map), induction over rounds, and finite computations on six-node graphs. The induction lemmas relating features to colours across two graphs are reusable for any further GNN-expressivity statement (higher-order WL, subgraph GNNs). Proofs of the milestones, of the companion, and alternative proofs of the goal through the companion are welcome.

Selected references

  • M. M. Bronstein, J. Bruna, T. Cohen, P. Veličković, Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gauges, arXiv preprint, 2021. https://arxiv.org/abs/2104.13478v2
  • B. Weisfeiler, A. Leman, The reduction of a graph to canonical form and the algebra which appears therein, Nauchno-Technicheskaya Informatsia, 1968 (English translation). https://www.iti.zcu.cz/wl2018/pdf/wl_paper_translation.pdf
  • K. Xu, W. Hu, J. Leskovec, S. Jegelka, How Powerful are Graph Neural Networks?, ICLR, 2019. https://arxiv.org/abs/1810.00826
  • C. Morris, M. Ritzert, M. Fey, W. L. Hamilton, J. E. Lenssen, G. Rattan, M. Grohe, Weisfeiler and Leman Go Neural: Higher-order Graph Neural Networks, AAAI, 2019. https://arxiv.org/abs/1810.02244
  • J. Gilmer, S. S. Schoenholz, P. F. Riley, O. Vinyals, G. E. Dahl, Neural Message Passing for Quantum Chemistry, ICML, 2017. https://arxiv.org/abs/1704.01212
  • N. Shervashidze, P. Schweitzer, E. J. van Leeuwen, K. Mehlhorn, K. M. Borgwardt, Weisfeiler-Lehman Graph Kernels, JMLR 12, 2011. https://www.jmlr.org/papers/v12/shervashidze11a.html
  • G. Corso, L. Cavalleri, D. Beaini, P. Liò, P. Veličković, Principal Neighbourhood Aggregation for Graph Nets, NeurIPS, 2020. https://arxiv.org/abs/2004.05718
7 thms3 active usersReviewed
🏆Completed
Dynamical Systems·Captain: mikedeng1

Geometric Deep Learning VIII: An RNN Seeded at a Fixed Point h⁽⁰⁾ = R(0, h⁽⁰⁾) Is Equivariant to Left Shifts of a Zero-Padded Input SequenceTextbook

Why sequence boundaries matter

A recurrent neural network (RNN) processes an ordered stream while retaining a summary of earlier inputs. The same update rule is applied at every time step, so it is natural to ask whether shifting the input stream simply shifts the resulting sequence of summaries. The answer depends on how the run begins. The first summary is supplied as an initial state, while the first input encountered after a shift can be different. Bronstein, Bruna, Cohen and Veličković use this boundary effect to explain a precise form of temporal translation equivariance for RNNs in §5.7 of Geometric Deep Learning (arXiv:2104.13478v2, pp. 90–93).

The claim matters when the same sequential model is applied to streams presented with different starting times. Without a specified boundary convention, the shared update rule alone does not guarantee that corresponding hidden states agree. The chapter's zero-padding construction makes that convention explicit. Its condition on the initial state can then be stated independently of a particular architecture or training procedure. The book numbers equations but no theorems or lemmas here; the mission's items are cited by section, equation, page, and, for a marginal statement, “side-note.”

RNN runs and padded sequences

Let z(t)∈Rkz(t)\in\mathbb R^kz(t)∈Rk be the input at time ttt, let h(t)∈Rmh(t)\in\mathbb R^mh(t)∈Rm be its hidden summary, and let R:Rk×Rm→RmR:\mathbb R^k\times\mathbb R^m\to\mathbb R^mR:Rk×Rm→Rm be a shared update map. Given a seed h0h_0h0​, equation (38) defines a run by

h(0)=h0,h(t+1)=R(z(t+1),h(t)).h(0)=h_0,\qquad h(t+1)=R\bigl(z(t+1),h(t)\bigr).h(0)=h0​,h(t+1)=R(z(t+1),h(t)).

The first processed input is z(1)z(1)z(1); z(0)z(0)z(0) is unused. This is the book's time convention, including the named state h(0)h(0)h(0) (Bronstein et al., §5.7, p. 90, equation (38)). The update map is arbitrary: the results concern the recurrence itself, so they do not require the affine layer and activation used as one example in equation (39).

A left shift by sss steps replaces the input at time ttt with the old input at time t+st+st+s. A left-padded input of length ddd is

zˉ(t)={0,t≤d,z(t−d),t>d.\bar z(t)= \begin{cases} 0,&t\le d,\\ z(t-d),&t>d. \end{cases}zˉ(t)={0,z(t−d),​t≤d,t>d.​

Here 000 is the zero vector in Rk\mathbb R^kRk. The original input begins at time d+1d+1d+1. The two runs being compared use the same update map and the same seed. This is the exact padding convention displayed on p. 93 of the book (Bronstein et al., §5.7, p. 93).

Formalization targets

The capstone is the chapter's one-step equivariance claim. For every update map, input sequence, and seed fixed by the zero-input update, one or more zero-padding steps suffice:

d≥1,R(0,h0)=h0⟹hzˉ(⋅+1)(t)=hzˉ(t+1)for every t≥0.d\ge1,\qquad R(0,h_0)=h_0 \quad\Longrightarrow\quad h_{\bar z(\cdot+1)}(t)=h_{\bar z}(t+1) \quad\text{for every }t\ge0.d≥1,R(0,h0​)=h0​⟹hzˉ(⋅+1)​(t)=hzˉ​(t+1)for every t≥0.

The multi-step side note extends the conclusion to every sss with 0≤s≤d0\le s\le d0≤s≤d:

hzˉ(⋅+s)(t)=hzˉ(t+s)for every t≥0.h_{\bar z(\cdot+s)}(t)=h_{\bar z}(t+s) \quad\text{for every }t\ge0.hzˉ(⋅+s)​(t)=hzˉ​(t+s)for every t≥0.

The milestone list also records the book's unpadded boundary counterexample and its observation that a contraction γ(h)=R(0,h)\gamma(h)=R(0,h)γ(h)=R(0,h) has a unique attracting fixed point. The latter is represented by an already proved, reusable Banach fixed-point theorem rather than a second draft of the same result (Bronstein et al., §5.7, pp. 92–93, equations (40)–(42) and side-note).

What the result supplies

The equivariance theorem identifies a checkable condition under which the hidden-state sequence tracks a left-shifted input exactly, including at the first state. It also marks the limit of the informal idea that sharing the same update map across time automatically creates shift equivariance: the unpadded run can fail already at time 111. The fixed-point condition is therefore part of the mathematical claim, rather than an implementation preference (Bronstein et al., §5.7, pp. 92–93).

The RNN shift statements are targets for machine-checked proofs. The contraction milestone already has a machine-checked proof in the referenced CursoEDO.contraction_fixed_point theorem. A completed development would make the boundary convention and the arbitrary-update-map quantifiers available for later statements about sequential models. The recurrence and padding definitions are reusable whenever a discrete-time state update is compared before and after a shift.

The boundary difficulty

The tempting comparison takes two runs that begin with the same seed, then tries to pair the shifted run's state at ttt with the original run's state at t+1t+1t+1. At the first step, those states have encountered different input histories. Equations (40)–(41) display the mismatch: the original run has applied RRR to its first input, while the shifted run still uses the supplied seed at the corresponding update. For an arbitrary RRR and arbitrary first input, the states need not agree (Bronstein et al., §5.7, p. 92). A shift statement that omits its padding length or seed condition would therefore assert something the chapter explicitly rejects.

Formalization scope

Lean represents Rk\mathbb R^kRk and Rm\mathbb R^mRm as functions on Fin k and Fin m; time and padding lengths are natural numbers. The run uses h(0)=h0h(0)=h_0h(0)=h0​ and consumes z(t+1)z(t+1)z(t+1) at its next update. The padding function returns the zero vector through index ddd and then the correspondingly indexed original input. These definitions cover every finite dimension, including zero-dimensional edge cases, while the unpadded counterexample uses one input and one hidden coordinate.

The target ranges over all update maps RRR and all input sequences; it does not impose a special neural-network parameterization. The seed is any fixed point of h↦R(0,h)h\mapsto R(0,h)h↦R(0,h), not necessarily the zero state, and the zero-input update need not be the identity map. The formal statements include time t=0t=0t=0 and the endpoint s=ds=ds=d. No contraction assumption is needed for shift equivariance itself; contraction enters only the separate existence-and-convergence milestone. The contraction theorem is stated for a nonempty complete metric space, which includes the finite-dimensional real hidden-state spaces used here.

The work requires a small discrete recurrence interface, an exact padding definition, and proofs for the boundary counterexample and shift identities. Those two definitions and the shift results can also support variants with a nonzero padding vector. The LSTM equations of §5.8 have a separate gated state model and are outside this mission's formalization scope. Contributions that keep the full fixed-point hypothesis and the stated boundary cases are welcome.

Selected references

  • M. M. Bronstein, J. Bruna, T. Cohen and P. Veličković, Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gauges, arXiv preprint, 2021, arXiv:2104.13478v2, §5.7, pp. 90–93.
5 thms3 active usersReviewed
🏆Completed
Harmonic AnalysisLinear algebra·Captain: mikedeng1

Geometric Deep Learning III: An n × n Matrix Commutes with the Cyclic Shift S if and only if It Is Circulant, So Convolution Is Shift EquivarianceTextbook

Why convolution, and why the shift

Convolutional neural networks process images, audio and time series with layers whose weights are shared across positions. The Geometric Deep Learning programme of Bronstein, Bruna, Cohen and Veličković (arXiv:2104.13478v2) explains this architecture by symmetry: on a grid the relevant symmetry is translation, and a linear layer that respects translations is forced to be a convolution. Section 4.2 of the book makes this precise in the simplest setting, a one-dimensional periodic grid, and then derives the discrete Fourier transform from the same symmetry, as the common eigenbasis of all convolution operators. The material is classical in signal processing (see the tutorial of Bamieh, arXiv:1805.05533), and the book uses it as the template that the later chapters generalise to groups, graphs and manifolds; for example, graph signal processing (Sandryhaila and Moura, arXiv:1210.4752) replaces the shift by an adjacency matrix.

This mission formalises the characterisation the book calls the basis of "the overall philosophy of Geometric ML": a matrix is circulant if and only if it commutes with the shift (§4.2, p. 37). It is the third mission of a series on the book. The book numbers no theorems, lemmas or definitions; every item is cited by section, equation or position, and printed page.

Setting

Fix n≥1n \ge 1n≥1 and the ring graph with nodes Zn={0,1,…,n−1}\mathbb Z_n = \{0, 1, \dots, n-1\}Zn​={0,1,…,n−1}, arithmetic taken modulo nnn. A signal is a vector x=(x0,…,xn−1)x = (x_0, \dots, x_{n-1})x=(x0​,…,xn−1​) with entries in a commutative ring RRR, for instance R\mathbb RR.

  • The circulant matrix of a vector θ=(θ0,…,θn−1)\theta = (\theta_0, \dots, \theta_{n-1})θ=(θ0​,…,θn−1​) is C(θ)=(θu−v mod n)u,vC(\theta) = (\theta_{u - v \bmod n})_{u, v}C(θ)=(θu−vmodn​)u,v​: each row is the previous one shifted circularly by one position.
  • The circular convolution of a signal xxx with a filter θ\thetaθ is (x⋆θ)u=∑v=0n−1xv θu−v mod n(x \star \theta)_u = \sum_{v=0}^{n-1} x_v\, \theta_{u - v \bmod n}(x⋆θ)u​=∑v=0n−1​xv​θu−vmodn​.
  • The right shift SSS is the circulant matrix of θ=(0,1,0,…,0)⊤\theta = (0, 1, 0, \dots, 0)^\topθ=(0,1,0,…,0)⊤. It moves a vector one position to the right, (Sx)u=xu−1(Sx)_u = x_{u-1}(Sx)u​=xu−1​.
  • Over C\mathbb CC, the discrete Fourier basis is φk(u)=n−1/2e2πiku/n\varphi_k(u) = n^{-1/2} e^{2\pi i k u / n}φk​(u)=n−1/2e2πiku/n for k=0,…,n−1k = 0, \dots, n-1k=0,…,n−1. The Fourier matrix Φ=(φ0,…,φn−1)\Phi = (\varphi_0, \dots, \varphi_{n-1})Φ=(φ0​,…,φn−1​) has the φk\varphi_kφk​ as columns, and Φ∗\Phi^*Φ∗ is its conjugate transpose.

In Lean the index set is ZMod n with [NeZero n], C(θ)C(\theta)C(θ) is Mathlib's Matrix.circulant θ, and the mission's definitions GeomDL.Grids.conv, GeomDL.Grids.shift, GeomDL.Grids.fourierVec and GeomDL.Grids.fourierMatrix are the four objects above.

Formalization targets

Goal: commuting with the shift characterises circulant matrices

For every n×nn \times nn×n matrix MMM over a commutative ring RRR,

MS=SM  ⟺  M=C(θ) for some θ∈Rn.M S = S M \iff M = C(\theta) \text{ for some } \theta \in R^n .MS=SM⟺M=C(θ) for some θ∈Rn.

The book states the converse direction tentatively ("the opposite direction appears to be true as well"); it is a theorem, and it is stated here without the hedge.

Milestones, in attack order

  1. Circulant matrices are convolutions, C(θ)x=x⋆θC(\theta)x = x \star \thetaC(θ)x=x⋆θ, and S=C(0,1,0,…,0)S = C(0, 1, 0, \dots, 0)S=C(0,1,0,…,0) shifts right, (Sx)u=xu−1(Sx)_u = x_{u-1}(Sx)u​=xu−1​ (p. 37).
  2. The left shift is S⊤S^\topS⊤, and S⊤S=SS⊤=IS^\top S = S S^\top = IS⊤S=SS⊤=I (side-note, p. 37).
  3. Shift equivariance of convolution, S C(θ) x=C(θ) S xS\,C(\theta)\,x = C(\theta)\,S\,xSC(θ)x=C(θ)Sx (p. 37).
  4. The Fourier basis vectors are eigenvectors of SSS: Sφk=e−2πik/nφkS\varphi_k = e^{-2\pi i k/n}\varphi_kSφk​=e−2πik/nφk​, with eigenvalues that are nnn-th roots of unity (p. 38 and side-note).
  5. These eigenvalues are pairwise distinct (side-note, p. 37).
  6. Φ∗Φ=I\Phi^*\Phi = IΦ∗Φ=I (side-note, p. 38).

Companion: the Convolution Theorem

With (Fθ)k=∑wθwe−2πikw/n(\mathcal F\theta)_k = \sum_w \theta_w e^{-2\pi i k w/n}(Fθ)k​=∑w​θw​e−2πikw/n,

C(θ)φk=(Fθ)k φk,C(θ)=Φ diag⁡(Fθ) Φ∗.C(\theta)\varphi_k = (\mathcal F\theta)_k\,\varphi_k, \qquad C(\theta) = \Phi\,\operatorname{diag}(\mathcal F\theta)\,\Phi^* .C(θ)φk​=(Fθ)k​φk​,C(θ)=Φdiag(Fθ)Φ∗.

The book prints this with θ^=Φ∗θ=n−1/2Fθ\hat\theta = \Phi^*\theta = n^{-1/2}\mathcal F\thetaθ^=Φ∗θ=n−1/2Fθ in place of Fθ\mathcal F\thetaFθ, which is off by a factor n\sqrt nn​ for n≥2n \ge 2n≥2; the corrected identity is stated. The transform form of the Convolution Theorem, F(u⋆v)=Fu⋅Fv\mathcal F(u \star v) = \mathcal F u \cdot \mathcal F vF(u⋆v)=Fu⋅Fv with Mathlib's ZMod.dft, is already Proved on the platform as IntMul.HvdH.dft_cyclic_conv and is included as a reference item.

Significance

The goal identifies the space of linear translation-equivariant maps on RZnR^{\mathbb Z_n}RZn​ with the convolutions, an nnn-dimensional space parametrised by the filter θ\thetaθ. This is the statement that lets the book define convolution as a translation-equivariant linear operation, and it is the grid case of the general principle the book develops in §4.3 and §5: a linear map that commutes with a group action is a group convolution. Milestones 4–6 and the companion are the other half of §4.2: the shift has distinct eigenvalues, so every matrix commuting with it is diagonal in the shift's eigenbasis, and that eigenbasis is the Fourier basis; hence the Fourier transform diagonalises every convolution.

Mathlib contains circulant matrices, their commutativity (Matrix.circulant_mul_comm) and the discrete Fourier transform on ZMod n, but neither the converse characterisation nor the diagonalisation of circulant matrices by the normalised Fourier matrix. The mission adds these, in a form that later missions of the series (group convolutions, graph Fourier transforms) can be compared against.

Difficulty

The direction "⇐\Leftarrow⇐" is a one-line consequence of the commutativity of circulant matrices. The content is "⇒\Rightarrow⇒": the equation MS=SMMS = SMMS=SM is an equation between matrices, and it has to be turned into the statement that the entries of MMM are constant along every cyclic diagonal, with the indices handled modulo nnn. The spectral argument of the book (commuting matrices with a common eigenbasis) only applies over a field containing the nnn-th roots of unity in which nnn is invertible; over a general commutative ring, such as Z\mathbb ZZ or Z/2\mathbb Z/2Z/2, the goal has to be proved without it. For the Fourier statements the work is in the geometric sums of roots of unity and in the bookkeeping between the representatives {0,…,n−1}\{0, \dots, n-1\}{0,…,n−1} used in the exponents and the arithmetic of Zn\mathbb Z_nZn​.

Formalization scope

  • Indices live in ZMod n with [NeZero n], so n≥1n \ge 1n≥1 and matrices are finite; no lower bound n≥2n \ge 2n≥2 is needed (for n=1n = 1n=1, S=IS = IS=I and every matrix is circulant, so the goal holds). Exponents use the representatives ZMod.val ∈{0,…,n−1}\in \{0, \dots, n-1\}∈{0,…,n−1}, as on the page.
  • The goal and milestones 1–3 are stated over an arbitrary commutative ring RRR; milestones 4–6 and the companion are over C\mathbb CC.
  • "Circulant" means equal to Matrix.circulant θ for some θ. Defining a matrix to be circulant when it commutes with SSS would make the goal true by definition; the mission does not do that. A sanity file checks that the shift moves vectors to the right on Z3\mathbb Z_3Z3​ and that diag⁡(1,0)\operatorname{diag}(1, 0)diag(1,0) on Z2\mathbb Z_2Z2​ does not commute with SSS.
  • The side-note on p. 38 calls Φ\PhiΦ "orthogonal"; the property it writes, Φ∗Φ=I\Phi^*\Phi = IΦ∗Φ=I with the conjugate transpose, is unitarity, and that is what is stated.
  • The Fourier normalisation is the book's n−1/2n^{-1/2}n−1/2 in φk\varphi_kφk​; the eigenvalues in the companion use Mathlib's unnormalised ZMod.dft, and the factor n\sqrt nn​ is written out in its statement.

No new infrastructure beyond Mathlib is required. Proofs of any item, and proofs of the goal that avoid the spectral argument, are welcome; the shift and Fourier lemmas are reusable for the graph Fourier transform later in the book.

Selected references

  • M. M. Bronstein, J. Bruna, T. Cohen, P. Veličković, Geometric Deep Learning: Grids, Groups, Graphs, Geodesics, and Gauges, arXiv preprint, 2021 (v2). §4.2, pp. 35–38. https://arxiv.org/abs/2104.13478
  • B. Bamieh, Discovering Transforms: A Tutorial on Circulant Matrices, Circular Convolution, and the Discrete Fourier Transform, arXiv preprint, 2018. https://arxiv.org/abs/1805.05533
  • A. Sandryhaila, J. M. F. Moura, Discrete Signal Processing on Graphs, IEEE Transactions on Signal Processing, 2013. https://arxiv.org/abs/1210.4752
  • D. Harvey, J. van der Hoeven, Integer multiplication in time O(n log n), Annals of Mathematics, 2021 (source of the platform's proved IntMul.HvdH.dft_cyclic_conv). https://hal.science/hal-02070778
9 thms3 active usersReviewed
Probability·Captain: mikedeng1

Speculative Actions: A Lossless Framework for Faster Agentic Systems: Exact Expected Runtime Ratio of k-Branch Speculation Under Exponential LatenciesResearch Paper

Motivation

An agentic system may make several slow API calls in sequence: the answer to one call determines what to request next. A speculator can guess the current answer while the real call is running and start likely next calls early. When a guess is correct, the system can reuse a pending result; when it is wrong, it discards that result. This can shorten a run if concurrent calls do not interfere and incorrect calls have no lasting side effects. Ye and coauthors introduce this execution scheme for language-model and tool-using agents in Speculative Actions, §2.

The paper's Proposition 1 quantifies the expected latency of one-step speculation with exponential call times. Its proof in Appendix A states a stochastic timing model and computes a finite-horizon runtime ratio and its limit. The first author's existing Prove2Me mission, Speculative Actions: Cost-Latency Analysis for Agentic Speculation, contains proved algebraic identities for expressions named specTime and seqTime. Those expressions encode the values claimed for the expectations. This mission supplies the missing connection between random executions and those expressions, while reusing the published algebra.

Setting

There are TTT real API calls, numbered 000 through T−1T-1T−1. The real-call latency of step ttt is BtB_tBt​ with exponential rate β\betaβ. At a speculation window during step ttt, a speculator has latency AtA_tAt​ with exponential rate α\alphaα. It produces kkk candidate next calls. Each candidate independently matches the actual next call with probability ppp, so a hit means that at least one of the kkk candidates matches. The hit probability is

p(k)=1−(1−p)k.p(k)=1-(1-p)^k.p(k)=1−(1−p)k.

All latencies and branch-correctness indicators are mutually independent. Proposition 1 assumes 0<β<α0<\beta<\alpha0<β<α and Assumption 1 gives p>0p>0p>0; as a probability, p≤1p\le1p≤1. Assumption 2 permits concurrent API calls and reversible or side-effect-free pre-launching. The theorem also treats state transitions and construction of API parameters as having negligible duration. These conditions and the exponential laws are stated in §2 and Proposition 1.

The sequential runtime TseqT_{\mathrm{seq}}Tseq​ is ∑t<TBt\sum_{t<T}B_t∑t<T​Bt​. The speculative runtime TsT_sTs​ follows Appendix A's timing rule. At a window without a hit, the current step costs BtB_tBt​. At a hit, the block comprising steps ttt and t+1t+1t+1 costs min⁡(At,Bt)+Bt+1\min(A_t,B_t)+B_{t+1}min(At​,Bt​)+Bt+1​, and step t+1t+1t+1 opens no window. The last step cannot open a window. This is the model used in the paper's proof of Proposition 1, Appendix A, pp. 14–15. Its precise timing rule matters: reading Algorithm 1's awaits literally gives a different timeline, as does waiting for validation before accepting an early next-step result.

Let SnS_nSn​ be the expected number of hits in nnn potential windows, with a hit consuming the following window. The paper gives S0=0S_0=0S0​=0, S1=p(k)S_1=p(k)S1​=p(k), and

Sn=p(k)(1+Sn−2)+(1−p(k))Sn−1(n≥2).S_n=p(k)(1+S_{n-2})+(1-p(k))S_{n-1}\qquad(n\ge2).Sn​=p(k)(1+Sn−2​)+(1−p(k))Sn−1​(n≥2).

Formalization targets

Random-runtime identities

The new milestones identify the expectation of the sequential runtime, the saving from one correct speculation, and the expected hit count. The total-saving identity is

E[Ts]=Tβ−ST−1αβ(α+β),T≥1.\mathbb E[T_s]=\frac{T}{\beta}-S_{T-1}\frac{\alpha}{\beta(\alpha+\beta)},\qquad T\ge1.E[Ts​]=βT​−ST−1​β(α+β)α​,T≥1.

Here ST−1S_{T-1}ST−1​ is the expectation of the random count defined by the execution model. The previously published expression SpecActions.specTime has this same algebraic form; proving equality with the integral of the random runtime is the new step. The closed form for SnS_nSn​ and the algebraic ratio are linked as published milestones.

Proposition 1

For every integer T≥1T\ge1T≥1, the goal is the Proposition 1 ratio for the actual expectations:

E[Ts]E[Tseq]=1−1Tαα+β[(T−1)p(k)1+p(k)+p(k)2(1+p(k))2−p(k)2(1+p(k))2(−p(k))T−1].\frac{\mathbb E[T_s]}{\mathbb E[T_{\mathrm{seq}}]}=1-\frac1T\frac{\alpha}{\alpha+\beta}\left[\frac{(T-1)p(k)}{1+p(k)}+\frac{p(k)^2}{(1+p(k))^2}-\frac{p(k)^2}{(1+p(k))^2}(-p(k))^{T-1}\right].E[Tseq​]E[Ts​]​=1−T1​α+βα​[1+p(k)(T−1)p(k)​+(1+p(k))2p(k)2​−(1+p(k))2p(k)2​(−p(k))T−1].

The same goal states convergence of this random-runtime ratio as T→∞T\to\inftyT→∞ to

1−p(k)1+p(k)αα+β.1-\frac{p(k)}{1+p(k)}\frac{\alpha}{\alpha+\beta}.1−1+p(k)p(k)​α+βα​.

The horizon condition protects the denominator: at T=0T=0T=0, the sequential runtime is zero. The number of branches may be zero; then p(0)=0p(0)=0p(0)=0 and the ratio is one for positive horizons.

Significance

The formula describes how breadth kkk, branch accuracy ppp, and the two latency rates affect expected completion time, both for a finite sequence of calls and in a long run. It makes the expected benefit of extra branches a quantity that can be compared with their resource cost. The paper uses the time expression again in its cost–latency discussion, including Theorem 5, p. 20.

The author's existing mission has machine-checked proofs for the recurrence's closed form and for algebraic identities involving specTime and seqTime. It does not prove that those expressions are expectations of a random execution. Completing this mission adds that probabilistic interpretation and a reusable model of independent calls, branch indicators, skipped windows, and runtime. The proposed stochastic theorems remain open; their statements compile, while the published reference results are already proved.

Difficulty

The main issue is the dependence created by skipping a window after a hit. Hit indicators at different windows are independent, but the number of opportunities actually used is determined by earlier outcomes. Treating the hit count as an ordinary binomial count gives the wrong recurrence. Likewise, multiplying a mean saving by the number of potential windows ignores that skipped windows cannot hit. A formal proof must relate the random execution and hit count while preserving the independence between correctness indicators and latencies.

Formalization scope

Lean represents all primitive random variables on one probability space. An index type separates speculator latency, real-call latency, and each of the kkk branch indicators at every window. IsSpecModel requires measurable variables, their exponential or real-valued Bernoulli laws, and mutual independence. A hit is an existential statement over the kkk branch indicators. The runtimes and hit count are recursions on a finite horizon, and expectation is the real Bochner integral. The model has an explicit construction on a product probability space, so its hypotheses are satisfiable.

Windows start at index zero: a TTT-step run has T−1T-1T−1 potential windows. The theorem keeps the paper's β<α\beta<\alphaβ<α and p>0p>0p>0 conditions, and specifies p≤1p\le1p≤1. It adds T≥1T\ge1T≥1 wherever a runtime ratio is divided by its sequential denominator. Concurrency without interference and negligible non-call work are represented by the timing recurrence. The claim concerns integrals of those random runtimes; defining an “expected runtime” directly by the paper's closed form would omit the target of this mission.

The definition layer and hit-probability, baseline, saving, hit-count, and total-saving milestones are available as separate contributions. Mathlib supplies exponential probability measures, product measures, independence, and integration; the published SpecActions definition and algebraic theorems are referenced. Work on the probabilistic bridges, integrability, and the final composition is within scope.

Selected references

  • N. Ye, A. Ahuja, G. Liargkovas, Y. Lu, K. Kaffes, and T. Peng, Speculative Actions: A Lossless Framework for Faster Agentic Systems, arXiv preprint arXiv:2510.04371v2, 2026. arXiv
13 thms3 active usersReviewed
🏆Completed
ProbabilityStatistics·Captain: mikedeng1

Assessing Algorithmic Fairness with Unobserved Protected Class Using Data Combination: The Partial Identification Set of Demographic Disparity Is the Closed Interval with Fréchet–Hoeffding EndpointsResearch Paper

Why the disparity is uncertain

An auditor may need to measure whether a decision rule approves members of one protected group more often than members of another. The decision, the relevant outcome, and useful proxy variables may be observed in a primary dataset, while protected class and the same proxies are observed in a separate auxiliary dataset. There is no record linking the two datasets person by person. Consequently, the two observed distributions do not determine a unique joint distribution, even if they are known without sampling error. Kallus, Mao, and Zhou study what can still be said about such fairness measures from the two marginals alone (arXiv:1906.00285v2, §§2, 4–5).

The issue is relevant whenever protected labels cannot be joined to individual decisions. Proxy methods can estimate group membership, but their errors do not disappear merely because the marginal distributions are known. A set of compatible disparity values makes the uncertainty visible. This mission treats the population result in Proposition 7 of the cited preprint; estimation from finite samples and the paper's empirical case studies are separate topics.

Observed information and compatible joints

Let decision Y^∈{0,1}\hat Y\in\{0,1\}Y^∈{0,1} and true outcome Y∈{0,1}Y\in\{0,1\}Y∈{0,1}. The protected class A∈{a,b}A\in\{a,b\}A∈{a,b} has two groups, with aaa conventionally advantaged and bbb disadvantaged. The proxy ZZZ takes values in a measurable space Z\mathcal ZZ; it may be categorical, continuous, or mixed. The primary marginal is P(Y^,Y,Z)P(\hat Y,Y,Z)P(Y^,Y,Z), and the auxiliary marginal is P(A,Z)P(A,Z)P(A,Z). Both share one proxy distribution P(Z)P(Z)P(Z), as required when they arise from a common population joint law.

For each proxy value zzz, write ηaux(α,z)=P(A=α∣Z=z)\eta_{\mathrm{aux}}(\alpha,z)=P(A=\alpha\mid Z=z)ηaux​(α,z)=P(A=α∣Z=z) and ηpriT(y^,y,z)=P(Y^=y^,Y=y∣Z=z)\eta_{\mathrm{priT}}(\hat y,y,z)=P(\hat Y=\hat y,Y=y\mid Z=z)ηpriT​(y^​,y,z)=P(Y^=y^​,Y=y∣Z=z). Their decision marginal is ηpri(y^,z)=∑yηpriT(y^,y,z)\eta_{\mathrm{pri}}(\hat y,z)=\sum_y\eta_{\mathrm{priT}}(\hat y,y,z)ηpri​(y^​,z)=∑y​ηpriT​(y^​,y,z). A coupling of two discrete probability vectors is a nonnegative array whose row and column sums equal those vectors. The paper's set PD\mathcal P_DPD​ contains all measurable conditional joint arrays π(α,y^,y∣z)\pi(\alpha,\hat y,y\mid z)π(α,y^​,y∣z) that couple ηpriT(⋅,⋅,z)\eta_{\mathrm{priT}}(\cdot,\cdot,z)ηpriT​(⋅,⋅,z) and ηaux(⋅,z)\eta_{\mathrm{aux}}(\cdot,z)ηaux​(⋅,z) at each zzz, together with the fixed P(Z)P(Z)P(Z). It imposes no additional assumptions on the unknown association of class and outcomes.

The demographic disparity of a compatible joint P′P'P′ is δDD(a,b;P′)=P′(Y^=1∣A=a)−P′(Y^=1∣A=b)\delta_{DD}(a,b;P')=P'(\hat Y=1\mid A=a)-P'(\hat Y=1\mid A=b)δDD​(a,b;P′)=P′(Y^=1∣A=a)−P′(Y^=1∣A=b). Its partial identification set is

ΔDD(PD)={δDD(a,b;P′):P′∈PD}.\Delta_{DD}(\mathcal P_D)=\{\delta_{DD}(a,b;P'):P'\in\mathcal P_D\}.ΔDD​(PD​)={δDD​(a,b;P′):P′∈PD​}.

This set lists every disparity that the two observed marginals permit, rather than selecting a particular way to combine them.

Formalization targets

For a group α\alphaα, decision y^\hat yy^​, and proxy value zzz, define the Fréchet–Hoeffding weight endpoints

wαL(y^,z)=max⁡{0,1+P(A=α∣Z=z)−1P(Y^=y^∣Z=z)},wαU(y^,z)=min⁡{1,P(A=α∣Z=z)P(Y^=y^∣Z=z)}.w^L_\alpha(\hat y,z)=\max\left\{0,1+\frac{P(A=\alpha\mid Z=z)-1}{P(\hat Y=\hat y\mid Z=z)}\right\},\qquad w^U_\alpha(\hat y,z)=\min\left\{1,\frac{P(A=\alpha\mid Z=z)}{P(\hat Y=\hat y\mid Z=z)}\right\}.wαL​(y^​,z)=max{0,1+P(Y^=y^​∣Z=z)P(A=α∣Z=z)−1​},wαU​(y^​,z)=min{1,P(Y^=y^​∣Z=z)P(A=α∣Z=z)​}.

For a class weight function www, let μ(α;w)=E[wα(Y^,Z)Y^]/P(A=α)\mu(\alpha;w)=E[w_\alpha(\hat Y,Z)\hat Y]/P(A=\alpha)μ(α;w)=E[wα​(Y^,Z)Y^]/P(A=α). The goal, Proposition 7, is the equality

ΔDD(PD)=[μ(a;wL)−μ(b;wU),  μ(a;wU)−μ(b;wL)].\Delta_{DD}(\mathcal P_D)= \left[\mu(a;w^L)-\mu(b;w^U),\;\mu(a;w^U)-\mu(b;w^L)\right].ΔDD​(PD​)=[μ(a;wL)−μ(b;wU),μ(a;wU)−μ(b;wL)].

Equality makes the interval sharp: every compatible joint produces a value inside it, and every value inside it is produced by a compatible joint. The milestones state the finite coupling bounds, the weighted description of the disparity set, the constraints on admissible weights, the numerical bounds, and attainment of both endpoint values. The source is Proposition 1, Propositions 5–7, and the proof of Proposition 7 on pp. 10 and 14–15 of the preprint (arXiv:1906.00285v2).

What the result gives

The theorem gives an exact range for the difference in group approval rates when class and decision are never observed jointly. An interval that excludes zero has an interpretation that does not depend on choosing one compatible joint law. A wide interval identifies uncertainty due to data combination itself, before finite-sample error enters. A single point signals that the observed marginals identify the demographic disparity under these conventions.

Formalizing the known result adds a reusable definition of finite couplings and a precise model of compatible conditional joints over an arbitrary measurable proxy space. The proposition is proved in the paper; the Lean goal and its milestone statements are open formalization targets. The development also records the null-cell and denominator conventions that ordinary probability notation leaves implicit. It does not claim a machine-checked proof of Proposition 7 yet.

Central difficulty

The observed data fix the class marginal and the joint decision–outcome marginal, but they do not fix their association within a proxy cell. Bounding one cell of a coupling does not by itself prove that an extreme disparity is simultaneously attainable under all marginal constraints. The true outcome YYY remains in the compatible-joint model even though demographic disparity uses only Y^\hat YY^. When a decision cell has zero probability, a conditional class weight on that cell is undefined, so pointwise weight statements require care. A set inclusion alone would miss the sharpness claim.

Formalization scope

The Lean model uses Fin 2 for each binary outcome and a two-constructor type for protected class. It represents the two observed marginals by one probability measure on ZZZ and measurable, normalized, nonnegative conditional vectors ηaux\eta_{\mathrm{aux}}ηaux​ and ηpriT\eta_{\mathrm{priT}}ηpriT​. The set PD\mathcal P_DPD​ consists of measurable conditional couplings for every zzz. Conditional probabilities in the candidate joint are ratios of integrals of that joint array. In particular, the denominator of δDD(a,b;P′)\delta_{DD}(a,b;P')δDD​(a,b;P′) is computed from P′P'P′, not inserted from the auxiliary marginal.

The theorem explicitly assumes P(A=a)>0P(A=a)>0P(A=a)>0 and P(A=b)>0P(A=b)>0P(A=b)>0, since conditioning on a group of zero probability is undefined in the paper. The paper's conditional laws are defined almost everywhere; requiring a coupling at every zzz selects a version and does not change the attainable disparities. On a cell with P(Y^=y^∣Z=z)=0P(\hat Y=\hat y\mid Z=z)=0P(Y^=y^​∣Z=z)=0, weight identities and bounds are imposed only when that cell has positive probability; all weighted expectations multiply by the cell probability. The integrands arising from compatible joints and admissible weights are measurable and bounded on a probability space, so their real integrals are genuine expectations.

The identification set is built from compatible joint laws and their conditional disparity. Defining it directly as an interval or as the image of a chosen weight set would erase the content of the target. Finite coupling bounds and conditional-joint modeling can be reused outside demographic disparity. Contributions proving the milestone statements, handling measurable selections, and connecting coupling arrays to probability measures are within scope. Estimation, true-positive and true-negative disparities, and additional assumptions on the joint law are outside this mission.

Selected references

  • Nathan Kallus, Xiaojie Mao, and Angela Zhou, Assessing Algorithmic Fairness with Unobserved Protected Class Using Data Combination, Management Science 68(3), 2022; preprint arXiv:1906.00285v2, 2020. Pinned preprint.
8 thms3 active usersReviewed
🏆Completed
Markov ChainOperations ResearchReinforcement Learning·Captain: mikedeng1

A Finite Time Analysis of Temporal Difference Learning With Linear Function Approximation: Projected TD(0) Under Markov Chain Sampling Converges at Mixing-Time-Scaled RatesResearch Paper

Motivation

Temporal-difference (TD) learning is the basic algorithm of reinforcement learning for estimating the value function of a fixed policy from a single stream of experience. With a linear function approximation Vθ(s)=ϕ(s)⊤θV_\theta(s)=\phi(s)^\top\thetaVθ​(s)=ϕ(s)⊤θ, TD(0) is the evaluation step inside many policy-iteration and actor–critic methods, and its behaviour governs how much data such methods need.

The asymptotic theory is classical. Tsitsiklis and Van Roy (1997) proved that TD(λ) with linear features converges almost surely along a single trajectory of an ergodic Markov chain, to the unique solution θ∗\theta^*θ∗ of the projected Bellman equation, under Robbins–Monro step sizes. Their proof uses the ODE method, which says nothing about how fast the iterates approach θ∗\theta^*θ∗, nor how the rate depends on the step size, on the conditioning of the features, or on how quickly the chain mixes.

Finite-time results came later and mostly for independent samples. Dalal, Szörényi, Thoppe and Mannor (2018) and Lakshminarayanan and Szepesvári (2018) analysed TD(0) when the observed transitions are drawn i.i.d. from the stationary distribution. Bhandari, Russo and Singal (2018) gave a short analysis in the i.i.d. model and, for a projected variant of TD, the first finite-time bounds when the transitions come from one trajectory of the Markov chain, so that consecutive observations are strongly correlated. This mission formalizes that Markovian result, Theorem 3 of the paper.

Setting

A finite Markov reward process consists of a finite state space SSS, a stochastic matrix PPP with P(s,s′)P(s,s')P(s,s′) the probability of moving from sss to s′s's′, transition rewards R(s,s′)R(s,s')R(s,s′) with ∣R(s,s′)∣≤rmax⁡|R(s,s')|\le r_{\max}∣R(s,s′)∣≤rmax​, and a discount factor 0≤γ<10\le\gamma<10≤γ<1. The chain has a stationary distribution π\piπ (πP=π\pi P=\piπP=π), and the observed trajectory s0,s1,…s_0,s_1,\dotss0​,s1​,… starts from π\piπ, so it is a stationary sequence.

Each state carries a feature vector ϕ(s)∈Rd\phi(s)\in\mathbb{R}^dϕ(s)∈Rd with ∥ϕ(s)∥2≤1\|\phi(s)\|_2\le1∥ϕ(s)∥2​≤1. The steady-state feature covariance Σ=∑sπ(s)ϕ(s)ϕ(s)⊤\Sigma=\sum_s\pi(s)\phi(s)\phi(s)^\topΣ=∑s​π(s)ϕ(s)ϕ(s)⊤ has full rank, and ω>0\omega>0ω>0 is its minimum eigenvalue. Value functions are compared in the steady-state seminorm ∥Vθ∥D2=∑sπ(s)(ϕ(s)⊤θ)2\|V_\theta\|_D^2=\sum_s\pi(s)(\phi(s)^\top\theta)^2∥Vθ​∥D2​=∑s​π(s)(ϕ(s)⊤θ)2.

At a transition (s,s′)(s,s')(s,s′) the TD direction is g(θ;s,s′)=(R(s,s′)+γϕ(s′)⊤θ−ϕ(s)⊤θ)ϕ(s)g(\theta;s,s')=\big(R(s,s')+\gamma\phi(s')^\top\theta-\phi(s)^\top\theta\big)\phi(s)g(θ;s,s′)=(R(s,s′)+γϕ(s′)⊤θ−ϕ(s)⊤θ)ϕ(s). Its steady-state mean is gˉ(θ)=∑s,s′π(s)P(s,s′) g(θ;s,s′)\bar g(\theta)=\sum_{s,s'}\pi(s)P(s,s')\,g(\theta;s,s')gˉ​(θ)=∑s,s′​π(s)P(s,s′)g(θ;s,s′), and the TD fixed point θ∗\theta^*θ∗ is the vector with gˉ(θ∗)=0\bar g(\theta^*)=0gˉ​(θ∗)=0. Projected TD(0) with radius R≥∥θ∗∥2R\ge\|\theta^*\|_2R≥∥θ∗∥2​ starts from ∥θ0∥2≤R\|\theta_0\|_2\le R∥θ0​∥2​≤R and iterates

θt+1=Π2,R(θt+αt g(θt;st,st+1)),\theta_{t+1}=\Pi_{2,R}\big(\theta_t+\alpha_t\,g(\theta_t;s_t,s_{t+1})\big),θt+1​=Π2,R​(θt​+αt​g(θt​;st​,st+1​)),

where Π2,R\Pi_{2,R}Π2,R​ is the Euclidean projection onto the ball of radius RRR. The averaged iterate is θˉT=T−1∑t=0T−1θt\bar\theta_T=T^{-1}\sum_{t=0}^{T-1}\theta_tθˉT​=T−1∑t=0T−1​θt​.

The chain mixes uniformly (Assumption 1): there are m>0m>0m>0 and ρ∈(0,1)\rho\in(0,1)ρ∈(0,1) with sup⁡sdTV(Pt(s,⋅),π)≤mρt\sup_s d_{TV}(P^t(s,\cdot),\pi)\le m\rho^tsups​dTV​(Pt(s,⋅),π)≤mρt for all t≥0t\ge0t≥0. The mixing time is τmix(ϵ)=min⁡{t≥0:mρt≤ϵ}\tau_{\mathrm{mix}}(\epsilon)=\min\{t\ge0: m\rho^t\le\epsilon\}τmix​(ϵ)=min{t≥0:mρt≤ϵ}. Write G=rmax⁡+2RG=r_{\max}+2RG=rmax​+2R.

Formalization targets

Goal: Theorem 3 (pp. 17–18)

All three bounds are stated together, with E\mathbb{E}E the expectation over the stationary trajectory:

(a) for T≥1T\ge1T≥1 and αt≡1/T\alpha_t\equiv1/\sqrt Tαt​≡1/T​,

E∥Vθ∗−VθˉT∥D2≤∥θ∗−θ0∥22+G2(9+12τmix(1/T))2T(1−γ);\mathbb{E}\|V_{\theta^*}-V_{\bar\theta_T}\|_D^2\le\frac{\|\theta^*-\theta_0\|_2^2+G^2\big(9+12\tau_{\mathrm{mix}}(1/\sqrt T)\big)}{2\sqrt T(1-\gamma)};E∥Vθ∗​−VθˉT​​∥D2​≤2T​(1−γ)∥θ∗−θ0​∥22​+G2(9+12τmix​(1/T​))​;

(b) for a constant αt≡α0∈(0, 1/(2ω(1−γ)))\alpha_t\equiv\alpha_0\in\big(0,\,1/(2\omega(1-\gamma))\big)αt​≡α0​∈(0,1/(2ω(1−γ))),

E∥θ∗−θT∥22≤e−2α0(1−γ)ωT∥θ∗−θ0∥22+α0G2(9+12τmix(α0))2(1−γ)ω;\mathbb{E}\|\theta^*-\theta_T\|_2^2\le e^{-2\alpha_0(1-\gamma)\omega T}\|\theta^*-\theta_0\|_2^2+\alpha_0\frac{G^2\big(9+12\tau_{\mathrm{mix}}(\alpha_0)\big)}{2(1-\gamma)\omega};E∥θ∗−θT​∥22​≤e−2α0​(1−γ)ωT∥θ∗−θ0​∥22​+α0​2(1−γ)ωG2(9+12τmix​(α0​))​;

(c) for αt=1/(ω(t+1)(1−γ))\alpha_t=1/(\omega(t+1)(1-\gamma))αt​=1/(ω(t+1)(1−γ)) and T≥1T\ge1T≥1,

E∥Vθ∗−VθˉT∥D2≤G2(9+24τmix(αT))T(1−γ)2ω(1+log⁡T).\mathbb{E}\|V_{\theta^*}-V_{\bar\theta_T}\|_D^2\le\frac{G^2\big(9+24\tau_{\mathrm{mix}}(\alpha_T)\big)}{T(1-\gamma)^2\omega}(1+\log T).E∥Vθ∗​−VθˉT​​∥D2​≤T(1−γ)2ωG2(9+24τmix​(αT​))​(1+logT).

Milestones

The milestones are the paper's own lemmas, in the order the proof in Appendix A uses them: norm equivalence ω∥θ∥2≤∥Vθ∥D≤∥θ∥2\sqrt\omega\|\theta\|_2\le\|V_\theta\|_D\le\|\theta\|_2ω​∥θ∥2​≤∥Vθ​∥D​≤∥θ∥2​ (Lemma 1); the descent inequality (θ∗−θ)⊤gˉ(θ)≥(1−γ)∥Vθ∗−Vθ∥D2(\theta^*-\theta)^\top\bar g(\theta)\ge(1-\gamma)\|V_{\theta^*}-V_\theta\|_D^2(θ∗−θ)⊤gˉ​(θ)≥(1−γ)∥Vθ∗​−Vθ​∥D2​ (Lemma 3); the gradient bound ∥gt(θ)∥2≤rmax⁡+2∥θ∥2\|g_t(\theta)\|_2\le r_{\max}+2\|\theta\|_2∥gt​(θ)∥2​≤rmax​+2∥θ∥2​ (Lemma 6); the pathwise error recursion (Lemma 8); the coupling bound ∣Ev(X,Y)−Ev(X′,Y′)∣≤2∥v∥∞mρτ|\mathbb{E}v(X,Y)-\mathbb{E}v(X',Y')|\le2\|v\|_\infty m\rho^\tau∣Ev(X,Y)−Ev(X′,Y′)∣≤2∥v∥∞​mρτ (Lemma 9); boundedness and Lipschitz continuity of the gradient error ζt\zeta_tζt​ (Lemma 10); and the bias bound E[ζt(θt)]≤G2(4+6τmix(αT))αt∗\mathbb{E}[\zeta_t(\theta_t)]\le G^2(4+6\tau_{\mathrm{mix}}(\alpha_T))\alpha_{t^*}E[ζt​(θt​)]≤G2(4+6τmix​(αT​))αt∗​ (Lemma 11).

Significance

Theorem 3 gives explicit, non-asymptotic mean-squared-error bounds for TD(0) with linear features under Markovian sampling. Part (a) does not depend on the conditioning ω\omegaω, part (b) shows exponential convergence to a neighbourhood whose radius scales with α0G2τmix(α0)\alpha_0G^2\tau_{\mathrm{mix}}(\alpha_0)α0​G2τmix​(α0​), and part (c) gives an O~(1/T)\tilde O(1/T)O~(1/T) rate. Compared with the i.i.d. bounds, the only change is a factor of order τmix\tau_{\mathrm{mix}}τmix​: roughly, one mixing time of correlated observations is worth one independent sample. The same argument carries over, in the paper itself, to projected TD(λ) (Theorem 4) and to Q-learning for optimal stopping (§10), so the lemmas formalized here are the core of all of its Markovian results.

The result is proved on paper but has not been machine-checked. The mission provides a Lean statement of the theorem and of each lemma of its proof, all built on one model. The trajectory-level definitions (path law, total-variation mixing, mixing time, projected iterates) can be reused by later formalizations of Markovian stochastic approximation.

Difficulty

The obvious approach, from the i.i.d. analysis, takes expectations in the error recursion of Lemma 8 and uses E[ζt(θt)]=0\mathbb{E}[\zeta_t(\theta_t)]=0E[ζt​(θt​)]=0. Under Markov sampling this fails: θt\theta_tθt​ is a function of s0,…,sts_0,\dots,s_ts0​,…,st​ and is correlated with the observation (st,st+1)(s_t,s_{t+1})(st​,st+1​) at which it is evaluated, so the gradient is biased and the noise is not a martingale difference. Bounding that bias needs a quantitative decorrelation between the iterate τ\tauτ steps back and the current observation, which is a total-variation estimate on the joint law of a path (Lemma 9). It also needs control of how far the iterates drift in τ\tauτ steps, which is where the projection and the uniform gradient bound GGG enter. The rest of the proof then combines telescoping, a geometric recursion and harmonic sums, with every constant (9+12τ9+12\tau9+12τ, 9+24τ9+24\tau9+24τ) tracked exactly.

Formalization scope

  • State space and expectation. SSS is a Fintype. The expectation over the stationary trajectory is the finite sum ∑w∈ST+1π(w0)∏iP(wi,wi+1) F(w)\sum_{w\in S^{T+1}}\pi(w_0)\prod_iP(w_i,w_{i+1})\,F(w)∑w∈ST+1​π(w0​)∏i​P(wi​,wi+1​)F(w), the exact law of (s0,…,sT)(s_0,\dots,s_T)(s0​,…,sT​) for a finite chain started from π\piπ, so no measure theory is used. The paper itself works with a finite SSS (p. 5).
  • Coupling lemma. Lemma 9 uses probability measures for the conditional laws of X,YX,YX,Y given st,st+τs_t,s_{t+\tau}st​,st+τ​; their factorization expresses X→st→st+τ→YX\to s_t\to s_{t+\tau}\to YX→st​→st+τ​→Y. The variables may take values in arbitrary measurable spaces, including the iterates and observations used in the proof.
  • Norms. Parameters and features live in EuclideanSpace ℝ (Fin d) with d≥1d\ge1d≥1, so every ∥⋅∥\|\cdot\|∥⋅∥ is Euclidean.
  • Standing hypotheses, added or made explicit: 0≤γ0\le\gamma0≤γ (the paper writes γ<1\gamma<1γ<1; the proof of Lemma 3 needs γ≥0\gamma\ge0γ≥0). ω\omegaω is the least value of θ⊤Σθ\theta^\top\Sigma\thetaθ⊤Σθ on the unit sphere, that is λmin⁡(Σ)\lambda_{\min}(\Sigma)λmin​(Σ), together with ω>0\omega>0ω>0 (full rank). π\piπ is a stationary probability vector, and no separate irreducibility hypothesis is added, since Assumption 1 implies ergodicity. θ∗\theta^*θ∗ is given as a vector with gˉ(θ∗)=0\bar g(\theta^*)=0gˉ​(θ∗)=0. The implicit conditions are explicit: T≥1T\ge1T≥1 in (a) and (c), α0>0\alpha_0>0α0​>0 in (b), αT>0\alpha_T>0αT​>0 in Lemma 11, and αt≥0\alpha_t\ge0αt​≥0 in Lemma 8.
  • Conventions. Π2,R\Pi_{2,R}Π2,R​ is defined by the rescaling formula of p. 16. θˉT\bar\theta_TθˉT​ averages θ0,…,θT−1\theta_0,\dots,\theta_{T-1}θ0​,…,θT−1​, as in the text and the proof (Algorithm 1's averaging recursion is a slip). τmix\tau_{\mathrm{mix}}τmix​ is sInf over N\mathbb{N}N and is only evaluated at positive thresholds, where it is a true minimum. "With probability 1" is stated for every path or transition.
  • No trivialization. The expectation must start from π\piπ, never from an arbitrary state. θt\theta_tθt​ and the observation must come from the same trajectory. ω\omegaω must be λmin⁡(Σ)\lambda_{\min}(\Sigma)λmin​(Σ), not an arbitrary positive constant, since it fixes the step size in (c). A formalization with independent samples, with the sup norm on Rd\mathbb{R}^dRd, or with a junk-valued τmix(0)=0\tau_{\mathrm{mix}}(0)=0τmix​(0)=0 would prove a different statement.
  • Not in scope. Theorem 1 (mean-path TD), Theorem 2 (i.i.d. model), Theorem 4 (projected TD(λ)) and §10 (Q-learning for optimal stopping) are separate results. Theorem 3's proof does not use them.
  • Welcome contributions. Proofs of the milestones, and general lemmas on finite path sums (marginalisation of the trajectory law, the variational form of total variation, nonexpansiveness of the ball projection).

Selected references

  • J. Bhandari, D. Russo, R. Singal, A Finite Time Analysis of Temporal Difference Learning With Linear Function Approximation, arXiv:1806.02450v2, 2018; Operations Research 69(3), 2021. https://arxiv.org/abs/1806.02450
  • J. N. Tsitsiklis, B. Van Roy, An Analysis of Temporal-Difference Learning with Function Approximation, IEEE Transactions on Automatic Control 42(5), 1997. https://doi.org/10.1109/9.580874
  • G. Dalal, B. Szörényi, G. Thoppe, S. Mannor, Finite Sample Analyses for TD(0) with Function Approximation, AAAI 2018. https://arxiv.org/abs/1704.01161
  • C. Lakshminarayanan, C. Szepesvári, Linear Stochastic Approximation: How Far Does Constant Step-Size and Iterate Averaging Go?, AISTATS 2018. http://proceedings.mlr.press/v84/lakshminarayanan18a.html
  • R. S. Sutton, Learning to Predict by the Methods of Temporal Differences, Machine Learning 3, 1988. https://doi.org/10.1007/BF00115009
  • D. A. Levin, Y. Peres, Markov Chains and Mixing Times, 2nd ed., AMS, 2017. https://doi.org/10.1090/mbk/107
10 thms3 active usersReviewed
🏆Completed
CombinatoricsOperations Research·Captain: mikedeng1

Private Sequential Learning: The Query Complexity of an (ϵ, δ, L)-Private Learner Lies Between max{log(1/ϵ), log(δ/ϵ) + 2L − 4} and log(1/(Lϵ)) + 2LResearch Paper

Motivation

A learner wants to locate an unknown number, the true value v∗∈[0,1)v^* \in [0,1)v∗∈[0,1), by asking threshold questions of a database: each query qqq is answered by the single bit I(v∗≥q)\mathbb I(v^* \ge q)I(v∗≥q). Bisection finds v∗v^*v∗ to within ϵ/2\epsilon/2ϵ/2 with ⌈log⁡2(1/ϵ)⌉\lceil \log_2(1/\epsilon) \rceil⌈log2​(1/ϵ)⌉ queries, and no strategy does better (Waeber, Frazier and Henderson, 2013). Bisection, however, reveals everything: each query is a function of the previous answers, so anyone who sees the queries can reconstruct the answers and hence v∗v^*v∗.

Tsitsiklis, Xu and Xu study a learner whose queries, but not the answers, are watched by an adversary. Their motivating examples (pp. 2–3) are a firm testing prices whose surveys a competitor can observe, a consumer browsing products on a platform that sees what is browsed, and an optimizer whose test points are visible to the database it queries. The question is how many queries the learner needs if she must find v∗v^*v∗ accurately while keeping the adversary uncertain about it.

The model is from the authors' COLT 2018 extended abstract and Z. Xu's master's thesis (MIT, 2017); the journal version appeared in Operations Research (2021). This mission formalizes arXiv version 3 (26 Feb 2020), and all page and theorem numbers refer to it.

Setting

The learner submits NNN queries one at a time. A random seed YYY, uniform on {1,…,Yˉ}\{1, \dots, \bar Y\}{1,…,Yˉ}, lets her randomize. A learner strategy ϕ\phiϕ of length NNN consists of query maps ϕk\phi_kϕk​ and an estimation map ϕE\phi^EϕE (§2.1, p. 8): the kkk-th query is qk=ϕk(r1,…,rk−1,Y)∈[0,1)q_k = \phi_k(r_1, \dots, r_{k-1}, Y) \in [0,1)qk​=ϕk​(r1​,…,rk−1​,Y)∈[0,1), where ri=I(v∗≥qi)r_i = \mathbb I(v^* \ge q_i)ri​=I(v∗≥qi​) are the responses so far, and the estimate is x^=ϕE(r1,…,rN,Y)∈[0,1)\hat x = \phi^E(r_1, \dots, r_N, Y) \in [0,1)x^=ϕE(r1​,…,rN​,Y)∈[0,1). The class ΦN\Phi_NΦN​ consists of the strategies of length NNN that submit pairwise distinct queries. Write qˉ(x,y)\bar q(x,y)qˉ​(x,y) for the queries and x^(x,y)\hat x(x,y)x^(x,y) for the estimate when v∗=xv^* = xv∗=x and Y=yY = yY=y.

The adversary knows ϕ\phiϕ and sees qˉ\bar qqˉ​. The set of query sequences that can occur when v∗=xv^* = xv∗=x is Q(x)={qˉ(x,y):y}\mathcal Q(x) = \{\bar q(x,y) : y\}Q(x)={qˉ​(x,y):y} (eq. (1)), and the adversary's information set is

I(qˉ)={x∈[0,1):qˉ∈Q(x)}(Definition 3.1, p. 9).\mathcal I(\bar q) = \{x \in [0,1) : \bar q \in \mathcal Q(x)\} \qquad \text{(Definition 3.1, p. 9).}I(qˉ​)={x∈[0,1):qˉ​∈Q(x)}(Definition 3.1, p. 9).

Its size is measured by the δ\deltaδ-cover number Cδ(E)C_\delta(E)Cδ​(E), the least number of closed intervals of length at most δ\deltaδ whose union contains EEE (Definition 3.2, p. 10). A strategy is (ϵ,δ,L)(\epsilon, \delta, L)(ϵ,δ,L)-private (Definition 3.3, p. 10) if

  1. it is accurate: ∣x^(x,y)−x∣≤ϵ/2|\hat x(x,y) - x| \le \epsilon/2∣x^(x,y)−x∣≤ϵ/2 for every x∈[0,1)x \in [0,1)x∈[0,1) and every seed yyy; and
  2. it is private: Cδ(I(qˉ))≥LC_\delta(\mathcal I(\bar q)) \ge LCδ​(I(qˉ​))≥L for every x∈[0,1)x \in [0,1)x∈[0,1) and every qˉ∈Q(x)\bar q \in \mathcal Q(x)qˉ​∈Q(x).

The query complexity is N∗(ϵ,δ,L)=min⁡{N:ΦN contains an (ϵ,δ,L)-private strategy}N^*(\epsilon, \delta, L) = \min\{N : \Phi_N \text{ contains an } (\epsilon,\delta,L)\text{-private strategy}\}N∗(ϵ,δ,L)=min{N:ΦN​ contains an (ϵ,δ,L)-private strategy} (eq. (5), p. 11). All logarithms are base 2 and are rounded up (footnote 1, p. 4).

Formalization targets

Goal: Theorem 4.1 (p. 12)

For ϵ>0\epsilon > 0ϵ>0, δ>0\delta > 0δ>0 and an integer L≥2L \ge 2L≥2 with 2ϵ<δ≤1/L2\epsilon < \delta \le 1/L2ϵ<δ≤1/L,

max⁡{⌈log⁡21ϵ⌉, ⌈log⁡2δϵ⌉+2L−4}≤N∗(ϵ,δ,L)≤⌈log⁡21Lϵ⌉+2L.\max\left\{ \left\lceil \log_2 \tfrac1\epsilon \right\rceil,\ \left\lceil \log_2 \tfrac\delta\epsilon \right\rceil + 2L - 4 \right\} \le N^*(\epsilon,\delta,L) \le \left\lceil \log_2 \tfrac{1}{L\epsilon} \right\rceil + 2L.max{⌈log2​ϵ1​⌉, ⌈log2​ϵδ​⌉+2L−4}≤N∗(ϵ,δ,L)≤⌈log2​Lϵ1​⌉+2L.

Upper bound (§6)

The Opportunistic Bisection (OB) strategy first places LLL "guesses" [i/L,i/L+ϵ)[i/L, i/L+\epsilon)[i/L,i/L+ϵ) with 2L2L2L fixed queries, and then runs a bisection of ⌈log⁡2(1/(ϵL))⌉\lceil \log_2(1/(\epsilon L)) \rceil⌈log2​(1/(ϵL))⌉ steps in one of the gaps. The bisection is truthful if no guess caught v∗v^*v∗, and driven by the seed otherwise. The milestones are: OB is accurate; the union of guesses G\mathcal GG has Cδ(G)≥LC_\delta(\mathcal G) \ge LCδ​(G)≥L (Claim 6.3); G⊆I(qˉ)\mathcal G \subseteq \mathcal I(\bar q)G⊆I(qˉ​) for every observable qˉ\bar qqˉ​ (Claim 6.4); the cover number is monotone; and OB is (ϵ,δ,L)(\epsilon,\delta,L)(ϵ,δ,L)-private (Proposition 6.2).

Lower bound (§7)

For an accurate strategy, the final interval between consecutive sorted queries (with q0=0q_0 = 0q0​=0, qN+1=1q_{N+1} = 1qN+1​=1) has length at most ϵ\epsilonϵ (§7.1), so I(qˉ)⊆Iˉ(qˉ)\mathcal I(\bar q) \subseteq \bar{\mathcal I}(\bar q)I(qˉ​)⊆Iˉ(qˉ​), the union of special intervals (display (20)). Lemma 7.1 puts ⌈log⁡2(δ/ϵ)⌉\lceil \log_2(\delta/\epsilon) \rceil⌈log2​(δ/ϵ)⌉ queries in (0,δ)(0,\delta)(0,δ) for some true value, and accuracy alone gives N≥⌈log⁡2(1/ϵ)⌉N \ge \lceil \log_2(1/\epsilon) \rceilN≥⌈log2​(1/ϵ)⌉. A covering bound gives Cδ(Iˉ(qˉ))≤(K+3)/2C_\delta(\bar{\mathcal I}(\bar q)) \le (K+3)/2Cδ​(Iˉ(qˉ​))≤(K+3)/2, with KKK the number of special queries in [δ,1][\delta, 1][δ,1] (p. 21). Together these give N≥⌈log⁡2(δ/ϵ)⌉+2L−4N \ge \lceil \log_2(\delta/\epsilon) \rceil + 2L - 4N≥⌈log2​(δ/ϵ)⌉+2L−4 for every private strategy.

Corollary 4.2 (the case δ=1/L\delta = 1/Lδ=1/L) is Theorem 4.1 specialized and is not posed separately.

Significance

The result. The theorem gives the cost of privacy in this model up to an additive constant. At δ=1/L\delta = 1/Lδ=1/L the two bounds differ by at most 4 (Corollary 4.2), and the extra cost over plain bisection is at most an additive 2L2L2L. That is much less than the non-adaptive ϵ\epsilonϵ-dense strategy, which is always private but needs about 1/ϵ1/\epsilon1/ϵ queries (§5). The lower bound also shows that the 2L2L2L obfuscating queries cannot be shared with the queries that locate v∗v^*v∗ (§7, p. 19).

Formalizing it. The result is proved on paper, but Lemma 7.1 is given only an intuitive argument: the paper calls its proof "fairly standard" and omits it (p. 20). The covering step on p. 21 is argued component by component, with an exceptional component straddling δ\deltaδ. A formal development supplies both and checks the bookkeeping behind the constants −4-4−4, +3+3+3 and 2L−32L - 32L−3. To our knowledge, no machine-checked proof of this theorem or of the bisection lower bound in this form exists.

Difficulty

The upper bound is a construction. Its delicate point is Claim 6.4. For every point ggg of every guess one must exhibit a seed under which ggg produces exactly the observed queries, and that seed differs according to whether the observed run was truthful or fictitious.

The lower bound is harder. Counting queries is not enough by itself, because the obvious argument conflates query values with query indices. Lemma 7.1 counts indices along a single run (a fixed true value and seed). The covering bound counts distinct values in [δ,1][\delta,1][δ,1], one of which may be the artificial point 111. The natural first idea, a direct counting bound on N∗N^*N∗, is unavailable: N∗N^*N∗ is a minimum, so a lower bound must be proved for every private strategy of every length. Only the goal speaks about N∗N^*N∗, where the upper bound shows the set being minimized is nonempty.

Formalization scope

Everything lives in the namespace PrivSeqLearn.QueryComplexity, built on Mathlib with no measure theory in any statement. Conventions:

  • The seed space is Fin Ybar with 0 < Ybar. "Positive probability" is read as "for some seed" and "probability one" as "for every seed", which is exact for a uniform seed on a finite set.
  • Response histories are List Bool, and the response to qqq at true value xxx is decide (q ≤ x). Queries are 0-indexed (Fin N).
  • ΦN\Phi_NΦN​ (InPhi) requires query values on every history of length <N< N<N and estimate values on every history of length NNN to lie in [0,1)[0,1)[0,1), and the queries to be pairwise distinct for every x∈[0,1)x \in [0,1)x∈[0,1) and seed.
  • Covers are Fin L-indexed families of closed intervals Set.Icc. CδC_\deltaCδ​ and N∗N^*N∗ are sInf over N\mathbb NN, which equals the minimum when the set is nonempty.
  • Every logarithm term is ⌈Real.logb 2 ·⌉ computed in Z\mathbb ZZ, so 2L−42L - 42L−4 never truncates. In the regime, all log arguments exceed 1.
  • The OB seed is {0,…,L⋅2M−1}\{0, \dots, L \cdot 2^M - 1\}{0,…,L⋅2M−1}, decoded as the gap J~\tilde{\mathcal J}J~​ and the bits Z1,…,ZMZ_1, \dots, Z_MZ1​,…,ZM​. The OB estimate, specified in the paper only inside the proof of Proposition 6.2, is the guess mid-point or the mid-point of the final bisection interval.
  • Disclosed deviations from the page:
    • Lemma 7.1 assumes δ≤1\delta \le 1δ≤1.
    • The lower-bound milestones do not assume distinct queries, which is a strengthening.
    • The OB-only milestones use 2ϵ<1/L2\epsilon < 1/L2ϵ<1/L in place of 2ϵ<δ≤1/L2\epsilon < \delta \le 1/L2ϵ<δ≤1/L.
    • Cover-number monotonicity assumes a bounded superset.

Trivializing encodings are ruled out:

  • an empty seed space is excluded by 0 < Ybar;
  • information sets range over [0,1)[0,1)[0,1) only;
  • privacy is required for every true value and every observable query sequence;
  • OB is the constructed strategy, not "some strategy".

Contributions are welcome on any milestone. The bisection lower bounds (Lemma 7.1 and the log⁡2(1/ϵ)\log_2(1/\epsilon)log2​(1/ϵ) bound) and the interval-covering facts are reusable beyond this mission.

Selected references

  • J. N. Tsitsiklis, K. Xu, Z. Xu, Private Sequential Learning, arXiv:1805.02136v3, 2020; Operations Research, 2021. https://arxiv.org/abs/1805.02136
  • R. Waeber, P. I. Frazier, S. G. Henderson, Bisection search with noisy responses, SIAM Journal on Control and Optimization 51(3):2261–2279, 2013. https://doi.org/10.1137/120861898
  • M. Horstein, Sequential transmission using noiseless feedback, IEEE Transactions on Information Theory 9(3):136–143, 1963. https://doi.org/10.1109/TIT.1963.1057832
  • Z. Xu, Private sequential search and optimization, Master's thesis, MIT, 2017. http://hdl.handle.net/1721.1/112054
15 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryMechanism DesignOperations Research·Captain: mikedeng1

Dynamic Incentive-Aware Learning: Robust Pricing in Contextual Auctions: Against Utility-Maximizing Buyers the CORP Policy Has Regret O(Nd(log(Td) log T + log²T / log²(1/γ)))Research Paper

Motivation

Display advertising is sold one impression at a time, mostly through second-price auctions with reserve prices. A reserve tailored to each buyer and to the features of the impression can raise the seller's revenue considerably, but the right reserve depends on the buyers' valuations, which the seller does not know and must learn from past auctions. The buyers participate in the same exchange day after day and know that their bids feed the seller's learning, so a patient buyer may bid untruthfully today to obtain lower reserves tomorrow. Learning reserve prices from strategic buyers is therefore a joint problem of statistics and incentives.

Golrezaei, Javanmard and Mirrokni (arXiv:2002.11137, Operations Research 69(1), 2021) study this problem in a contextual model and propose the policy CORP (Contextual Robust Pricing). Earlier work on learning against strategic buyers considered a single buyer facing posted prices, without contexts: Amin, Rostamizadeh and Syed (NeurIPS 2013) introduced the discounted strategic buyer, and contextual and revenue-optimization variants followed (Amin, Rostamizadeh and Syed, NeurIPS 2014; Mohri and Muñoz Medina, NeurIPS 2015). Personalized reserves in second-price auctions were studied by Paes Leme, Pál and Vassilvitskii (2016). The present paper treats many buyers, personalized reserves, contexts in Rd\mathbb R^dRd and censored observations (the seller sees who won, not the valuations).

Setting

In every period t=1,2,…t=1,2,\dotst=1,2,… the seller observes a feature vector xt∈Rdx_t\in\mathbb R^dxt​∈Rd, drawn i.i.d. from a law D\mathcal DD supported in the unit ball. Each of NNN buyers has the valuation

vit=⟨xt,βi⟩+zit,v_{it}=\langle x_t,\beta_i\rangle+z_{it},vit​=⟨xt​,βi​⟩+zit​,

where βi∈Rd\beta_i\in\mathbb R^dβi​∈Rd is an unknown preference vector with ∥βi∥≤Bp\|\beta_i\|\le B_p∥βi​∥≤Bp​ and the noises zitz_{it}zit​ are i.i.d. with a known density fff on [−Bn,Bn][-B_n,B_n][−Bn​,Bn​], mean zero, and distribution function FFF. Assumption 1 asks FFF and 1−F1-F1−F to be log-concave on [−Bn,Bn][-B_n,B_n][−Bn​,Bn​].

Each period runs a lazy second-price auction with personalized reserves ritr_{it}rit​: the highest bidder i⋆i^\stari⋆ gets the item if bi⋆t≥ri⋆tb_{i^\star t}\ge r_{i^\star t}bi⋆t​≥ri⋆t​ and pays max⁡{ri⋆t,max⁡j≠i⋆bjt}\max\{r_{i^\star t},\max_{j\neq i^\star}b_{jt}\}max{ri⋆t​,maxj=i⋆​bjt​}; nobody else pays. The benchmark knows the βi\beta_iβi​ and sets ri⋆(x)=arg⁡max⁡yy (1−F(y−⟨x,βi⟩))r^\star_i(x)=\arg\max_y y\,(1-F(y-\langle x,\beta_i\rangle))ri⋆​(x)=argmaxy​y(1−F(y−⟨x,βi​⟩)) (4); its expected revenue against truthful buyers is revt⋆\mathrm{rev}^\star_trevt⋆​ (5).

CORP works in episodes Ek={ℓk,…,ℓk+1−1}E_k=\{\ell_k,\dots,\ell_{k+1}-1\}Ek​={ℓk​,…,ℓk+1​−1} with ℓk=2k−1\ell_k=2^{k-1}ℓk​=2k−1. At the start of episode kkk it computes, for each buyer, a maximum-likelihood estimate β^ik\hat\beta_{ik}β^​ik​ over ∥β∥≤Bp\|\beta\|\le B_p∥β∥≤Bp​ from the censored outcomes of episode k−1k-1k−1 (8)–(9). In each period of episode kkk, with probability 1/ℓk1/\ell_k1/ℓk​ it explores: one uniformly chosen buyer is offered the item at a price uniform on [0,Bp+Bn][0,B_p+B_n][0,Bp​+Bn​]. Otherwise it exploits with reserves rit=arg⁡max⁡yy (1−F(y−⟨xt,β^ik⟩))r_{it}=\arg\max_y y\,(1-F(y-\langle x_t,\hat\beta_{ik}\rangle))rit​=argmaxy​y(1−F(y−⟨xt​,β^​ik​⟩)) (10).

Buyer iii's bid may depend on his own history of valuations, bids, allocations and payments, on xtx_txt​, on vitv_{it}vit​ and on private randomness. His utility is ∑tγt E[vitqit−pit]\sum_t\gamma^t\,\mathbb E[v_{it}q_{it}-p_{it}]∑t​γtE[vit​qit​−pit​] with a discount factor γ∈(0,1)\gamma\in(0,1)γ∈(0,1), and buyers are utility-maximizing. The regret after TTT periods is ∑t=1T(revt⋆−revt)\sum_{t=1}^T(\mathrm{rev}^\star_t-\mathrm{rev}_t)∑t=1T​(revt⋆​−revt​), worst case over β\betaβ and D\mathcal DD (7).

Formalization targets

Goal: Theorem 4.1 (p. 23)

There is CCC, depending only on Bp,Bn,M,f,cmin⁡,cmax⁡B_p,B_n,M,f,c_{\min},c_{\max}Bp​,Bn​,M,f,cmin​,cmax​, such that for all N,d≥1N,d\ge1N,d≥1, T≥2T\ge2T≥2, γ∈(0,1)\gamma\in(0,1)γ∈(0,1), all admissible D,β\mathcal D,\betaD,β and all utility-maximizing buyers,

Regret(T)≤C Nd(log⁡(Td)log⁡T+log⁡2Tlog⁡2(1/γ)).\mathrm{Regret}(T)\le C\,N d\Big(\log(Td)\log T+\frac{\log^2T}{\log^2(1/\gamma)}\Big).Regret(T)≤CNd(log(Td)logT+log2(1/γ)log2T​).

Milestones, in the order the proof uses them

  • Proposition 3.1 (p. 15): the reserves (4) are revenue-optimal against truthful buyers.
  • Lemma 1 (p. 56): the conditional revenue WitW_{it}Wit​ is flat at rit⋆r^\star_{it}rit⋆​ and has a bounded second derivative.
  • Lemma 2 (p. 56): ∣rit⋆−rit∣≤∣⟨xt,βi−β^ik⟩∣|r^\star_{it}-r_{it}|\le|\langle x_t,\beta_i-\hat\beta_{ik}\rangle|∣rit⋆​−rit​∣≤∣⟨xt​,βi​−β^​ik​⟩∣.
  • Lemma 3 (p. 57): the second-highest bid and the competing bid move by at most the shading and overbidding.
  • Proposition 9.2 (p. 53): per episode, a utility-maximizing buyer lies O(log⁡(ℓ/δ)+log⁡(ℓN)/log⁡(1/γ))O(\log(\ell/\delta)+\log(\ell N)/\log(1/\gamma))O(log(ℓ/δ)+log(ℓN)/log(1/γ)) times, and his total shading and overbidding are O(log⁡(ℓN)/log⁡(1/γ))O(\log(\ell N)/\log(1/\gamma))O(log(ℓN)/log(1/γ)), with high probability.
  • Corollary 18.2 (p. 88): the vector Freedman inequality.

Significance

If true, Theorem 4.1 says that a seller can learn personalized, contextual reserves from censored data at a cost logarithmic in TTT and linear in NdNdNd, even when buyers manipulate their bids. The strategic term vanishes as buyers become impatient. The episodic delay between a bid and its effect on reserves, together with the random exploration prices, is what makes untruthful bidding unprofitable. The lemmas are of independent use. Proposition 3.1 and Lemma 2 concern the monopoly price under log-concave noise. Lemma 3 is a deterministic fact about second-price auctions. Corollary 18.2 is a vector concentration inequality.

Status. None of these results is machine-checked anywhere known to us. The paper's printed proof has gaps. Proposition 9.1 (p. 52), which bounds the estimation error of the MLE by the number of lies, fails as printed. With uniform noise a single lie per episode keeps the estimate a constant distance from βi\beta_iβi​. Its supporting Lemma 5 uses a constant uFu_FuF​ that is infinite for every compactly supported FFF (p. 71). Its curvature bound (89) also fails when a likelihood term leaves the support of fff. Lemma 6 (p. 76) conditions on an event the exploration lottery itself moves. A proof of Theorem 4.1, or a counterexample to it, would settle the question. The goal is stated as the paper states it, and is neither asserted nor denied here.

Difficulty

The natural route is the paper's. First bound the estimation error of the censored MLE in terms of the number of lies. Then bound the number of lies by comparing a lie's discounted future gain with its immediate loss under the exploration lottery. Finally sum over episodes.

The first step is where it breaks. With noise supported on [−Bn,Bn][-B_n,B_n][−Bn​,Bn​], an observation whose threshold falls outside the support carries no curvature. Its likelihood term is constant or +∞+\infty+∞, so the minimizer of (9) is in general a set, not a point. A minimizer at the wrong end of that set can keep the reserve below the benchmark for many episodes, even with truthful buyers. Any proof must say which minimizer CORP takes, or show that all of them work. The second step must handle buyers who react to one another through their histories; the paper's proof holds the other buyers' bids fixed. The concentration steps need a vector martingale inequality and a covariance concentration bound, neither of which is in Mathlib.

Formalization scope

Lean represents features as EuclideanSpace ℝ (Fin d) and buyers as Fin N. Periods are indexed from 000 internally (Lean's nnn is the paper's t=n+1t=n+1t=n+1), and episodes likewise (Lean's eee is the paper's k=e+1k=e+1k=e+1, so ℓk=2e\ell_k=2^eℓk​=2e). Period 111 always explores. The per-period randomness consists of the features, the noises, the exploration coin, the chosen buyer, the exploration price and the buyers' seeds. It is independent across periods, under Measure.infinitePi, and the play is defined by recursion over periods. The likelihood (9) takes values in [0,+∞][0,+\infty][0,+∞] with −log⁡0=+∞-\log 0=+\infty−log0=+∞; a real-valued Real.log would make impossible observations free and change the estimator. The estimator (8) and the reserve rule (10) are arbitrary measurable selections of the argmin and argmax, quantified universally. No tie-break or uniqueness is added. The same reserve rule defines the benchmark (4).

Standing assumptions and added hypotheses.

  • The noise density is continuous on [−Bn,Bn][-B_n,B_n][−Bn​,Bn​], with mass one and mean zero, and Assumption 1 holds.
  • ∥x∥≤1\|x\|\le1∥x∥≤1 almost surely, and cmin⁡/d ∥u∥2<E⟨x,u⟩2≤cmax⁡/d ∥u∥2c_{\min}/d\,\|u\|^2<\mathbb E\langle x,u\rangle^2\le c_{\max}/d\,\|u\|^2cmin​/d∥u∥2<E⟨x,u⟩2≤cmax​/d∥u∥2; the proof uses these eigenvalue bounds (pp. 57, 72–73).
  • Bids are at most MMM (p. 14) and pairwise distinct almost surely (p. 20).
  • Strategies and selections are measurable, N,d≥1N,d\ge1N,d≥1 and T≥2T\ge2T≥2.
  • Utility-maximizing is pinned as the inequality the proof uses on p. 77: no buyer gains by switching to truthful bidding from the start of any episode on. Every best-response profile satisfies it, and the all-truthful profile does too.
  • Exploration is a posted price to the chosen buyer.
  • Lemma 1 adds f∈C1(R)f\in C^1(\mathbb R)f∈C1(R), which its proof uses.
  • Lemma 2 adds that both indices exceed −Bn-B_n−Bn​; without that, the argmax is unbounded.
  • Lemma 3's (45) adds that another buyer wins; as printed it fails when nobody wins.
  • Corollary 18.2 adds u0=0u_0=0u0​=0.

Ruled out. The constant CCC comes before every instance, horizon, selection and strategy, so a bound depending on TTT or on the instance does not count. The policy is CORP as defined, not any reserve-setting rule. The rationality hypothesis is satisfiable.

Infrastructure. A complete development needs the following.

  • Measurability of the recursive play.
  • The monopoly price under log-concavity (Proposition 3.1, Lemma 2).
  • Censored-likelihood estimation with compactly supported noise.
  • A vector Freedman inequality (Corollary 18.2, reusable).
  • Covariance concentration for bounded vectors.

Contributions on any milestone are welcome. So is a formal counterexample to the goal in the model as stated, for example with one truthful buyer, uniform noise and the smallest minimizer of (9).

Out of scope. CORP-II and SCORP (Theorems 5.1–5.3, Propositions 11.1–11.2) and the extensions of Appendix 8 are not part of this mission. Proposition 9.1, Lemma 5, Lemma 6 and Theorem 18.1 are not posed (see Significance).

Selected references

  • N. Golrezaei, A. Javanmard, V. Mirrokni, Dynamic Incentive-Aware Learning: Robust Pricing in Contextual Auctions, Operations Research 69(1), 2021; read as arXiv:2002.11137v1. https://arxiv.org/abs/2002.11137
  • K. Amin, A. Rostamizadeh, U. Syed, Learning Prices for Repeated Auctions with Strategic Buyers, NeurIPS 2013. https://papers.nips.cc/paper/2013/hash/1e6e0a04d20f50967c64dac2d639a577-Abstract.html
  • R. Paes Leme, M. Pál, S. Vassilvitskii, A Field Guide to Personalized Reserve Prices, WWW 2016. https://doi.org/10.1145/2872427.2883071
  • J. A. Tropp, Freedman's inequality for matrix martingales, Electronic Communications in Probability 16, 2011. https://doi.org/10.1214/ECP.v16-1624
  • R. B. Myerson, Optimal Auction Design, Mathematics of Operations Research 6(1), 1981. https://doi.org/10.1287/moor.6.1.58
10 thms3 active usersReviewed
🏆Completed
Markov ChainOperations ResearchReinforcement Learning·Captain: mikedeng1

Nonstationary Reinforcement Learning: The Blessing of (More) Optimism II: Per-Step Dynamic Regret of SWUCRL2-CW When the Widened Confidence Region Contains an MDP of Diameter at Most DResearch Paper

Why changing environments matter

A reinforcement-learning agent chooses actions while learning how those actions affect future states. In a stationary model, observations collected long ago remain relevant to the current transition law. In a nonstationary Markov decision process, rewards and transition probabilities may change at each round. Old observations can then bias an estimate even when the agent has collected many samples. The challenge is to keep learning from recent observations without becoming blind to actions that the agent has not tried recently. Cheung, Simchi-Levi and Zhu study this tension for finite-state average-reward learning and introduce confidence widening in their SWUCRL2-CW algorithm Cheung et al., §4.

The paper's broad regret theorems suppress constants inside asymptotic notation. Proposition 2 gives an explicit one-round inequality that exposes the roles of estimation error, temporal variation, confidence widening, and the diameter of a plausible transition model. This mission targets that proposition and the stated auxiliary results used around it Cheung et al., pp. 14, 38–41.

The finite changing MDP

Let S\mathcal SS be a finite state set. Each state sss has a nonempty finite set As\mathcal A_sAs​ of permitted actions. At round ttt, taking action a∈Asa\in\mathcal A_sa∈As​ in state sss gives expected reward rt(s,a)∈[0,1]r_t(s,a)\in[0,1]rt​(s,a)∈[0,1] and moves to state s′s's′ with probability pt(s′∣s,a)p_t(s'\mid s,a)pt​(s′∣s,a). The one-step variation Br,tB_{r,t}Br,t​ is the greatest change ∣rt+1(s,a)−rt(s,a)∣|r_{t+1}(s,a)-r_t(s,a)|∣rt+1​(s,a)−rt​(s,a)∣ over permitted pairs; Bp,tB_{p,t}Bp,t​ is the corresponding greatest ℓ1\ell_1ℓ1​ distance between transition rows. These definitions make no stationarity assumption Cheung et al., pp. 6, 33.

At the start τ(m)\tau(m)τ(m) of an episode, the algorithm counts visits to each pair in a recent window of length WWW. It divides empirical sums by N+=max⁡{1,N}N^+=\max\{1,N\}N+=max{1,N}, where NNN is the visit count. Thus an unvisited pair has estimated reward and transition vector equal to zero. Reward confidence sets lie in [0,1][0,1][0,1]; transition confidence sets lie in the probability simplex and use an ℓ1\ell_1ℓ1​ radius enlarged by a nonnegative parameter η\etaη. Write rad⁡r,τ(m)(s,a)\operatorname{rad}_{r,\tau(m)}(s,a)radr,τ(m)​(s,a) and rad⁡p,τ(m)(s,a)\operatorname{rad}_{p,\tau(m)}(s,a)radp,τ(m)​(s,a) for their respective radii. The algorithm chooses a stationary policy π~τ(m)\tilde\pi_{\tau(m)}π~τ(m)​ and an optimistic model, gain ρ~τ(m)\tilde\rho_{\tau(m)}ρ~​τ(m)​, and bias γ~τ(m)\tilde\gamma_{\tau(m)}γ~​τ(m)​ from extended value iteration Cheung et al., pp. 11–13.

The diameter of a transition model is the largest, over ordered source and target states, of the smallest expected number of transitions needed to reach the target under a stationary policy. Source equal to target means a return time after at least one transition. The round-ttt optimal gain ρt∗\rho_t^*ρt∗​ is the value of the stationary occupancy-measure linear program for (rt,pt)(r_t,p_t)(rt​,pt​) with only permitted actions. From the window's first round through the round before ttt, let var⁡r,t\operatorname{var}_{r,t}varr,t​ and var⁡p,t\operatorname{var}_{p,t}varp,t​ be the sums of the corresponding one-step variations Cheung et al., pp. 8, 14, 33.

Formalization targets

The main target is Proposition 2. Condition on the local reward and transition estimation events at τ(m)\tau(m)τ(m). Assume that the widened transition confidence sets contain every permitted row of an MDP of diameter at most DDD. For a round in which at=π~τ(m)(st)a_t=\tilde\pi_{\tau(m)}(s_t)at​=π~τ(m)​(st​), the target is

ρt∗−rt(st,at)≤∑s′pt(s′∣st,at)γ~τ(m)(s′)−γ~τ(m)(st)+1τ(m)+2var⁡r,t+4D(var⁡p,t+η)+2rad⁡r,τ(m)(st,at)+4Drad⁡p,τ(m)(st,at).\begin{aligned} \rho_t^*-r_t(s_t,a_t)\le{}&\sum_{s'}p_t(s'\mid s_t,a_t)\tilde\gamma_{\tau(m)}(s')-\tilde\gamma_{\tau(m)}(s_t)+\frac1{\sqrt{\tau(m)}}\\ &+2\operatorname{var}_{r,t}+4D(\operatorname{var}_{p,t}+\eta)\\ &+2\operatorname{rad}_{r,\tau(m)}(s_t,a_t)+4D\operatorname{rad}_{p,\tau(m)}(s_t,a_t). \end{aligned}ρt∗​−rt​(st​,at​)≤​s′∑​pt​(s′∣st​,at​)γ~​τ(m)​(s′)−γ~​τ(m)​(st​)+τ(m)​1​+2varr,t​+4D(varp,t​+η)+2radr,τ(m)​(st​,at​)+4Dradp,τ(m)​(st​,at​).​

The five milestones are the paper's Lemmas 2–5 and displayed inequality (32): a dual-bias span bound, a drift estimate for window averages, bounded optimistic bias, optimism under drift, and a transition-value error bound. Their exact constants are part of the targets Cheung et al., pp. 33, 38–39.

What the result supplies

Proposition 2 separates the per-round change in optimal gain from the cost of the current action. Its first term tracks changes in the optimistic bias along transitions; the other terms identify window drift, reward and transition estimation, and widening. This decomposition can be summed across episodes when analyzing the algorithm. The result has a concrete role even though the later horizon-wide theorem is given in asymptotic notation Cheung et al., pp. 14, 41.

The paper proves these claims mathematically. The mission asks for machine-checked proofs of the explicit statements and for reusable definitions of finite nonstationary MDP variation, window estimators, confidence sets, occupancy gain, and hitting-time diameter. The source's Theorems 1–4 are not posed here: their displayed bounds hide constants in O~(⋅)\widetilde O(\cdot)O(⋅) and, in one case, use an unspecified O(δ)O(\delta)O(δ) failure probability Cheung et al., pp. 14–25. This proposal supplies statements for solvers; it does not claim that these new statements already have machine-checked proofs.

Where the difficulty lies

The current model need not resemble the model that generated every observation in the window. A direct stationary confidence argument cannot control the resulting temporal error. The challenge is especially visible at a pair with no recent visits: its comparison transition vector is zero, although a genuine transition row has total mass one. The paper's Lemma 3, read literally for every pair, fails in that case. The mission states its positive-count condition explicitly while keeping the proposition and the later optimism and transition milestones valid at unvisited pairs Cheung et al., pp. 12, 38–40.

There is a separate issue with the printed dual-bias lemma. Feasibility alone permits an arbitrarily large dual gain and does not force the asserted 2D2D2D span bound. The mission adds ρ≤2\rho\le2ρ≤2 to Lemma 2 and records the change for audit. The EVI output is represented by its selected-model membership, bias normalization, optimism, and near-optimality properties; this is the contract stated for the algorithm's output, rather than a formal execution of extended value iteration Cheung et al., pp. 13, 33, 35–36.

Formalization scope

States and ambient actions are Fin S and Fin A; permitted actions are state-dependent finite subsets. The setup has S>1S>1S>1, 0<δ<10<\delta<10<δ<1, η≥0\eta\ge0η≥0, and a nonempty action set at each state. Time is zero-based in Lean, while the paper's rounds are one-based; in particular its 1/τ(m)1/\sqrt{\tau(m)}1/τ(m)​ is represented by 1/τm+11/\sqrt{\tau_m+1}1/τm​+1​. Counts and confidence sets are evaluated at the episode start. Variations continue up to the target round. The estimation events are assumed at the episode start, which is the only time used by these statements.

Hitting times and diameter take values in extended nonnegative reals, so an unreachable target does not acquire a false finite diameter. The diameter includes return times and minimizes over deterministic stationary policies. The confidence-radius product SASASA counts actual permitted pairs. At an unvisited pair, the comparison averages remain zero and N+=1N^+=1N+=1; the large confidence radii under the stated bounds are essential. The local transition event uses the ℓ1\ell_1ℓ1​ error condition: literal membership of the zero comparison vector in a simplex would make the paper's event fail. The printed coordinatewise maxima in Property 1 imply the standard joint-distribution optimism condition used here. The free (s,a)(s,a)(s,a) printed in the last radius of Proposition 2 means (st,at)(s_t,a_t)(st​,at​), as the proof's context confirms Cheung et al., pp. 12, 14, 36, 40–41.

Two milestones carry a pinned hypothesis because the printed statement is false without it: Lemma 2 assumes the dual gain satisfies ρ≤2\rho\le 2ρ≤2 (an arbitrary feasible ρ\rhoρ can make the bias span exceed 2D2D2D), and Lemma 3 assumes the pair was visited in the episode-start window (at an unvisited pair the comparison averages are zero). Proposition 2 is stated for every round t≥τ(m)t\ge\tau(m)t≥τ(m) before the horizon at which the action is the episode policy's choice, which covers the rounds of episode mmm; the coefficient 4D4D4D of η\etaη is kept as printed.

The witness MDP has genuine probability rows in the widened sets and a diameter bound. The EVI tuple obeys both stated properties, and the chosen action obeys its policy. These conditions prevent an unconstrained bias, a spurious zero diameter, a confidence event at the wrong time, or a reward bound for an unrelated action. The published FiniteMDPLearning model supplies probability rows and rewards in [0,1][0,1][0,1]; its different travel-time convention is not substituted for the paper's diameter. Contributions to the MDP linear program, finite-state hitting times, window-average inequalities, and confidence-region geometry are all useful beyond this mission.

Selected references

  • W. C. Cheung, D. Simchi-Levi and R. Zhu, Non-Stationary Reinforcement Learning: The Blessing of (More) Optimism, arXiv:1906.02922v4, 2020; published as Nonstationary Reinforcement Learning: The Blessing of (More) Optimism, Management Science, 2023. Preprint; journal DOI.
  • T. Jaksch, R. Ortner and P. Auer, Near-optimal regret bounds for reinforcement learning, Journal of Machine Learning Research 11, 2010. Article.
10 thms3 active usersReviewed
🏆Completed
Operations ResearchStatistics·Captain: mikedeng1

Subset Selection with Shrinkage: Sparse Linear Modeling When the SNR Is Low IV: ℓ1-Regularized Best Subset Selection Satisfies Slow-Rate and Fast-Rate Oracle InequalitiesResearch Paper

Why shrink a best subset?

Best subset selection fits a linear predictor using at most kkk of ppp available columns. Its explicit limit on the number of selected variables makes the model easy to interpret, but the search can still fit noise: among many subsets of the same size, one can align unusually well with a noisy response. Mazumder, Radchenko and Dedieu study this effect in Subset Selection with Shrinkage. They add a penalty on the size of the selected coefficients and show how this changes prediction error when the signal-to-noise ratio is low.

An ℓ1\ell_1ℓ1​ penalty is familiar from the Lasso. The estimator here also keeps the subset-size constraint, so its comparison class and its tuning parameter have a different role from those in an unconstrained Lasso. The paper's Theorem 3 gives three deterministic error bounds for this estimator, each valid on a specified event of the Gaussian noise. These bounds are the target of this mission. The separate probability estimates for the events are Theorem 1 of the paper and belong to another mission in this series.

Setting

Let X∈Rn×pX\in\mathbb R^{n\times p}X∈Rn×p be a fixed design matrix whose columns have Euclidean norm one. The observation is y=f∗+ϵy=f^*+\epsilony=f∗+ϵ, where f∗∈Rnf^*\in\mathbb R^nf∗∈Rn is a fixed mean and the coordinates of ϵ\epsilonϵ are independent N(0,σ2)N(0,\sigma^2)N(0,σ2) random variables, with σ>0\sigma>0σ>0. The result below fixes one realized noise vector ϵ\epsilonϵ and assumes it lies in an event stated below. No assumption that f∗f^*f∗ is itself a linear combination of columns of XXX is required.

For 1≤k≤p1\le k\le p1≤k≤p, write B0(k)={β∈Rp:∥β∥0≤k}B_0(k)=\{\beta\in\mathbb R^p:\|\beta\|_0\le k\}B0​(k)={β∈Rp:∥β∥0​≤k}, where ∥β∥0\|\beta\|_0∥β∥0​ counts nonzero coordinates. An ℓ1\ell_1ℓ1​-regularized best subset estimator is any minimizer

β^1∈argmin⁡β∈B0(k){∥y−Xβ∥22+λ∥β∥1}.(16)\hat\beta_1\in\operatorname*{argmin}_{\beta\in B_0(k)}\bigl\{\|y-X\beta\|_2^2+\lambda\|\beta\|_1\bigr\}.\tag{16}β^​1​∈β∈B0​(k)argmin​{∥y−Xβ∥22​+λ∥β∥1​}.(16)

The objective has no factor 1/21/21/2. The assertion applies to every minimizer, so tied solutions are covered. The sparse minimum singular value is γs=inf⁡{∥Xu∥2/∥u∥2:u≠0, ∥u∥0≤s}\gamma_s=\inf\{\|Xu\|_2/\|u\|_2:u\ne0,\ \|u\|_0\le s\}γs​=inf{∥Xu∥2​/∥u∥2​:u=0, ∥u∥0​≤s}. When p≥1p\ge1p≥1 and s≥1s\ge1s≥1 its domain is nonempty. Write u1♯,…,up♯u_1^\sharp,\ldots,u_p^\sharpu1♯​,…,up♯​ for the decreasing rearrangement of ∣u1∣,…,∣up∣|u_1|,\ldots,|u_p|∣u1​∣,…,∣up​∣.

The paper defines three noise events used here. H\mathcal HH bounds the largest coordinate of X⊤ϵX^\top\epsilonX⊤ϵ by σ2log⁡(2p)+σ2log⁡(1/δ0)\sigma\sqrt{2\log(2p)}+\sigma\sqrt{2\log(1/\delta_0)}σ2log(2p)​+σ2log(1/δ0​)​. On F\mathcal FF, every u∈Rpu\in\mathbb R^pu∈Rp satisfies

ϵ⊤Xu≤(4+2)σmax⁡{∑j=1puj♯log⁡(2p/j), log⁡(1/δ0) ∥Xu∥2}.\epsilon^\top Xu\le(4+\sqrt2)\sigma\max\left\{\sum_{j=1}^{p}u_j^\sharp\sqrt{\log(2p/j)},\ \sqrt{\log(1/\delta_0)}\,\|Xu\|_2\right\}.ϵ⊤Xu≤(4+2​)σmax{j=1∑p​uj♯​log(2p/j)​, log(1/δ0​)​∥Xu∥2​}.

On Gs\mathcal G_sGs​, every u∈B0(s)u\in B_0(s)u∈B0​(s) satisfies ϵ⊤Xu≤σ5slog⁡(ep/s)+log⁡(1/δ0) ∥Xu∥2\epsilon^\top Xu\le\sigma\sqrt{5s\log(ep/s)+\log(1/\delta_0)}\,\|Xu\|_2ϵ⊤Xu≤σ5slog(ep/s)+log(1/δ0​)​∥Xu∥2​. Here δ0∈(0,1]\delta_0\in(0,1]δ0​∈(0,1] and all logarithms are natural. These definitions, including the constant in Gs\mathcal G_sGs​, are the printed deterministic events of p. 13.

Formalization targets

Exact slow rate on H\mathcal HH

At λ=2σ2log⁡(2p)+2σ2log⁡(1/δ0)\lambda=2\sigma\sqrt{2\log(2p)}+2\sigma\sqrt{2\log(1/\delta_0)}λ=2σ2log(2p)​+2σ2log(1/δ0​)​, Theorem 3(A) states

∥f∗−Xβ^1∥22≤inf⁡β∈B0(k)[∥f∗−Xβ∥22+2λ∥β∥1](ϵ∈H).\|f^*-X\hat\beta_1\|_2^2\le\inf_{\beta\in B_0(k)}\bigl[\|f^*-X\beta\|_2^2+2\lambda\|\beta\|_1\bigr]\qquad(\epsilon\in\mathcal H).∥f∗−Xβ^​1​∥22​≤β∈B0​(k)inf​[∥f∗−Xβ∥22​+2λ∥β∥1​](ϵ∈H).

Slow rate on F\mathcal FF

For λ≥(8+22)σlog⁡(2p)\lambda\ge(8+2\sqrt2)\sigma\sqrt{\log(2p)}λ≥(8+22​)σlog(2p)​, a positive universal constant CAC_ACA​ gives

∥f∗−Xβ^1∥22≤CA[inf⁡β∈B0(k)(∥f∗−Xβ∥22+λ∥β∥1)+σ2log⁡(1/δ0)](ϵ∈F).\|f^*-X\hat\beta_1\|_2^2\le C_A\left[\inf_{\beta\in B_0(k)}\bigl(\|f^*-X\beta\|_2^2+\lambda\|\beta\|_1\bigr)+\sigma^2\log(1/\delta_0)\right]\qquad(\epsilon\in\mathcal F).∥f∗−Xβ^​1​∥22​≤CA​[β∈B0​(k)inf​(∥f∗−Xβ∥22​+λ∥β∥1​)+σ2log(1/δ0​)](ϵ∈F).

Fast rate on G2k\mathcal G_{2k}G2k​

For every λ≥0\lambda\ge0λ≥0, a positive universal constant CBC_BCB​ gives

∥f∗−Xβ^1∥22≤CB[inf⁡β∈B0(k)∥f∗−Xβ∥22+σ2klog⁡(ep/k)+γ2k−2λ2k+σ2log⁡(1/δ0)](ϵ∈G2k).\|f^*-X\hat\beta_1\|_2^2\le C_B\left[\inf_{\beta\in B_0(k)}\|f^*-X\beta\|_2^2+\sigma^2k\log(ep/k)+\gamma_{2k}^{-2}\lambda^2 k+\sigma^2\log(1/\delta_0)\right]\qquad(\epsilon\in\mathcal G_{2k}).∥f∗−Xβ^​1​∥22​≤CB​[β∈B0​(k)inf​∥f∗−Xβ∥22​+σ2klog(ep/k)+γ2k−2​λ2k+σ2log(1/δ0​)](ϵ∈G2k​).

The kkk multiplying γ2k−2λ2\gamma_{2k}^{-2}\lambda^2γ2k−2​λ2 distinguishes this rate from the ℓ2\ell_2ℓ2​-penalized estimator's bound. The three claims together, with their separate tuning conditions, are Theorem 3 on p. 16. The milestones follow the displays of its proof in Supplement B.6, pp. 42–43.

What the result provides

Each inequality compares the prediction of any selected minimizer with that of every sparse competitor. The first bound has an exact leading constant and no additive noise term on H\mathcal HH. The second keeps a linear penalty term when λ\lambdaλ meets a fixed noise-dependent threshold. The third replaces the linear term with a quadratic λ\lambdaλ term controlled by the sparse minimum singular value. This distinguishes regimes in which coefficient shrinkage changes the error rate. The paper also combines deterministic bounds with event probabilities in subsequent corollaries; those probability statements are separate from this goal.

The paper proves Theorem 3. The formalization task is to verify its model definitions, event interpretation and all three inequalities in Lean, with the same constants and quantifiers. The milestone statements isolate the basic inequality, the H\mathcal HH bound, the rearranged-coordinate bound, the F\mathcal FF case split and the sparse ℓ1\ell_1ℓ1​ step. A complete proof would also provide reusable finite-dimensional norm and matrix estimates. This mission does not include the paper's numerical experiments, data-driven model-size selection, the ℓ2\ell_2ℓ2​-penalized estimator, or the event-probability theorem.

Difficulty

The constraint ∥β∥0≤k\|\beta\|_0\le k∥β∥0​≤k makes the estimator a minimizer over a nonconvex set. A standard unconstrained Lasso argument does not directly supply the paper's bound for every feasible sparse comparator. The slow rates rely on two different noise controls: a coordinatewise bound on H\mathcal HH and a maximum of a sorted-coordinate term and a prediction-norm term on F\mathcal FF. The fast rate also needs the sparse minimum singular value to relate coefficient error to prediction error. The constants in these steps matter: replacing the exact first tuning equality or dropping the factor kkk in the fast rate would state a different theorem.

Formalization scope

Lean uses Fin n → ℝ and Fin p → ℝ for vectors and Matrix (Fin n) (Fin p) ℝ for XXX. Norms are explicit finite sums, rather than the function type's default supremum norm. The paper's one-based sorted index jjj is j.val + 1; the sum using u♯u^\sharpu♯ is encoded as a maximum over coordinate permutations, which agrees with the decreasing rearrangement. The events are predicates on realized noise vectors. The Gaussian law explains the model but is not needed in these deterministic statements. The estimator is an argmin predicate, never a chosen minimizer.

The universal constants precede all dimensions and data in the Lean goal. The infima in the three displayed bounds are expressed as inequalities for every β∈B0(k)\beta\in B_0(k)β∈B0​(k), avoiding the default value of an empty or unbounded real infimum. The standing conditions are 1≤k≤p1\le k\le p1≤k≤p, unit-norm columns, σ>0\sigma>0σ>0 and 0<δ0≤10<\delta_0\le10<δ0​≤1. The first slow-rate branch retains the paper's equality for λ\lambdaλ. The fast branch additionally requires γ2k>0\gamma_{2k}>0γ2k​>0 or λ=0\lambda=0λ=0: this makes the λ2/γ2k2\lambda^2/\gamma_{2k}^2λ2/γ2k2​ term meaningful under Lean's total division, which returns zero at a zero denominator. The displayed events use the paper's original Gs\mathcal G_sGs​ constant; this mission makes only a deterministic claim on that event.

The sparse domain for γ2k\gamma_{2k}γ2k​ is nonempty under these conditions. All square-root radicands and logarithm arguments in the target are in their intended ranges. The formalization must rule out a universal constant that depends on nnn, ppp, kkk, XXX or λ\lambdaλ, and must apply to every minimizer. Contributions to the shared norm inequalities, rearrangement identity and matrix calculations are useful beyond this theorem.

Selected references

  • Rahul Mazumder, Peter Radchenko and Antoine Dedieu, Subset Selection with Shrinkage: Sparse Linear Modeling When the SNR Is Low, Operations Research 71 (2023), arXiv preprint version 4 (2022), arXiv:1708.03288v4. This mission cites the preprint's page and theorem numbering.
9 thms3 active usersReviewed
🏆Completed
Operations ResearchStatistics·Captain: mikedeng1

Subset Selection with Shrinkage: Sparse Linear Modeling When the SNR Is Low III: ℓ2-Regularized Best Subset Selection Satisfies Slow-Rate and Fast-Rate Oracle InequalitiesResearch Paper

Motivation

Best subset selection fits a linear model using at most kkk of ppp available predictors, choosing the kkk that minimize the residual sum of squares. Mixed-integer optimization made it computable at moderate scale (Bertsimas, King & Mazumder, 2016), which reopened the statistical question of when it should be used. Empirical comparisons (Hastie, Tibshirani & Tibshirani, 2020) found that best subsets predicts poorly when the signal-to-noise ratio (SNR) is low: by fitting the noise exactly within its chosen support it overfits, and shrinkage methods such as the Lasso do better there.

Mazumder, Radchenko & Dedieu propose to add a shrinkage penalty to the cardinality-constrained problem. Their Theorem 2 quantifies the effect of an ℓ2\ell_2ℓ2​ (Euclidean-norm) penalty: it proves prediction-error bounds that are linear in the penalty level and therefore remain small in the low-SNR regime where best subsets fails. This mission formalizes that theorem.

Setting

The data follow the model

y=f∗+ϵ,y=f^*+\epsilon,y=f∗+ϵ,

where y,f∗,ϵ∈Rny,f^*,\epsilon\in\mathbb R^ny,f∗,ϵ∈Rn, f∗f^*f∗ is an unknown deterministic mean and ϵ\epsilonϵ is a noise vector (in the paper, with independent N(0,σ2)N(0,\sigma^2)N(0,σ2) entries, σ>0\sigma>0σ>0). The design X∈Rn×pX\in\mathbb R^{n\times p}X∈Rn×p is deterministic and its columns have unit Euclidean norm. Write ∥⋅∥\|\cdot\|∥⋅∥ for the Euclidean norm, ∥β∥0\|\beta\|_0∥β∥0​ for the number of nonzero coordinates of β\betaβ, and B0(s)={u∈Rp:∥u∥0≤s}B_0(s)=\{u\in\mathbb R^p:\|u\|_0\le s\}B0​(s)={u∈Rp:∥u∥0​≤s}.

For a model size kkk and a penalty level λ≥0\lambda\ge0λ≥0, the ℓ2\ell_2ℓ2​-regularized best-subsets estimator is any solution

β^2∈arg⁡min⁡β ∥y−Xβ∥2+λ∥β∥s.t.∥β∥0≤k.\hat\beta_2\in\arg\min_{\beta}\ \|y-X\beta\|^2+\lambda\|\beta\|\quad\text{s.t.}\quad\|\beta\|_0\le k.β^​2​∈argβmin​ ∥y−Xβ∥2+λ∥β∥s.t.∥β∥0​≤k.

The penalty is the norm ∥β∥\|\beta\|∥β∥, not its square, and the loss carries no factor 1/21/21/2. The quantity of interest is the prediction error ∥f∗−Xβ^2∥2\|f^*-X\hat\beta_2\|^2∥f∗−Xβ^​2​∥2.

The minimal sss-sparse eigenvalue of XXX is γs=min⁡u≠0, u∈B0(s)∥Xu∥/∥u∥\gamma_s=\min_{u\neq0,\,u\in B_0(s)}\|Xu\|/\|u\|γs​=minu=0,u∈B0​(s)​∥Xu∥/∥u∥. For u∈Rpu\in\mathbb R^pu∈Rp, u1♯≥⋯≥up♯u^\sharp_1\ge\dots\ge u^\sharp_pu1♯​≥⋯≥up♯​ is the non-increasing rearrangement of ∣u1∣,…,∣up∣|u_1|,\dots,|u_p|∣u1​∣,…,∣up​∣. Given δ0∈(0,1]\delta_0\in(0,1]δ0​∈(0,1], three noise events are sets of noise vectors:

Es={ϵ⊤Xu≤[4+2]σslog⁡(2ep/s) ∥u∥, ∀u∈B0(s)},\mathcal E_s=\big\{\epsilon^\top Xu\le[4+\sqrt2]\sigma\sqrt{s\log(2ep/s)}\,\|u\|,\ \forall u\in B_0(s)\big\},Es​={ϵ⊤Xu≤[4+2​]σslog(2ep/s)​∥u∥, ∀u∈B0​(s)}, F={ϵ⊤Xu≤[4+2]σmax⁡(∑j=1puj♯log⁡(2p/j), log⁡(1/δ0) ∥Xu∥), ∀u∈Rp},\mathcal F=\Big\{\epsilon^\top Xu\le[4+\sqrt2]\sigma\max\Big(\textstyle\sum_{j=1}^p u^\sharp_j\sqrt{\log(2p/j)},\ \sqrt{\log(1/\delta_0)}\,\|Xu\|\Big),\ \forall u\in\mathbb R^p\Big\},F={ϵ⊤Xu≤[4+2​]σmax(∑j=1p​uj♯​log(2p/j)​, log(1/δ0​)​∥Xu∥), ∀u∈Rp}, Gs={ϵ⊤Xu≤σ5slog⁡(ep/s)+log⁡(1/δ0) ∥Xu∥, ∀u∈B0(s)}.\mathcal G_s=\big\{\epsilon^\top Xu\le\sigma\sqrt{5s\log(ep/s)+\log(1/\delta_0)}\,\|Xu\|,\ \forall u\in B_0(s)\big\}.Gs​={ϵ⊤Xu≤σ5slog(ep/s)+log(1/δ0​)​∥Xu∥, ∀u∈B0​(s)}.

The paper's Theorem 1 shows these events have high probability; Theorem 2 is a deterministic statement on each of them. The symbol ≲\lesssim≲ means "up to a positive universal multiplicative constant", one that does not depend on n,p,k,X,f∗,σ,λn,p,k,X,f^*,\sigma,\lambdan,p,k,X,f∗,σ,λ or δ0\delta_0δ0​.

Formalization targets

Goal: Theorem 2 (p. 14)

Let 1≤k≤p1\le k\le p1≤k≤p.

(A) Slow rate. If λ≥[8+22]σ2klog⁡(ep/k)\lambda\ge[8+2\sqrt2]\sigma\sqrt{2k\log(ep/k)}λ≥[8+22​]σ2klog(ep/k)​, then on E2k\mathcal E_{2k}E2k​

∥f∗−Xβ^2∥2≤inf⁡β∈B0(k)[∥f∗−Xβ∥2+2λ∥β∥],\|f^*-X\hat\beta_2\|^2\le\inf_{\beta\in B_0(k)}\big[\|f^*-X\beta\|^2+2\lambda\|\beta\|\big],∥f∗−Xβ^​2​∥2≤β∈B0​(k)inf​[∥f∗−Xβ∥2+2λ∥β∥],

and on F\mathcal FF

∥f∗−Xβ^2∥2≲inf⁡β∈B0(k)[∥f∗−Xβ∥2+λ∥β∥]+σ2log⁡(1/δ0).\|f^*-X\hat\beta_2\|^2\lesssim\inf_{\beta\in B_0(k)}\big[\|f^*-X\beta\|^2+\lambda\|\beta\|\big]+\sigma^2\log(1/\delta_0).∥f∗−Xβ^​2​∥2≲β∈B0​(k)inf​[∥f∗−Xβ∥2+λ∥β∥]+σ2log(1/δ0​).

(B) Fast rate. For every λ≥0\lambda\ge0λ≥0, on G2k\mathcal G_{2k}G2k​

∥f∗−Xβ^2∥2≲inf⁡β∈B0(k)∥f∗−Xβ∥2+σ2klog⁡(ep/k)+γ2k−2λ2+σ2log⁡(1/δ0).\|f^*-X\hat\beta_2\|^2\lesssim\inf_{\beta\in B_0(k)}\|f^*-X\beta\|^2+\sigma^2k\log(ep/k)+\gamma_{2k}^{-2}\lambda^2+\sigma^2\log(1/\delta_0).∥f∗−Xβ^​2​∥2≲β∈B0​(k)inf​∥f∗−Xβ∥2+σ2klog(ep/k)+γ2k−2​λ2+σ2log(1/δ0​).

The bounds hold for every minimizer β^2\hat\beta_2β^​2​ and for misspecified models: f∗f^*f∗ need not lie in the column span of XXX.

Milestones

The steps of the printed proof (Supplement B.2, pp. 39–40), in the order the proof uses them: the basic inequality (29); the bound (30) on E2k\mathcal E_{2k}E2k​ and its consequence (31); the dichotomy on F\mathcal FF, where (30) implies (31) and (32) implies (33); the elementary inequality (34); the basic inequality on G2k\mathcal G_{2k}G2k​ (p. 40); and the bound of λ∥β−β^2∥\lambda\|\beta-\hat\beta_2\|λ∥β−β^​2​∥ through γ2k\gamma_{2k}γ2k​ (p. 40).

Significance

The result. The slow-rate bound of part (A) is linear in λ\lambdaλ. When the signal ∥β∗∥\|\beta^*\|∥β∗∥ is small compared with σ\sigmaσ, the term λ∥β∗∥\lambda\|\beta^*\|λ∥β∗∥ is smaller than the rate σ2klog⁡(ep/k)\sigma^2 k\log(ep/k)σ2klog(ep/k) that best subsets attains, and the paper's Theorem 4 shows that in this regime the prediction error of best subsets is at least of order σ2γk2klog⁡(ep/k)\sigma^2\gamma_k^2k\log(ep/k)σ2γk2​klog(ep/k). Together the two results explain the empirical finding that shrinkage helps best subsets at low SNR. Part (B) shows nothing is lost at high SNR: the fast rate is the minimax rate σ2klog⁡(ep/k)\sigma^2k\log(ep/k)σ2klog(ep/k) over kkk-sparse vectors plus the shrinkage term γ2k−2λ2\gamma_{2k}^{-2}\lambda^2γ2k−2​λ2. Combined with Theorem 1, the bounds give the high-probability statements of the paper's Corollaries 1 and 3.

Formalizing it. The theorem is proved in the paper; no machine-checked version is known to exist. The mission produces a checked deterministic core: once the events are granted, every constant (8+228+2\sqrt28+22​, the factor 2λ2\lambda2λ, the threshold 2klog⁡(ep/k)2k\log(ep/k)2klog(ep/k)) is verified exactly. Together with the companion mission on Theorem 1 it would yield fully checked high-probability oracle inequalities for a cardinality-constrained estimator, which no current formal library contains.

Difficulty

Every step is elementary, but the bookkeeping is exact. The obvious reading "insert the event's inequality into (29)" does not by itself work on F\mathcal FF: the event's right-hand side is a maximum of a sorted weighted sum and a prediction-norm term, and the first branch has to be compared with 2klog⁡(ep/k) ∥u∥\sqrt{2k\log(ep/k)}\,\|u\|2klog(ep/k)​∥u∥ for the 2k2k2k-sparse difference u=β^2−βu=\hat\beta_2-\betau=β^​2​−β, including when 2k2k2k exceeds ppp. That comparison is a combinatorial estimate on sorted sums, not a substitution. On G2k\mathcal G_{2k}G2k​, the penalty difference λ(∥β∥−∥β^2∥)\lambda(\|\beta\|-\|\hat\beta_2\|)λ(∥β∥−∥β^​2​∥) is not controlled by the event at all and has to be converted into prediction errors through γ2k\gamma_{2k}γ2k​. In both parts the final constant must not depend on kkk, ppp or δ0\delta_0δ0​.

Formalization scope

All objects are explicit Lean definitions in the namespace SubsetShrink.L2:

  • vectors are functions on Fin n and Fin p with 0-based indices, and XXX is a real Matrix (Fin n) (Fin p);
  • the Euclidean norm, ∥⋅∥0\|\cdot\|_0∥⋅∥0​ and the inner product are explicit finite sums, since Mathlib's norm on Fin m → ℝ is the sup norm;
  • ∑juj♯log⁡(2p/j)\sum_j u^\sharp_j\sqrt{\log(2p/j)}∑j​uj♯​log(2p/j)​ is encoded as a maximum over permutations, which equals the sorted sum by the rearrangement inequality;
  • γs\gamma_sγs​ is a real infimum over the nonzero vectors of B0(s)B_0(s)B0​(s), a nonempty set when p,s≥1p,s\ge1p,s≥1.

The model consists of XXX with unit columns, f∗f^*f∗, ϵ\epsilonϵ, σ>0\sigma>0σ>0 and y=f∗+ϵy=f^*+\epsilony=f∗+ϵ. The estimator is a predicate that every minimizer satisfies; no minimizer is chosen and existence is not assumed. "On the event" is a hypothesis that the noise vector satisfies the event's printed inequality, so no probability measure appears. G2k\mathcal G_{2k}G2k​ is the event as printed on p. 13; the correction of its probability bound belongs to the mission on Theorem 1 and does not affect these deterministic statements.

Committed conventions:

  • each ≲\lesssim≲ is an existential constant C>0C>0C>0 quantified before all other data;
  • an infimum over B0(k)B_0(k)B0​(k) is stated as a bound for every β∈B0(k)\beta\in B_0(k)β∈B0​(k);
  • δ0∈(0,1]\delta_0\in(0,1]δ0​∈(0,1] is universally quantified;
  • the model size satisfies 1≤k≤p1\le k\le p1≤k≤p.

Part (B) assumes γ2k>0\gamma_{2k}>0γ2k​>0 or λ=0\lambda=0λ=0. When γ2k=0<λ\gamma_{2k}=0<\lambdaγ2k​=0<λ the paper's bound is vacuous (γ2k−2λ2=+∞\gamma_{2k}^{-2}\lambda^2=+\inftyγ2k−2​λ2=+∞), but Lean's 0−1=00^{-1}=00−1=0 would turn it into a false claim.

A formalization that lets the constant depend on kkk, ppp or δ0\delta_0δ0​, fixes a particular minimizer, weakens an event (for example drops "for all u∈B0(s)u\in B_0(s)u∈B0​(s)"), or computes the infimum as a real ⨅ over an unbounded set would trivialize the theorem and is ruled out.

Not formalized here: the probability bounds of Theorem 1, the ℓ1\ell_1ℓ1​-penalized Theorem 3, the lower bound of Theorem 4, the data-driven choice of kkk (Theorem 5), and the corollaries and numerical experiments. These are separate missions or follow-ups. Contributions of reusable lemmas (the rearrangement bound for the sorted sum, properties of γs\gamma_sγs​, the elementary absorption inequality (34)) are welcome.

Selected references

  • R. Mazumder, P. Radchenko, A. Dedieu, Subset Selection with Shrinkage: Sparse Linear Modeling When the SNR Is Low, arXiv:1708.03288v4, 2022; Operations Research, 2023. https://arxiv.org/abs/1708.03288
  • D. Bertsimas, A. King, R. Mazumder, Best subset selection via a modern optimization lens, Annals of Statistics 44(2), 2016. https://doi.org/10.1214/15-AOS1388
  • T. Hastie, R. Tibshirani, R. Tibshirani, Best subset, forward stepwise or Lasso? Analysis and recommendations based on extensive comparisons, Statistical Science 35(4), 2020. https://doi.org/10.1214/19-STS733
  • P. C. Bellec, G. Lecué, A. B. Tsybakov, Slope meets Lasso: improved oracle bounds and optimality, Annals of Statistics 46(6B), 2018. https://doi.org/10.1214/17-AOS1670
8 thms3 active usersReviewed
🏆Completed
CombinatoricsOperations Research·Captain: mikedeng1

Offline Multi-Action Policy Learning: Generalization and Optimization 2: Depth-L Decision Trees Satisfy log N_H(ε,Π_L) ≤ (2^L−1)log p + 2^L log d + (2^L−1)log(L/ε+1)Research Paper

Motivation

Offline policy learning chooses a treatment rule from logged data: given nnn observations of features XiX_iXi​, the action AiA_iAi​ taken and the reward obtained, pick a policy π:X→{1,…,d}\pi:\mathcal X\to\{1,\dots,d\}π:X→{1,…,d} from a class Π\PiΠ whose expected reward is close to the best in the class. Zhou, Athey and Wager (arXiv:1810.04778v2) bound the regret of their cross-fitted augmented inverse-propensity-weighted learner by a quantity of order κ(Π)V∗/n\kappa(\Pi)\sqrt{V_*/n}κ(Π)V∗​/n​, where κ(Π)\kappa(\Pi)κ(Π) is an entropy integral built from Hamming covering numbers of Π\PiΠ. A bound of this kind is only useful for a concrete policy class if κ(Π)\kappa(\Pi)κ(Π) is finite and explicit.

Decision trees are the class the paper uses in practice: they are interpretable, they are the standard object in personalized-treatment applications, and the paper's computational sections (a mixed-integer program and a tree-search algorithm) optimize over them. Lemma 4 of the paper is the bridge between the general regret theory and trees: it bounds the Hamming covering number of the class ΠL\Pi_LΠL​ of depth-LLL trees, and hence κ(ΠL)\kappa(\Pi_L)κ(ΠL​). Covering and complexity bounds for trees in the 0–1 (two-action) setting go back to VC-dimension arguments; the multi-action Hamming-cover version here is the one this paper's regret bound consumes.

Setting

Features are points x∈Rpx\in\mathbb R^px∈Rp with components x(1),…,x(p)x(1),\dots,x(p)x(1),…,x(p); there are ddd actions, written 1,…,d1,\dots,d1,…,d. A deterministic policy is a map π:Rp→{1,…,d}\pi:\mathbb R^p\to\{1,\dots,d\}π:Rp→{1,…,d}.

Hamming distance and covers. Fix points x1,…,xnx_1,\dots,x_nx1​,…,xn​ (repetitions allowed). For two policies,

H(π1,π2)=1n∑j=1n1{π1(xj)≠π2(xj)}.H(\pi_1,\pi_2)=\frac1n\sum_{j=1}^n\mathbf 1\{\pi_1(x_j)\ne\pi_2(x_j)\}.H(π1​,π2​)=n1​j=1∑n​1{π1​(xj​)=π2​(xj​)}.

The ε\varepsilonε-Hamming covering number NH(ε,Π,{x1,…,xn})N_H(\varepsilon,\Pi,\{x_1,\dots,x_n\})NH​(ε,Π,{x1​,…,xn​}) is the least KKK such that some π1,…,πK∈Π\pi_1,\dots,\pi_K\in\Piπ1​,…,πK​∈Π have every π∈Π\pi\in\Piπ∈Π within Hamming distance ε\varepsilonε of some πi\pi_iπi​. The covering number of the class is the worst case over point sets,

NH(ε,Π)=sup⁡{NH(ε,Π,{x1,…,xm}):m≥1},N_H(\varepsilon,\Pi)=\sup\{N_H(\varepsilon,\Pi,\{x_1,\dots,x_m\}) : m\ge1\},NH​(ε,Π)=sup{NH​(ε,Π,{x1​,…,xm​}):m≥1},

and the entropy integral is κ(Π)=∫01log⁡NH(ε2,Π) dε\kappa(\Pi)=\int_0^1\sqrt{\log N_H(\varepsilon^2,\Pi)}\,d\varepsilonκ(Π)=∫01​logNH​(ε2,Π)​dε.

Decision trees. A depth-LLL tree has LLL layers: L−1L-1L−1 layers of branch nodes and a final layer of leaves, so 2L−1−12^{L-1}-12L−1−1 branch nodes and 2L−12^{L-1}2L−1 leaves; a depth-1 tree is a single leaf. A branch node carries a split variable i∈{1,…,p}i\in\{1,\dots,p\}i∈{1,…,p} and a threshold b∈Rb\in\mathbb Rb∈R, and sends xxx to its left child if x(i)<bx(i)<bx(i)<b and to its right child otherwise. Each leaf carries an action. ΠL\Pi_LΠL​ is the set of policies computed by depth-LLL trees. In the Lean development these are DTree p d L, DTree.eval and treePolicies p d L; the Hamming layer is hammingDist, hammingCoverNumOn, hammingCoverNum and entropyIntegral.

Formalization targets

Goal: Lemma 4, part 1 (p. 27)

For p,d,L≥1p,d,L\ge1p,d,L≥1 and ε>0\varepsilon>0ε>0, NH(ε,ΠL)N_H(\varepsilon,\Pi_L)NH​(ε,ΠL​) is finite and

log⁡NH(ε,ΠL)≤(2L−1)log⁡p+2Llog⁡d+(2L−1)log⁡(Lε+1).\log N_H(\varepsilon,\Pi_L)\le(2^L-1)\log p+2^L\log d+(2^L-1)\log\Big(\frac L\varepsilon+1\Big).logNH​(ε,ΠL​)≤(2L−1)logp+2Llogd+(2L−1)log(εL​+1).

Milestones (App. F)

  1. Display (66), p. 67: for any reals r1,…,rmr_1,\dots,r_mr1​,…,rm​ there are ⌈L/ε⌉\lceil L/\varepsilon\rceil⌈L/ε⌉ thresholds bib_ibi​ such that every indicator 1b(r)=1{r<b}\mathbf 1_b(r)=\mathbf 1\{r<b\}1b​(r)=1{r<b} is within Hamming distance ε/L\varepsilon/Lε/L of some 1bi\mathbf 1_{b_i}1bi​​ with respect to r1,…,rmr_1,\dots,r_mr1​,…,rm​.
  2. App. F, Step 2, p. 69: for any n≥1n\ge1n≥1 points, p2L−1⌈L/ε⌉2L−1d2Lp^{2^L-1}\lceil L/\varepsilon\rceil^{2^L-1}d^{2^L}p2L−1⌈L/ε⌉2L−1d2L depth-LLL trees ε\varepsilonε-cover ΠL\Pi_LΠL​, i.e. NH(ε,ΠL,{x1,…,xn})≤p2L−1⌈L/ε⌉2L−1d2LN_H(\varepsilon,\Pi_L,\{x_1,\dots,x_n\})\le p^{2^L-1}\lceil L/\varepsilon\rceil^{2^L-1}d^{2^L}NH​(ε,ΠL​,{x1​,…,xn​})≤p2L−1⌈L/ε⌉2L−1d2L.
  3. App. F, Step 2, p. 69: NH(ε,ΠL)≤p2L−1⌈L/ε⌉2L−1d2LN_H(\varepsilon,\Pi_L)\le p^{2^L-1}\lceil L/\varepsilon\rceil^{2^L-1}d^{2^L}NH​(ε,ΠL​)≤p2L−1⌈L/ε⌉2L−1d2L.

Companion: Lemma 4, part 2 (p. 27)

κ(ΠL)≤(2L−1)log⁡p+2Llog⁡d+43L1/42L−1.\kappa(\Pi_L)\le\sqrt{(2^L-1)\log p+2^L\log d}+\tfrac43L^{1/4}\sqrt{2^L-1}.κ(ΠL​)≤(2L−1)logp+2Llogd​+34​L1/42L−1​.

It is posed as printed, as a second theorem of the mission rather than a milestone of the goal.

Significance

The result. Lemma 4 makes the abstract regret theory of the paper concrete: with part 2 it gives Theorem 4, the regret bound Op(((2L−1)log⁡p+2Llog⁡d+43L1/42L−1)V∗/n)O_p\big((\sqrt{(2^L-1)\log p+2^L\log d}+\tfrac43L^{1/4}\sqrt{2^L-1})\sqrt{V_*/n}\big)Op​(((2L−1)logp+2Llogd​+34​L1/42L−1​)V∗​/n​) for learning depth-LLL trees, which for fixed L,p,dL,p,dL,p,d is Op(V∗/n)O_p(\sqrt{V_*/n})Op​(V∗​/n​). The covering bound grows only logarithmically in 1/ε1/\varepsilon1/ε, which is the property the paper's Assumption 3 asks of a policy class. The same counting gives covering bounds for any class of piecewise-constant rules on axis-aligned partitions of bounded depth.

Formalizing it. The result is proved in the paper (App. F) but, as far as known, has no machine-checked proof. The paper omits the induction that combines per-node threshold grids into a cover of whole trees ("a straightforward but lengthy induction (omitted)"), and its appendix counts 2L−12^L-12L−1 branch nodes where §6.1's trees have 2L−1−12^{L-1}-12L−1−1. A formal proof fixes both: it supplies the omitted induction and confirms that the printed bound holds for the class actually defined in §6.1. The milestones are reusable statements about threshold indicators and tree covers. The companion part 2 is posed with the printed constant 4/34/34/3, although the printed derivation evaluates ∫01(L/ε2)1/4dε\int_0^1(L/\varepsilon^2)^{1/4}d\varepsilon∫01​(L/ε2)1/4dε as 43L1/4\frac43L^{1/4}34​L1/4 where the integral equals 2L1/42L^{1/4}2L1/4; whether the printed bound holds is part of what the mission settles.

Difficulty

The one-dimensional step (66) is elementary once the Hamming distance between two threshold indicators is identified with a count of points between the thresholds. The difficulty is in passing from single thresholds to whole trees. Replacing each branch node's threshold independently by its nearest grid threshold, with grids built on all nnn points, does not give an ε\varepsilonε cover: the errors at different nodes of the same layer add up, and the naive bound is (2L−1−1)ε/L(2^{L-1}-1)\varepsilon/L(2L−1−1)ε/L rather than ε\varepsilonε. The points that reach a node depend on the thresholds above it, so the approximation has to respect the tree structure, while the number of candidate trees must still be counted as a product over nodes. The passage from finite point sets to NH(ε,ΠL)N_H(\varepsilon,\Pi_L)NH​(ε,ΠL​), which is a supremum over all point sets in N∪{∞}\mathbb N\cup\{\infty\}N∪{∞}, and the arithmetic with ⌈L/ε⌉\lceil L/\varepsilon\rceil⌈L/ε⌉ and real logarithms are routine but must be done in the stated types.

Formalization scope

  • Features range over all of Rp\mathbb R^pRp (Fin p → ℝ); the paper's X\mathcal XX is a bounded subset of Rp\mathbb R^pRp, and a bound over Rp\mathbb R^pRp implies the bound over every X⊆Rp\mathcal X\subseteq\mathbb R^pX⊆Rp. Actions are Fin d, split variables Fin p (0-based); policies are deterministic.
  • Point sets are sequences Fin m → (Fin p → ℝ) with repetitions allowed, m≥1m\ge1m≥1; covers are proper (centres in ΠL\Pi_LΠL​). NH(ε,Π)N_H(\varepsilon,\Pi)NH​(ε,Π) is in ℕ∞, κ(Π)\kappa(\Pi)κ(Π) a lower Lebesgue integral in ℝ≥0∞ over (0,1](0,1](0,1].
  • Depth follows §6.1: DTree p d 1 are leaves, DTree p d 0 is empty. The bounds are the printed ones, which over-count for this convention; the Lean was not switched to the appendix's convention, which would change ΠL\Pi_LΠL​.
  • Standing hypotheses: p≥1p\ge1p≥1, d≥1d\ge1d≥1, L≥1L\ge1L≥1 ("Let LLL be any fixed positive integer"), ε>0\varepsilon>0ε>0 (needed for ⌈L/ε⌉\lceil L/\varepsilon\rceil⌈L/ε⌉).
  • The goal asserts finiteness of NH(ε,ΠL)N_H(\varepsilon,\Pi_L)NH​(ε,ΠL​) explicitly. Without it the inequality would be trivially true for an infinite covering number, because Lean's toNat ⊤ = 0 and Real.log 0 = 0. The covering number is an infimum that is 000 only for an empty class, and ΠL\Pi_LΠL​ is nonempty under the hypotheses, so the cover is not trivialized either.
  • Not posed: the O(log⁡1/ε)O(\log 1/\varepsilon)O(log1/ε) remark of Lemma 4.1 (a remark on the right-hand side); Theorem 4 (p. 28, the combination with the regret theorem, which belongs to the companion mission on regret); the mixed-integer program and tree search of §6.2–6.3 and App. G (computational).

Contributions welcome: proofs of the milestones, the omitted per-node induction as a stand-alone lemma, and the companion part 2.

Selected references

  • Z. Zhou, S. Athey, S. Wager, Offline Multi-Action Policy Learning: Generalization and Optimization, arXiv preprint, 2018 (v2). https://arxiv.org/abs/1810.04778
  • L. Breiman, J. Friedman, R. Olshen, C. Stone, Classification and Regression Trees, Wadsworth, 1984. https://doi.org/10.1201/9781315139470
  • D. Bertsimas, J. Dunn, Optimal classification trees, Machine Learning 106, 1039–1082, 2017. https://doi.org/10.1007/s10994-017-5633-9
  • S. Athey, S. Wager, Policy Learning With Observational Data, Econometrica 89(1), 133–161, 2021. https://doi.org/10.3982/ECTA15732
6 thms3 active usersReviewed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Offline Multi-Action Policy Learning: Generalization and Optimization 1: Cross-Fitted AIPW Policy Learning Has Regret O_p(κ(Π)√(V*/n)) Even with Slowly Converging Nuisance EstimatesResearch Paper

Learning treatment policies from logged data

Many decisions are made by assigning one of several actions to an individual on the basis of observed features: which of ddd drugs to prescribe, which of several promotions to show, which job-training programme to offer. Experimentation is often costly or unethical, while historical records of past assignments and their outcomes are plentiful. Offline policy learning asks for a rule that maps features to actions, chosen from such observational records, whose expected outcome is close to that of the best rule in a prescribed class. The binary-action case was settled by Kitagawa and Tetenov (2018) with known propensities and by Athey and Wager (2021) with estimated ones; Zhou, Athey and Wager extend the doubly robust approach to d≥2d \ge 2d≥2 actions. This mission formalizes the statistical half of that paper: the regret guarantee of its cross-fitted learner.

Timeline. Robins, Rotnitzky and Zhao (1994) introduced augmented inverse-propensity weighting (AIPW). Dudík, Langford and Li (2011) used doubly robust scores for multi-action policy evaluation and optimization. Chernozhukov et al. (2018) showed that cross-fitting removes the bias of flexible nuisance estimates in semiparametric estimation. Athey and Wager proved n\sqrt nn​-rate regret for binary actions with VC classes. Zhou, Athey and Wager (arXiv 2018; Operations Research, 2023) treat ddd actions with a Hamming entropy integral as the complexity measure.

Setting

There are ddd actions, written 1,…,d1,\dots,d1,…,d and identified with the standard basis vectors of Rd\mathbb R^dRd, so that for γ∈Rd\gamma\in\mathbb R^dγ∈Rd the inner product ⟨π(x),γ⟩\langle\pi(x),\gamma\rangle⟨π(x),γ⟩ is the coordinate γπ(x)\gamma_{\pi(x)}γπ(x)​. A draw consists of features X∈XX\in\mathcal XX∈X, potential outcomes (Y(1),…,Y(d))(Y(1),\dots,Y(d))(Y(1),…,Y(d)) and a logged action AAA; only the triple (X,A,Y)(X,A,Y)(X,A,Y) with Y=Y(A)Y=Y(A)Y=Y(A) is observed. The data are nnn iid draws.

The model consists of a law PXP_XPX​ of the features and two conditional laws given X=xX=xX=x: one for the outcome vector, one for the action. Given XXX the two are independent (unconfoundedness). The propensity is ea(x)=P(A=a∣X=x)e_a(x)=P(A=a\mid X=x)ea​(x)=P(A=a∣X=x) and the mean reward is μa(x)=E[Y(a)∣X=x]\mu_a(x)=\mathbb E[Y(a)\mid X=x]μa​(x)=E[Y(a)∣X=x]. A policy is a map π:X→{1,…,d}\pi:\mathcal X\to\{1,\dots,d\}π:X→{1,…,d} from a class Π\PiΠ. Its value is Q(π)=E[Y(π(X))]Q(\pi)=\mathbb E[Y(\pi(X))]Q(π)=E[Y(π(X))] and its regret is R(π)=sup⁡π′∈ΠQ(π′)−Q(π)R(\pi)=\sup_{\pi'\in\Pi}Q(\pi')-Q(\pi)R(π)=supπ′∈Π​Q(π′)−Q(π).

The learner, CAIPWL (Algorithm 1), divides the sample into K≥2K\ge2K≥2 evenly sized folds. For each fold kkk it fits estimators μ^a−k\hat\mu^{-k}_aμ^​a−k​, e^a−k\hat e^{-k}_ae^a−k​ on the observed data outside fold kkk, forms the cross-fitted AIPW score

Γ^i,j=μ^j−k(i)(Xi)+1{Ai=j}Yi−μ^Ai−k(i)(Xi)e^Ai−k(i)(Xi),\hat\Gamma_{i,j}=\hat\mu^{-k(i)}_j(X_i)+\mathbf 1\{A_i=j\}\frac{Y_i-\hat\mu^{-k(i)}_{A_i}(X_i)}{\hat e^{-k(i)}_{A_i}(X_i)},Γ^i,j​=μ^​j−k(i)​(Xi​)+1{Ai​=j}e^Ai​−k(i)​(Xi​)Yi​−μ^​Ai​−k(i)​(Xi​)​,

and returns a maximizer π^CAIPWL\hat\pi_{CAIPWL}π^CAIPWL​ over Π\PiΠ of Q^CAIPWL(π)=1n∑iΓ^i,π(Xi)\hat Q_{CAIPWL}(\pi)=\frac1n\sum_i\hat\Gamma_{i,\pi(X_i)}Q^​CAIPWL​(π)=n1​∑i​Γ^i,π(Xi​)​. The oracle score Γi\Gamma_iΓi​ is the same expression with the true μ\muμ and eee; it gives Q~(π)=1n∑iΓi,π(Xi)\tilde Q(\pi)=\frac1n\sum_i\Gamma_{i,\pi(X_i)}Q~​(π)=n1​∑i​Γi,π(Xi​)​. Write Δ\DeltaΔ, Δ~\tilde\DeltaΔ~, Δ^\hat\DeltaΔ^ for the differences Q(π1)−Q(π2)Q(\pi_1)-Q(\pi_2)Q(π1​)−Q(π2​), Q~(π1)−Q~(π2)\tilde Q(\pi_1)-\tilde Q(\pi_2)Q~​(π1​)−Q~​(π2​), Q^(π1)−Q^(π2)\hat Q(\pi_1)-\hat Q(\pi_2)Q^​(π1​)−Q^​(π2​), and

V∗=sup⁡πa,πb∈ΠE[(Γπa(X)−Γπb(X))2].V_*=\sup_{\pi_a,\pi_b\in\Pi}\mathbb E\big[(\Gamma_{\pi_a(X)}-\Gamma_{\pi_b(X)})^2\big].V∗​=πa​,πb​∈Πsup​E[(Γπa​(X)​−Γπb​(X)​)2].

The complexity of Π\PiΠ is measured through the Hamming distance H(π1,π2)=1m#{j:π1(xj)≠π2(xj)}H(\pi_1,\pi_2)=\frac1m\#\{j:\pi_1(x_j)\ne\pi_2(x_j)\}H(π1​,π2​)=m1​#{j:π1​(xj​)=π2​(xj​)} on points x1,…,xmx_1,\dots,x_mx1​,…,xm​. The covering number NH(ε,Π)N_H(\varepsilon,\Pi)NH​(ε,Π) is the supremum over all finite point sequences of the least number of policies of Π\PiΠ that ε\varepsilonε-cover Π\PiΠ in HHH. The entropy integral is κ(Π)=∫01log⁡NH(ε2,Π) dε\kappa(\Pi)=\int_0^1\sqrt{\log N_H(\varepsilon^2,\Pi)}\,d\varepsilonκ(Π)=∫01​logNH​(ε2,Π)​dε.

The assumptions are: overlap, ea(x)≥η>0e_a(x)\ge\eta>0ea​(x)≥η>0; bounded rewards, ∣Y(a)∣≤B|Y(a)|\le B∣Y(a)∣≤B; Assumption 2, E[(μ^a−k−μa)2]⋅E[(e^a−k−ea)2]=o(1)/n\mathbb E[(\hat\mu^{-k}_a-\mu_a)^2]\cdot\mathbb E[(\hat e^{-k}_a-e_a)^2]=o(1)/nE[(μ^​a−k​−μa​)2]⋅E[(e^a−k​−ea​)2]=o(1)/n; and Assumption 3, NH(ε,Π)≤Cexp⁡(Dε−ω)N_H(\varepsilon,\Pi)\le C\exp(D\varepsilon^{-\omega})NH​(ε,Π)≤Cexp(Dε−ω) with 0<ω<1/20<\omega<1/20<ω<1/2.

Formalization targets

Goal: Theorem 3 in the form of Remark 8, (18), p. 22

R(π^CAIPWL)=Op(κ(Π)V∗n),R(\hat\pi_{CAIPWL})=O_p\Big(\kappa(\Pi)\sqrt{\tfrac{V_*}{n}}\Big),R(π^CAIPWL​)=Op​(κ(Π)nV∗​​​),

read per nnn: for every ε>0\varepsilon>0ε>0 there are M>0M>0M>0 and NNN with P(R(π^CAIPWL)>Mκ(Π)V∗/n)≤ε\mathbb P\big(R(\hat\pi_{CAIPWL})>M\kappa(\Pi)\sqrt{V_*/n}\big)\le\varepsilonP(R(π^CAIPWL​)>Mκ(Π)V∗​/n​)≤ε for all n≥Nn\ge Nn≥N. This is the paper's own "simpler way of stating the regret bound in Theorem 3". It fixes the rate and the dependence on κ(Π)\kappa(\Pi)κ(Π) and V∗V_*V∗​, but no constants.

Milestones

  1. Lemma 1 (1): the inner product distance IΓI_\GammaIΓ​ satisfies the triangle inequality.
  2. (48): E[Q~(π)]=Q(π)\mathbb E[\tilde Q(\pi)]=Q(\pi)E[Q~​(π)]=Q(π).
  3. (17): Δ^−Δ~=∑j(S1j+S2j+S3j)\hat\Delta-\tilde\Delta=\sum_j(S^j_1+S^j_2+S^j_3)Δ^−Δ~=∑j​(S1j​+S2j​+S3j​), the algebraic split into error terms.
  4. Lemma 3 (pinned): sup⁡π1,π2∈Π∣Δ^−Δ~∣=op(n−1/2)\sup_{\pi_1,\pi_2\in\Pi}|\hat\Delta-\tilde\Delta|=o_p(n^{-1/2})supπ1​,π2​∈Π​∣Δ^−Δ~∣=op​(n−1/2).
  5. Oracle concentration (Lemma 2 as used in (18), pinned): sup⁡π1,π2∈Π∣Δ~−Δ∣=Op(n−1/2)\sup_{\pi_1,\pi_2\in\Pi}|\tilde\Delta-\Delta|=O_p(n^{-1/2})supπ1​,π2​∈Π​∣Δ~−Δ∣=Op​(n−1/2).
  6. (18): R(π^)≤sup⁡π1,π2∈Π∣Δ^−Δ∣R(\hat\pi)\le\sup_{\pi_1,\pi_2\in\Pi}|\hat\Delta-\Delta|R(π^)≤supπ1​,π2​∈Π​∣Δ^−Δ∣ for every empirical maximizer.

Printed statements not posed

  • Theorem 3's explicit display, R≤(54.42κ(Π)+435.2+2log⁡(1/δ))V∗/nR\le(54.4\sqrt2\kappa(\Pi)+435.2+\sqrt{2\log(1/\delta)})\sqrt{V_*/n}R≤(54.42​κ(Π)+435.2+2log(1/δ)​)V∗​/n​, together with Theorem 1, Lemma 2 (11) and Theorem 2, is not posed. Lemma 1(2), which the proof of Theorem 1 uses, is false. With three points, d=2d=2d=2, π0≡1\pi_0\equiv1π0​≡1, πk\pi_kπk​ switching to action 2 at the point kkk only, and γi=(1,0)\gamma_i=(1,0)γi​=(1,0), one gets NIΓ(0.7)=4>3≥NH(0.49)N_{I_\Gamma}(0.7)=4>3\ge N_H(0.49)NIΓ​​(0.7)=4>3≥NH​(0.49).
  • The V∗\sqrt{V_*}V∗​​ scaling of Theorem 1 fails for interval-switching classes, where κ(Π)\kappa(\Pi)κ(Π) stays bounded, V∗=2pV_*=2pV∗​=2p, and the Rademacher complexity is of order plog⁡(1/p)\sqrt{p\log(1/p)}plog(1/p)​.
  • 54.42(κ+8)54.4\sqrt2(\kappa+8)54.42​(κ+8) equals 54.42κ+435.2254.4\sqrt2\kappa+435.2\sqrt254.42​κ+435.22​, not 54.42κ+435.254.4\sqrt2\kappa+435.254.42​κ+435.2.
  • The o(1/n)o(1/\sqrt n)o(1/n​) and op(1/n)o_p(1/\sqrt n)op​(1/n​) remainders cannot be absorbed into one explicit constant at a fixed probability.
  • Lemma 1(2) is not posed, being false.

Significance

The theorem shows that a learner can use flexible machine-learning estimates of the propensities and outcome regressions, each converging more slowly than n−1/2n^{-1/2}n−1/2, and still attain the regret rate of an oracle that knows them, provided the product of their errors is o(n−1/2)o(n^{-1/2})o(n−1/2). This doubly robust rate condition is what makes cross-fitted AIPW scores usable for policy learning with random forests, boosting or neural-network nuisances. The dependence on Π\PiΠ only through κ(Π)\kappa(\Pi)κ(Π) covers the multi-action classes the paper uses later, such as depth-LLL decision trees.

On formalization: the result is proved on paper, with explicit constants that are not established as printed. No machine-checked proof of any part of it is known. A complete development would give a checked doubly robust policy-learning guarantee with the hypotheses a correct proof needs, stated explicitly. It would also deliver, as by-products, a checked uniform-entropy bound for empirical processes indexed by policy differences and a cross-fitting lemma with fold-wise conditional independence.

Difficulty

Two parts are hard. The oracle concentration needs a chaining (Dudley-type) bound for the empirical process {Δ~(π1,π2)−Δ(π1,π2)}\{\tilde\Delta(\pi_1,\pi_2)-\Delta(\pi_1,\pi_2)\}{Δ~(π1​,π2​)−Δ(π1​,π2​)}, indexed by pairs of policies, in which the covering numbers are uniform over point sets and the entropy integrand uses ε2\varepsilon^2ε2. Bounding one fixed pair by a central limit theorem is not enough, because the supremum over Π×Π\Pi\times\PiΠ×Π is the whole point. Lemma 3 needs the conditional independence that cross-fitting creates: given the data outside fold kkk, the terms of fold kkk are iid with conditional mean zero in the first two error terms of (17). The uniform op(n−1/2)o_p(n^{-1/2})op​(n−1/2) bound then comes from a localized chaining argument whose radius shrinks with the nuisance errors. A naive argument conditioning on all the data at once loses the mean-zero structure.

Formalization scope

Actions are Fin d; policies are deterministic maps X → Fin d (endnote 3, p. 45), and a class is Pol : Set (X → Fin d). The model is a probability measure PX with two Markov kernels κY, κA, and the joint law is PX ⊗ₘ (κY ×ₖ κA). This builds unconfoundedness into the law. The sample of size nnn is the product measure on Fin n → Draw X d. Estimators of fold kkk are functions of the observed triples indexed by {i // fold n i ≠ k}, so they cannot see fold kkk or unobserved potential outcomes. The regret uses sup⁡π′∈ΠQ(π′)\sup_{\pi'\in\Pi}Q(\pi')supπ′∈Π​Q(π′) in place of Q(π∗)Q(\pi^*)Q(π∗). κ(Π)\kappa(\Pi)κ(Π) is an ℝ≥0∞ lower integral, finite under Assumption 3. OpO_pOp​ and opo_pop​ are read for each nnn separately: Definition 8's "∀n≥N\forall n\ge N∀n≥N with probability 1−ε1-\varepsilon1−ε" presupposes one probability space for all nnn. Bounded support is stated for each xxx under κY x.

Hypotheses added to the printed ones:

  • (i) both mean-squared errors tend to 000 separately, in addition to (3). The proof of Lemma 3 uses separate rates, and with μ^≡0\hat\mu\equiv0μ^​≡0, e^=e\hat e=ee^=e, condition (3) holds while the first term of (17) has exact order n−1/2n^{-1/2}n−1/2.
  • (ii) ∣μ^∣≤B^|\hat\mu|\le\hat B∣μ^​∣≤B^, e^≥η^>0\hat e\ge\hat\eta>0e^≥η^​>0, and both estimators are measurable.
  • (iii) the policies are measurable, and the class is permissible: for each mmm and action pattern, the set of point sequences on which some policy realizes the pattern is measurable.

Without (ii) and (iii), Lean's integrals of non-measurable functions are 000 and Assumption 2 would be vacuous. The hypotheses are satisfiable: the oracle estimators μ^=μ\hat\mu=\muμ^​=μ, e^=e\hat e=ee^=e meet every estimator condition, and a finite class of constant policies meets Assumption 3 and permissibility. The degenerate cases κ(Π)=0\kappa(\Pi)=0κ(Π)=0 or V∗=0V_*=0V∗​=0 force zero regret, so the goal is not trivialized there.

Needed infrastructure: product measures and kernels (Mathlib), and Hamming covering numbers (local, Definition 4). Still to build: uniform-entropy chaining for bounded classes, and Talagrand/Bousquet-type concentration. Contributions are welcome on the chaining bound, the cross-fitting conditional-independence lemma, and the elementary items (48), (17) and Lemma 1(1). These are reusable in any doubly robust estimation mission.

Selected references

  • Z. Zhou, S. Athey, S. Wager, Offline Multi-Action Policy Learning: Generalization and Optimization, arXiv:1810.04778v2, 2018; Operations Research 71(1), 2023. https://arxiv.org/abs/1810.04778
  • S. Athey, S. Wager, Policy Learning with Observational Data, Econometrica 89(1), 2021. https://arxiv.org/abs/1702.02896
  • T. Kitagawa, A. Tetenov, Who Should Be Treated? Empirical Welfare Maximization Methods for Treatment Choice, Econometrica 86(2), 2018. https://doi.org/10.3982/ECTA13288
  • V. Chernozhukov et al., Double/Debiased Machine Learning for Treatment and Structural Parameters, The Econometrics Journal 21(1), 2018. https://arxiv.org/abs/1608.00060
  • M. Dudík, J. Langford, L. Li, Doubly Robust Policy Evaluation and Learning, ICML 2011. https://arxiv.org/abs/1103.4601
  • J. Robins, A. Rotnitzky, L. P. Zhao, Estimation of Regression Coefficients When Some Regressors Are Not Always Observed, JASA 89(427), 1994. https://doi.org/10.1080/01621459.1994.10476818
9 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryBandit AlgorithmsOperations Research·Captain: mikedeng1

Optimal No-regret Learning in Repeated First-price Auctions 2: The ML-IS-UCB Bidding Policy Achieves Expected Regret at Most C√T log³ T for Every Oblivious Private-Value SequenceResearch Paper

Learning to bid in first-price auctions

Display advertising has been moving from second-price to first-price auctions: several exchanges began rolling them out in 2017, and Google Ad Manager completed its move at the end of 2019 (Davies 2019). In a second-price auction bidding one's value is a dominant strategy; in a first-price auction the optimal bid depends on the distribution of the competing bids, which a bidder does not know and must learn from repeated play. Most of the learning literature on auctions takes the seller's side of the second-price auction (reserve prices, e.g. Cesa-Bianchi, Gentile, Mansour 2015); on the bidder's side of the first-price auction, the main prior approach is the cross-learning framework of Balseiro et al. 2019.

Han, Zhou and Weissman (arXiv:2003.09795) study the bidder's problem with the feedback that ad exchanges actually provide, where only the winning price is announced, and with no assumption on the distribution of the competing bids. Their two upper bounds are O~(T)\widetilde O(\sqrt T)O(T​) regret: Theorem 1 for iid private values and Theorem 2, the subject of this mission, for values chosen by an oblivious adversary. A matching Ω(T)\Omega(\sqrt T)Ω(T​) lower bound holds even under full information (Theorem 9).

Setting

A single bidder plays TTT rounds. In round ttt she observes a private value vt∈[0,1]v_t\in[0,1]vt​∈[0,1], bids bt∈[0,1]b_t\in[0,1]bt​∈[0,1], and wins if bt≥mtb_t\ge m_tbt​≥mt​, where mt∈[0,1]m_t\in[0,1]mt​∈[0,1] is the highest other bid (HOB). Her payoff is (1)

r(vt,bt;mt)=(vt−bt) 1(bt≥mt).r(v_t,b_t;m_t)=(v_t-b_t)\,\mathbb 1(b_t\ge m_t).r(vt​,bt​;mt​)=(vt​−bt​)1(bt​≥mt​).

The HOBs are iid with an unknown cumulative distribution function G(x)=P(mt≤x)G(x)=\mathbb P(m_t\le x)G(x)=P(mt​≤x) on [0,1][0,1][0,1]; GGG may be discrete, continuous or mixed. Feedback is censored: after round ttt only max⁡{bt,mt}\max\{b_t,m_t\}max{bt​,mt​} is revealed, so mtm_tmt​ is observed only when the bidder loses. The expected reward is R(v,b)=(v−b)G(b)R(v,b)=(v-b)G(b)R(v,b)=(v−b)G(b), and the regret of a policy π\piπ against the value sequence v=(v1,…,vT)v=(v_1,\dots,v_T)v=(v1​,…,vT​) is (3)

RT(π;v)=∑t=1T(max⁡b∈[0,1]R(vt,b)−R(vt,bt)),R_T(\pi;v)=\sum_{t=1}^T\Big(\max_{b\in[0,1]}R(v_t,b)-R(v_t,b_t)\Big),RT​(π;v)=t=1∑T​(b∈[0,1]max​R(vt​,b)−R(vt​,bt​)),

the shortfall against an oracle that knows GGG. A policy bids in round ttt as a (possibly randomized) function of v1,…,vtv_1,\dots,v_tv1​,…,vt​ and of the feedback of rounds 1,…,t−11,\dots,t-11,…,t−1. An oblivious adversary fixes the whole value sequence in advance, independently of the bids and the HOBs.

The policy analysed is ML-IS-UCB (Algorithm 4). It restricts bids to the grid bi=(i−1)/Kb^i=(i-1)/Kbi=(i−1)/K, i∈[K]i\in[K]i∈[K], with K=⌈T⌉K=\lceil\sqrt T\rceilK=⌈T​⌉; it splits time into L=⌈log⁡2T⌉L=\lceil\log_2T\rceilL=⌈log2​T⌉ levels after an initialization phase of T0=(L+1)⌈T⌉T_0=(L+1)\lceil\sqrt T\rceilT0​=(L+1)⌈T​⌉ zero bids; and at each level it computes a width wi,tℓw^\ell_{i,t}wi,tℓ​, an interval-splitting reward estimate r^i,tℓ\hat r^\ell_{i,t}r^i,tℓ​ and a candidate set Btℓ\mathcal B^\ell_tBtℓ​ by the displays (12)–(16).

Formalization targets

Goal: Theorem 2

There is an absolute constant C>0C>0C>0 such that for every T≥2T\ge2T≥2 some policy π\piπ satisfies, for every value sequence v∈[0,1]Tv\in[0,1]^Tv∈[0,1]T and every GGG on [0,1][0,1][0,1],

E[RT(π;v)]≤CTlog⁡3T.\mathbb E\big[R_T(\pi;v)\big]\le C\sqrt T\log^3T .E[RT​(π;v)]≤CT​log3T.

The constant is unspecified, so the goal survives any improvement of the constants below.

The explicit bound: Theorem 7

For every γ≥3\gamma\ge3γ≥3, the ML-IS-UCB policy satisfies

E[RT(πML-IS-UCB;v)]≤4+(L+4)⌈T⌉+80γ3/2log⁡(LKT)(1+log⁡T) LT.\mathbb E\big[R_T(\pi^{\mathrm{ML\text{-}IS\text{-}UCB}};v)\big]\le4+(L+4)\lceil\sqrt T\rceil+80\gamma^{3/2}\log(LKT)(1+\log T)\,L\sqrt T .E[RT​(πML-IS-UCB;v)]≤4+(L+4)⌈T​⌉+80γ3/2log(LKT)(1+logT)LT​.

Milestones

In the order of the proof (Section 4.3 and Appendix C):

  1. Lemma 7: with probability at least 1−4T−31-4T^{-3}1−4T−3, ∣r^i,tℓ−ri,t∣≤wi,tℓ|\hat r^\ell_{i,t}-r_{i,t}|\le w^\ell_{i,t}∣r^i,tℓ​−ri,t​∣≤wi,tℓ​ for all i,ℓi,\elli,ℓ and T0<t≤TT_0<t\le TT0​<t≤T, and wi,tℓw^\ell_{i,t}wi,tℓ​ is bounded by (18) in terms of the true interval probabilities pj=G(bj+1)−G(bj)p_j=G(b^{j+1})-G(b^j)pj​=G(bj+1)−G(bj).
  2. Lemma 8: on that event the best grid bid is never eliminated, and a round assigned to level ℓ\ellℓ has regret at most 8⋅2−ℓ8\cdot2^{-\ell}8⋅2−ℓ against the grid.
  3. Display (19): the grid regret is at most T0+8∑ℓ2−ℓ∣Φℓ(T)∩(T0,T]∣T_0+8\sum_\ell2^{-\ell}|\Phi^\ell(T)\cap(T_0,T]|T0​+8∑ℓ​2−ℓ∣Φℓ(T)∩(T0​,T]∣.
  4. Lemma 16: a deterministic counting bound for the sums ∑t∑j≥i(t)vj/nj,tℓ\sum_t\sum_{j\ge i(t)}v_j/n^\ell_{j,t}∑t​∑j≥i(t)​vj​/nj,tℓ​.
  5. Lemma 9: 2−ℓ∣Φℓ(T)∩(T0,T]∣≤10γ3/2log⁡(LKT)(1+log⁡T)T2^{-\ell}|\Phi^\ell(T)\cap(T_0,T]|\le10\gamma^{3/2}\log(LKT)(1+\log T)\sqrt T2−ℓ∣Φℓ(T)∩(T0​,T]∣≤10γ3/2log(LKT)(1+logT)T​.
  6. Theorem 7.

A supporting item, not a milestone, states the quantization step max⁡b∈[0,1]R(v,b)≤max⁡iR(v,bi)+1/K\max_{b\in[0,1]}R(v,b)\le\max_iR(v,b^i)+1/Kmaxb∈[0,1]​R(v,b)≤maxi​R(v,bi)+1/K for the grid of Algorithm 4.

Significance

The result shows that adversarial values cost at most a logarithmic factor relative to iid values in repeated first-price auctions with censored feedback, and that no regularity of GGG is needed. ML-IS-UCB is also an algorithmic template: its widths are computed before the data of the current level is used, which makes the estimates at each level independent of the bids that select them, and its interval-splitting estimator uses the variance of each interval rather than a uniform bound. Remark 3 notes that replacing the interval probabilities by 111 gives only O~(KT)\widetilde O(\sqrt{KT})O(KT​).

All results of the paper are proved in the preprint; none of them is machine-checked. A complete development formalizes a multi-level elimination algorithm with data-dependent level assignment, a Bernstein-type concentration argument for estimates indexed by random sets, and the counting lemma behind the logarithmic factors. Each of these is reusable for other elimination-based bandit algorithms.

Difficulty

The obvious route is a single UCB index per grid bid, (11) on p. 27, built from all past observations through the estimates p^jt=∑s≤t1(bs≤bj)1(ms∈(bj,bj+1])/∑s≤t1(bs≤bj)\hat p^t_j=\sum_{s\le t}\mathbb 1(b_s\le b^j)\mathbb 1(m_s\in(b^j,b^{j+1}])/\sum_{s\le t}\mathbb 1(b_s\le b^j)p^​jt​=∑s≤t​1(bs​≤bj)1(ms​∈(bj,bj+1])/∑s≤t​1(bs​≤bj). It fails because p^jt\hat p^t_jp^​jt​ is not a normalized binomial variable: each bid depends on the earlier HOBs, so conditioned on the bids the HOBs are no longer independent and p^jt\hat p^t_jp^​jt​ is not even unbiased. Self-normalized martingale bounds control each p^jt\hat p^t_jp^​jt​ separately but not the sum ∑j≥ip^jt\sum_{j\ge i}\hat p^t_j∑j≥i​p^​jt​ that the reward estimate needs. Algorithm 4 restores conditional independence through its level structure, and Lemma 7 has to make that precise: the sets Φℓ(t)\Phi^\ell(t)Φℓ(t) are random, and the bound must hold uniformly over all (i,ℓ,t)(i,\ell,t)(i,ℓ,t) with a variance term estimated from a held-out sample. Lemma 9 then needs the variance-sensitive width (18); a crude width loses a factor K\sqrt KK​ (Remark 3).

Formalization scope

  • Model. Rounds are Fin T; Lean round ttt is paper time t+1t+1t+1. The HOB law is a probability measure μG on ℝ with μG [0,1]ᶜ = 0, and G(x)G(x)G(x) is (μG (Set.Iic x)).toReal; atoms are allowed. The maximum in (3) is a supremum over [0,1][0,1][0,1].
  • Policies. A policy has internal randomness u∼μUu\sim\mu_Uu∼μU​ and, for each uuu, a bidding rule whose round-ttt bid receives only the values of rounds ≤t\le t≤t and the feedback max⁡{bs,ms}\max\{b_s,m_s\}max{bs​,ms​} of rounds <t<t<t, enforced by the argument types; bids lie in [0,1][0,1][0,1] and are jointly measurable. The expectation is a Bochner integral over uuu and m∼G⊗Tm\sim G^{\otimes T}m∼G⊗T, and Theorems 2 and 7 also assert integrability, so the integral cannot be a junk value.
  • Algorithm 4. Grid indices are 0-based (bi+1=i/Kb^{i+1}=i/Kbi+1=i/K, bK+1=1b^{K+1}=1bK+1=1); inside the algorithm times are the paper's 1,…,T1,\dots,T1,…,T. Every quantity n,w,p^,r^,Bn,w,\hat p,\hat r,\mathcal Bn,w,p^​,r^,B is defined by its formula for every (i,ℓ,t)(i,\ell,t)(i,ℓ,t). The estimators (14) and p^0\hat p^0p^​0 are computed from the feedback, not from mmm, and the algorithm recomputes its own past decisions, so it is a censored-feedback rule. "An arbitrary iii" is a selection rule depending on the time and the level only. If no level breaks (impossible for γ≥3\gamma\ge3γ≥3, T≥2T\ge2T≥2) the round goes to level LLL with bid 000.
  • Hypotheses added to the printed statements, each disclosed in its item: T≥2T\ge2T≥2 in Theorem 2 (the printed bound is 000 at T=1T=1T=1); Lemmas 8, 9 and (19) are stated pathwise under the inequalities of Lemma 7 that their proofs use; Lemma 16 assumes that the set contains ⌈T⌉\lceil\sqrt T\rceil⌈T​⌉ initialization rounds with bid 000, which its proof uses; the quantization display is adapted from the grid of Lemma 4 to that of Algorithm 4.
  • Ruled out. A policy that reads mtm_tmt​, GGG or future values, a constant CCC chosen after TTT, vvv or GGG, a policy chosen after vvv or GGG, and an expectation of a non-integrable function would each make the goal trivial; the statements exclude all four.
  • Needed and welcome. Bernstein and multiplicative Chernoff bounds for binomial variables (Lemmas 14, 15 of the paper are cited from the literature), measurability of the run of the algorithm, and the harmonic-sum bound ∑k=aT1/k≤1+log⁡T\sum_{k=a}^T1/k\le1+\log T∑k=aT​1/k≤1+logT. Contributions toward any milestone, or alternative proofs of the goal, are welcome.

Selected references

  • Y. Han, Z. Zhou, T. Weissman, Optimal No-regret Learning in Repeated First-price Auctions, Operations Research, 2025; preprint arXiv:2003.09795v7, 2024. https://arxiv.org/abs/2003.09795
  • N. Cesa-Bianchi, C. Gentile, Y. Mansour, Regret Minimization for Reserve Prices in Second-Price Auctions, IEEE Transactions on Information Theory 61(1), 2015. https://doi.org/10.1109/TIT.2014.2365772
  • P. Auer, Using Confidence Bounds for Exploitation-Exploration Trade-offs, Journal of Machine Learning Research 3, 2002. https://www.jmlr.org/papers/v3/auer02a.html
  • S. Balseiro, N. Golrezaei, M. Mahdian, V. Mirrokni, J. Schneider, Contextual Bandits with Cross-Learning, NeurIPS 2019. https://arxiv.org/abs/1809.09582
  • J. Davies, What to know about Google's implementation of first-price ad auctions, Digiday, 2019. https://digiday.com/media/buyers-welcome-auction-standardization-as-google-finally-goes-all-in-on-first-price/
13 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Contextual Inverse Optimization: Offline and Online Learning 2: The Greedy Circumcenter Policy Can Incur Regret Linear in the Horizon from a Pointed Knowledge SetResearch Paper

Learning a cost vector from optimal decisions

In inverse optimization, an observer sees decisions made by an expert who solves an optimization problem, and wants to recover the expert's unknown objective. Besbes, Fonseca and Lobel study a contextual version: in each period a feasible set and a context function are revealed, a learner must act before seeing the expert's choice, and then observes the expert's optimal action. The learner pays the expert's cost of its own action. This models, for example, a platform imitating a dispatcher's routing decisions or a recommender learning a user's trade-offs, where only optimal choices, not costs, are ever observed (Besbes, Fonseca, Lobel, arXiv:2106.14015).

For the one-period (offline) problem the paper shows that the circumcenter policy, which acts as if the unknown cost were the center of the smallest revolution cone containing the set of costs still consistent with the data, is minimax optimal (Theorem 1). The natural online policy is to apply it greedily in every period. This mission formalizes the paper's Theorem 2, which shows that this greedy policy can fail badly: its worst-case regret can grow linearly in the horizon, even when the initial uncertainty is small in a precise geometric sense.

Setting

Costs live in Rd\mathbb R^dRd and actions in Rn\mathbb R^nRn. The true cost c⋆c^\starc⋆ lies on the unit sphere SdS^dSd. An action set X∈B\mathcal X\in\mathfrak BX∈B is a nonempty compact subset of Rn\mathbb R^nRn of diameter at most 111; a context function f∈Ff\in\mathfrak Ff∈F is a 111-Lipschitz map Rn→Rd\mathbb R^n\to\mathbb R^dRn→Rd. The forward problem with cost ccc has solution set

ψ(c,X,f)=arg⁡min⁡x∈Xf(x)′c.\psi(c,\mathcal X,f)=\arg\min_{x\in\mathcal X} f(x)'c .ψ(c,X,f)=argx∈Xmin​f(x)′c.

The angle between nonzero vectors is θ(c,c^)=arccos⁡(c′c^/(∥c∥∥c^∥))\theta(c,\hat c)=\arccos\big(c'\hat c/(\|c\|\|\hat c\|)\big)θ(c,c^)=arccos(c′c^/(∥c∥∥c^∥)), set to 000 if either vector is 000. The uncertainty angle of a set CCC is

α(C)=inf⁡c^∈Sd sup⁡c∈Cθ(c,c^),\alpha(C)=\inf_{\hat c\in S^d}\ \sup_{c\in C}\theta(c,\hat c),α(C)=c^∈Sdinf​ c∈Csup​θ(c,c^),

and a circumcenter c^(C)\hat c(C)c^(C) is a unit vector attaining this infimum. A set is pointed when α(C)<π/2\alpha(C)<\pi/2α(C)<π/2, i.e. it fits inside an open half-space cone.

Online protocol. In periods t=1,…,Tt=1,\dots,Tt=1,…,T nature reveals Xt\mathcal X_tXt​ and ftf_tft​, the learner picks xtπ∈Xtx^\pi_t\in\mathcal X_txtπ​∈Xt​, and then an optimal expert action xt⋆∈ψ(c⋆,Xt,ft)x^\star_t\in\psi(c^\star,\mathcal X_t,f_t)xt⋆​∈ψ(c⋆,Xt​,ft​) is revealed. Starting from a closed set C0⊆SdC_0\subseteq S^dC0​⊆Sd, the knowledge set is

C(It)={c∈C0: c′fs(xs⋆)≤c′fs(x)  ∀x∈Xs, s<t},C(\mathcal I_t)=\{c\in C_0:\ c'f_s(x^\star_s)\le c'f_s(x)\ \ \forall x\in\mathcal X_s,\ s<t\},C(It​)={c∈C0​: c′fs​(xs⋆​)≤c′fs​(x)  ∀x∈Xs​, s<t},

the regret is RTπ=∑t=1T(ft(xtπ)−ft(xt⋆))′c⋆R^\pi_T=\sum_{t=1}^T\big(f_t(x^\pi_t)-f_t(x^\star_t)\big)'c^\starRTπ​=∑t=1T​(ft​(xtπ​)−ft​(xt⋆​))′c⋆, and the worst-case regret WCRTπ(C0)\mathcal{WCR}^\pi_T(C_0)WCRTπ​(C0​) is its supremum over c⋆∈C0c^\star\in C_0c⋆∈C0​ and admissible instances. The greedy circumcenter policy chooses xtπ∈ψ(c^(C(It)),Xt,ft)x^\pi_t\in\psi\big(\hat c(C(\mathcal I_t)),\mathcal X_t,f_t\big)xtπ​∈ψ(c^(C(It​)),Xt​,ft​).

Formalization targets

Goal: Theorem 2 (pp. 13–14)

There is a closed, nonempty, pointed C0⊆S3C_0\subseteq S^3C0​⊆S3 such that

WCRTπgreedy(C0)=Ω(T).\mathcal{WCR}^{\pi_{greedy}}_T(C_0)=\Omega(T).WCRTπgreedy​​(C0​)=Ω(T).

Concretely: there are C0C_0C0​ and κ>0\kappa>0κ>0 such that for every horizon T≥1T\ge1T≥1 some c⋆∈C0c^\star\in C_0c⋆∈C0​ and admissible (Xt,ft)(\mathcal X_t,f_t)(Xt​,ft​) admit a greedy run, and every greedy run (any circumcenter, any tie-break) has regret at least κT\kappa TκT. The constant κ\kappaκ is left existential, as the page claims only Ω(T)\Omega(T)Ω(T).

Milestones (the proof's displayed steps, App-9–App-11)

  1. Lemma 2 (p. 12): a circumcenter exists for every nonempty set, and is unique when the set is pointed and not {0}\{0\}{0}.
  2. Step 1: for 0<αˉ<π/20<\bar\alpha<\pi/20<αˉ<π/2 and 0≤ε≤tan⁡αˉ/20\le\varepsilon\le\tan\bar\alpha/20≤ε≤tanαˉ/2, the set Cε,αˉC_{\varepsilon,\bar\alpha}Cε,αˉ​, a polyhedral cone cut by three half-spaces and intersected with S3S^3S3, has the unique circumcenter
c^(Cε,αˉ)=11+ε2(1,ε,0).\hat c(C_{\varepsilon,\bar\alpha})=\tfrac{1}{\sqrt{1+\varepsilon^2}}(1,\varepsilon,0).c^(Cε,αˉ​)=1+ε2​1​(1,ε,0).
  1. Step 2: with C0=C0,αˉC_0=C_{0,\bar\alpha}C0​=C0,αˉ​, ft=idf_t=\mathrm{id}ft​=id, Xt={xˉt,0}\mathcal X_t=\{\bar x_t,0\}Xt​={xˉt​,0}, εt=ttan⁡αˉ/(2T)\varepsilon_t=t\tan\bar\alpha/(2T)εt​=ttanαˉ/(2T), the greedy knowledge sets are C(It)=Cεt−1,αˉC(\mathcal I_t)=C_{\varepsilon_{t-1},\bar\alpha}C(It​)=Cεt−1​,αˉ​.
  2. Step 3: in that instance, with tan⁡αˉ≤2\tan\bar\alpha\le 2tanαˉ≤2, each period's regret is at least sin⁡αˉ/4\sin\bar\alpha/4sinαˉ/4.

Significance

The result separates offline from online learning in this model. Theorem 1 makes the circumcenter the best one-shot guess, yet Theorem 2 shows that one-shot optimality says nothing about information collection: a greedy learner can keep choosing actions that are wrong by a fixed margin while the revealed expert actions cut away only slivers of the knowledge set. This is the reason the paper introduces its EllipsoidalCones algorithm, which acts greedily on an enlarged ellipsoidal-cone superset and attains logarithmic regret for pointed initial sets. Theorem 2 is the lower bound that makes that design necessary.

On the formal side, the paper's proof is complete but compressed; it asserts the circumcenter of a three-generator spherical polygon "using Definition 2" and leaves the induction's geometric inclusions to the reader. A machine-checked version fixes the normalization of the circumcenter and the quantitative condition behind "ε2≤1\varepsilon^2\le1ε2≤1", and gives a reusable formal treatment of uncertainty angles and circumcenters, which the paper's other results (Theorem 1, Theorem 3, Lemma 10) all use. No result of the paper has a formal statement or proof on Prove2Me yet.

Difficulty

The arithmetic of Step 3 is elementary once the knowledge sets are known. The difficulty is in Steps 1 and 2. Identifying the circumcenter of Cε,αˉC_{\varepsilon,\bar\alpha}Cε,αˉ​ requires a minimax argument over the whole sphere: one must show that no other unit vector has a smaller maximal angle to the three extreme rays, and that the minimizer is unique, which rests on Lemma 2. The greedy policy is defined through this minimizer, so without uniqueness nothing can be said about its actions. Step 2 then needs an exact description of each knowledge set: showing that the new half-space makes the previous one redundant inside C0C_0C0​ requires the sign information carried by the other constraints. A naive bound on the regret that ignores the knowledge-set dynamics fails, because a priori the policy might learn c⋆c^\starc⋆ after a few periods.

Formalization scope

Vectors are EuclideanSpace ℝ (Fin d), so norms, diameters and Lipschitz constants are Euclidean. The angle uses the paper's convention θ(c,0)=θ(0,c^)=0\theta(c,0)=\theta(0,\hat c)=0θ(c,0)=θ(0,c^)=0; Mathlib's InnerProductGeometry.angle is not used. Action sets are required to be nonempty (otherwise no action exists). Periods are 000-based in Lean: Lean period ttt is the paper's period t+1t+1t+1, and Lean's knowledge set at ttt is the paper's C(It+1)C(\mathcal I_{t+1})C(It+1​). The construction and the goal are in dimension d=3d=3d=3, as in the proof; the goal holds for every action dimension n≥1n\ge1n≥1.

The worst-case regret is never written as a real supremum, whose junk values would decide the statement. The lower bound is stated by exhibiting the instance. A run of the greedy policy is a predicate quantifying over every circumcenter choice and every minimizer, and nature's sequences are arbitrary. Two pins relative to the page: the printed circumcenter (1,ε,0)(1,\varepsilon,0)(1,ε,0) is normalized as in Step 3, and Step 3 assumes tan⁡αˉ≤2\tan\bar\alpha\le2tanαˉ≤2, which the page's "ε2≤1\varepsilon^2\le1ε2≤1" needs (the goal uses αˉ=π/4\bar\alpha=\pi/4αˉ=π/4).

Two trivializations are ruled out. Without pointedness the claim holds for C0=S3C_0=S^3C0​=S3 with antipodal costs, so α(C0)<π/2\alpha(C_0)<\pi/2α(C0​)<π/2 is part of the goal. A bound over all runs would hold vacuously if no run existed, so the goal also asserts that a greedy run exists.

A complete development needs spherical geometry of polyhedral cones (extreme rays, angles to a cone), continuity of the uncertainty-angle objective for Lemma 2, and elementary trigonometry. The Geometry and Online definitions are shared with the other missions of this series and are reusable for any work on inverse optimization or learning from revealed preferences. Proofs of any milestone are welcome, as are alternative arguments for Lemma 2.

Selected references

  • O. Besbes, Y. Fonseca, I. Lobel, Contextual Inverse Optimization: Offline and Online Learning, arXiv:2106.14015v3, 2023 (preprint used here; published in Operations Research, 2025). https://arxiv.org/abs/2106.14015
  • M. Cohen, I. Lobel, R. Paes Leme, Feature-Based Dynamic Pricing, Management Science 66(11), 2020. https://doi.org/10.1287/mnsc.2019.3485
  • R. K. Ahuja, J. B. Orlin, Inverse Optimization, Operations Research 49(5), 2001. https://doi.org/10.1287/opre.49.5.771.10607
9 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryBandit AlgorithmsOperations Research·Captain: mikedeng1

Optimal No-regret Learning in Repeated First-price Auctions 1: With IID Private Values a Bidding Policy Achieves Expected Regret at Most C√T log^2.5 TResearch Paper

Motivation

Most display advertising is sold in first-price auctions: the highest bidder wins and pays its own bid. Since the industry's move away from second-price formats around 2019, a bidder can no longer bid its value and must instead learn how much to shade its bid, from data about how the other bidders behave. A demand-side platform faces this problem millions of times a day with very little information. When it wins it pays its bid and learns nothing about the competition beyond the fact that it won; when it loses it sees only the winning price.

Han, Zhou and Weissman (arXiv:2003.09795v7, Operations Research 2025) cast this as an online learning problem and gave the first bidding policies with O~(T)\tilde O(\sqrt T)O~(T​) regret against an arbitrary unknown distribution of competing bids. This mission is the first of a series of six on that paper. It covers the case of stochastic private values, and the route to it through a general class of contextual bandits.

Setting

A single bidder takes part in TTT rounds. In round ttt she observes a private value vt∈[0,1]v_t\in[0,1]vt​∈[0,1], bids bt∈[0,1]b_t\in[0,1]bt​∈[0,1], and the highest other bid (HOB) is mt∈[0,1]m_t\in[0,1]mt​∈[0,1]. She wins iff bt≥mtb_t\ge m_tbt​≥mt​, so her payoff is r(vt,bt;mt)=(vt−bt)1(bt≥mt)r(v_t,b_t;m_t)=(v_t-b_t)\mathbb 1(b_t\ge m_t)r(vt​,bt​;mt​)=(vt​−bt​)1(bt​≥mt​). The HOBs are iid with an unknown CDF GGG on [0,1][0,1][0,1]; no continuity or shape assumption is made, and atoms are allowed. The values v1,…,vTv_1,\dots,v_Tv1​,…,vT​ are iid with an unknown distribution FFF on [0,1][0,1][0,1], independent of the HOBs.

Feedback is censored: at the end of round ttt only the winning bid yt=max⁡{bt,mt}y_t=\max\{b_t,m_t\}yt​=max{bt​,mt​} is revealed. A policy π\piπ chooses btb_tbt​ from its own internal randomness, v1,…,vtv_1,\dots,v_tv1​,…,vt​ and y1,…,yt−1y_1,\dots,y_{t-1}y1​,…,yt−1​. With the expected reward R(v,b)=(v−b)G(b)R(v,b)=(v-b)G(b)R(v,b)=(v−b)G(b), the regret is

RT(π;v)=∑t=1T(max⁡b∈[0,1]R(vt,b)−R(vt,bt)),R_T(\pi;v)=\sum_{t=1}^T\Big(\max_{b\in[0,1]}R(v_t,b)-R(v_t,b_t)\Big),RT​(π;v)=t=1∑T​(b∈[0,1]max​R(vt​,b)−R(vt​,bt​)),

the gap to an oracle that knows GGG.

The paper reaches its bound through partially ordered contextual bandits. These are contextual bandits with MMM contexts and KKK actions, rewards in [0,1][0,1][0,1], and a feedback graph GGG on the actions. Playing aaa reveals the rewards of aaa and its out-neighbours under every context (cross learning). The graph is a transitively closed DAG, so it induces a partial order ⪯G\preceq_G⪯G​ on actions. There is also a partial order ⪯C\preceq_{\mathcal C}⪯C​ on contexts along which some choice of optimal action is monotone (Definitions 2 and 3). Algorithm 3 is an arm-elimination algorithm for this class. The auction becomes such a bandit when values are clipped to the grid C={1/M,…,1}\mathcal C=\{1/M,\dots,1\}C={1/M,…,1} and bids are restricted to A={1/K,…,1}\mathcal A=\{1/K,\dots,1\}A={1/K,…,1}: a bid bbb reveals 1(mt≤b′)\mathbb 1(m_t\le b')1(mt​≤b′) for every b′≥bb'\ge bb′≥b.

Formalization targets

Goal: Theorem 1

∃ C>0  ∀ T≥2  ∃ π  ∀ F,G:E[RT(π;v)]≤CT log⁡2.5T.\exists\,C>0\ \ \forall\,T\ge2\ \ \exists\,\pi\ \ \forall\,F,G:\qquad \mathbb E\big[R_T(\pi;v)\big]\le C\sqrt T\,\log^{2.5}T .∃C>0  ∀T≥2  ∃π  ∀F,G:E[RT​(π;v)]≤CT​log2.5T.

The policy may depend on TTT but not on FFF or GGG, and CCC is absolute. The goal leaves the policy unspecified. That makes it the weakest stable form of the paper's result: any later policy with a better logarithmic factor still proves it.

Milestones, in attack order

  1. Lemma 5 (p. 20): the largest maximiser b⋆(v)b^\star(v)b⋆(v) of R(v,⋅)R(v,\cdot)R(v,⋅) over the grid A\mathcal AA is non-decreasing in vvv.
  2. Lemma 4 (p. 20): pathwise, quantization costs at most (2/M+1/K)T(2/M+1/K)T(2/M+1/K)T regret.
  3. Lemma 3.1 (p. 19): for iid X1,…,XTX_1,\dots,X_TX1​,…,XT​ in a finite poset of width β\betaβ, E∑t(1+∑s<t1(Xs⪯Xt))−1≤β(1+log⁡T)2\mathbb E\sum_t(1+\sum_{s<t}\mathbb 1(X_s\preceq X_t))^{-1}\le\beta(1+\log T)^2E∑t​(1+∑s<t​1(Xs​⪯Xt​))−1≤β(1+logT)2.
  4. Lemma 2 (p. 18): with probability 1−δ1-\delta1−δ, Algorithm 3's minimum counts satisfy Nctt−1≥∑s<t1(cs⪯Cct)/(αlog⁡(MKT2/δ))−1N^{t-1}_{c_t}\ge\sum_{s<t}\mathbb 1(c_s\preceq_{\mathcal C}c_t)/(\alpha\log(MKT^2/\delta))-1Nct​t−1​≥∑s<t​1(cs​⪯C​ct​)/(αlog(MKT2/δ))−1.
  5. Theorem 5, iid contexts (p. 18): E[RT]≤1+24αβTlog⁡(2T)log⁡(2MKT2)log⁡(2MKT3)(1+log⁡T)\mathbb E[R_T]\le1+24\sqrt{\alpha\beta T\log(2T)\log(2MKT^2)\log(2MKT^3)}(1+\log T)E[RT​]≤1+24αβTlog(2T)log(2MKT2)log(2MKT3)​(1+logT).
  6. Corollary 1, iid values (p. 20): Algorithm 3 on the quantized auction with M=K=⌈T⌉M=K=\lceil\sqrt T\rceilM=K=⌈T​⌉, δ=1/(2T)\delta=1/(2T)δ=1/(2T) has expected regret O(Tlog⁡2.5T)O(\sqrt T\log^{2.5}T)O(T​log2.5T). This is the explicit policy behind the goal.

Significance

The result. Theorem 1 shows that a bidder facing an arbitrary unknown competition distribution can learn to bid as well as the oracle up to O~(T)\tilde O(\sqrt T)O~(T​). That rate is optimal up to logarithms: mission 3 of the series formalizes the Ω(T)\Omega(\sqrt T)Ω(T​) lower bound. Theorem 5 is of independent interest. For partially ordered contextual bandits with iid contexts, the regret depends on the widths α,β\alpha,\betaα,β of the two orders and not on the numbers M,KM,KM,K of contexts and actions. Mission 5 of the series shows that this fails for adversarial contexts.

Formalizing it. The results are proved in the paper, with full proofs in its Appendix C; none of them has a machine-checked proof. Beyond the theorems, the mission produces a reusable model of repeated auctions with censored feedback, with policies that are non-anticipating by construction. It also produces a definition of contextual bandits with graph feedback and cross learning, and an executable definition of an elimination algorithm with randomized exploration. Lemmas 3, 4 and 5 are self-contained and need no bandit machinery.

Difficulty

The obvious approach discretizes and runs one bandit algorithm per context. That gives regret O~(MT)\tilde O(\sqrt{MT})O~(MT​) and, after balancing against the quantization error of Lemma 4, only O~(T2/3)\tilde O(T^{2/3})O~(T2/3). Reaching T\sqrt TT​ requires information to flow across contexts. Lemma 2 says that a round with a small context feeds the minimum counts of every larger context. Lemma 3 turns this into a bound on the sum of confidence widths that depends on the width β\betaβ of the context order and not on MMM. Lemma 2 is a statement about a randomized algorithm whose active sets depend on the whole past, and its proof uses the uniform choice among the sources of the active set together with the extra elimination rule (⋆⋆\star\star⋆⋆). The step from a high-probability bound to an expectation over iid contexts must keep the contexts independent of the rewards and of the algorithm's randomness.

Formalization scope

  • Time and grids. Rounds are Fin T: paper round ttt is index t−1t-1t−1. The grids (6) are finite sets of reals. Context iii and action jjj of Fin M, Fin K stand for (i+1)/M(i+1)/M(i+1)/M and (j+1)/K(j+1)/K(j+1)/K. The paper's M=K=T1/2M=K=T^{1/2}M=K=T1/2 are ⌈T⌉\lceil\sqrt T\rceil⌈T​⌉.
  • HOB law. GGG is a probability measure on R\mathbb RR carried by [0,1][0,1][0,1], with G(x)=μG((−∞,x])G(x)=\mu_G((-\infty,x])G(x)=μG​((−∞,x]). Atoms are allowed.
  • Policies. A policy has an internal probability space. Its round-ttt bid takes the values as Fin (t+1) → ℝ and the feedback max⁡{bs,ms}\max\{b_s,m_s\}max{bs​,ms​} as Fin t → ℝ. It never sees mmm, GGG or FFF. The expectation is an integral against μU⊗F⊗T⊗G⊗T\mu_U\otimes F^{\otimes T}\otimes G^{\otimes T}μU​⊗F⊗T⊗G⊗T.
  • Integrability. Every expected-regret bound also asserts that the regret is integrable. This rules out the trivializing reading in which a non-measurable policy has expected regret 000 (Lean's value of a non-integrable integral).
  • Horizon. Theorem 1 and Corollary 1 start at T≥2T\ge2T≥2: at T=1T=1T=1 the printed bound is 000, but an uninformed first bid has positive regret.
  • Algorithm 3. The algorithm is a deterministic function of the contexts, the reward vectors and one uniform ut∈[0,1]u_t\in[0,1]ut​∈[0,1] per round. The uniform choice in (⋆\star⋆) is the ⌊utn⌋\lfloor u_tn\rfloor⌊ut​n⌋-th of the nnn candidates. The topological ordering of the contexts is an argument, and every theorem quantifies over all such orderings. An active set emptied off the good event has minimum count +∞+\infty+∞, and the algorithm then plays action 000.
  • Definition 3. "a⋆(c)=arg⁡max⁡aRc,aa^\star(c)=\arg\max_aR_{c,a}a⋆(c)=argmaxa​Rc,a​" is read as some selection of maximisers that is monotone. The independence numbers enter as upper bounds.
  • Probabilities. "With probability at least 1−δ1-\delta1−δ" means the failure set has measure at most δ\deltaδ. Lemma 2 is stated for every fixed context sequence.
  • Rewards in Corollary 1. The quantized auction rewards lie in [−1,1][-1,1][−1,1], and Algorithm 3 runs on them as printed. The formalization does not claim that they are a Definition 2 instance.

Not stated here: the adversarial parts of Theorem 5 and Corollary 1, Lemma 3.2, and the contextual form of Lemma 1. Proof contributions are welcome at every level. Useful infrastructure includes an anytime concentration bound for running means under adaptive sampling (the contextual Lemma 1) and Dilworth's theorem for finite posets (the step from β=1\beta=1β=1 to general β\betaβ in Lemma 3). Lemmas 3, 4 and 5 can be attacked first and independently.

Selected references

  • Y. Han, Z. Zhou, T. Weissman, Optimal No-regret Learning in Repeated First-price Auctions, Operations Research, 2025; preprint arXiv:2003.09795v7, 2024. https://arxiv.org/abs/2003.09795
  • N. Alon, N. Cesa-Bianchi, O. Dekel, T. Koren, Online Learning with Feedback Graphs: Beyond Bandits, COLT 2015. https://arxiv.org/abs/1502.07617
  • S. Balseiro, N. Golrezaei, M. Mahdian, V. Mirrokni, J. Schneider, Contextual Bandits with Cross-Learning, NeurIPS 2019. https://arxiv.org/abs/1809.09582
  • R. P. Dilworth, A Decomposition Theorem for Partially Ordered Sets, Annals of Mathematics 51(1), 1950. https://doi.org/10.2307/1969503
12 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Contextual Inverse Optimization: Offline and Online Learning 1: The Circumcenter Policy Has Offline Worst-Case Regret at Most sin α(C(D)), or 1 When α(C(D)) ≥ π/2, and No Policy Does BetterResearch Paper

Motivation

Inverse optimization asks for the objective of an optimization problem when only its optimal decisions are observed. It was formalized for linear programs by Ahuja and Orlin (Operations Research 2001) and has since been used to infer costs, preferences and utilities from observed choices, for instance in routing, pricing and the imitation of expert planners (see the survey discussion in Chan, Lee and Terekhov, Management Science 2019, and the noisy-data setting of Aswani, Shen and Siddiq, Operations Research 2018).

Besbes, Fonseca and Lobel (arXiv:2106.14015; Operations Research, 2025) study a contextual version: the problems a decision-maker faces change from instance to instance, and the observed expert decisions constrain a fixed but unknown cost vector. Their question is not how to estimate the cost, but which decisions to take so that the loss against the expert is as small as possible in the worst case. This mission formalizes the answer in the offline setting, where a finite data set is given in advance. The text used is the arXiv preprint v3 (1 July 2023); all theorem numbers refer to it.

Setting

Actions live in Rn\mathbb R^nRn and costs in Rd\mathbb R^dRd, both with the Euclidean norm, and d≥2d\ge2d≥2. The unknown cost c⋆c^\starc⋆ lies on the unit sphere Sd={c:∥c∥=1}S^d=\{c:\|c\|=1\}Sd={c:∥c∥=1}.

An instance is a pair (X,f)(\mathcal X,f)(X,f): a feasible set X∈B\mathcal X\in\mathcal BX∈B, i.e. a nonempty compact subset of Rn\mathbb R^nRn with diameter at most 111, and a context function f∈Ff\in\mathcal Ff∈F, i.e. a 111-Lipschitz map Rn→Rd\mathbb R^n\to\mathbb R^dRn→Rd. Given a cost ccc, the forward problem is

ψ(c,X,f)=arg min⁡x∈Xf(x)′c,\psi(c,\mathcal X,f)=\operatorname*{arg\,min}_{x\in\mathcal X} f(x)'c,ψ(c,X,f)=x∈Xargmin​f(x)′c,

a set of minimizers.

The offline data are D={(Xi,fi,xi⋆)}i=1N\mathcal D=\{(\mathcal X_i,f_i,x^\star_i)\}_{i=1}^ND={(Xi​,fi​,xi⋆​)}i=1N​ with xi⋆∈ψ(c⋆,Xi,fi)x^\star_i\in\psi(c^\star,\mathcal X_i,f_i)xi⋆​∈ψ(c⋆,Xi​,fi​). The costs compatible with them form the knowledge set

C(D)={c∈Sd: c′fi(xi⋆)≤c′fi(x)  ∀x∈Xi, i=1,…,N}.C(\mathcal D)=\{c\in S^d:\ c'f_i(x^\star_i)\le c'f_i(x)\ \ \forall x\in\mathcal X_i,\ i=1,\dots,N\}.C(D)={c∈Sd: c′fi​(xi⋆​)≤c′fi​(x)  ∀x∈Xi​, i=1,…,N}.

A policy maps the data and a new instance (X,f)(\mathcal X,f)(X,f) to an action xπ∈Xx^\pi\in\mathcal Xxπ∈X, and its regret on the instance is (f(xπ)−f(x⋆))′c⋆(f(x^\pi)-f(x^\star))'c^\star(f(xπ)−f(x⋆))′c⋆ with x⋆∈ψ(c⋆,X,f)x^\star\in\psi(c^\star,\mathcal X,f)x⋆∈ψ(c⋆,X,f). The worst-case regret WCRπ(D)\mathcal{WCR}^\pi(\mathcal D)WCRπ(D) is the supremum of the regret over c⋆∈C(D)c^\star\in C(\mathcal D)c⋆∈C(D), X∈B\mathcal X\in\mathcal BX∈B and f∈Ff\in\mathcal Ff∈F.

The angle between two vectors is θ(c,c^)=arccos⁡(c′c^/(∥c∥∥c^∥))\theta(c,\hat c)=\arccos\big(c'\hat c/(\|c\|\|\hat c\|)\big)θ(c,c^)=arccos(c′c^/(∥c∥∥c^∥)), with θ(c,0)=θ(0,c^)=0\theta(c,0)=\theta(0,\hat c)=0θ(c,0)=θ(0,c^)=0. The uncertainty angle of a set CCC is

α(C)=inf⁡c^∈Sd sup⁡c∈C θ(c,c^),\alpha(C)=\inf_{\hat c\in S^d}\ \sup_{c\in C}\ \theta(c,\hat c),α(C)=c^∈Sdinf​ c∈Csup​ θ(c,c^),

and a circumcenter c^(C)\hat c(C)c^(C) is a point of SdS^dSd attaining the infimum. Geometrically, α(C)\alpha(C)α(C) is the aperture of the narrowest revolution cone containing CCC and c^(C)\hat c(C)c^(C) is its axis. The circumcenter policy answers an instance with any xπ∈ψ(c^(C(D)),X,f)x^\pi\in\psi(\hat c(C(\mathcal D)),\mathcal X,f)xπ∈ψ(c^(C(D)),X,f). Write g(a)=1{a<π/2}sin⁡a+1{a≥π/2}g(a)=\mathbf 1\{a<\pi/2\}\sin a+\mathbf 1\{a\ge\pi/2\}g(a)=1{a<π/2}sina+1{a≥π/2}.

Formalization targets

Goal: Theorem 1 (offline minimax regret), p. 12

For every realizable data set,

WCRπ(D) ≤ g(α(C(D)))\mathcal{WCR}^{\pi}(\mathcal D)\ \le\ g\big(\alpha(C(\mathcal D))\big)WCRπ(D) ≤ g(α(C(D)))

for the circumcenter policy π\piπ, whatever circumcenter and whatever minimizer it picks. Conversely, for every αˉ∈[0,π]\bar\alpha\in[0,\pi]αˉ∈[0,π] there is an information set C⊆SdC\subseteq S^dC⊆Sd with α(C)=αˉ\alpha(C)=\bar\alphaα(C)=αˉ on which every policy suffers regret at least g(αˉ)g(\bar\alpha)g(αˉ) on some instance. The upper bound and the lower bound are one statement.

Milestones

  1. Lemma 1 (p. 11). For a proxy cost cπ∈Sdc^\pi\in S^dcπ∈Sd and a true cost c⋆∈Sdc^\star\in S^dc⋆∈Sd, the worst-case regret over instances and over minimizers xπ∈ψ(cπ,X,f)x^\pi\in\psi(c^\pi,\mathcal X,f)xπ∈ψ(cπ,X,f) is attained and equals g(θ(c⋆,cπ))g(\theta(c^\star,c^\pi))g(θ(c⋆,cπ)):
L(cπ,c⋆)={sin⁡θ(c⋆,cπ)θ(c⋆,cπ)<π/2,1otherwise.\mathcal L(c^\pi,c^\star)=\begin{cases}\sin\theta(c^\star,c^\pi)&\theta(c^\star,c^\pi)<\pi/2,\\1&\text{otherwise.}\end{cases}L(cπ,c⋆)={sinθ(c⋆,cπ)1​θ(c⋆,cπ)<π/2,otherwise.​
  1. Lemma 2 (p. 12). Every nonempty C⊆RdC\subseteq\mathbb R^dC⊆Rd has a circumcenter; it is unique when C∖{0}≠∅C\setminus\{0\}\neq\emptysetC∖{0}=∅ and α(C)<π/2\alpha(C)<\pi/2α(C)<π/2.

Significance

Theorem 1 identifies the minimax offline regret of contextual inverse optimization with a single geometric number of the knowledge set, sin⁡α(C(D))\sin\alpha(C(\mathcal D))sinα(C(D)) (or 111), and shows that one explicit policy, acting as if the cost were the circumcenter, attains it uniformly over all instances. It reduces the design of offline policies to computing a circumcenter, and it is the benchmark that the paper's online analysis (§4–§5) compares against: the online policies are judged by how fast they shrink the uncertainty angle.

The results are proved in the paper (App-3–App-9). To our knowledge none of them has a machine-checked proof. Formalizing them yields a verified statement of the minimax value, a reusable notion of uncertainty angle and circumcenter for arbitrary subsets of Rd\mathbb R^dRd, and the exact tightness of the bound, including the regime α≥π/2\alpha\ge\pi/2α≥π/2 where nature can force the maximal regret.

Difficulty

The upper bound is not a direct consequence of the definitions: the regret involves an arbitrary compact action set and an arbitrary 111-Lipschitz context, and the only link between the circumcenter's choice and c⋆c^\starc⋆ is that xπx^\pixπ is optimal for the wrong cost. Lemma 1 is where this link is turned into an angle, and its value must be matched exactly, not up to constants. Lemma 2 requires care because the objective c^↦sup⁡c∈Cθ(c,c^)\hat c\mapsto\sup_{c\in C}\theta(c,\hat c)c^↦supc∈C​θ(c,c^) is a supremum over an arbitrary, possibly non-closed, set and the angle convention at 000 breaks continuity. The lower bound must hold for every policy, including ones that exploit tie-breaking, so the hard instance must be chosen after the policy.

Formalization scope

Vectors are EuclideanSpace ℝ (Fin n) and EuclideanSpace ℝ (Fin d). The angle vecAngle is defined directly with value 000 when either argument is 000; Mathlib's InnerProductGeometry.angle (which is π/2\pi/2π/2 there) is not used. α\alphaα is a real infimum over the sphere of a real supremum over CCC; the angles lie in [0,π][0,\pi][0,π], so both are genuine when CCC is nonempty. Action sets are nonempty compact sets of diameter at most 111 (nonemptiness is added: an empty feasible set has no action), contexts are 111-Lipschitz, and data are indexed by Fin N.

Committed conventions and pins:

  • d≥2d\ge2d≥2 is the paper's standing assumption (p. 7). n≥1n\ge1n≥1 is added on Lemma 1 and on Theorem 1: in R0\mathbb R^0R0 every regret is 000 and the lower bounds would be false.
  • Theorem 1's upper bound assumes realizable data (some c0∈Sdc_0\in S^dc0​∈Sd explains every observation), as the paper's data model does; this makes C(D)C(\mathcal D)C(D) nonempty.
  • Worst-case regrets are never written as real suprema. The upper bound quantifies over every c⋆∈C(D)c^\star\in C(\mathcal D)c⋆∈C(D), instance, circumcenter, policy minimizer and expert minimizer. Lemma 1 is stated with IsGreatest, and the lower bound of Theorem 1 in attained form, which implies the paper's statement about the supremum.
  • In the lower bound the quantifiers are ordered as in the paper: the set CCC, then the policy (any map from instances to feasible actions), then nature's instance.

A formalization that bounds the regret only for one selected minimizer of the forward problem, or that chooses the hard instance before the policy, proves a different and weaker theorem and is excluded.

The development needs: compactness and lower semicontinuity on the sphere (existence of a circumcenter), elementary spherical geometry for the uniqueness and for sin⁡θ\sin\thetasinθ as the value of a two-point instance, and monotonicity of ggg on [0,π][0,\pi][0,π]. The angle, uncertainty angle and circumcenter definitions are reusable for the online missions of this series. Proofs of the two lemmas are the natural first contributions.

Selected references

  • O. Besbes, Y. Fonseca, I. Lobel, Contextual Inverse Optimization: Offline and Online Learning, arXiv preprint v3, 2023; Operations Research, 2025. https://arxiv.org/abs/2106.14015v3
  • R. K. Ahuja, J. B. Orlin, Inverse optimization, Operations Research 49(5):771–783, 2001. https://doi.org/10.1287/opre.49.5.771.10607
  • T. C. Y. Chan, T. Lee, D. Terekhov, Inverse optimization: closed-form solutions, geometry, and goodness of fit, Management Science 65(3):1115–1135, 2019. https://doi.org/10.1287/mnsc.2017.2992
  • A. Aswani, Z.-J. Shen, A. Siddiq, Inverse optimization with noisy data, Operations Research 66(3):870–892, 2018. https://doi.org/10.1287/opre.2017.1705
  • R. Henrion, A. Seeger, Inradius and circumradius of various convex cones arising in applications, Set-Valued and Variational Analysis 18(3–4):483–511, 2010. https://doi.org/10.1007/s11228-010-0150-z
5 thms3 active usersReviewed
🏆Completed
Quantum Information·Captain: Goku

Quantum Algorithms and Learning Theory — Part II 7: Identifying a codeword state needs Ω(k) copiesTextbook

Motivation

This mission develops Chapter 7 of Quantum Algorithms and Learning Theory — Part II by Srinivasan Arunachalam. The chapter's selected results describe the mathematical guarantees below.

Setting and conventions

The linked theorem statements and shared definitions specify the register types, oracle access, normalization, and resource conventions. Their source locators and independent readbacks accompany each target.

Chapter goal

For a matrix M∈F2n×kM\in\mathbb F_2^{n\times k}M∈F2n×k​ of rank kkk (the generator matrix of an [n,k,d]2[n,k,d]_2[n,k,d]2​ linear code) and x∈{0,1}kx\in\{0,1\}^kx∈{0,1}k define the codeword state

∣ψx⟩=1n∑i∈[n]∣i,(Mx)i⟩.|\psi_x\rangle=\frac{1}{\sqrt n}\sum_{i\in[n]}|i,(Mx)_i\rangle .∣ψx​⟩=n​1​i∈[n]∑​∣i,(Mx)i​⟩.

For every rate c1>0c_1>0c1​>0 there is a constant c0>0c_0>0c0​>0 such that the following holds for all n,kn,kn,k and all rank-kkk matrices M∈F2n×kM\in\mathbb F_2^{n\times k}M∈F2n×k​ with k≥c1nk\ge c_1 nk≥c1​n: if a measurement (POVM {Ny}y∈{0,1}k\{N_y\}_{y\in\{0,1\}^k}{Ny​}y∈{0,1}k​) on TTT copies identifies xxx from ∣ψx⟩⊗T|\psi_x\rangle^{\otimes T}∣ψx​⟩⊗T, for xxx drawn uniformly from {0,1}k\{0,1\}^k{0,1}k, with average success probability

12k∑x∈{0,1}kTr⁡ ⁣(Nx ∣ψx⟩⟨ψx∣⊗T) ≥ 45,\frac{1}{2^k}\sum_{x\in\{0,1\}^k}\operatorname{Tr}\!\big(N_x\,|\psi_x\rangle\langle\psi_x|^{\otimes T}\big)\ \ge\ \frac45,2k1​x∈{0,1}k∑​Tr(Nx​∣ψx​⟩⟨ψx​∣⊗T) ≥ 54​,

then T≥c0 kT\ge c_0\,kT≥c0​k.

This improves the Holevo-type bound Ω(k/log⁡n)\Omega(k/\log n)Ω(k/logn) to the optimal Ω(k)\Omega(k)Ω(k) for constant-rate codes, showing that codeword fingerprint states cannot be identified from few copies.

Formalization Note "k=Ω(n)k=\Omega(n)k=Ω(n)" is read as a fixed rate k≥c1nk\ge c_1 nk≥c1​n, and the constant of Ω(k)\Omega(k)Ω(k) may depend on c1c_1c1​ only. Identifying the state means outputting xxx, which is equivalent since x↦Mxx\mapsto Mxx↦Mx is injective for rank kkk. The code distance ddd plays no role and is not a hypothesis.

Significance

These are known mathematical results. Their Lean statements have been checked and reviewed against the cited source; formal proofs remain open for contributors.

Supporting targets

  • Theorem 7.3.1: Barnum–Knill: the pretty good measurement is at most quadratically worse than optimal.
  • Claim 7.3.5: Fourier coefficients of f composed with a linear map over F2.
  • Claim 7.3.6: The maximum of (c/√t)^t on [1, c²] is e^{c²/(2e)} (for c ≥ √e).
  • Fact 7.3.7: Binary entropy: H(ε) = O(ε log 1/ε) and 1 − H(1/2+ε) ≤ 2ε²/ln 2 + O(ε⁴).
  • Fact 7.3.8: Binomial coefficients and their partial sums are at most 2^{nH(·/n)}.
  • Fact 7.3.9: Helstrom bound for guessing a uniform bit from |ψ_b⟩, and its corollary.
  • Fact 7.3.10: Subadditivity of von Neumann entropy.
  • Lemma 7.4.1: Quantum PAC learners of a non-trivial class need Ω(log(1/δ)/ε) examples.
  • Lemma 7.4.2: Quantum agnostic learners of a non-trivial class need Ω(log(1/δ)/ε²) examples.
  • Theorem 7.4.3: Classical PAC sample complexity is Ω(d/ε + log(1/δ)/ε).
  • Theorem 7.4.4: Classical agnostic sample complexity is Ω(d/ε² + log(1/δ)/ε²).
  • Theorem 7.4.5: ε-average agnostic learners need (d/ε²)(1/62 − log(2d+2)/(4d)) samples.
  • Theorem 7.4.6: Quantum PAC sample complexity lower bound (information-theoretic).
  • Theorem 7.4.7: Quantum agnostic sample complexity lower bound (information-theoretic).
  • Claim 7.5.2: Eigenvalues of an XOR-convolution matrix are scaled Fourier coefficients.
  • Claim 7.5.3: Diagonal of √A in terms of Fourier coefficients of f.
  • Lemma 7.5.4: Fourier coefficients of (1 − β|z|/m)^T are nonnegative and small.
  • Claim 7.5.5: Counting index sequences whose basis vectors sum to S.
  • Theorem 7.5.6: Optimal quantum PAC sample complexity lower bound.
  • Lemma 7.5.7: PGM success bound for the PAC hard ensemble.
  • Theorem 7.5.8: Optimal quantum agnostic sample complexity lower bound.
  • Lemma 7.5.9: PGM success bound for the agnostic hard ensemble.
  • Theorem 7.6.1: Quantum PAC lower bound under random classification noise.
  • Theorem 7.6.2: Identifying a codeword state needs Ω(k) copies.

Formalization scope

Prove the existing statements under their stated hypotheses and definitions. Any correction to a printed source claim remains explicit in its target description. All listed target proofs are currently sorry; no proof is claimed. The mission goal is the designated chapter capstone; the remaining targets are separate milestones. Parts a, b, c and d are merged into their original chapter.

Selected references

  • Srinivasan Arunachalam, Quantum Algorithms and Learning Theory — Part II, 2018 thesis, ILLC DS-2018-08. https://ir.cwi.nl/pub/27536/Thesis_S_Arunachalam.
30 thms3 active usersReviewed
🏆Completed
Bandit AlgorithmsOperations ResearchStatistics·Captain: mikedeng1

Distribution-Free Contextual Dynamic Pricing 2: Every Algorithm Has Expected Regret at Least C₀ C_p T₀ on Some Perturbed Linear Bandit with Perturbation C_pResearch Paper

Motivation

Dynamic pricing asks a seller to post prices to a stream of customers and learn demand from purchase decisions alone. Luo, Sun and Liu study the contextual version in which a customer's valuation is linear in a covariate vector plus noise with an unknown distribution (arXiv:2109.07340v2; Mathematics of Operations Research, 2024). Their DIP policy estimates the linear part, discretizes the remaining price residual, and then runs an upper-confidence-bound rule on the discretized problem. Because the linear part is only estimated, the discretized problem is not an ordinary linear bandit: its reward parameter drifts from period to period by an amount controlled by the estimation error. The paper calls this a perturbed linear bandit (PLB) and proves an upper bound for it whose dominant extra term is linear in the perturbation size times the horizon.

This mission formalizes the matching statement: no algorithm can avoid that linear term. It is the paper's Proposition 2 (p. 22), proved in its Appendix A (pp. 44–46).

Setting

Fix a dimension ddd. A perturbed linear bandit with perturbation constant CpC_pCp​ consists of parameters ξ1,ξ2,…∈Rd\xi_1,\xi_2,\ldots\in\mathbb R^dξ1​,ξ2​,…∈Rd, finite action sets A1,A2,…⊂Rd\mathcal A_1,\mathcal A_2,\ldots\subset\mathbb R^dA1​,A2​,…⊂Rd and noise variables η1,η2,…\eta_1,\eta_2,\ldotsη1​,η2​,…, with ∥ξs−ξt∥∞≤Cp\|\xi_s-\xi_t\|_\infty\le C_p∥ξs​−ξt​∥∞​≤Cp​ for all periods s,ts,ts,t. In period ttt an algorithm A∗\mathcal A^*A∗ sees the action set At\mathcal A_tAt​ and the history of its past actions and rewards, plays At∈AtA_t\in\mathcal A_tAt​∈At​, and observes the reward

Zt=⟨ξt,At⟩+ηt.Z_t=\langle\xi_t,A_t\rangle+\eta_t .Zt​=⟨ξt​,At​⟩+ηt​.

The algorithm may randomize. The parameters ξt\xi_tξt​ are never observed.

For a central parameter ξ~∈Rd\tilde\xi\in\mathbb R^dξ~​∈Rd the paper defines the parameter set

PB(ξ~,Cp)={ξ∈Rd: ∥ξ−ξ~∥∞≤Cp/2},PB(\tilde\xi,C_p)=\{\xi\in\mathbb R^d:\ \|\xi-\tilde\xi\|_\infty\le C_p/2\},PB(ξ~​,Cp​)={ξ∈Rd: ∥ξ−ξ~​∥∞​≤Cp​/2},

so any sequence in PB(ξ~,Cp)PB(\tilde\xi,C_p)PB(ξ~​,Cp​) has perturbation at most CpC_pCp​.

The PLB regret over T0T_0T0​ periods compares each action with the best action of the current period:

RT0PLB(A∗)=∑t=1T0(max⁡a∈At⟨ξt,a⟩−⟨ξt,At⟩) ≥0.R^{PLB}_{T_0}(\mathcal A^*)=\sum_{t=1}^{T_0}\Big(\max_{a\in\mathcal A_t}\langle\xi_t,a\rangle-\langle\xi_t,A_t\rangle\Big)\ \ge 0 .RT0​PLB​(A∗)=t=1∑T0​​(a∈At​max​⟨ξt​,a⟩−⟨ξt​,At​⟩) ≥0.

The expectation E\mathbb EE is over the algorithm's randomness and the noise.

Formalization targets

Goal: Proposition 2 (p. 22)

For every ξ~\tilde\xiξ~​ with positive entries (and d≥2d\ge2d≥2) there is C0>0C_0>0C0​>0 depending only on ξ~\tilde\xiξ~​ such that for every Cp≥0C_p\ge0Cp​≥0 with Cp/2<min⁡iξ~iC_p/2<\min_i\tilde\xi_iCp​/2<mini​ξ~​i​ and every algorithm A∗\mathcal A^*A∗ there are parameters ξt∈PB(ξ~,Cp)\xi_t\in PB(\tilde\xi,C_p)ξt​∈PB(ξ~​,Cp​) and action sets At\mathcal A_tAt​ with

E(RT0PLB(A∗)) ≥ C0 Cp T0for all T0≥1.\mathbb E\big(R^{PLB}_{T_0}(\mathcal A^*)\big)\ \ge\ C_0\,C_p\,T_0\qquad\text{for all }T_0\ge1 .E(RT0​PLB​(A∗)) ≥ C0​Cp​T0​for all T0​≥1.

The formal statement also records that the constructed instance is a PLB with perturbation CpC_pCp​, that its action sets are nonempty, and that every action has a single nonzero entry with ∣⟨ξt,a⟩∣≤1|\langle\xi_t,a\rangle|\le1∣⟨ξt​,a⟩∣≤1, which places the hard instance inside the class covered by the paper's upper bound (Lemma 3, Conditions 1 and 3).

Milestones

  1. Two-point construction (proof of Proposition 2, p. 44). With C=Cp/2C=C_p/2C=Cp​/2, two coordinates ju≠jvj_u\ne j_vju​=jv​, u=ξ~juu=\tilde\xi_{j_u}u=ξ~​ju​​, v=ξ~jvv=\tilde\xi_{j_v}v=ξ~​jv​​, actions U=eju/(u+C)U=e_{j_u}/(u+C)U=eju​​/(u+C), V=ejv/(v+C)V=e_{j_v}/(v+C)V=ejv​​/(v+C) and parameters ξu,ξv\xi_u,\xi_vξu​,ξv​ obtained from ξ~\tilde\xiξ~​ by moving the two coordinates by ∓C\mp C∓C, ±C\pm C±C:
ξu,ξv∈PB(ξ~,Cp),⟨ξu,U⟩=u−Cu+C≤1=⟨ξv,U⟩,⟨ξv,V⟩=v−Cv+C≤1=⟨ξu,V⟩.\xi_u,\xi_v\in PB(\tilde\xi,C_p),\qquad\langle\xi_u,U\rangle=\tfrac{u-C}{u+C}\le1=\langle\xi_v,U\rangle,\qquad\langle\xi_v,V\rangle=\tfrac{v-C}{v+C}\le1=\langle\xi_u,V\rangle .ξu​,ξv​∈PB(ξ~​,Cp​),⟨ξu​,U⟩=u+Cu−C​≤1=⟨ξv​,U⟩,⟨ξv​,V⟩=v+Cv−C​≤1=⟨ξu​,V⟩.
  1. Per-period bound (pp. 45–46). If u≤vu\le vu≤v, AAA is a random action in {U,V}\{U,V\}{U,V}, and ξt=ξu\xi_t=\xi_uξt​=ξu​ when P(A=U)≥1/2P(A=U)\ge1/2P(A=U)≥1/2 and ξt=ξv\xi_t=\xi_vξt​=ξv​ otherwise, then
E(rt) ≥ C0Cp,C0=14v.\mathbb E(r_t)\ \ge\ C_0C_p,\qquad C_0=\frac1{4v}.E(rt​) ≥ C0​Cp​,C0​=4v1​.

Significance

The result. Lemma 3 of the paper bounds the regret of its M-LinUCB algorithm on a PLB by a T0\sqrt{T_0}T0​​-type term plus 2amax⁡CpT02a_{\max}C_pT_02amax​Cp​T0​. Proposition 2 shows that the second term is not an artefact of the analysis: an adversary who may move the parameter inside a box of width CpC_pCp​ forces every algorithm to pay order CpT0C_pT_0Cp​T0​. In the pricing application the perturbation is proportional to the estimation error ∥θ^−θ0∥1\|\hat\theta-\theta_0\|_1∥θ^−θ0​∥1​ of the linear part, so the lower bound explains why the paper's pricing regret bound (Theorem 1) carries a term linear in the accumulated estimation error. The result also separates the PLB from the zero-perturbation linear bandit, where O~(T0)\tilde O(\sqrt{T_0})O~(T0​​) regret is achievable.

Formalizing it. The proposition is proved in the paper; it has not been machine-checked. A formal proof requires an explicit model of randomized, history-dependent algorithms interacting with an adversarially chosen but deterministic parameter sequence, which the mission supplies. The model and the two-point construction are reusable for other two-hypothesis lower bounds in linear and contextual bandits.

Difficulty

The obvious argument fixes one hard instance and shows that every algorithm suffers on it. That fails: for a fixed parameter sequence, an algorithm that always plays the optimal action of that sequence has zero regret. The instance must therefore be chosen after the algorithm, and it must be chosen period by period, because the law of the period-ttt action depends on the rewards of periods 1,…,t−11,\dots,t-11,…,t−1, which depend on the parameters already chosen. The parameters must nevertheless be deterministic: the adversary may react to the law of the algorithm's action, not to its realization. Making this recursive construction precise, together with the measurability needed for "the probability that At=UA_t=UAt​=U" to be meaningful, is the main formal work. The arithmetic of each period is elementary.

A second point concerns the dimension: the construction needs two distinct coordinates, and for d=1d=1d=1 the statement fails, since every parameter in PB(ξ~,Cp)PB(\tilde\xi,C_p)PB(ξ~​,Cp​) is then positive and playing the largest action has zero regret.

Formalization scope

  • Model. Arms are coordinates Fin d (0-based); periods are 1-based. Vectors are Fin d → ℝ, and ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​ is Mathlib's sup norm on that type. Action sets are finite sets (Finset). The maximum over an empty action set is set to 000; every statement requires nonempty action sets.
  • Algorithms. An algorithm is a decision rule that maps a sample point ω\omegaω of a probability space (its internal randomness), the past actions and rewards, and the current action set to an action of that set; it is jointly measurable in ω\omegaω and the history. The trajectory (At,Zt)(A_t,Z_t)(At​,Zt​) is defined recursively from the rule, the parameters, the action sets and the noise. Since the rule sees all of ω\omegaω, it may also depend on the noise; this only enlarges the class over which the lower bound holds.
  • Noise. The goal quantifies over every measurable noise process. The paper's PLB asks for conditionally sub-Gaussian noise; since η≡0\eta\equiv0η≡0 is allowed, the formal statement is stronger than the printed existence statement, and the paper's proof uses no property of the noise.
  • Instance. The parameters and action sets are deterministic and are chosen after the algorithm, the probability space and the noise. The constant C0C_0C0​ is chosen after ξ~\tilde\xiξ~​ and before CpC_pCp​, the algorithm and T0T_0T0​, which is the formal content of "only dependent on ξ~\tilde\xiξ~​".
  • Added hypotheses. d≥2d\ge2d≥2 (necessary, see above) and Cp≥0C_p\ge0Cp​≥0 (otherwise PB(ξ~,Cp)PB(\tilde\xi,C_p)PB(ξ~​,Cp​) is empty).
  • Expectation. Expected regret is the lower Lebesgue integral of the nonnegative regret, so no integrability convention can make the bound hold vacuously. The bound is positive whenever Cp>0C_p>0Cp​>0; a formalization in which the expectation could collapse to a default value, or the algorithm class could be empty, is ruled out (the class contains every fixed-choice rule).
  • Source. The source is the arXiv v2 preprint (6 March 2023); the paper's proofs are in its Appendix A.

Contributions welcome: proofs of the two milestones, the measurability of the recursively defined actions, and the summation step from the per-period bound to the goal.

Selected references

  • Y. Luo, W. W. Sun, Y. Liu, Distribution-Free Contextual Dynamic Pricing, Mathematics of Operations Research, 2024. Preprint arXiv:2109.07340v2; DOI 10.1287/moor.2023.1369.
  • Y. Abbasi-Yadkori, D. Pál, Cs. Szepesvári, Improved Algorithms for Linear Stochastic Bandits, NeurIPS, 2011. link
  • T. Lattimore, Cs. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020. doi:10.1017/9781108571401
5 thms3 active usersReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

A Single Timescale Stochastic Approximation Method for Nested Stochastic Optimization: NASA with Stepsizes 1/√N Drives the Expected Stationarity Measure E[V(x_R, z_R)] Below C/(√N − 1)Research Paper

Motivation

Many learning and risk-averse decision problems minimize a function of an expectation that is itself passed through another function: F(x)=f(g(x))F(x)=f(g(x))F(x)=f(g(x)) with g(x)=E[G(x,ξ)]g(x)=\mathbb E[G(x,\xi)]g(x)=E[G(x,ξ)]. Examples are mean–deviation risk measures, stochastic variational inequalities rewritten as minimization, and policy evaluation in reinforcement learning. Only noisy samples of ggg, of its Jacobian and of ∇f\nabla f∇f are available, and the plug-in estimate ∇g(x)⊤∇f(G)\nabla g(x)^\top\nabla f(G)∇g(x)⊤∇f(G) of ∇F(x)\nabla F(x)∇F(x) is biased because fff is nonlinear. Classical stochastic gradient analysis does not apply directly.

Timeline of sample complexities for smooth nonconvex two-level problems, measured by the number of samples needed to reach an ε\varepsilonε-stationary point:

  • 2017 — Wang, Fang and Liu (Math. Program.) introduce stochastic compositional gradient descent with two time scales; the unconstrained nonconvex rate is O(ε−4)O(\varepsilon^{-4})O(ε−4) in their measure.
  • 2017 — Wang, Liu and Fang (JMLR) accelerate it to O(ε−2.25)O(\varepsilon^{-2.25})O(ε−2.25) for smooth unconstrained problems, still with two time scales.
  • 2019–2020 — Ghadimi, Ruszczyński and Wang (arXiv:1812.01094, SIAM J. Optim. 2020) propose NASA, a single-time-scale method with one sample per iteration, and prove O(ε−2)O(\varepsilon^{-2})O(ε−2) for constrained problems. This mission formalizes that result.

Setting

Problem (1.1) is

min⁡x∈XF(x)=f(g(x)),\min_{x\in X} F(x)=f(g(x)),x∈Xmin​F(x)=f(g(x)),

where f:Rm→Rf:\mathbb R^m\to\mathbb Rf:Rm→R and g:Rn→Rmg:\mathbb R^n\to\mathbb R^mg:Rn→Rm are continuously differentiable, X⊆RnX\subseteq\mathbb R^nX⊆Rn is closed and convex, and nothing is convex. Assumption 2 asks that fff, ggg, ∇f\nabla f∇f, ∇g\nabla g∇g be Lipschitz with constants Lf,Lg,L∇f,L∇gL_f,L_g,L_{\nabla f},L_{\nabla g}Lf​,Lg​,L∇f​,L∇g​; then ∇F\nabla F∇F is Lipschitz with L∇F=Lg2L∇f+LfL∇gL_{\nabla F}=L_g^2L_{\nabla f}+L_fL_{\nabla g}L∇F​=Lg2​L∇f​+Lf​L∇g​. F∗F^*F∗ is the infimum of FFF over XXX.

For β>0\beta>0β>0 the subproblem solution is yˉ(x,z,β)=argmin⁡y∈X{⟨z,y−x⟩+β2∥y−x∥2}=ΠX(x−z/β)\bar y(x,z,\beta)=\operatorname{argmin}_{y\in X}\{\langle z,y-x\rangle+\frac\beta2\|y-x\|^2\}=\Pi_X(x-z/\beta)yˉ​(x,z,β)=argminy∈X​{⟨z,y−x⟩+2β​∥y−x∥2}=ΠX​(x−z/β), with ΠX\Pi_XΠX​ the Euclidean projection. A pair (x,z)(x,z)(x,z) is judged by the optimality measure

V(x,z)=∥yˉ(x,z,1)−x∥2+∥z−∇F(x)∥2,V(x,z)=\|\bar y(x,z,1)-x\|^2+\|z-\nabla F(x)\|^2,V(x,z)=∥yˉ​(x,z,1)−x∥2+∥z−∇F(x)∥2,

which vanishes exactly when z=∇F(x)z=\nabla F(x)z=∇F(x) and −∇F(x)-\nabla F(x)−∇F(x) lies in the normal cone to XXX at xxx.

The NASA method (Algorithm 1) keeps three sequences: iterates xk∈Xx^k\in Xxk∈X, gradient averages zkz^kzk and value averages uku^kuk. With parameters a,b>0a,b>0a,b>0, regularization β>0\beta>0β>0 and stepsizes τk∈(0,1/a]\tau_k\in(0,1/a]τk​∈(0,1/a]:

xk+1=xk+τk(yˉ(xk,zk,β)−xk),zk+1=(1−aτk)zk+aτk[Jk+1]⊤sk+1,uk+1=(1−bτk)uk+bτkGk+1.x^{k+1}=x^k+\tau_k(\bar y(x^k,z^k,\beta)-x^k),\quad z^{k+1}=(1-a\tau_k)z^k+a\tau_k[J^{k+1}]^\top s^{k+1},\quad u^{k+1}=(1-b\tau_k)u^k+b\tau_kG^{k+1}.xk+1=xk+τk​(yˉ​(xk,zk,β)−xk),zk+1=(1−aτk​)zk+aτk​[Jk+1]⊤sk+1,uk+1=(1−bτk​)uk+bτk​Gk+1.

Assumption 1 governs the oracle. Given Fk\mathcal F_kFk​, the outputs Gk+1G^{k+1}Gk+1, Jk+1J^{k+1}Jk+1 and sk+1s^{k+1}sk+1 are conditionally unbiased for g(xk+1)g(x^{k+1})g(xk+1), ∇g(xk+1)\nabla g(x^{k+1})∇g(xk+1) and ∇f(uk)\nabla f(u^k)∇f(uk). Their second moments are bounded by σG2,σJ2,σs2\sigma_G^2,\sigma_J^2,\sigma_s^2σG2​,σJ2​,σs2​, and sk+1s^{k+1}sk+1, Jk+1J^{k+1}Jk+1 are conditionally independent. The analysis rests on the merit function W(x,z,u)=a(F(x)−F∗)−η(x,z)+γ2∥g(x)−u∥2W(x,z,u)=a(F(x)-F^*)-\eta(x,z)+\frac\gamma2\|g(x)-u\|^2W(x,z,u)=a(F(x)−F∗)−η(x,z)+2γ​∥g(x)−u∥2, where η\etaη is the optimal value of the subproblem.

Formalization targets

Goal: Theorem 2(c), (3.37)

With a=b=1a=b=1a=b=1, β=((1+α)2αLg2+α4)L∇f\beta=\big(\frac{(1+\alpha)^2}{\alpha}L_g^2+\frac\alpha4\big)L_{\nabla f}β=(α(1+α)2​Lg2​+4α​)L∇f​ for some α>0\alpha>0α>0, τ0=1\tau_0=1τ0​=1, τk=1/N\tau_k=1/\sqrt Nτk​=1/N​ for k≥1k\ge1k≥1, N≥2N\ge2N≥2, and RRR uniform on {1,…,N−1}\{1,\dots,N-1\}{1,…,N−1}:

E[V(xR,zR)]≤4N−1(2αL∇f[max⁡(L1,L2)+max⁡(1,β2)][W(x0,z0,u0)+σ^2]+σJ2σs2).\mathbb E[V(x^R,z^R)]\le\frac4{\sqrt N-1}\Big(\frac2{\alpha L_{\nabla f}}\big[\max(L_1,L_2)+\max(1,\beta^2)\big]\big[W(x^0,z^0,u^0)+\hat\sigma^2\big]+\sigma_J^2\sigma_s^2\Big).E[V(xR,zR)]≤N​−14​(αL∇f​2​[max(L1​,L2​)+max(1,β2)][W(x0,z0,u0)+σ^2]+σJ2​σs2​).

The constants L1,L2L_1,L_2L1​,L2​ (3.32) and σ^2\hat\sigma^2σ^2 are explicit in the problem data. This is the paper's headline rate, and every other statement of the mission feeds it.

Milestones

  1. Lemma 1: ∥yˉ(x,z,1)−x∥≤max⁡(1,β)∥yˉ(x,z,β)−x∥\|\bar y(x,z,1)-x\|\le\max(1,\beta)\|\bar y(x,z,\beta)-x\|∥yˉ​(x,z,1)−x∥≤max(1,β)∥yˉ​(x,z,β)−x∥.
  2. Lemma 2: ∇F\nabla F∇F is L∇FL_{\nabla F}L∇F​-Lipschitz.
  3. Lemma 3: η\etaη has an L∇ηL_{\nabla\eta}L∇η​-Lipschitz gradient in (x,z)(x,z)(x,z).
  4. (3.21): ⟨z,d⟩+β∥d∥2≤0\langle z,d\rangle+\beta\|d\|^2\le0⟨z,d⟩+β∥d∥2≤0 for the subproblem step ddd.
  5. Lemma 4: the pathwise descent inequality c∑τk(∥dk∥2+∥g(xk)−uk∥2)≤W(x0,z0,u0)+∑rk+1c\sum\tau_k(\|d^k\|^2+\|g(x^k)-u^k\|^2)\le W(x^0,z^0,u^0)+\sum r^{k+1}c∑τk​(∥dk∥2+∥g(xk)−uk∥2)≤W(x0,z0,u0)+∑rk+1.
  6. Proposition 1(a): moment bounds on zkz^kzk and dkd^kdk.
  7. Proposition 1(b): ∑E[rk+1]≤σ^2∑τk2\sum\mathbb E[r^{k+1}]\le\hat\sigma^2\sum\tau_k^2∑E[rk+1]≤σ^2∑τk2​.
  8. (3.29): V(x,z)≤max⁡(1,β2)∥d∥2+∥z−∇F(x)∥2V(x,z)\le\max(1,\beta^2)\|d\|^2+\|z-\nabla F(x)\|^2V(x,z)≤max(1,β2)∥d∥2+∥z−∇F(x)∥2.
  9. Theorem 2(a): the weighted gradient-tracking error.
  10. Theorem 2(b): the bound on E[V(xR,zR)]\mathbb E[V(x^R,z^R)]E[V(xR,zR)] for general admissible stepsizes.

Significance

The result. Theorem 2(c) gives E[V(xR,zR)]≤ε\mathbb E[V(x^R,z^R)]\le\varepsilonE[V(xR,zR)]≤ε after O(ε−2)O(\varepsilon^{-2})O(ε−2) iterations with one oracle call each. That matches the complexity of stochastic gradient descent on single-level smooth nonconvex problems, so the nested structure costs only constants. The bound holds with constraints, and zRz^RzR comes with a certified estimate of ∇F(xR)\nabla F(x^R)∇F(xR). The same merit-function technique underlies later single-time-scale methods for multi-level and conditional stochastic optimization.

Formalizing it. The result is proved on paper, not formalized. A machine-checked proof requires the whole chain, Lemma 4 through Theorem 2, to be stated with constants that the argument actually supports. Several printed constants do not meet that bar (see Formalization scope), so the formalization also certifies a corrected version of the theorem. The deterministic milestones (Lemmas 1–3, (3.21), (3.29)) are general facts about Euclidean projections and value functions of strongly convex subproblems, and other projected-gradient developments can reuse them.

Difficulty

The obvious approach fails. Analyzing F(xk)F(x^k)F(xk) alone does not work because the step uses zkz^kzk, a biased and correlated estimate of ∇F(xk)\nabla F(x^k)∇F(xk), and its error does not vanish at a single time scale. The analysis instead tracks the coupled potential WWW. Each of its three terms needs a different tool: the descent lemma for FFF, the smoothness of the value function η\etaη (Lemma 3, which needs differentiability of a parametric minimum), and a recursion for uku^kuk. These pieces must combine under the single coupling condition (3.16). The probabilistic part is delicate as well. The cross terms vanish only in expectation, they require conditional independence of Jk+1J^{k+1}Jk+1 and sk+1s^{k+1}sk+1, and their integrability is not automatic. Theorem 2(a) adds a weighted unrolling of the zzz-recursion through the products Γk\Gamma_kΓk​ and the summation condition (3.30).

Formalization scope

Points live in EuclideanSpace ℝ (Fin n) and EuclideanSpace ℝ (Fin m). Jacobians are continuous linear maps with the operator norm, and ∇g(x)⊤\nabla g(x)^\top∇g(x)⊤ is the adjoint. The projection is a function PPP with the published predicate SpectralProjGrad.Shared.IsProjOnto X P, and yˉ(x,z,β)=P(x−β−1z)\bar y(x,z,\beta)=P(x-\beta^{-1}z)yˉ​(x,z,β)=P(x−β−1z). η\etaη is the subproblem objective evaluated at yˉ\bar yyˉ​, and Lemma 3 places (x,z)(x,z)(x,z) in the L2L^2L2 product WithLp 2 (ℝⁿ × ℝⁿ). F∗F^*F∗ is sInf over XXX, and FFF is assumed bounded below on XXX. The regularization βk≡β\beta_k\equiv\betaβk​≡β and the stepsizes are deterministic.

The randomness lives on a standard Borel probability space. Assumption 1 is stated with respect to any filtration to which xk,zk,ukx^k,z^k,u^kxk,zk,uk are adapted, which includes the paper's natural filtration. It requires square-integrable oracle outputs, so that no conditional-expectation hypothesis is vacuous. Statements printed with conditional expectations on the left and constants on the right (Proposition 1, Theorem 2(a)) are stated in total expectation, which is what the proofs establish. Every conclusion about an expectation includes the integrability of the integrand, so a bound cannot hold because a non-integrable integral defaults to 000. E[V(xR,zR)]\mathbb E[V(x^R,z^R)]E[V(xR,zR)] is the τ\tauτ-weighted average of E[V(xk,zk)]\mathbb E[V(x^k,z^k)]E[V(xk,zk)] over k=1,…,N−1k=1,\dots,N-1k=1,…,N−1 (3.34). Lemma 4 is deterministic: it holds along every path of the recursions, whatever the oracle outputs. The recursions tie yky^kyk to the projection and zk,ukz^k,u^kzk,uk to the oracle outputs, so the goal cannot be satisfied by arbitrary sequences or by a vacuous oracle.

Corrections to printed constants, each stated in the item's Formalization Note:

  • (3.18): the noise term of rk+1r^{k+1}rk+1 carries γb2\gamma b^2γb2, not b2b^2b2. The printed Lemma 4 has a counterexample.
  • (3.26): σ^2\hat\sigma^2σ^2 uses aL∇FaL_{\nabla F}aL∇F​, max⁡(σJ2σs2,∥z0∥2)/β2\max(\sigma_J^2\sigma_s^2,\|z^0\|^2)/\beta^2max(σJ2​σs2​,∥z0∥2)/β2 (the k=0k=0k=0 term) and γb2σG2\gamma b^2\sigma_G^2γb2σG2​.
  • (3.33): the coefficient of max⁡(1,β2)σ^2\max(1,\beta^2)\hat\sigma^2max(1,β2)σ^2 is 1/c1/c1/c, not acˉ/ca\bar c/cacˉ/c. The two agree when acˉ=1a\bar c=1acˉ=1.
  • (3.37): the denominator is αL∇f\alpha L_{\nabla f}αL∇f​, not αL∇F\alpha L_{\nabla F}αL∇F​, since the proof sets c=αL∇f/4c=\alpha L_{\nabla f}/4c=αL∇f​/4. The proof also fixes γ=αL∇f\gamma=\alpha L_{\nabla f}γ=αL∇f​ in WWW and σ^2\hat\sigma^2σ^2.
  • Proposition 1(a): the bound E∥zk∥2≤σJ2σs2\mathbb E\|z^k\|^2\le\sigma_J^2\sigma_s^2E∥zk∥2≤σJ2​σs2​ is false conditionally on Fk−1\mathcal F_{k-1}Fk−1​ and is stated in expectation.
  • Hypotheses the proofs use but the statements omit: τk≤1\tau_k\le1τk​≤1, bτk≤1b\tau_k\le1bτk​≤1, aβ≥ca\beta\ge caβ≥c and γb≥2c\gamma b\ge2cγb≥2c, τ0=1/a\tau_0=1/aτ0​=1/a (Theorem 2(a),(b)), N≥2N\ge2N≥2, and L∇f>0L_{\nabla f}>0L∇f​>0.

The second claim (3.38) of Theorem 2(c) is excluded: its printed constant is smaller than what the proof gives. Theorem 3 (asymptotics) and the ASA variant of §4 are out of scope. Contributions are welcome at every milestone. Solvers will need Euclidean projection characterizations, differentiability of the squared distance to a convex set, conditional-independence product rules for conditional expectations, and Abel-type summation for the Γk\Gamma_kΓk​ weights.

Selected references

  • S. Ghadimi, A. Ruszczyński, M. Wang, A Single Time-Scale Stochastic Approximation Method for Nested Stochastic Optimization, arXiv:1812.01094v2, 2019; SIAM J. Optim. 30(1), 2020. https://arxiv.org/abs/1812.01094
  • M. Wang, E. X. Fang, H. Liu, Stochastic compositional gradient descent: algorithms for minimizing compositions of expected-value functions, Math. Program. 161, 2017. https://doi.org/10.1007/s10107-016-1017-3
  • M. Wang, J. Liu, E. X. Fang, Accelerating stochastic composition optimization, JMLR 18(105), 2017. https://jmlr.org/papers/v18/16-504.html
  • S. Ghadimi, G. Lan, Stochastic first- and zeroth-order methods for nonconvex stochastic programming, SIAM J. Optim. 23(4), 2013. https://doi.org/10.1137/120880811
  • A. Ruszczyński, Nonlinear Optimization, Princeton University Press, 2006.
14 thms3 active usersReviewed
🏆Completed
Convex OptimizationOptimizationProbability·Captain: mikedeng1

Stochastic Gradient Descent, Weighted Sampling, and the Randomized Kaczmarz Algorithm: SGD with Step γ < 1/sup L Has E‖x_k − x⋆‖² ≤ [1 − 2γμ(1 − γ sup L)]^k ‖x₀ − x⋆‖² + γσ²/(μ(1 − γ sup L))Research Paper

Motivation

Stochastic gradient descent (SGD) minimizes an objective that is an expectation, F(x)=Ei∼Dfi(x)F(x) = \mathbb E_{i\sim\mathcal D} f_i(x)F(x)=Ei∼D​fi​(x), by stepping along the gradient of one randomly drawn component at a time. It is the workhorse of large-scale machine learning, where FFF is an average loss over training examples, and it also contains the randomized Kaczmarz method for linear systems, where each component is a single squared residual 12(⟨ai,x⟩−bi)2\frac12(\langle a_i, x\rangle - b_i)^221​(⟨ai​,x⟩−bi​)2 (Strohmer & Vershynin 2009).

For smooth, strongly convex objectives, the question is how fast a fixed step size drives the iterates to the minimizer x⋆x_\starx⋆​, and how the rate depends on the smoothness constants LiL_iLi​ of the components. Bach & Moulines (2011) showed that an iteration count scaling with the squared conditioning ELi2/μ2\mathbb E L_i^2/\mu^2ELi2​/μ2 suffices. Needell, Srebro and Ward (arXiv:1310.5715v5, Theorem 2.1) replaced this by a dependence that is linear in the uniform conditioning sup⁡L/μ\sup L/\musupL/μ. Their theorem is the base of the rest of the paper: Corollary 2.2 (choice of step size), the importance-sampling results of Section 3 (weighting components by LiL_iLi​), and the Kaczmarz rates of Section 5 are all derived from it.

Timeline:

  • 1951, Robbins and Monro: stochastic approximation.
  • 2009, Strohmer and Vershynin: expected linear convergence of randomized Kaczmarz with rows sampled proportionally to their squared norms.
  • 2011, Bach and Moulines: fixed-step SGD on strongly convex smooth objectives, with an iteration count of order log⁡(ε0/ε)(ELi2/μ2+σ2/(μ2ε))\log(\varepsilon_0/\varepsilon)(\mathbb E L_i^2/\mu^2 + \sigma^2/(\mu^2\varepsilon))log(ε0​/ε)(ELi2​/μ2+σ2/(μ2ε)).
  • 2013–2015, Needell, Srebro and Ward: the bound below, linear in sup⁡L/μ\sup L/\musupL/μ, and its importance-sampling and Kaczmarz corollaries.

Setting

Let D\mathcal DD be a probability distribution, the source distribution, on an arbitrary measurable index space III. Let H\mathcal HH be a real Hilbert space (for example Rd\mathbb R^dRd with the Euclidean norm ∥⋅∥2\|\cdot\|_2∥⋅∥2​), and let fi:H→Rf_i : \mathcal H \to \mathbb Rfi​:H→R, i∈Ii \in Ii∈I, be a family of functions. The objective is

F(x)=Ei∼Dfi(x),F(x) = \mathbb E_{i\sim\mathcal D} f_i(x),F(x)=Ei∼D​fi​(x),

and x⋆x_\starx⋆​ is a minimizer of FFF. The paper assumes:

  1. each fif_ifi​ is convex and differentiable, and its gradient ∇fi\nabla f_i∇fi​ is Lipschitz with constant LiL_iLi​: ∥∇fi(x)−∇fi(y)∥2≤Li∥x−y∥2\|\nabla f_i(x) - \nabla f_i(y)\|_2 \le L_i\|x - y\|_2∥∇fi​(x)−∇fi​(y)∥2​≤Li​∥x−y∥2​;
  2. FFF is μ\muμ-strongly convex: ⟨x−y,∇F(x)−∇F(y)⟩≥μ∥x−y∥22\langle x - y, \nabla F(x) - \nabla F(y)\rangle \ge \mu\|x - y\|_2^2⟨x−y,∇F(x)−∇F(y)⟩≥μ∥x−y∥22​ for all x,yx, yx,y.

The number sup⁡L\sup LsupL is an almost-sure upper bound on LiL_iLi​, and the residual is

σ2=E∥∇fi(x⋆)∥22,\sigma^2 = \mathbb E\|\nabla f_i(x_\star)\|_2^2,σ2=E∥∇fi​(x⋆​)∥22​,

which vanishes exactly when x⋆x_\starx⋆​ is a stationary point of every component (the realizable case).

The SGD iterates with fixed step size γ\gammaγ start at x0∈Hx_0 \in \mathcal Hx0​∈H and follow (2.2):

xk+1=xk−γ∇fik(xk),x_{k+1} = x_k - \gamma\nabla f_{i_k}(x_k),xk+1​=xk​−γ∇fik​​(xk​),

where i0,i1,…i_0, i_1, \dotsi0​,i1​,… are drawn independently from D\mathcal DD. The iterate xkx_kxk​ is a random point that depends on i0,…,ik−1i_0, \dots, i_{k-1}i0​,…,ik−1​. In Lean these objects are objective D f, residual D f xstar, iidLaw D (the law of the index sequence) and sgdIter f γ x0 k ω in the namespace SGDKaczmarz.SGD.

Formalization targets

Goal: Theorem 2.1, (2.4)

If 0<γ<1/sup⁡L0 < \gamma < 1/\sup L0<γ<1/supL, then for every k≥0k \ge 0k≥0

E∥xk−x⋆∥22≤[1−2γμ(1−γsup⁡L)]k∥x0−x⋆∥22+γσ2μ(1−γsup⁡L),\mathbb E\|x_k - x_\star\|_2^2 \le \Bigl[1 - 2\gamma\mu(1 - \gamma\sup L)\Bigr]^k\|x_0 - x_\star\|_2^2 + \frac{\gamma\sigma^2}{\mu(1 - \gamma\sup L)},E∥xk​−x⋆​∥22​≤[1−2γμ(1−γsupL)]k∥x0​−x⋆​∥22​+μ(1−γsupL)γσ2​,

where the expectation is over the sampling of {ik}\{i_k\}{ik​}. The constants are the paper's; nothing is left unfixed.

Milestones

In the order of the paper's proof (Appendix A):

  • (A.1): at a minimizer x⋆x_\starx⋆​ of a function with LLL-Lipschitz gradient, 12L∥∇f(x)−∇f(x⋆)∥22≤f(x)−f(x⋆)\frac{1}{2L}\|\nabla f(x) - \nabla f(x_\star)\|_2^2 \le f(x) - f(x_\star)2L1​∥∇f(x)−∇f(x⋆​)∥22​≤f(x)−f(x⋆​);
  • Lemma A.1 (co-coercivity): ∥∇f(x)−∇f(y)∥22≤L⟨x−y,∇f(x)−∇f(y)⟩\|\nabla f(x) - \nabla f(y)\|_2^2 \le L\langle x - y, \nabla f(x) - \nabla f(y)\rangle∥∇f(x)−∇f(y)∥22​≤L⟨x−y,∇f(x)−∇f(y)⟩;
  • the pathwise one-step bound on ∥xk−x⋆−γ∇fi(xk)∥22\|x_k - x_\star - \gamma\nabla f_i(x_k)\|_2^2∥xk​−x⋆​−γ∇fi​(xk​)∥22​;
  • unbiasedness: E∇fi(x)=∇F(x)\mathbb E\nabla f_i(x) = \nabla F(x)E∇fi​(x)=∇F(x);
  • the expected one-step recursion E∥xk+1−x⋆∥22≤(1−2γμ(1−γsup⁡L))∥xk−x⋆∥22+2γ2σ2\mathbb E\|x_{k+1} - x_\star\|_2^2 \le (1 - 2\gamma\mu(1 - \gamma\sup L))\|x_k - x_\star\|_2^2 + 2\gamma^2\sigma^2E∥xk+1​−x⋆​∥22​≤(1−2γμ(1−γsupL))∥xk​−x⋆​∥22​+2γ2σ2 for γ≤1/sup⁡L\gamma \le 1/\sup Lγ≤1/supL;
  • the unrolled recursion, with the finite geometric sum 2∑j<k(1−2γμ(1−γsup⁡L))jγ2σ22\sum_{j<k}(1 - 2\gamma\mu(1 - \gamma\sup L))^j\gamma^2\sigma^22∑j<k​(1−2γμ(1−γsupL))jγ2σ2.

Significance

The bound has two terms: a contraction at rate 1−2γμ(1−γsup⁡L)1 - 2\gamma\mu(1 - \gamma\sup L)1−2γμ(1−γsupL) and a floor proportional to γσ2\gamma\sigma^2γσ2. Choosing γ\gammaγ to balance them (Corollary 2.2) gives an iteration count of order log⁡(ε0/ε)(sup⁡L/μ+σ2/(μ2ε))\log(\varepsilon_0/\varepsilon)(\sup L/\mu + \sigma^2/(\mu^2\varepsilon))log(ε0​/ε)(supL/μ+σ2/(μ2ε)), linear rather than quadratic in the conditioning. In the realizable case σ2=0\sigma^2 = 0σ2=0 it is a pure linear rate. Reweighting the distribution by LiL_iLi​ turns sup⁡L\sup LsupL into the average Lˉ=ELi\bar L = \mathbb E L_iLˉ=ELi​ (Section 3), and specializing to least squares yields convergence rates for randomized Kaczmarz with uniform, weighted and hybrid row selection (Section 5). These consequences are stated in terms of Theorem 2.1, so a formal version of the theorem is the prerequisite for formalizing any of them.

The result is proved on paper (Appendix A.2). The work here is to formalize that proof: co-coercivity in a Hilbert space, differentiation of F=EfiF = \mathbb E f_iF=Efi​ under the expectation, and the passage from a conditional one-step bound to the unconditional bound over an i.i.d. sequence. To our knowledge no machine-checked proof of Theorem 2.1 exists. The platform has formal results on projected SGD with decaying steps and on the finite-sum Kaczmarz iteration, which state different results.

Difficulty

The one-step algebra is routine once co-coercivity is available. What is hard is making the expectation rigorous. On the page, "E∥xk+1−x⋆∥2\mathbb E\|x_{k+1} - x_\star\|^2E∥xk+1​−x⋆​∥2" in the recursion is an expectation over the index iki_kik​ alone, with xkx_kxk​ held fixed. Iterating it requires that xkx_kxk​ be a measurable function of i0,…,ik−1i_0, \dots, i_{k-1}i0​,…,ik−1​, that iki_kik​ be independent of it, and that expectations of possibly non-integrable nonnegative quantities be handled without junk values. The unbiasedness step E∇fi=∇F\mathbb E\nabla f_i = \nabla FE∇fi​=∇F is a differentiation under the integral sign in a possibly infinite-dimensional space, and it needs a dominating bound that comes from the almost-sure bound on LiL_iLi​ together with the finiteness of σ2\sigma^2σ2. A tempting shortcut, assuming ∇fi(x⋆)=0\nabla f_i(x_\star) = 0∇fi​(x⋆​)=0 for every iii, gives only the realizable special case σ2=0\sigma^2 = 0σ2=0 and is not the theorem.

Formalization scope

  • Space. H\mathcal HH is a complete real inner-product space with its Borel σ-algebra and a second-countable topology (every separable Hilbert space, including Rd\mathbb R^dRd). Separability makes the iterates random variables.
  • Gradients. These are Mathlib's gradient. Assumption (1) is LipschitzWith (L i) (gradient (f i)) with L i : ℝ≥0, together with Differentiable ℝ (f i) and ConvexOn ℝ Set.univ (f i) for every iii.
  • The objective. FFF is the Bochner integral x↦∫fi(x) dDx \mapsto \int f_i(x)\,d\mathcal Dx↦∫fi​(x)dD, under the hypothesis that i↦fi(x)i \mapsto f_i(x)i↦fi​(x) is integrable for every xxx. The gradient maps i↦∇fi(x)i \mapsto \nabla f_i(x)i↦∇fi​(x) are assumed measurable.
  • Strong convexity. Assumption (2) is stated in the paper's gradient-monotone form for gradient (objective D f). Differentiability of FFF is not assumed separately: it follows whenever σ2<∞\sigma^2 < \inftyσ2<∞ (milestone "unbiasedness").
  • The constant sup⁡L\sup LsupL. It is any real number with Li≤sup⁡LL_i \le \sup LLi​≤supL almost surely. This is equivalent to the paper's essential supremum, because the bound is increasing in sup⁡L\sup LsupL.
  • Step-size conditions. γ<1/sup⁡L\gamma < 1/\sup Lγ<1/supL is written γ * supL < 1 (and γ≤1/sup⁡L\gamma \le 1/\sup Lγ≤1/supL as γ * supL ≤ 1), with 0<γ0 < \gamma0<γ and 0<μ0 < \mu0<μ.
  • Expectations. E∥xk−x⋆∥2\mathbb E\|x_k - x_\star\|^2E∥xk​−x⋆​∥2 and σ2\sigma^2σ2 are lower Lebesgue integrals in [0,∞][0,\infty][0,∞]: the first over the infinite product law Measure.infinitePi of the index sequence, the second over D\mathcal DD. A non-integrable iterate therefore cannot satisfy the bound vacuously, and σ2=∞\sigma^2 = \inftyσ2=∞ makes the right side ∞\infty∞, which is the paper's meaning.
  • Indexing. x0x_0x0​ is the initial point and xkx_kxk​ is the point after kkk steps.
  • Hypotheses. The co-coercivity lemma carries convexity of fff, which its proof uses and without which it is false. No hypothesis such as ∇fi(x⋆)=0\nabla f_i(x_\star) = 0∇fi​(x⋆​)=0, σ2<∞\sigma^2 < \inftyσ2<∞ or μ≤sup⁡L\mu \le \sup Lμ≤supL is added to the goal.

Infrastructure that a complete development needs, and that is reusable beyond this mission:

  • co-coercivity of gradients of smooth convex functions on Hilbert spaces;
  • differentiation under the expectation for families with uniformly Lipschitz gradients;
  • the tower property for a measurable recursion driven by Measure.infinitePi.

Contributions of any of these as separate lemmas are welcome.

Selected references

  • D. Needell, N. Srebro, R. Ward, Stochastic gradient descent, weighted sampling, and the randomized Kaczmarz algorithm, arXiv:1310.5715v5, 2015 (Mathematical Programming 155, 2016). https://arxiv.org/abs/1310.5715v5
  • F. Bach, E. Moulines, Non-asymptotic analysis of stochastic approximation algorithms for machine learning, NIPS 2011. https://hal.science/hal-00608041
  • T. Strohmer, R. Vershynin, A randomized Kaczmarz algorithm with exponential convergence, J. Fourier Anal. Appl. 15(2):262–278, 2009. https://doi.org/10.1007/s00041-008-9030-4
  • H. Robbins, S. Monro, A stochastic approximation method, Ann. Math. Statist. 22:400–407, 1951. https://doi.org/10.1214/aoms/1177729586
  • Y. Nesterov, Introductory Lectures on Convex Optimization, Kluwer, 2004. https://doi.org/10.1007/978-1-4419-8853-9
8 thms3 active usersReviewed
🏆Completed
Convex OptimizationOptimization·Captain: mikedeng1

A Modern Introduction to Online Learning XI: Constrained Online Convex Optimization Reduces to Unconstrained Learning on Distance-Penalized Surrogate LossesTextbook

Motivation

An online learner repeatedly chooses a point, observes a loss, and is judged by the difference between its accumulated loss and that of a fixed competitor. In practice, an available learner may operate on a broad feasible set WWW, while the application permits decisions only in a smaller set VVV. Replacing each output by a feasible point changes the learner's losses, so its existing regret guarantee no longer directly applies. Chapter 12 of Orabona's text develops reductions that use the learner as a black box: they change the feedback sent to it and recover a guarantee for the constrained predictions.

The chapter treats Euclidean and other norms, Bregman projections, sleeping experts, and the separation of magnitude from direction. This mission focuses on its first general construction, Theorem 12.5. It is useful when the internal update of the learner is unavailable or when a solver wants to reuse one unconstrained algorithm across several constraint sets. The theorem gives four explicit surrogate losses and an explicit bound on their subgradient norms. Orabona, Chapter 12 also explains how its distance based construction relates to regret matching on the simplex.

Setting

Work in a finite-dimensional real vector space EEE with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥. Its continuous dual consists of real-valued linear functionals; g(v)g(v)g(v) is the pairing and ∥g∥∗\|g\|_*∥g∥∗​ is the dual norm. Let V⊆W⊆EV\subseteq W\subseteq EV⊆W⊆E, with VVV nonempty, closed, and convex. The distance to VVV and the generalized projection are

dV(z)=min⁡y∈V∥z−y∥,ΠV(z)={x∈V:∥z−x∥=dV(z)}.d_V(z)=\min_{y\in V}\|z-y\|, \qquad \Pi_V(z)=\{x\in V:\|z-x\|=d_V(z)\}.dV​(z)=y∈Vmin​∥z−y∥,ΠV​(z)={x∈V:∥z−x∥=dV​(z)}.

The minimum exists under these assumptions. A projection need not be unique for an arbitrary norm; the construction accepts any xt∈ΠV(zt)x_t\in\Pi_V(z_t)xt​∈ΠV​(zt​). In round ttt, an underlying learner outputs zt∈Wz_t\in Wzt​∈W, the reduction predicts xt∈Vx_t\in Vxt​∈V, and the environment reveals a real-valued loss ℓt\ell_tℓt​. Choose a subgradient gtg_tgt​ of ℓt\ell_tℓt​ at xtx_txt​ that satisfies the subgradient inequality for competitors in VVV. Choose any full-space subgradient qt∈∂dV(zt)q_t\in\partial d_V(z_t)qt​∈∂dV​(zt​). For a fixed u∈Vu\in Vu∈V, the constrained regret is

Regret⁡T(u)=∑t=1T(ℓt(xt)−ℓt(u)).\operatorname{Regret}_T(u)=\sum_{t=1}^{T}\bigl(\ell_t(x_t)-\ell_t(u)\bigr).RegretT​(u)=t=1∑T​(ℓt​(xt​)−ℓt​(u)).

The surrogate losses are functions passed back to the learner. Their four formulas are the distance-penalized linear loss, its linear form using qtq_tqt​, a distance penalty activated only when gt(xt−zt)>0g_t(x_t-z_t)>0gt​(xt​−zt​)>0, and that activated penalty's linear form. Each is defined on the ambient space, then used on WWW. The projection rule and the selected subgradients are the only information the reduction needs from a run.

Formalization targets

Constrained regret from surrogate regret

For each of the four choices kkk in Theorem 12.5 and every u∈Vu\in Vu∈V, the goal is

Regret⁡T(u)≤∑t=1T(ℓ~t(k)(zt)−ℓ~t(k)(u)).\operatorname{Regret}_T(u) \le \sum_{t=1}^{T}\bigl(\widetilde\ell_t^{(k)}(z_t) -\widetilde\ell_t^{(k)}(u)\bigr).RegretT​(u)≤t=1∑T​(ℓt(k)​(zt​)−ℓt(k)​(u)).

The theorem is pathwise: it applies to any sequence of predictions ztz_tzt​ that the underlying learner could produce. No particular learner or regret rate is built into the target. Equation (12.2) isolates the linearized regret term that each surrogate must cover. The four clauses of Lemma 12.2 establish convexity, the exact Lipschitz constant, the zero subgradient on VVV, and the subdifferential characterization outside VVV.

Surrogate subgradient size

The companion clause of Theorem 12.5 says that every full-space subgradient g~t\widetilde g_tg​t​ of a surrogate at a point of WWW satisfies

∥g~t∥∗≤2∥gt∥∗.\|\widetilde g_t\|_*\le 2\|g_t\|_*.∥g​t​∥∗​≤2∥gt​∥∗​.

The factor 222 is part of the printed result. It applies to all four choices, including the branches at which the activation term vanishes.

Significance

The result transfers a regret guarantee from an algorithm working on WWW to feasible decisions in VVV through a loss transformation. The norm bound makes this transfer quantitative for algorithms whose guarantees depend on subgradient magnitudes: the new losses have controlled scale. Lemma 12.2 is reusable apart from online learning, because it describes distance and subgradients for a closed convex set in any finite-dimensional normed geometry.

Orabona presents these as established mathematical results in Theorem 12.5 and Lemma 12.2. The work here is to give them auditable Lean statements and, subsequently, machine-checked proofs. The chapter's Bregman projection, sleeping-experts, and magnitude/direction reductions are separate results; this proposal leaves them for later missions or additions. A proof of the present goal would make the first black-box reduction reusable without depending on a specific unconstrained learner's implementation.

Difficulty

Simply projecting ztz_tzt​ into VVV leaves an extra term in the linearized regret: the old learner was evaluated at ztz_tzt​ while the actual loss was incurred at xtx_txt​. An arbitrary correction to the feedback can cover that term while destroying convexity or greatly enlarging gradients. The four formulas balance both requirements, and the two activated formulas must also handle the boundary case xt=ztx_t=z_txt​=zt​, where a normalized direction would otherwise divide by zero. Generalized projections create another issue: an argument cannot silently assume one canonical nearest point when the norm is not Euclidean.

Formalization scope

Lean uses a finite-dimensional real normed space and represents dual vectors as continuous linear functionals. Their operator norm is the book's dual norm. The distance is Metric.infDist; nonemptiness keeps its value meaningful, and closedness plus finite dimensionality supplies an attained minimum. Projection is a relation, so all valid choices are covered. Sequences start at index 111; index 000 is unused, and the horizon is explicitly at least one. The original losses are real-valued on the ambient space, with the subgradient inequality required only for comparators in VVV. The distance and surrogate subgradients use the full-space inequality. This matters when WWW has empty interior: a relative subgradient on WWW can have an arbitrary normal component and would make the printed norm bound false.

The underlying algorithm is abstracted by its sequence zt∈Wz_t\in Wzt​∈W; its surrogate regret is exactly the sum on the right of the goal. WWW is allowed to be strictly larger than VVV, so the statement retains the constraint-reduction content. The normalized direction in the third and fourth surrogates appears only in the branch with gt(xt−zt)>0g_t(x_t-z_t)>0gt​(xt​−zt​)>0, which implies xt≠ztx_t\ne z_txt​=zt​. Contributions toward the distance-function lemmas, the surrogate inequalities, and the gradient bound all support the goal. The same geometric definitions can also support later reductions based on other projections.

Selected references

  • Francesco Orabona, Online Learning: A Modern Introduction Using Convex Optimization, arXiv:1912.13213v10, 2026, Chapter 12, pp. 192–205. arXiv
9 thms3 active usersReviewed
PreviousPage 7 of 27Next

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me