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 · 438 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

Open215Completed438All653
🏆Completed
Algorithmic Game TheoryBandit AlgorithmsOperations Research·Captain: mikedeng1

Optimal No-regret Learning in Repeated First-price Auctions 3: Even with Full Information and v_t ≡ 1, Every Bidding Policy Has Worst-Case Expected Regret at Least c√TResearch Paper

Learning to bid in first-price auctions

Most online advertising inventory is sold one impression at a time in automated auctions, and since about 2019 the major ad exchanges have moved from second-price to first-price rules: the highest bidder wins and pays its own bid. A bidder in a first-price auction must trade off winning probability against the price paid, and that trade-off depends on the unknown distribution of competing bids. A bidder who takes part in many such auctions can learn that distribution as it goes. The natural yardstick is regret: the expected shortfall of the bidder's cumulative reward relative to an oracle that knows the distribution of competing bids from the start.

Han, Zhou and Weissman (arXiv:2003.09795, Operations Research, 2025) give bidding policies whose expected regret is O~(T)\widetilde O(\sqrt T)O(T​) over TTT auctions, both for iid and for adversarial private values, under the censored feedback that real exchanges provide (only the winning bid is announced). Their Theorem 9 shows that the T\sqrt TT​ rate cannot be improved, even in a much easier setting. This mission is that lower bound.

Related results put it in context. With binary feedback (only "won" or "lost"), regret of order T2/3T^{2/3}T2/3 is unavoidable (Kleinberg and Leighton, 2003). With a fixed value, repeated first-price bidding is a pricing problem on a one-dimensional action set whose reward (1−b)G(b)(1-b)G(b)(1−b)G(b) need not be continuous in bbb. Theorem 9 shows that the extra information of the full competing bid buys T\sqrt TT​ and nothing better.

Setting

In each round t=1,…,Tt=1,\dots,Tt=1,…,T a bidder has a private value vt∈[0,1]v_t\in[0,1]vt​∈[0,1], submits a bid bt∈[0,1]b_t\in[0,1]bt​∈[0,1], and faces the highest other bid (HOB) mt∈[0,1]m_t\in[0,1]mt​∈[0,1], the largest bid of all competitors. The bidder wins when bt≥mtb_t\ge m_tbt​≥mt​, and its 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 m1,…,mTm_1,\dots,m_Tm1​,…,mT​ 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]. No smoothness is assumed: GGG may have atoms. The expected reward of bid bbb at value vvv 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 the bids b1,…,bTb_1,\dots,b_Tb1​,…,bT​ is

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

A policy π\piπ chooses btb_tbt​ from what it has observed before round ttt, and it may use internal randomness. Theorem 9 makes the problem as easy as possible: the value is vt=1v_t=1vt​=1 in every round, and the HOB mtm_tmt​ is revealed at the end of every round (full information), rather than only when the bidder loses. A policy is then a rule bt=βt(u,m1,…,mt−1)b_t=\beta_t(u,m_1,\dots,m_{t-1})bt​=βt​(u,m1​,…,mt−1​), where uuu is the policy's internal randomness.

The lower bound uses two HOB laws on {1/3,2/3}\{1/3,2/3\}{1/3,2/3}. For Δ∈(0,1/4)\Delta\in(0,1/4)Δ∈(0,1/4), G1G_1G1​ puts mass 12+Δ\tfrac12+\Delta21​+Δ on 1/31/31/3 and 12−Δ\tfrac12-\Delta21​−Δ on 2/32/32/3, and G2G_2G2​ the reverse. Pi⊗TP_i^{\otimes T}Pi⊗T​ is the law of TTT iid HOBs from GiG_iGi​. The total variation distance is ∥P−Q∥TV=12∫∣dP−dQ∣\|P-Q\|_{\mathrm{TV}}=\tfrac12\int|dP-dQ|∥P−Q∥TV​=21​∫∣dP−dQ∣, and DKL(P∥Q)=∫dPlog⁡dPdQD_{\mathrm{KL}}(P\|Q)=\int dP\log\frac{dP}{dQ}DKL​(P∥Q)=∫dPlogdQdP​ is the Kullback–Leibler divergence.

Formalization targets

Goal: Theorem 9 (p. 36)

There is an absolute constant c>0c>0c>0 such that, for every horizon T≥1T\ge1T≥1,

inf⁡πsup⁡G EG[RT(π;v)] ≥ cT,vt≡1,\inf_\pi\sup_G\ \mathbb E_G\bigl[R_T(\pi;v)\bigr]\ \ge\ c\sqrt T,\qquad v_t\equiv 1,πinf​Gsup​ EG​[RT​(π;v)] ≥ cT​,vt​≡1,

where the supremum is over all HOB distributions on [0,1][0,1][0,1] and the infimum is over all full-information policies, randomized ones included. The constant is left unspecified, as in the paper; the paper's proof gives c=1/(24e2)c=1/(24e^2)c=1/(24e2).

Milestones (App. A–B, pp. 36–38)

  1. Oracle rewards (p. 37): with vt=1v_t=1vt​=1, max⁡b(1−b)G1(b)=(1+2Δ)/3\max_b(1-b)G_1(b)=(1+2\Delta)/3maxb​(1−b)G1​(b)=(1+2Δ)/3, max⁡b(1−b)G2(b)=1/3\max_b(1-b)G_2(b)=1/3maxb​(1−b)G2​(b)=1/3 and max⁡b(1−b)(G1+G2)(b)=2/3\max_b(1-b)(G_1+G_2)(b)=2/3maxb​(1−b)(G1​+G2​)(b)=2/3.
  2. Separation (20): for every bid bt∈[0,1]b_t\in[0,1]bt​∈[0,1], the instantaneous regrets under G1G_1G1​ and G2G_2G2​ sum to at least 2Δ/32\Delta/32Δ/3.
  3. Two-point reduction (21): for every policy, 12EG1[RT]+12EG2[RT]≥ΔT3(1−∥P1⊗T−P2⊗T∥TV)\tfrac12\mathbb E_{G_1}[R_T]+\tfrac12\mathbb E_{G_2}[R_T]\ge\frac{\Delta T}{3}\bigl(1-\|P_1^{\otimes T}-P_2^{\otimes T}\|_{\mathrm{TV}}\bigr)21​EG1​​[RT​]+21​EG2​​[RT​]≥3ΔT​(1−∥P1⊗T​−P2⊗T​∥TV​).
  4. Lemma 12: 1−∥P−Q∥TV≥12exp⁡(−(DKL(P∥Q)+DKL(Q∥P))/2)1-\|P-Q\|_{\mathrm{TV}}\ge\tfrac12\exp\bigl(-(D_{\mathrm{KL}}(P\|Q)+D_{\mathrm{KL}}(Q\|P))/2\bigr)1−∥P−Q∥TV​≥21​exp(−(DKL​(P∥Q)+DKL​(Q∥P))/2).
  5. KL computation (p. 37): DKL(P1⊗T∥P2⊗T)=T DKL(G1∥G2)≤32TΔ2D_{\mathrm{KL}}(P_1^{\otimes T}\|P_2^{\otimes T})=T\,D_{\mathrm{KL}}(G_1\|G_2)\le32T\Delta^2DKL​(P1⊗T​∥P2⊗T​)=TDKL​(G1​∥G2​)≤32TΔ2.
  6. (22): 1−∥P1⊗T−P2⊗T∥TV≥12exp⁡(−32TΔ2)1-\|P_1^{\otimes T}-P_2^{\otimes T}\|_{\mathrm{TV}}\ge\tfrac12\exp(-32T\Delta^2)1−∥P1⊗T​−P2⊗T​∥TV​≥21​exp(−32TΔ2).

Significance

The theorem shows that the upper bounds of the paper, CTlog⁡2.5TC\sqrt T\log^{2.5}TCT​log2.5T for iid values and CTlog⁡3TC\sqrt T\log^3TCT​log3T for adversarial values, are optimal up to logarithmic factors. Because the lower bound holds with a constant value and with every HOB revealed, it is not caused by censoring or by the value process. The T\sqrt TT​ comes from the statistical difficulty of locating the maximizer of (1−b)G(b)(1-b)G(b)(1−b)G(b) when GGG is learned from samples. The same lower bound therefore applies to every richer feedback model and every value model that contains the constant sequence.

The milestones are general tools. Lemma 12 (a symmetrised Bretagnolle–Huber inequality), the product rule for KL divergences of iid laws, and the reduction (21) are the standard steps of Le Cam's two-point method. They recur in essentially every minimax lower bound for bandits and online learning.

The theorem has a complete proof in the paper (App. B). As far as is known it has not been machine-checked, and the needed pieces are only partly in Mathlib: there is a Kullback–Leibler divergence with a chain rule, but at the pinned revision there is no total variation distance and no Bretagnolle–Huber or Le Cam inequality. The work is to formalize the known proof.

Difficulty

The arithmetic is elementary, and the difficulty lies in the probabilistic reduction. The first idea, bounding the regret round by round under a single law, fails: for any fixed GGG a policy that happens to bid the right point has zero regret, so the lower bound must come from a policy's inability to know which of two laws it faces. Making that precise requires the law of the observed history (m1,…,mt−1)(m_1,\dots,m_{t-1})(m1​,…,mt−1​) under each hypothesis, the identity ∫min⁡{dP,dQ}=1−∥P−Q∥TV\int\min\{dP,dQ\}=1-\|P-Q\|_{\mathrm{TV}}∫min{dP,dQ}=1−∥P−Q∥TV​, and monotonicity of total variation under marginalization from TTT to t−1t-1t−1 coordinates. A randomized policy adds one more integration, over its internal randomness, before the per-round bound applies. The KL step needs the tensorization of KL over product measures and an elementary but explicit logarithmic inequality.

Formalization scope

All declarations live in the namespace FirstPriceLearning.LowerBound.

  • Time. Rounds are Fin T; Lean round t is paper time t+1t+1t+1.
  • HOB law. A measure μG on ℝ. The goal asks for a probability measure giving no mass outside [0,1][0,1][0,1]. The CDF is (μG (Set.Iic x)).toReal, with atoms allowed.
  • Reward and regret. R(v,b)=(v−b)G(b)R(v,b)=(v-b)G(b)R(v,b)=(v−b)G(b), and the oracle term is the supremum over b∈[0,1]b\in[0,1]b∈[0,1] (a bounded nonempty family, attained). The regret is the pseudo-regret (3), a sum of expected-reward gaps.
  • Policies. A policy carries a probability space (U,μU)(U,\mu_U)(U,μU​), with U : Type, for its internal randomness and bid maps bid t : U → (Fin t → ℝ) → ℝ that are jointly measurable with values in [0,1][0,1][0,1]. The history type Fin t → ℝ makes the policy non-anticipating by construction: it cannot read mtm_tmt​ or later HOBs, and it never sees GGG.
  • Expectation. An integral over u∼μUu\sim\mu_Uu∼μU​ independent of m∼G⊗Tm\sim G^{\otimes T}m∼G⊗T (Measure.prod with Measure.pi).
  • Quantifiers. The goal is stated as ∃c>0 ∀T≥1 ∀π ∃G\exists c>0\ \forall T\ge1\ \forall\pi\ \exists G∃c>0 ∀T≥1 ∀π ∃G, which implies the inf–sup form. The constant precedes TTT and the policy, and the law is chosen after the policy.
  • Divergences. KL is Mathlib's InformationTheory.klDiv, valued in [0,∞][0,\infty][0,∞]. Total variation is defined locally as 12∫∣p−q∣ d(P+Q)\tfrac12\int|p-q|\,d(P+Q)21​∫∣p−q∣d(P+Q) with Radon–Nikodym densities. In Lemma 12 the right-hand side is 000 when a divergence is infinite (exp⁡(−∞)=0\exp(-\infty)=0exp(−∞)=0).
  • Hard laws. G1,G2G_1,G_2G1​,G2​ are explicit two-point measures; the milestones (20)–(22) are stated for Δ∈(0,1/4)\Delta\in(0,1/4)Δ∈(0,1/4) as printed.

Two trivializing formalizations are excluded. A policy that observes mtm_tmt​ (or GGG) before bidding would make the bound false rather than trivial, and the types forbid it. A non-measurable bid map would make the expectation the junk value 000, and measurability is required. Restricting the policy class to deterministic policies, or reading (∞).toReal=0(\infty).\mathrm{toReal}=0(∞).toReal=0 in Lemma 12, would change the theorem and is not done.

Reusable beyond this mission: the total variation distance, Lemma 12, and the tensorization bound for KL. Contributions are welcome at every milestone, especially Lemma 12 and the data-processing step behind (21).

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
  • A. B. Tsybakov, Introduction to Nonparametric Estimation, Springer, 2009 (Lemma 2.6). https://doi.org/10.1007/b13794
  • J. Bretagnolle, C. Huber, Estimation des densités: risque minimax, Z. Wahrscheinlichkeitstheorie verw. Gebiete 47, 1979. https://doi.org/10.1007/BF00535278
  • R. Kleinberg, T. Leighton, The Value of Knowing a Demand Curve: Bounds on Regret for Online Posted-Price Auctions, FOCS, 2003. https://doi.org/10.1109/SFCS.2003.1238232
12 thms2 active usersReviewed
🏆Completed
Bandit AlgorithmsOperations Research·Captain: mikedeng1

Optimal No-regret Learning in Repeated First-price Auctions 5: With Adversarial Contexts and K = (α+1)M ≤ T^(1/3), Every Policy for Partially Ordered Contextual Bandits Has Regret ≥ √(KT)/(32e³)Research Paper

Motivation

A bidder in repeated first-price auctions faces a learning problem with two kinds of side information. Their private value is a context that changes every round, and the outcome of one bid reveals something about other bids (graph feedback across actions) and about other values (cross learning across contexts). Han, Zhou and Weissman (arXiv:2003.09795v7) abstract this structure into partially ordered contextual bandits and show that, when contexts are iid, an arm-elimination policy has regret O~(αβT)\widetilde O(\sqrt{\alpha\beta T})O(αβT​) (Theorem 5), with no polynomial dependence on the number of contexts or actions.

Theorem 6 of the same paper asks whether this survives when contexts are chosen by an adversary. It does not: with adversarial contexts every policy suffers regret polynomial in min⁡{αM,K}\min\{\alpha M, K\}min{αM,K}. This separation is what forces the paper to look beyond the partially ordered structure for its O~(T)\widetilde O(\sqrt T)O(T​) adversarial-value result (Theorem 2). The lower bound is also of independent interest for contextual bandits with cross learning (Balseiro et al., NeurIPS 2019) and with feedback graphs (Alon et al., COLT 2015).

Setting

A stochastic contextual bandit with graph feedback and cross learning (Definition 2, p. 14) has a horizon TTT, MMM contexts C\mathcal CC, KKK actions A\mathcal AA, a joint reward law PPP on [0,1]C×A[0,1]^{\mathcal C\times\mathcal A}[0,1]C×A with means Rc,aR_{c,a}Rc,a​, and a directed graph G=(A,E)G=(\mathcal A,E)G=(A,E) without self-loops. In round ttt the learner sees a context ctc_tct​, picks ata_tat​, nature draws a fresh reward vector rt∼Pr_t\sim Prt​∼P, and the learner observes rt,c,ar_{t,c,a}rt,c,a​ for every context ccc and every a∈It={at}∪{a:(at,a)∈E}a\in I_t=\{a_t\}\cup\{a:(a_t,a)\in E\}a∈It​={at​}∪{a:(at​,a)∈E}. The regret (5) is

RT(π)=∑t=1T(max⁡a∈ARct,a−Rct,at).R_T(\pi)=\sum_{t=1}^T\Big(\max_{a\in\mathcal A}R_{c_t,a}-R_{c_t,a_t}\Big).RT​(π)=t=1∑T​(a∈Amax​Rct​,a​−Rct​,at​​).

The independence number α\alphaα of GGG is the size of a largest set of actions with no edge between any two of them; for a partial order, β\betaβ is the size of a largest set of pairwise incomparable elements.

The instance is a partially ordered contextual bandit (Definition 3, pp. 16–17) if GGG is a DAG equal to its own transitive closure, so that a1⪯Ga2a_1\preceq_G a_2a1​⪯G​a2​ iff a1=a2a_1=a_2a1​=a2​ or (a1,a2)∈E(a_1,a_2)\in E(a1​,a2​)∈E is a partial order, and there is a partial order ⪯C\preceq_{\mathcal C}⪯C​ on contexts with c1⪯Cc2⇒a⋆(c1)⪯Ga⋆(c2)c_1\preceq_{\mathcal C}c_2\Rightarrow a^\star(c_1)\preceq_G a^\star(c_2)c1​⪯C​c2​⇒a⋆(c1​)⪯G​a⋆(c2​) for optimal actions a⋆(c)∈arg⁡max⁡aRc,aa^\star(c)\in\arg\max_a R_{c,a}a⋆(c)∈argmaxa​Rc,a​.

A policy π\piπ chooses ata_tat​ from its internal randomness, the contexts c1,…,ctc_1,\dots,c_tc1​,…,ct​ and the earlier observations. The context sequence is oblivious: fixed in advance, possibly depending on π\piπ but not on its random draws.

Formalization targets

Goal: Theorem 6 in the regime of its proof

For integers α≥1\alpha\ge1α≥1, M≥1M\ge1M≥1, with K=(α+1)MK=(\alpha+1)MK=(α+1)M, K3≤TK^3\le TK3≤T and M∣TM\mid TM∣T: there is a feedback graph GGG on KKK actions with independence number α\alphaα such that for every policy π\piπ there are a reward law PPP (making (G,P)(G,P)(G,P) partially ordered with the total order on contexts, β=1\beta=1β=1) and contexts (ct)(c_t)(ct​) with

E[RT(π)] ≥ KT32e3.\mathbb E[R_T(\pi)]\ \ge\ \frac{\sqrt{KT}}{32e^3}.E[RT​(π)] ≥ 32e3KT​​.

Because αM≤K\alpha M\le KαM≤K, this is at least 132e3min⁡{αMT,KT,T2/3}\frac1{32e^3}\min\{\sqrt{\alpha MT},\sqrt{KT},T^{2/3}\}32e31​min{αMT​,KT​,T2/3}, the printed form of Theorem 6, in this regime.

Milestones

Along the proof (pp. 22–24): the construction is a partially ordered contextual bandit with β=1\beta=1β=1 and independence number α\alphaα; properties 1–4 of the mean rewards; property 5, the KL divergence of the observed rewards; the regret decomposition (7); the testing lemma (Lemma 13, p. 36)

1n∑i=1nQi(Ψ≠i) ≥ 12n∑i=2ne−DKL(Q1∥Qi);\frac1n\sum_{i=1}^nQ_i(\Psi\ne i)\ \ge\ \frac1{2n}\sum_{i=2}^n e^{-D_{\mathrm{KL}}(Q_1\|Q_i)};n1​i=1∑n​Qi​(Ψ=i) ≥ 2n1​i=2∑n​e−DKL​(Q1​∥Qi​);

the self-referential inequality (8)

RT ≥ KT16e3exp⁡(−16KRT3T),RT=max⁡uEu[RT(π)];R_T\ \ge\ \frac{\sqrt{KT}}{16e^3}\exp\Big(-\frac{16KR_T}{3T}\Big),\qquad R_T=\max_u\mathbb E_u[R_T(\pi)];RT​ ≥ 16e3KT​​exp(−3T16KRT​​),RT​=umax​Eu​[RT​(π)];

and the final step RT≥KT/(32e3)R_T\ge\sqrt{KT}/(32e^3)RT​≥KT​/(32e3).

Significance

The theorem separates stochastic from adversarial contexts. Under iid contexts, Theorem 5 gives O~(αβT)\widetilde O(\sqrt{\alpha\beta T})O(αβT​); with adversarial contexts, even when β=1\beta=1β=1, regret must grow like αMT\sqrt{\alpha MT}αMT​, matching the upper bound of Theorem 4 up to logarithms. For first-price auctions with adversarial values (Remark 2), the bound shows that the partially ordered structure alone cannot give O~(T)\widetilde O(\sqrt T)O(T​); the paper's O~(T)\widetilde O(\sqrt T)O(T​) algorithm must use the extra correlation of auction rewards.

The paper proves the theorem in full. As far as we know, none of it has been formalized; in particular, no machine-checked version of a Bayesian multi-hypothesis lower bound for bandits with graph feedback and cross learning exists. A formal proof will produce reusable pieces: Lemma 13 is a general testing inequality; the KL chain rule for adaptively collected bandit observations, with feedback revealed on a graph, is needed for any information-theoretic bandit lower bound; and the interaction model is shared with the paper's upper bounds.

Difficulty

The standard minimax argument for KKK-armed bandits compares two instances that differ in one arm, and the regret follows directly from a testing error. Here that argument fails: feedback graphs and cross learning mean that pulling one arm can reveal everything, and a policy may pay to explore. The proof instead plays a uniform prior over (α+1)M(\alpha+1)^M(α+1)M instances and obtains an inequality in which the maximal regret RTR_TRT​ appears on both sides, (8). If the regret is small, the policy has not explored enough to tell the instances apart, which in turn forces large regret. Making this rigorous requires the chain rule of KL divergence over the adaptively chosen observations, the specific ordering of contexts (decreasing over blocks, so early observations say nothing about late optimal actions), and the regime K3≤TK^3\le TK3≤T to close the self-referential bound.

Formalization scope

  • Contexts are Fin M, rounds Fin T (paper index = Lean index + 1). The goal uses actions Fin K; the construction uses Fin M × Fin (α + 1), with j=0j=0j=0 the action (i,0)(i,0)(i,0).
  • A reward law is a measure on Fin M → A → ℝ. Definition 2 requires a probability measure carried by [0,1]M×K[0,1]^{M\times K}[0,1]M×K and a graph without self-loops. Means are integrals, and max⁡a\max_amaxa​ is a supremum over the finite action set.
  • Definition 3's "DAG equal to its transitive closure" is encoded as "no self-loops and transitive". The printed arg⁡max⁡\arg\maxargmax is read as a selection of maximisers.
  • Independence numbers are exact: a set of the given size exists, and none is larger.
  • Policies are randomized and non-anticipating. The action is a measurable function of the internal randomness (an arbitrary probability space), the contexts so far and the past observations, and the argument types enforce non-anticipation. An observation is the reward vector with unrevealed coordinates set to 000; the learner knows its own action, so this carries exactly the revealed rewards. Deterministic-only policies would give a weaker theorem, and they are not the class used.
  • Expected regret integrates over the internal randomness and iid reward vectors, with the context sequence fixed.
  • KL divergence is Mathlib's [0,∞][0,\infty][0,∞]-valued klDiv. In Lemma 13, e−∞e^{-\infty}e−∞ is read as 000, so an infinite divergence cannot be truncated to 000 and inflate the right side.
  • The reduction from general (M,K,T)(M,K,T)(M,K,T) by "dummy contexts and actions" (p. 21) is not formalized. It needs min⁡{K,(α+1)M,T1/3}≥α+1\min\{K,(\alpha+1)M,T^{1/3}\}\ge\alpha+1min{K,(α+1)M,T1/3}≥α+1, and the printed theorem is false at K=1K=1K=1. The hypotheses M∣TM\mid TM∣T and α≥1\alpha\ge1α≥1 replace the paper's "without loss of generality".
  • Property 5 assumes uc≠0u_c\neq0uc​=0, because for uc=0u_c=0uc​=0 the two laws coincide. (7) is stated for each uuu, which implies the printed form for the maximum.

Needed infrastructure: Bernoulli product measures and their KL divergence, the KL chain rule for the law of an adaptive interaction, and a Bretagnolle–Huber-type inequality. Contributions of these general lemmas, and of the measurability facts for the interaction, 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. https://arxiv.org/abs/2003.09795
  • Z. Gao, Y. Han, Z. Ren, Z. Zhou, Batched Multi-armed Bandits Problem, NeurIPS 2019 (source of Lemma 13). https://arxiv.org/abs/1904.01763
  • S. Balseiro, N. Golrezaei, M. Mahdian, V. Mirrokni, J. Schneider, Contextual Bandits with Cross-learning, NeurIPS 2019. https://arxiv.org/abs/1809.09582
  • N. Alon, N. Cesa-Bianchi, O. Dekel, T. Koren, Online Learning with Feedback Graphs: Beyond Bandits, COLT 2015. https://arxiv.org/abs/1502.07617
  • A. B. Tsybakov, Introduction to Nonparametric Estimation, Springer, 2009. https://doi.org/10.1007/b13794
12 thms2 active usersReviewed
🏆Completed
Algorithmic Game TheoryBandit AlgorithmsOperations Research·Captain: mikedeng1

Optimal No-regret Learning in Repeated First-price Auctions 6: If the HOB Law Switches at an Unknown Value Threshold, Every Bidding Policy Has Regret Ω(T)Research Paper

Motivation

In a first-price auction the highest bidder wins and pays her own bid. Display advertising moved to first-price auctions around 2019, and a bidder who participates in millions of them faces a learning problem: at each round ttt she sees a private value vt∈[0,1]v_t\in[0,1]vt​∈[0,1] for the item, bids bt∈[0,1]b_t\in[0,1]bt​∈[0,1], and wins when btb_tbt​ is at least the highest other bid (HOB) mtm_tmt​, earning (vt−bt)1(bt≥mt)(v_t-b_t)\mathbb 1(b_t\ge m_t)(vt​−bt​)1(bt​≥mt​). Since the HOB is unknown, she must learn how much to shade her bid.

Han, Zhou and Weissman (arXiv:2003.09795v7, Operations Research, 2025) show that when the HOBs are iid draws from an unknown distribution, a bidder can achieve regret O~(T)\widetilde O(\sqrt T)O(T​) against the oracle that knows the distribution, whether the values are iid or chosen by an oblivious adversary, and with only censored feedback. Their §2.2 justifies the iid assumption by the size of the bidder population, and notes that learning "could become impossible even when the iid assumption is only slightly violated". Section 5.2 makes this precise. This mission formalizes that impossibility result, Theorem 8.

Setting

Fix a horizon TTT. Values v=(v1,…,vT)∈[0,1]Tv=(v_1,\dots,v_T)\in[0,1]^Tv=(v1​,…,vT​)∈[0,1]T form an oblivious sequence, fixed in advance. Fix two probability laws P,QP,QP,Q on [0,1][0,1][0,1] and a threshold v⋆v^\starv⋆. The HOBs are independent across rounds with

mt∼P  if vt<v⋆,mt∼Q  if vt≥v⋆.m_t\sim P\ \text{ if } v_t<v^\star,\qquad m_t\sim Q\ \text{ if } v_t\ge v^\star .mt​∼P  if vt​<v⋆,mt​∼Q  if vt​≥v⋆.

Feedback is full information: mtm_tmt​ is revealed at the end of round ttt. The laws P,QP,QP,Q are known to the bidder; only v⋆v^\starv⋆ is not.

The payoff of bid bbb against HOB mmm at value vvv is r(v,b;m)=(v−b)1(b≥m)r(v,b;m)=(v-b)\mathbb 1(b\ge m)r(v,b;m)=(v−b)1(b≥m) (ties are won). For a law μ\muμ of the HOB with CDF GGG, 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 oracle reward is max⁡b∈[0,1]R(v,b)\max_{b\in[0,1]}R(v,b)maxb∈[0,1]​R(v,b).

A policy π\piπ draws internal randomness uuu once and bids bt=πt(u;v1,…,vt;m1,…,mt−1)∈[0,1]b_t=\pi_t(u;v_1,\dots,v_t;m_1,\dots,m_{t-1})\in[0,1]bt​=πt​(u;v1​,…,vt​;m1​,…,mt−1​)∈[0,1]. Its expected regret is

E[RT(π;v⋆,v)]=∑t=1T(max⁡b∈[0,1]Em∼Lt[(vt−b)1(b≥m)]−E[(vt−bt)1(bt≥mt)]),\mathbb E[R_T(\pi;v^\star,v)]=\sum_{t=1}^T\Big(\max_{b\in[0,1]}\mathbb E_{m\sim L_t}\big[(v_t-b)\mathbb 1(b\ge m)\big]-\mathbb E\big[(v_t-b_t)\mathbb 1(b_t\ge m_t)\big]\Big),E[RT​(π;v⋆,v)]=t=1∑T​(b∈[0,1]max​Em∼Lt​​[(vt​−b)1(b≥m)]−E[(vt​−bt​)1(bt​≥mt​)]),

with Lt=PL_t=PLt​=P if vt<v⋆v_t<v^\starvt​<v⋆ and Lt=QL_t=QLt​=Q otherwise: the oracle knows v⋆v^\starv⋆ and bids optimally at every round.

Formalization targets

Goal: Theorem 8 (p. 34)

There are an absolute constant c>0c>0c>0 and laws P,QP,QP,Q on [0,1][0,1][0,1] such that for every TTT and every policy π\piπ there are a threshold v⋆∈[0,1]v^\star\in[0,1]v⋆∈[0,1] and values v∈[0,1]Tv\in[0,1]^Tv∈[0,1]T with

E[RT(π;v⋆,v)] ≥ c T.\mathbb E[R_T(\pi;v^\star,v)]\ \ge\ c\,T .E[RT​(π;v⋆,v)] ≥ cT.

The constant is existential, which is the paper's Ω(T)\Omega(T)Ω(T); the value 1/161/161/16 obtained in the paper's argument is not hard-coded.

Milestones (p. 34)

The paper's argument consists of a hard family indexed by signs u∈{±1}Tu\in\{\pm1\}^Tu∈{±1}T, with thresholds f(u)=12+14∑tut/2tf(u)=\frac12+\frac14\sum_t u_t/2^tf(u)=21​+41​∑t​ut​/2t and values v1=12v_1=\frac12v1​=21​, vt+1=vt+ut/2t+2v_{t+1}=v_t+u_t/2^{t+2}vt+1​=vt​+ut​/2t+2, and four displayed claims:

  1. the lexicographic order f(…,ut−1,1,… )>f(…,ut−1,−1,… )f(\dots,u_{t-1},1,\dots)>f(\dots,u_{t-1},-1,\dots)f(…,ut−1​,1,…)>f(…,ut−1​,−1,…);
  2. the sign identity sign⁡(vt−v⋆)=−sign⁡(ut)\operatorname{sign}(v_t-v^\star)=-\operatorname{sign}(u_t)sign(vt​−v⋆)=−sign(ut​) for v⋆=f(u)v^\star=f(u)v⋆=f(u);
  3. the oracle reward vt−mtv_t-m_tvt​−mt​ with mt=181(vt≥v⋆)m_t=\frac18\mathbb 1(v_t\ge v^\star)mt​=81​1(vt​≥v⋆) under P=δ0P=\delta_0P=δ0​, Q=δ1/8Q=\delta_{1/8}Q=δ1/8​, and vt∈[14,34]v_t\in[\frac14,\frac34]vt​∈[41​,43​];
  4. the posterior-reward bound Em∼Unif{0,1/8}[(v−b)1(b≥m)]≤v−18\mathbb E_{m\sim\mathrm{Unif}\{0,1/8\}}[(v-b)\mathbb 1(b\ge m)]\le v-\frac18Em∼Unif{0,1/8}​[(v−b)1(b≥m)]≤v−81​ for v≥14v\ge\frac14v≥41​;

and the Bayesian bound: averaged over uniform uuu, every policy has expected regret at least T/16T/16T/16.

Significance

The result. The upper bounds of the paper rely on the HOBs being iid and independent of the bidder's value. Theorem 8 shows that this cannot be relaxed to a mild form of dependence: one threshold, two known laws and full-information feedback already force linear regret against the per-round oracle. The paper concludes that a weaker benchmark is needed once HOBs may depend on values, and leaves that benchmark open.

Formalizing it. The theorem is proved in the paper, on one page; it is not known to be machine-checked. A formal proof pins down the quantifier order (the constant and the laws chosen before the policy, the threshold and values after it), the policy class (randomized, full information) and the treatment of ties, and it provides a reusable model of non-anticipating randomized bidding policies with full-information feedback.

Difficulty

The obvious attempt is to fix a threshold and values and argue that the bidder cannot know on which side of v⋆v^\starv⋆ each vtv_tvt​ falls. For any fixed instance this fails: a policy can be tuned to that instance and bid optimally, with zero regret. The lower bound must therefore pass through an average over a family of instances. The family has to make the side of the threshold at round ttt independent of everything the bidder has seen up to round ttt, including the past HOBs, which in full information reveal the past sides exactly. The dyadic construction does this. The formal difficulty is the bookkeeping: expressing the expected regret of an arbitrary randomized policy as an integral over its internal randomness and the HOBs, and exchanging the average over uuu with that integral so that the conditional uniformity of mtm_tmt​ can be used.

Formalization scope

  • Time. Rounds are Fin T; Lean round ttt is the paper's round t+1t+1t+1.
  • Laws and CDF. HOB laws are Measure ℝ, with probability and support in [0,1][0,1][0,1] required of the existential witnesses P,QP,QP,Q. The CDF is G(x)=μ((−∞,x])G(x)=\mu((-\infty,x])G(x)=μ((−∞,x]). Atoms are allowed, as in the paper; the construction uses point masses.
  • Oracle. max⁡b∈[0,1]R(v,b)\max_{b\in[0,1]}R(v,b)maxb∈[0,1]​R(v,b) is the supremum over the subtype [0,1][0,1][0,1]; no arg max bP⋆(v)b^\star_P(v)bP⋆​(v) is chosen. The paper's two-term regret 1(vt<v⋆)EP[⋅]+1(vt≥v⋆)EQ[⋅]\mathbb 1(v_t<v^\star)\mathbb E_P[\cdot]+\mathbb 1(v_t\ge v^\star)\mathbb E_Q[\cdot]1(vt​<v⋆)EP​[⋅]+1(vt​≥v⋆)EQ​[⋅] is written with the law LtL_tLt​.
  • Policies. A structure with a probability space of internal randomness and, for each round, a jointly measurable bid map of the randomness, v1,…,vtv_1,\dots,v_tv1​,…,vt​ and m1,…,mt−1m_1,\dots,m_{t-1}m1​,…,mt−1​, with values in [0,1][0,1][0,1]. The types prevent reading mtm_tmt​ or v⋆v^\starv⋆. Deterministic policies are the case of a one-point randomness space.
  • Expectation. The bidder's expected payoff at round ttt is a Bochner integral over the product of the policy's randomness law and the product law of (m1,…,mT)(m_1,\dots,m_T)(m1​,…,mT​). A local check confirms that this integrand is measurable and bounded, so the integral is never Lean's junk value 000, which would trivialize the lower bound.
  • Knowledge of (P,Q)(P,Q)(P,Q). The laws are fixed before TTT and π\piπ; a policy chosen afterwards may depend on them. This encodes "revealed to the bidder" and is stronger than choosing (P,Q)(P,Q)(P,Q) after π\piπ.
  • Ties. 1(b≥m)\mathbb 1(b\ge m)1(b≥m) throughout; the oracle bids b=mt=1/8b=m_t=1/8b=mt​=1/8 and wins.

A formalization in which the threshold or the values are chosen before the policy, the bid reads mtm_tmt​, the expected payoff is not integrable, or the oracle bids a fixed price, is a different and easier statement; all four are excluded by the definitions above.

Contributions welcome: proofs of the four displayed claims (elementary real analysis on dyadic sums and on point masses), the Bayesian bound (the measure-theoretic core), and the step from the Bayesian bound to the goal. The policy and regret definitions are reusable for other full-information lower bounds in this series.

Selected references

  • Y. Han, Z. Zhou, T. Weissman, Optimal No-regret Learning in Repeated First-price Auctions, Operations Research, 2025; read as arXiv:2003.09795v7, §5.2, pp. 33–34. https://arxiv.org/abs/2003.09795
9 thms2 active usersReviewed
Bandit AlgorithmsOperations Research·Captain: mikedeng1

Optimal No-regret Learning in Repeated First-price Auctions 4: Arm Elimination with Graph Feedback and Cross Learning Has Regret Õ(T ∧ √(αMT) ∧ √(KT)) with High ProbabilityResearch Paper

Motivation

In many sequential decision problems, playing one action reveals the outcome of other actions too. A bidder in a first-price auction who bids bbb and sees the winning price learns whether every bid at or above that price would have won. A recommender that shows one item learns something about related items. Two kinds of side information recur. Graph feedback across actions: playing action aaa also reveals the rewards of the out-neighbours of aaa in a directed graph GGG (Mannor and Shamir 2011; Alon, Cesa-Bianchi, Dekel and Koren 2015). Cross learning across contexts: the reward of the chosen action is revealed under every context, not only the current one (Balseiro, Golrezaei, Mahdian, Mirrokni and Schneider 2019).

Han, Zhou and Weissman (arXiv:2003.09795v7) reduce learning to bid in repeated first-price auctions to a contextual bandit with both structures. Their §3 starts from a simple arm-elimination algorithm that exploits graph feedback (Algorithm 1) and extends it to contexts with cross learning (Algorithm 2). This mission formalizes that layer: the algorithms, their concentration lemma, and their high-probability regret bounds (Theorems 3 and 4).

Timeline:

  • 2011: Mannor and Shamir introduce bandits with side observations given by a graph.
  • 2015: Alon, Cesa-Bianchi, Dekel and Koren show that for adversarial bandits with a directed feedback graph the minimax regret is Θ~(αT)\tilde\Theta(\sqrt{\alpha T})Θ~(αT​), with α\alphaα the independence number; their Lemma 8 bounds the weak domination number by 50αlog⁡n50\alpha\log n50αlogn.
  • 2016–2020: Cohen, Hazan and Koren, and Lykouris, Tardos and Wali, give elimination-type algorithms for stochastic bandits with graph feedback.
  • 2019: Balseiro et al. introduce cross learning and obtain O~(KT)\tilde O(\sqrt{KT})O~(KT​) regret.
  • 2020–2024: Han, Zhou and Weissman obtain O~(min⁡{αM,K}T)\tilde O(\sqrt{\min\{\alpha M, K\}T})O~(min{αM,K}T​) for both structures together (this mission) and use it for first-price auctions.

Setting

A stochastic contextual bandit with graph feedback and cross learning (Definition 2) has a horizon TTT, contexts C=[M]\mathcal C = [M]C=[M], actions A=[K]\mathcal A = [K]A=[K], a joint reward law PPP supported on [0,1]M×K[0,1]^{M\times K}[0,1]M×K with mean rewards Rc,aR_{c,a}Rc,a​, and a directed graph G=(A,E)G = (\mathcal A, E)G=(A,E) without self-loops. In round ttt a context ctc_tct​ is revealed, the learner picks ata_tat​, nature draws rt=(rt,c,a)c,ar_t = (r_{t,c,a})_{c,a}rt​=(rt,c,a​)c,a​ iid from PPP, and the learner observes rt,c,ar_{t,c,a}rt,c,a​ for every c∈Cc \in \mathcal Cc∈C and every a∈It={at}∪{a:(at,a)∈E}a \in I_t = \{a_t\}\cup\{a : (a_t,a)\in E\}a∈It​={at​}∪{a:(at​,a)∈E}. The regret (5) is

RT(π)=∑t=1T(max⁡a∈ARct,a−Rct,at).R_T(\pi) = \sum_{t=1}^T\Big(\max_{a\in\mathcal A}R_{c_t,a} - R_{c_t,a_t}\Big).RT​(π)=t=1∑T​(a∈Amax​Rct​,a​−Rct​,at​​).

Definition 1 is the case M=1M = 1M=1, with regret (4). The independence number α\alphaα of GGG is the largest size of a set of actions with no edge between any two of them.

Algorithm 2 keeps for each context ccc an active set Aact,c\mathcal A_{\mathrm{act},c}Aact,c​ and a minimum count NcN_cNc​, and for each action aaa a count nan_ana​ shared by all contexts. In each round it plays an action of A0,ct={a∈Aact,ct:na=Nct}\mathcal A_{0,c_t} = \{a\in\mathcal A_{\mathrm{act},c_t} : n_a = N_{c_t}\}A0,ct​​={a∈Aact,ct​​:na​=Nct​​}, either of largest out-degree in the graph restricted to A0,ct\mathcal A_{0,c_t}A0,ct​​ (Option I) or of in-degree zero there (Option II, for DAGs). When every active action of context ccc has been observed more than NcN_cNc​ times, the active set drops the actions whose empirical reward falls below the best by more than 6log⁡(2T)log⁡(MKT/δ)/Nc6\sqrt{\log(2T)\log(MKT/\delta)/N_c}6log(2T)log(MKT/δ)/Nc​​. Algorithm 1 is the case M=1M = 1M=1.

Formalization targets

Goal: Theorem 4

With probability at least 1−δ1-\delta1−δ, writing L=log⁡(2T)log⁡(MKT/δ)L = \log(2T)\log(MKT/\delta)L=log(2T)log(MKT/δ),

RT(π)≤T∧(K+24KTL)∧{50αM(log⁡K)2+24log⁡K50αMTLOption I,αM+24αMTLOption II, G a DAG,R_T(\pi)\le T\wedge\big(K+24\sqrt{KTL}\big)\wedge\begin{cases}50\alpha M(\log K)^2+24\log K\sqrt{50\alpha MTL} & \text{Option I},\\ \alpha M+24\sqrt{\alpha MTL} & \text{Option II, }G\text{ a DAG,}\end{cases}RT​(π)≤T∧(K+24KTL​)∧{50αM(logK)2+24logK50αMTL​αM+24αMTL​​Option I,Option II, G a DAG,​

for every context sequence and every tie-breaking rule.

Milestones

  • Lemma 1 (p. 13): with probability 1−δ1-\delta1−δ, ∣rˉat−Ra∣≤3log⁡(2T)log⁡(KT/δ)/nat|\bar r^t_a - R_a|\le 3\sqrt{\log(2T)\log(KT/\delta)/n^t_a}∣rˉat​−Ra​∣≤3log(2T)log(KT/δ)/nat​​ for all rounds and all observed actions of Algorithm 1.
  • Lemma 10 (p. 35): a directed graph on n≥2n\ge2n≥2 vertices with independence number α\alphaα has a weakly dominating set of size at most 50αlog⁡n50\alpha\log n50αlogn.
  • Theorem 3 (p. 13): the one-context bound T∧(50α(log⁡K)2+24log⁡K50αTlog⁡(2T)log⁡(KT/δ))T\wedge(50\alpha(\log K)^2+24\log K\sqrt{50\alpha T\log(2T)\log(KT/\delta)})T∧(50α(logK)2+24logK50αTlog(2T)log(KT/δ)​) (Option I), resp. T∧(α+24αTlog⁡(2T)log⁡(KT/δ))T\wedge(\alpha+24\sqrt{\alpha T\log(2T)\log(KT/\delta)})T∧(α+24αTlog(2T)log(KT/δ)​) (Option II).
  • Lemma 1, contextual form (p. 16): the same concentration for Algorithm 2, uniformly over contexts, with log⁡(MKT/δ)\log(MKT/\delta)log(MKT/δ).

Significance

Theorem 4 shows that one algorithm attains, up to logarithmic factors, the better of two regret rates: KT\sqrt{KT}KT​, available from cross learning alone, and αMT\sqrt{\alpha MT}αMT​, available from graph feedback alone. The paper then shows (Theorem 6) that with adversarial contexts nothing better than min⁡{αMT,KT,T2/3}\min\{\sqrt{\alpha MT},\sqrt{KT},T^{2/3}\}min{αMT​,KT​,T2/3} is possible, while with stochastic contexts and a partial order a variant reaches O~(T)\tilde O(\sqrt T)O~(T​) for first-price auctions. Algorithm 2 is the building block of that variant.

The results are proved in the paper; none is formalized. A formal development produces machine-checked versions of a concentration inequality with a random number of observations, of a domination bound for directed graphs, and of an elimination analysis with shared counts across contexts. Four printed statements need correction, and the formal statements record the corrected forms: the constant 333 in Theorem 4's second bound (the printed proof gives 242424); Lemma 10, which is false for n=1n = 1n=1 and for edgeless graphs as worded; Lemma 1, which fails for K=T=1K = T = 1K=T=1 and δ\deltaδ close to 111 (excluded by KT≥2KT \ge 2KT≥2); and the pseudocode of Algorithms 1–2, whose update Nc←Nc+1N_c \leftarrow N_c + 1Nc​←Nc​+1 can leave A0,c\mathcal A_{0,c}A0,c​ empty after an elimination (the formalization keeps the text's invariant Nc=min⁡a∈Aact,cnaN_c = \min_{a \in \mathcal A_{\mathrm{act},c}} n_aNc​=mina∈Aact,c​​na​, and coincides with the printed algorithm wherever the latter is defined).

Difficulty

The observations of an action are not a fixed sample: how often and when action aaa is revealed depends on earlier rewards through the algorithm's choices. A union bound with Hoeffding's inequality at a fixed sample size does not apply directly, and Lemma 1 needs a self-normalized martingale inequality.

For Option I, the obvious bound on how long it takes to observe every least-pulled action once more is ∣A0∣|\mathcal A_0|∣A0​∣ rounds, which gives only KT\sqrt{KT}KT​. Getting α\alphaα instead of KKK requires that a vertex of largest out-degree covers a 1/(50αlog⁡K)1/(50\alpha\log K)1/(50αlogK) fraction of the remaining vertices; this is the content of Lemma 10, a probabilistic-method bound that is not in Mathlib. For contexts, the per-context analyses must be combined while counts are shared, and the bound in KKK needs a per-action rather than a per-context accounting.

Formalization scope

  • Actions Fin K, contexts Fin M, rounds Fin T; paper round ttt is Lean index t−1t-1t−1. The feedback graph is a relation E with no self-loops; "independence number α\alphaα" is the hypothesis that every independent set has at most α\alphaα elements (all bounds increase in α\alphaα).
  • The reward law is a probability measure on Fin M → Fin K → ℝ carried by [0,1]M×K[0,1]^{M\times K}[0,1]M×K; rewards are iid across rounds (Measure.pi). The regret is the pseudo-regret with means Rc,a=∫rc,a dPR_{c,a}=\int r_{c,a}\,dPRc,a​=∫rc,a​dP.
  • "With probability at least 1−δ1-\delta1−δ" is: the outer measure of the bad event under P⊗TP^{\otimes T}P⊗T is at most δ\deltaδ. The context sequence is fixed in advance (oblivious adversary); stochastic contexts independent of the rewards follow by conditioning.
  • "Break ties arbitrarily" is a tie-breaking rule that sees the round, the algorithm's state (including the learner's whole observation history) and the context; the theorems hold for every rule that picks a member of every nonempty set.
  • The minimum count NcN_cNc​ follows the text's definition Nc=min⁡a∈Aact,cnaN_c = \min_{a\in\mathcal A_{\mathrm{act},c}}n_aNc​=mina∈Aact,c​​na​. The printed update Nc←Nc+1N_c\leftarrow N_c+1Nc​←Nc​+1 can leave A0,c\mathcal A_{0,c}A0,c​ empty after an elimination (for example with edges a→ba\to ba→b and c→bc\to bc→b, when aaa and ccc are eliminated), where the printed algorithm is undefined. The formal algorithm agrees with the printed one wherever the latter is defined.
  • Lemma 1 quantifies over nat≥1n^t_a\ge1nat​≥1 and excludes K=T=1K = T = 1K=T=1, where it is false for δ\deltaδ close to 111.
  • Ruled out: replacing the three-way minimum by a single bound, restricting to a fixed tie-breaking rule, or to stochastic contexts.

Welcome contributions: the self-normalized inequality of de la Peña, Klass and Lai (Lemma 11), Lemma 10, invariants of Algorithm 2 (the active sets stay nonempty and contain an optimal action on the good event), and the deterministic regret accounting given the concentration event.

Selected references

  • Y. Han, Z. Zhou, T. Weissman, Optimal No-regret Learning in Repeated First-price Auctions, arXiv:2003.09795v7, 2024; Operations Research, 2025. 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. Mannor, O. Shamir, From Bandits to Experts: On the Value of Side-Observations, NeurIPS 2011. https://arxiv.org/abs/1106.2436
  • S. Balseiro, N. Golrezaei, M. Mahdian, V. Mirrokni, J. Schneider, Contextual Bandits with Cross-Learning, NeurIPS 2019. https://arxiv.org/abs/1809.09582
  • V. H. de la Peña, M. J. Klass, T. L. Lai, Self-normalized processes: exponential inequalities, moment bounds and iterated logarithm laws, Annals of Probability 32(3A), 2004. https://doi.org/10.1214/009117904000000397
8 thms2 active usersReviewed
OptimizationReinforcement Learning·Captain: mikedeng1

Structural Estimation of Markov Decision Processes in High-Dimensional State Space with Finite-Time Guarantees: Single-Loop ML-IRL Policy and Reward Iterates Converge at Explicit Finite-Time RatesResearch Paper

Motivation

Structural estimation of Markov decision processes recovers the parameters of an agent's reward from observed behavior, under the hypothesis that the agent acts optimally in a known dynamic environment. In econometrics this is the dynamic discrete choice model of Rust (Rust 1987); in artificial intelligence it is maximum-likelihood inverse reinforcement learning (ML-IRL). With Gumbel-distributed choice shocks the two coincide: the agent behaves like the optimal policy of an entropy-regularized MDP, and the reward parameter is estimated by maximizing the likelihood of the observed trajectories.

The classical estimators are nested: every evaluation of the likelihood solves the inner dynamic program to optimality (Rust's nested fixed-point algorithm), which is expensive when the state space is large. Zeng, Hong and Garcia (arXiv:2210.01282, Operations Research 2025) replace the nested loop by a single loop that alternates one approximate soft policy-iteration step with one stochastic gradient step on the reward parameter, and prove a finite-time guarantee for it. That guarantee, Theorem 1 of the paper, is the subject of this mission.

Setting

Let S\mathcal SS and A\mathcal AA be finite nonempty sets of states and actions, P(s′∣s,a)P(s'\mid s,a)P(s′∣s,a) a transition kernel, ρ\rhoρ an initial distribution on S\mathcal SS and γ∈[0,1)\gamma\in[0,1)γ∈[0,1) a discount factor. The reward r(s,a;θ)r(s,a;\theta)r(s,a;θ) depends on a parameter θ∈Rp\theta\in\mathbb R^pθ∈Rp. A policy π(a∣s)\pi(a\mid s)π(a∣s) is a distribution over actions at each state, with entropy H(π(⋅∣s))=−∑aπ(a∣s)log⁡π(a∣s)\mathcal H(\pi(\cdot\mid s))=-\sum_a\pi(a\mid s)\log\pi(a\mid s)H(π(⋅∣s))=−∑a​π(a∣s)logπ(a∣s).

The soft Q-function of a pair (θ,π)(\theta,\pi)(θ,π) is Q(s,a)=r(s,a;θ)+γ Es′∼P(⋅∣s,a)[V(s′)]Q(s,a)=r(s,a;\theta)+\gamma\,\mathbb E_{s'\sim P(\cdot\mid s,a)}[V(s')]Q(s,a)=r(s,a;θ)+γEs′∼P(⋅∣s,a)​[V(s′)], where V(s)V(s)V(s) is the expected discounted sum of r(st,at;θ)+H(π(⋅∣st))r(s_t,a_t;\theta)+\mathcal H(\pi(\cdot\mid s_t))r(st​,at​;θ)+H(π(⋅∣st​)) along the trajectory of π\piπ from sss. The soft-optimal Q-function QθQ_\thetaQθ​ is the fixed point of the soft-Bellman operator ΛθQ(s,a)=r(s,a;θ)+γ∑s′P(s′∣s,a)log⁡∑beQ(s′,b)\Lambda_\theta Q(s,a)=r(s,a;\theta)+\gamma\sum_{s'}P(s'\mid s,a)\log\sum_b e^{Q(s',b)}Λθ​Q(s,a)=r(s,a;θ)+γ∑s′​P(s′∣s,a)log∑b​eQ(s′,b); the soft-optimal policy is πθ(a∣s)∝eQθ(s,a)\pi_\theta(a\mid s)\propto e^{Q_\theta(s,a)}πθ​(a∣s)∝eQθ​(s,a) and Vθ(s)=log⁡∑aeQθ(s,a)V_\theta(s)=\log\sum_a e^{Q_\theta(s,a)}Vθ​(s)=log∑a​eQθ​(s,a).

Given a finite dataset D\mathcal DD of expert trajectories, the surrogate likelihood is

L^(θ;D)=Eτ∼D[∑t≥0γtr(st,at;θ)]−Es0∼ρ[Vθ(s0)].\widehat L(\theta;\mathcal D)=\mathbb E_{\tau\sim\mathcal D}\Big[\sum_{t\ge0}\gamma^tr(s_t,a_t;\theta)\Big]-\mathbb E_{s_0\sim\rho}[V_\theta(s_0)].L(θ;D)=Eτ∼D​[t≥0∑​γtr(st​,at​;θ)]−Es0​∼ρ​[Vθ​(s0​)].

Algorithm 1 (ML-IRL). Starting from (θ0,π0)(\theta_0,\pi_0)(θ0​,π0​) and for k=0,…,K−1k=0,\dots,K-1k=0,…,K−1: estimate the soft Q-function QkQ_kQk​ of (θk,πk)(\theta_k,\pi_k)(θk​,πk​) by Q^k\widehat Q_kQ​k​ with ∥Q^k−Qk∥∞≤ε\|\widehat Q_k-Q_k\|_\infty\le\varepsilon∥Q​k​−Qk​∥∞​≤ε; set πk+1(a∣s)∝eQ^k(s,a)\pi_{k+1}(a\mid s)\propto e^{\widehat Q_k(s,a)}πk+1​(a∣s)∝eQ​k​(s,a); sample an expert trajectory τkE\tau^E_kτkE​ from D\mathcal DD and an agent trajectory τkA\tau^A_kτkA​ from πk+1\pi_{k+1}πk+1​; set θk+1=θk+α(h(θk;τkE)−h(θk;τkA))\theta_{k+1}=\theta_k+\alpha\big(h(\theta_k;\tau^E_k)-h(\theta_k;\tau^A_k)\big)θk+1​=θk​+α(h(θk​;τkE​)−h(θk​;τkA​)) with h(θ;τ)=∑tγt∇θr(st,at;θ)h(\theta;\tau)=\sum_t\gamma^t\nabla_\theta r(s_t,a_t;\theta)h(θ;τ)=∑t​γt∇θ​r(st​,at​;θ).

The assumptions are: (1) 0≤r≤Cr0\le r\le C_r0≤r≤Cr​; (2) under every policy the state chain mixes geometrically in total variation; (3) ∥∇θr∥≤Lr\|\nabla_\theta r\|\le L_r∥∇θ​r∥≤Lr​ and ∇θr\nabla_\theta r∇θ​r is LgL_gLg​-Lipschitz in θ\thetaθ.

Formalization targets

Goal: Theorem 1, explicit form

Write Lq=Lr/(1−γ)L_q=L_r/(1-\gamma)Lq​=Lr​/(1−γ), Lc=2LqLrCd∣S∣∣A∣/(1−γ)+2Lg/(1−γ)L_c=2L_qL_rC_d\sqrt{|\mathcal S||\mathcal A|}/(1-\gamma)+2L_g/(1-\gamma)Lc​=2Lq​Lr​Cd​∣S∣∣A∣​/(1−γ)+2Lg​/(1−γ), C1=4CdLq2∣S∣∣A∣C_1=4C_dL_q^2\sqrt{|\mathcal S||\mathcal A|}C1​=4Cd​Lq2​∣S∣∣A∣​, C0=∥Q0−Qθ0∥∞C_0=\|Q_0-Q_{\theta_0}\|_\inftyC0​=∥Q0​−Qθ0​​∥∞​ and

B=C0K(1−γ)+2γε(1−γ)2+4Lq21−γα.B=\frac{C_0}{K(1-\gamma)}+\frac{2\gamma\varepsilon}{(1-\gamma)^2}+\frac{4L_q^2}{1-\gamma}\alpha .B=K(1−γ)C0​​+(1−γ)22γε​+1−γ4Lq2​​α.

There is Cd>0C_d>0Cd​>0 depending only on (P,ρ,γ)(P,\rho,\gamma)(P,ρ,γ) such that every run with K≥1K\ge1K≥1 and α=α0/Kσ\alpha=\alpha_0/K^\sigmaα=α0​/Kσ, α0>0\alpha_0>0α0​>0, σ∈(0,1)\sigma\in(0,1)σ∈(0,1), satisfies, for every realization,

1K∑k=0K−1∥log⁡πk+1−log⁡πθk∥∞≤2ε+2B,\frac1K\sum_{k=0}^{K-1}\|\log\pi_{k+1}-\log\pi_{\theta_k}\|_\infty\le2\varepsilon+2B,K1​k=0∑K−1​∥logπk+1​−logπθk​​∥∞​≤2ε+2B,

and in expectation

1K∑k=0K−1E∥∇θL^(θk;D)∥2≤2LcLq2α+C1(B+ε)+E[L^(θK;D)−L^(θ0;D)]Kα.\frac1K\sum_{k=0}^{K-1}\mathbb E\|\nabla_\theta\widehat L(\theta_k;\mathcal D)\|^2\le2L_cL_q^2\alpha+C_1(B+\varepsilon)+\frac{\mathbb E[\widehat L(\theta_K;\mathcal D)-\widehat L(\theta_0;\mathcal D)]}{K\alpha}.K1​k=0∑K−1​E∥∇θ​L(θk​;D)∥2≤2Lc​Lq2​α+C1​(B+ε)+KαE[L(θK​;D)−L(θ0​;D)]​.

The printed Theorem 1 states only the rates O(K−1)+O(K−σ)+O(ε)O(K^{-1})+O(K^{-\sigma})+O(\varepsilon)O(K−1)+O(K−σ)+O(ε) and O(K−σ)+O(K−1+σ)+O(K−1)+O(ε)O(K^{-\sigma})+O(K^{-1+\sigma})+O(K^{-1})+O(\varepsilon)O(K−σ)+O(K−1+σ)+O(K−1)+O(ε); the goal is the explicit pair of inequalities its proof derives, from which those rates follow because L^\widehat LL is bounded.

Milestones

Lemma 2 (the gradient of L^\widehat LL), Lemma 5 (Lipschitz visitation measures), Lemma 3 (Lipschitz QθQ_\thetaQθ​ and smooth L^\widehat LL), Lemma 6 and Lemma 7 (approximate soft policy iteration), and the proof's displays (35), (40), (41), the averaged tracking bound after (44) and the averaged gradient bound on p. 24. The bias bound (48) is a further item of the mission without being a milestone.

Significance

The result. Theorem 1 is a finite-time guarantee for a single-loop structural estimator: with σ=1/2\sigma=1/2σ=1/2 both the policy-tracking error and the squared gradient of the surrogate likelihood decay as O(K−1/2)+O(ε)O(K^{-1/2})+O(\varepsilon)O(K−1/2)+O(ε). It shows that the inner dynamic program need not be solved to optimality at each likelihood evaluation, and it quantifies the price of approximate policy evaluation through ε\varepsilonε. The paper reports it as the first finite-time result for an algorithm for either the dynamic discrete choice problem or ML-IRL.

Formalizing it. The result is proved on paper; no part of it is machine-checked. A complete development would put on the platform an entropy-regularized MDP layer (soft values, the soft-Bellman fixed point, the soft-optimal policy), its Lipschitz dependence on a reward parameter, the gradient of a soft-optimal value through its fixed point, and a two-timescale analysis with a biased stochastic gradient. Each of these is reusable by later soft-RL, IRL and structural-estimation formalizations.

Difficulty

Neither iterate converges on its own. The policy πk+1\pi_{k+1}πk+1​ chases a target πθk\pi_{\theta_k}πθk​​ that moves whenever θ\thetaθ moves, so the standard linear convergence of soft policy iteration for a fixed reward does not apply directly. The stochastic gradient gkg_kgk​ samples from πk+1\pi_{k+1}πk+1​ rather than from πθk\pi_{\theta_k}πθk​​, so it is biased, and the standard analysis of unbiased stochastic gradient ascent does not apply either. The analysis must show that the tracking error contracts faster than the reward drifts, and bound the bias by the tracking error through the dependence of the state-action visitation measure on the policy. The gradient formula itself requires differentiating a soft-optimal value through a fixed point.

Formalization scope

The Lean development works with finite S\mathcal SS and A\mathcal AA (both nonempty), policies as functions S→A→R\mathcal S\to\mathcal A\to\mathbb RS→A→R, θ∈\theta\inθ∈ EuclideanSpace ℝ (Fin p), and discounted expectations as tsums over the occupation distribution of the published FoundationsML.ReinforcementLearning layer. ∥⋅∥∞\|\cdot\|_\infty∥⋅∥∞​ is the maximum over (s,a)(s,a)(s,a); Lemma 5's ∥w−w′∥\|w-w'\|∥w−w′∥ is the Frobenius norm; total variation is half the ℓ1\ell_1ℓ1​ distance. QθQ_\thetaQθ​ is chosen by Classical.epsilon among fixed points of Λθ\Lambda_\thetaΛθ​, which exist and are unique because Λθ\Lambda_\thetaΛθ​ is a γ\gammaγ-contraction.

Disclosed deviations from the page: Assumption 3 is a hypothesis of the goal (Theorem 1 prints "Assumptions 1 - 2" but its proof uses Assumption 3); S\mathcal SS is finite, as the proof's ∣S∣∣A∣\sqrt{|\mathcal S||\mathcal A|}∣S∣∣A∣​ requires, although the title speaks of high-dimensional state spaces; Assumption 3 includes differentiability of rrr, which the page uses implicitly; ε≥0\varepsilon\ge0ε≥0 (the page writes ϵapp>0\epsilon_{\rm app}>0ϵapp​>0); Assumption 2 is stated as the mixing bound the paper derives from irreducibility and aperiodicity; and Algorithm 1's sampling is represented by the conditional means of the sampled gradients given the past, measurable with respect to a filtration, which is the only way the proof uses it.

The statement admits no trivializing reading: the run structure is inhabited (a sorry-free check exhibits a run), CdC_dCd​ is fixed before the reward, the data and the run, every expectation is of a bounded measurable function, the gradient is that of a differentiable function (Lemma 2), and the Frobenius norm is used where the page uses it rather than Lean's sup norm on function types.

Welcome contributions: the existence and uniqueness of the soft-Bellman fixed point, the performance-difference and Gibbs-variational facts behind Lemma 7, the visitation-measure Lipschitz bound of Lemma 5, and the fixed-point differentiation behind Lemma 2.

Selected references

  • S. Zeng, M. Hong, A. Garcia, Structural Estimation of Markov Decision Processes in High-Dimensional State Space with Finite-Time Guarantees, Operations Research, 2025; arXiv:2210.01282v3, 2024. https://arxiv.org/abs/2210.01282
  • J. Rust, Optimal Replacement of GMC Bus Engines: An Empirical Model of Harold Zurcher, Econometrica 55(5), 1987. https://doi.org/10.2307/1911259
  • B. D. Ziebart, A. Maas, J. A. Bagnell, A. K. Dey, Maximum Entropy Inverse Reinforcement Learning, AAAI 2008. https://cdn.aaai.org/AAAI/2008/AAAI08-227.pdf
  • T. Haarnoja, H. Tang, P. Abbeel, S. Levine, Reinforcement Learning with Deep Energy-Based Policies, ICML 2017. https://arxiv.org/abs/1702.08165
18 thms2 active usersReviewed
🏆Completed
Bandit AlgorithmsOperations ResearchProbability·Captain: mikedeng1

Thompson Sampling with Information Relaxation Penalties III: As T → ∞ the Action Laws of IRS.FH and IRS.V-Zero Converge to That of Thompson SamplingResearch Paper

Motivation

Thompson sampling (TS) is the standard randomized heuristic for the Bayesian multi-armed bandit: at each decision it samples a parameter vector from the current posterior and pulls the arm that would be best if the sample were true. It ignores the remaining horizon. Min, Maglaras and Moallemi (arXiv:1902.04251, Management Science, 2025) obtain horizon-aware generalizations of TS from the information relaxation duality of Brown, Smith and Sun (Oper. Res. 2010). Each penalty function yields an upper bound on the Bayes-optimal value and an IRS policy. Such a policy samples a whole future outcome and plays the first action of the penalized clairvoyant optimum. With the zero-information penalty it is exactly TS.

Two of these policies, IRS.FH and IRS.V-Zero, are designed to interpolate between TS and the myopic rule. When one period remains they pull the arm with the highest predictive mean (Remark 5 of the paper). This mission formalizes the other end, Proposition 1: when many periods remain, they randomize exactly as Thompson sampling does. The paper presents this as the sense in which IRS policies "behave like TS during the initial decision epochs" and shift smoothly from exploration to exploitation without a tuning parameter.

Setting

There are K≥1K \ge 1K≥1 arms A={1,…,K}\mathcal A = \{1,\dots,K\}A={1,…,K}. Arm aaa has an unknown parameter θa\theta_aθa​. Given θa\theta_aθa​, its rewards Ra,1,Ra,2,…R_{a,1}, R_{a,2}, \dotsRa,1​,Ra,2​,… are i.i.d. with law Ra(θa)\mathcal R_a(\theta_a)Ra​(θa​). The prior of θa\theta_aθa​ is Pa(ya)\mathcal P_a(y_a)Pa​(ya​), a member of a conjugate family indexed by a belief yay_aya​. A Bayesian update Ua\mathcal U_aUa​ maps (ya,r)(y_a, r)(ya​,r) to the posterior belief after a reward rrr. The arms are independent. Throughout, rewards are integrable: Eya∣Ra,1∣<∞\mathbb E_{y_a}|R_{a,1}| < \inftyEya​​∣Ra,1​∣<∞ for every belief (display (3)).

  • The conditional mean reward is μa(θa)=E[Ra,n∣θa]\mu_a(\theta_a) = \mathbb E[R_{a,n} \mid \theta_a]μa​(θa​)=E[Ra,n​∣θa​], and the predictive mean is μˉa(ya)=Eya[μa(θa)]\bar\mu_a(y_a) = \mathbb E_{y_a}[\mu_a(\theta_a)]μˉ​a​(ya​)=Eya​​[μa​(θa​)].
  • The outcome ω=(θ,(Ra,n)a,n)\omega = (\theta, (R_{a,n})_{a,n})ω=(θ,(Ra,n​)a,n​) has law I(y)\mathcal I(y)I(y).
  • The posterior predictive mean after the first nnn rewards of arm aaa is μ^a,n(ω;ya)=Eya[μa(θa)∣Ra,1,…,Ra,n]\hat\mu_{a,n}(\omega; y_a) = \mathbb E_{y_a}[\mu_a(\theta_a) \mid R_{a,1},\dots,R_{a,n}]μ^​a,n​(ω;ya​)=Eya​​[μa​(θa​)∣Ra,1​,…,Ra,n​].

At remaining horizon TTT and belief yyy, the three policies act as follows:

  1. TS samples θ~∼P(y)\tilde\theta \sim \mathcal P(y)θ~∼P(y) and plays ATS(y)=argmax⁡aμa(θ~a)A^{TS}(y) = \operatorname{argmax}_a \mu_a(\tilde\theta_a)ATS(y)=argmaxa​μa​(θ~a​).
  2. IRS.FH samples ω~∼I(y)\tilde\omega \sim \mathcal I(y)ω~∼I(y) and plays AIRS.FH(T,y)=argmax⁡aμ^a,T−1(ω~)A^{IRS.FH}(T,y) = \operatorname{argmax}_a \hat\mu_{a,T-1}(\tilde\omega)AIRS.FH(T,y)=argmaxa​μ^​a,T−1​(ω~), the arm with the best posterior mean after T−1T-1T−1 sampled rewards of every arm.
  3. IRS.V-Zero samples ω~∼I(y)\tilde\omega \sim \mathcal I(y)ω~∼I(y) and solves the allocation problem
max⁡n∈NT∑a=1K∑i=1naμ^a,i−1(ω~),NT={n∈N0K:∑ana=T}.\max_{n \in \mathcal N_T} \sum_{a=1}^K \sum_{i=1}^{n_a} \hat\mu_{a,i-1}(\tilde\omega), \qquad \mathcal N_T = \Big\{n \in \mathbb N_0^K : \sum_a n_a = T\Big\}.n∈NT​max​a=1∑K​i=1∑na​​μ^​a,i−1​(ω~),NT​={n∈N0K​:a∑​na​=T}.

It then plays the arm AIRS.V-Zero(T,y)=argmax⁡an~a∗A^{IRS.V\text{-}Zero}(T,y) = \operatorname{argmax}_a \tilde n^*_aAIRS.V-Zero(T,y)=argmaxa​n~a∗​ to which the optimal allocation n~∗\tilde n^*n~∗ assigns the most pulls.

Each action is a random variable driven by the policy's own sample.

Formalization targets

Goal: Proposition 1 (p. 25)

Assume μi(θi)≠μj(θj)\mu_i(\theta_i) \ne \mu_j(\theta_j)μi​(θi​)=μj​(θj​) almost surely under P(y)\mathcal P(y)P(y), for all i≠ji \ne ji=j. Then for every arm aaa,

lim⁡T→∞P[AIRS.FH(T,y)=a]=P[ATS(y)=a],lim⁡T→∞P[AIRS.V-Zero(T,y)=a]=P[ATS(y)=a].\lim_{T\to\infty} \mathbb P[A^{IRS.FH}(T,y) = a] = \mathbb P[A^{TS}(y) = a], \qquad \lim_{T\to\infty} \mathbb P[A^{IRS.V\text{-}Zero}(T,y) = a] = \mathbb P[A^{TS}(y) = a].T→∞lim​P[AIRS.FH(T,y)=a]=P[ATS(y)=a],T→∞lim​P[AIRS.V-Zero(T,y)=a]=P[ATS(y)=a].

This holds for every choice of the tie-breaking rules in the argmaxes and in the allocation problem.

Milestones

  1. Proposition 4 (p. 53): μa(θa)\mu_a(\theta_a)μa​(θa​) and max⁡aμa(θa)\max_a \mu_a(\theta_a)maxa​μa​(θa​) are integrable under the prior.
  2. Proposition 5 (p. 54): μ^a,n\hat\mu_{a,n}μ^​a,n​ and the sample mean 1n∑i≤nRa,i\frac1n\sum_{i\le n} R_{a,i}n1​∑i≤n​Ra,i​ converge almost surely to μa(θa)\mu_a(\theta_a)μa​(θa​).
  3. Display (109) (p. 54): if a sequence of vectors converges to a vector with distinct entries, every argmax rule eventually selects the argmax of the limit.
  4. The allocation argument (113)–(123) (pp. 54–56): if the payoff rows converge to distinct limits, then for large TTT every optimal allocation gives its largest share only to the arm with the largest limit.
  5. Display (55) alone: the IRS.FH half of the goal.

Significance

Proposition 1 identifies the long-horizon behaviour of the two IRS policies with that of Thompson sampling. Together with Remark 5 it pins down both ends of the horizon. It explains why their simulated regret curves track TS early and the myopic policy late (§5 of the paper). It also shows that the design choice "play the arm with the largest allocation" in IRS.V-Zero is the one that recovers TS. Other selection rules, such as any arm with a positive allocation, need not.

The paper gives a complete proof in Appendix D.1–D.2. A machine-checked version adds three things. It fixes the probabilistic model of a conjugate Bayesian bandit with infinite reward sequences in Lean, which the companion missions on the same paper also need. It makes the role of tie-breaking explicit. And it repairs a step of the printed proof: the bound n∘(AT∘)≥⌊T/2⌋n^\circ(A^\circ_T) \ge \lfloor T/2 \rfloorn∘(AT∘​)≥⌊T/2⌋ in §D.2 holds only for two arms, and the general case needs ⌈T/K⌉\lceil T/K \rceil⌈T/K⌉ and a threshold growing with KKK. No formalization of this result is known on Prove2Me or in Mathlib.

Difficulty

The IRS.FH half reduces to almost-sure convergence of posterior means, which is a martingale argument (Lévy's upward theorem). That argument needs μa(θa)\mu_a(\theta_a)μa​(θa​) to be measurable with respect to the limit σ\sigmaσ-algebra of the reward sequence, a fact supplied by the strong law of large numbers. Building the outcome law, a mixture over θ\thetaθ of infinite product measures, and identifying the conjugate update with conditional expectation are where the measure theory lies.

The IRS.V-Zero half does not follow from convergence of the posterior means alone. The selected arm is a function of an optimal allocation of a combinatorial problem whose size grows with TTT. The naive expectation that the arm with the best limit receives "most" pulls has to be proved by an exchange argument that handles the finitely many early terms, where the posterior means can still be badly ordered. The printed version of this argument is correct only for K=2K = 2K=2.

Formalization scope

  • Arms are Fin K with NeZero K; the reward sequence of an arm is ℕ → ℝ, 0-based.
  • One parameter type and one belief type serve all arms; reward laws and priors are Markov kernels.
  • Conjugacy is stated as Bayes' rule on rectangles for every belief. The update is assumed jointly measurable, and the standing integrability (3) is assumed for every belief.
  • The outcome law I(y)\mathcal I(y)I(y) is a product over arms of mixtures ∫δθ⊗Ra(θ)⊗N Pa(ya)(dθ)\int \delta_\theta \otimes \mathcal R_a(\theta)^{\otimes \mathbb N}\, \mathcal P_a(y_a)(d\theta)∫δθ​⊗Ra​(θ)⊗NPa​(ya​)(dθ).
  • μ^a,n\hat\mu_{a,n}μ^​a,n​ is the pathwise conjugate version μˉa(ya,n)\bar\mu_a(y_{a,n})μˉ​a​(ya,n​) of the conditional expectation (10), defined at every outcome so that it can sit inside an argmax.
  • P[A=a]\mathbb P[A = a]P[A=a] is the mass of {a}\{a\}{a} under the pushforward of the policy's sampling law. All tie-breaking rules are required to be measurable; otherwise the pushforward would be the zero measure.
  • The assumption of the proposition is required almost surely under the prior, not as injectivity of μ\muμ.
  • A formalization in which the selectors were non-measurable, the outcome law degenerate, or the distinctness hypothesis unsatisfiable would make the goal vacuous. The definitions rule out the first two, and a deterministic two-arm instance shows the hypotheses are satisfiable.

The development needs Lévy's upward theorem (MeasureTheory.tendsto_ae_condExp in Mathlib) and the strong law of large numbers (ProbabilityTheory.strong_law_ae). It also needs a lemma identifying iterated conjugate updates with the posterior given finitely many rewards, and the measurability of θ↦Ra(θ)⊗N\theta \mapsto \mathcal R_a(\theta)^{\otimes\mathbb N}θ↦Ra​(θ)⊗N. These last two are reusable for any Bayesian bandit or sequential-estimation development. Contributions of the two deterministic milestones are self-contained and welcome first.

Selected references

  • S. Min, C. Maglaras, C. C. Moallemi, Thompson Sampling with Information Relaxation Penalties, Management Science, 2025; preprint arXiv:1902.04251v2, 2021. https://arxiv.org/abs/1902.04251
  • D. B. Brown, J. E. Smith, P. Sun, Information Relaxations and Duality in Stochastic Dynamic Programs, Operations Research 58(4), 2010. https://doi.org/10.1287/opre.1090.0796
  • W. R. Thompson, On the Likelihood that One Unknown Probability Exceeds Another in View of the Evidence of Two Samples, Biometrika 25(3/4), 1933. https://doi.org/10.2307/2332286
  • D. Russo, B. Van Roy, Learning to Optimize via Posterior Sampling, Mathematics of Operations Research 39(4), 2014. https://doi.org/10.1287/moor.2014.0650
9 thms2 active usersReviewed
Bandit AlgorithmsHarmonic AnalysisOperations Research+1·Captain: mikedeng1

Learning and Optimization with Seasonal Patterns 1: Regret Upper Bound for the Two-Stage Period-Estimation and Confidence-Bound PolicyResearch Paper

Motivation

Many demand, traffic and click-through series are seasonal: their mean repeats after a fixed number of periods (a week of days, a year of months), while the length of that cycle is not known in advance. A retailer choosing among KKK promotions, or a platform choosing among KKK recommendations, then faces a multi-armed bandit whose arms have time-varying but periodic mean rewards. Standard stochastic bandit algorithms assume stationary means and fail here, and fully adversarial or arbitrarily drifting models give up the structure that periodicity offers.

N. Chen, C. Wang and L. Wang (arXiv:2005.08088, Operations Research, 2025) propose a two-stage policy for this problem: a spectral first stage that estimates every arm's period from a short exploration phase, and a confidence-bound second stage that learns and exploits the resulting "effective arms". Their main upper bound, Theorem 1, shows that the policy's regret grows like T∑kTk\sqrt{T\sum_k T_k}T∑k​Tk​​ up to logarithmic factors. This mission formalizes that theorem and the chain of lemmas behind it. The matching lower bound (Theorem 3 of the paper) is the subject of a separate mission of this series.

Setting

At each epoch t=1,…,Tt=1,\dots,Tt=1,…,T a decision maker pulls one of KKK arms. Pulling arm kkk at epoch ttt yields the reward Yk,t=μk,t+ϵtY_{k,t}=\mu_{k,t}+\epsilon_tYk,t​=μk,t​+ϵt​. The mean μk,t\mu_{k,t}μk,t​ has a minimum period Tk≥1T_k\ge1Tk​≥1: μk,t+Tk=μk,t\mu_{k,t+T_k}=\mu_{k,t}μk,t+Tk​​=μk,t​ for all t≥1t\ge1t≥1, and no smaller positive shift has this property. The standing assumptions are:

  • Assumption 1: μk,t∈[0,1]\mu_{k,t}\in[0,1]μk,t​∈[0,1].
  • Assumption 2: the noises ϵt\epsilon_tϵt​ are independent and sub-Gaussian with parameter σ\sigmaσ, i.e. E[eλϵt]≤eσ2λ2/2\mathbb E[e^{\lambda\epsilon_t}]\le e^{\sigma^2\lambda^2/2}E[eλϵt​]≤eσ2λ2/2 for all real λ\lambdaλ and P(∣ϵt∣>x)≤2e−x2/(2σ2)\mathbb P(|\epsilon_t|>x)\le2e^{-x^2/(2\sigma^2)}P(∣ϵt​∣>x)≤2e−x2/(2σ2).

The pseudo-regret of an arm sequence π\piπ is RTπ=∑t=1T(max⁡kμk,t−μπt,t)R^\pi_T=\sum_{t=1}^T(\max_k\mu_{k,t}-\mu_{\pi_t,t})RTπ​=∑t=1T​(maxk​μk,t​−μπt​,t​), and the number of effective arms is d=∑k=1KTkd=\sum_{k=1}^KT_kd=∑k=1K​Tk​: arm kkk at phase t mod Tkt \bmod T_ktmodTk​ is one effective arm.

Stage one (Algorithm 1). Each arm is pulled nnn times in a row. From its nnn rewards the policy computes the periodogram ∣y~k(v)∣|\tilde y_k(v)|∣y~​k​(v)∣, the modulus of the discrete Fourier transform y~k(v)=1n∑sYk,se−2πivs\tilde y_k(v)=\frac1n\sum_sY_{k,s}e^{-2\pi ivs}y~​k​(v)=n1​∑s​Yk,s​e−2πivs, on v∈[0,1/2]v\in[0,1/2]v∈[0,1/2]. A data-driven threshold τk\tau_kτk​ is computed from the constants U1,U2U_1,U_2U1​,U2​ (sums of sinc-type maxima), ϵˉv=2σH1−π/24log⁡(n)/n\bar\epsilon_v=\frac{2\sigma H}{1-\pi/24}\sqrt{\log(n)/n}ϵˉv​=1−π/242σH​log(n)/n​ and sup⁡v∣y~k(v)∣\sup_v|\tilde y_k(v)|supv​∣y~​k​(v)∣. The algorithm repeatedly takes the highest peak above τk\tau_kτk​ in [g/n,1/2][g/n,1/2][g/n,1/2], snaps it to the nearest fraction j1/j2j_1/j_2j1​/j2​ with j2<n/(2g)j_2<n/(2g)j2​<n/(2g), and removes a 2g/n2g/n2g/n-neighbourhood. The period estimate T^k\hat T_kT^k​ is the least common multiple of the selected reciprocals.

Stage two (Algorithm 2). At every later epoch an SSS-round screening tournament, S=⌊log⁡2T⌋S=\lfloor\log_2T\rfloorS=⌊log2​T⌋, compares the arms at their current phases modulo T^k\hat T_kT^k​. It uses estimated means mk,t(s)m^{(s)}_{k,t}mk,t(s)​ and widths wk,t(s)w^{(s)}_{k,t}wk,t(s)​ pooled from the stage-one samples and from round-specific index sets Ψ(s)(t)\Psi^{(s)}(t)Ψ(s)(t). The weak oracle runs the same policy with the true periods in place of T^k\hat T_kT^k​.

The parameters are fixed by (7): n=⌊T/K⌋n=\lfloor\sqrt{T/K}\rfloorn=⌊T/K​⌋, g=⌈n⌉g=\lceil\sqrt n\rceilg=⌈n​⌉, H=1+log⁡nH=\sqrt{1+\log n}H=1+logn​. Assumption 3 asks T>4KT>4KT>4K, g≥max⁡{2,n}g\ge\max\{2,\sqrt n\}g≥max{2,n​} and Tk<n/(2g)T_k<n/(2g)Tk​<n/(2g). Assumption 4 asks the smallest present Fourier coefficient bkb_kbk​ of each arm to dominate a combination of ϵˉv\bar\epsilon_vϵˉv​ and the largest coefficient BkB_kBk​.

Formalization targets

Goal: Theorem 1

Under Assumptions 1–4 and (7), the two-stage policy satisfies

E[RTπ]≤CT d log⁡2(T) log⁡(T/d),\mathbb E\big[R^\pi_T\big]\le C\sqrt{T\,d\,\log^2(T)\,\log(T/d)} ,E[RTπ​]≤CTdlog2(T)log(T/d)​,

with CCC depending only on σ\sigmaσ and KKK, and with Algorithm 2 run at δ=8/T\delta=8/Tδ=8/T.

Stage one: correct period identification

  • Lemma 1: uniform noise bound for the periodogram, 48nexp⁡(−(nδ2/4σ2)(1−π/24)2)48n\exp(-(n\delta^2/4\sigma^2)(1-\pi/24)^2)48nexp(−(nδ2/4σ2)(1−π/24)2).
  • Lemmas 2–3: leakage bounds πBkU1\pi B_kU_1πBk​U1​, πBkU2\pi B_kU_2πBk​U2​, and Bk≤(sup⁡∣ϵ~k∣+sup⁡∣y~k∣)/(1−πU2)B_k\le(\sup|\tilde\epsilon_k|+\sup|\tilde y_k|)/(1-\pi U_2)Bk​≤(sup∣ϵ~k​∣+sup∣y~​k​∣)/(1−πU2​).
  • Lemmas 4–5: the threshold separates the neighbourhoods of the present frequencies from the rest, with probability 1−48/nH2−11-48/n^{H^2-1}1−48/nH2−1.
  • Lemmas 6–7: the sharper noise bound near possible present frequencies, and the location of the peaks within 1/n1/n1/n of them.
  • Theorem 2: P(Λ)≥1−48K/nH2−1−200K/n0.867H2−1−200K/n0.6934H2−1\mathbb P(\Lambda)\ge1-48K/n^{H^2-1}-200K/n^{0.867H^2-1}-200K/n^{0.6934H^2-1}P(Λ)≥1−48K/nH2−1−200K/n0.867H2−1−200K/n0.6934H2−1.

Stage two: the oracle's regret

  • Lemma 15: an anytime sub-Gaussian deviation bound.
  • Lemma 9: the confidence event E\mathcal EE has probability at least 1−δS1-\delta S1−δS.
  • Lemma 10: on E\mathcal EE the optimal arm survives screening, and each epoch's gap is at most 111, 8σ/2s8\sigma/2^s8σ/2s or 2σ/T2\sigma/\sqrt T2σ/T​.
  • Lemma 16: the summed widths of a round are at most 4σ∣Ψ(s)(T)∣ dlog⁡(8T/δ)log⁡(T/d)4\sigma\sqrt{|\Psi^{(s)}(T)|\,d\log(8T/\delta)\log(T/d)}4σ∣Ψ(s)(T)∣dlog(8T/δ)log(T/d)​.
  • Lemma 11: the oracle's expected regret is at most CTdlog⁡2(T)log⁡(T/d)C\sqrt{Td\log^2(T)\log(T/d)}CTdlog2(T)log(T/d)​ with CCC depending only on σ\sigmaσ.

Significance

The theorem shows that unknown seasonality costs only the factor d=∑kTk\sqrt{d}=\sqrt{\sum_kT_k}d​=∑k​Tk​​ that would be paid if every phase of every arm were a separate stationary arm. Up to logarithmic factors this matches the TK\sqrt{TK}TK​ rate of the classical stationary bandit with ddd arms in place of KKK. Together with the paper's lower bound Ω(Tmax⁡kTk)\Omega(\sqrt{T\max_kT_k})Ω(Tmaxk​Tk​​) it locates the minimax regret of periodic bandits within a factor K\sqrt KK​. Stage one is a non-asymptotic, finite-sample period-identification guarantee for a thresholded periodogram, which is of independent use in spectral estimation.

The paper proves these results; none of them is machine-checked. A complete development yields a verified finite-sample periodogram theory (noise bounds for random trigonometric polynomials, Dirichlet-kernel leakage estimates), a verified anytime sub-Gaussian inequality, and a verified analysis of a nested elimination algorithm with data reuse. The formalization also pins down several points the printed text leaves open: the constant 0.2330.2330.233 of Lemma 6 and the exponent 0.6940.6940.694 of Lemma 7 and Theorem 2 are slightly stronger than what the proofs give, and the printed claim that Theorem 1's constant is independent of KKK is not established by the printed argument.

Difficulty

Two steps resist the obvious approach. In stage one, the periodogram has to be controlled at uncountably many frequencies at once. A union bound over vvv is unavailable, and the leakage of each present frequency spreads over the whole spectrum, so both the noise and the signal must be bounded uniformly in vvv with explicit constants. In stage two, the samples used to estimate an effective arm are selected with the estimated periods, which were computed from the same stage-one data, so the usual independence behind confidence bounds fails. Lemmas 9–11 are therefore stated for the weak oracle, whose sample selection does not depend on the data; on the event Λ\LambdaΛ the definitions make the oracle's run and the policy's run the same function of the noise path.

Formalization scope

Epochs are natural numbers t≥1t\ge1t≥1; arms are Fin K (the paper's arm kkk is index k−1k-1k−1), and K≥1K\ge1K≥1. The noise is a sequence ϵ:N→Ω→R\epsilon:\mathbb N\to\Omega\to\mathbb Rϵ:N→Ω→R on a probability space, independent, with Mathlib's HasSubgaussianMGF at variance proxy σ2\sigma^2σ2, plus the printed tail clause. Both algorithms are defined in full, as deterministic functions of the noise path, with canonical tie-breaking: smallest maximizer, smallest closest candidate, smallest arm index. Algorithm 1's loop runs at most nnn passes, and LCM(v^i−1)\mathrm{LCM}(\hat v_i^{-1})LCM(v^i−1​) is the least common multiple of the reduced denominators of the selected frequencies. Algorithm 2 takes its period vector as an argument; the two-stage policy and the oracle are its two instances. Expected regret is an outer expectation: an integrable majorant of the regret whose integral obeys the bound. Probability bounds bound the outer measure of the bad event. Every DFT uses the absolute stage-one epochs, as in Step 8 of Algorithm 1.

Disclosed deviations: Theorem 1's constant depends on σ\sigmaσ and KKK (the printed proof does not give uniformity in KKK), and δ=8/T\delta=8/Tδ=8/T is fixed as in the proof of Lemma 11. Lemma 6 uses 0.23280.23280.2328 for the printed 0.2330.2330.233; Lemma 7 and Theorem 2 use 0.69340.69340.6934 for the printed 0.6940.6940.694. Lemma 7 covers the nonzero present frequencies. Lemma 11 states the standing Assumption 3 and the parameters (7) as hypotheses, as its proof uses them.

The algorithm is the object of the theorem. Replacing Algorithm 1 by "any estimator that is correct with high probability", or Algorithm 2 by "any policy with the oracle's regret", would make the goal a different and much weaker statement. So would placing the constant after the horizon or the instance, since the regret is at most TTT, or using a bare Lebesgue integral of a possibly non-measurable regret.

A complete development needs discrete Fourier analysis of finite sequences, Bernstein's inequality for complex polynomials on the unit disc (Lemma 14 of the paper, from Nagy and Totik), sinc-function estimates, anytime concentration for sub-Gaussian sums, and a bookkeeping layer for the nested index sets of Algorithm 2. The concentration and polynomial-inequality parts are reusable beyond this mission. Proofs of individual lemmas, helper lemmas such as the closed form (6) of the frequency components, and alternative arguments are welcome.

Selected references

  • N. Chen, C. Wang, L. Wang, Learning and Optimization with Seasonal Patterns, arXiv:2005.08088v4, 2021; Operations Research, 2025. https://arxiv.org/abs/2005.08088
  • P. Auer, Using Confidence Bounds for Exploitation-Exploration Trade-offs, Journal of Machine Learning Research 3, 397–422, 2002. https://www.jmlr.org/papers/v3/auer02a.html
  • L. Li, Y. Lu, D. Zhou, Provably Optimal Algorithms for Generalized Linear Contextual Bandits, ICML 2017. https://arxiv.org/abs/1703.00048
  • B. Nagy, V. Totik, Bernstein's Inequality for Algebraic Polynomials on Circular Arcs, Constructive Approximation 37, 223–232, 2013.
17 thms2 active usersReviewed
Bandit AlgorithmsOperations ResearchProbability·Captain: mikedeng1

Thompson Sampling with Information Relaxation Penalties I: For Natural Exponential Families the Suboptimality Gaps of TS, IRS.FH and IRS.V-Zero Are at Most 2√L[1/√ν + √(2 log T)(K/√ν + 2√(KT))]Research Paper

Motivation

Thompson sampling (TS) is the most widely used heuristic for Bayesian multi-armed bandits: at each step it samples a parameter from the current posterior and plays the arm that is best for the sample. Its Bayesian regret has been analysed extensively (Russo and Van Roy, 2014; Bubeck and Liu, 2013). Min, Maglaras and Moallemi (arXiv:1902.04251) place TS inside a larger family of information relaxation sampling (IRS) policies, obtained from the information-relaxation duality of Brown, Smith and Sun (2010). Each choice of penalty function yields a performance bound WzW^zWz and a randomized policy πz\pi^zπz; TS is the member with the trivial penalty. Their Theorem 3 gives explicit, finite-TTT bounds on the suboptimality gap Wz(T,y)−V(πz,T,y)W^z(T,y)-V(\pi^z,T,y)Wz(T,y)−V(πz,T,y) of three members of the family when the rewards come from a natural exponential family with conjugate priors. This mission formalizes Theorem 3 and the lemmas of its proof (Appendix §D.4).

Setting

There are K≥1K\ge1K≥1 arms A={1,…,K}\mathcal A=\{1,\dots,K\}A={1,…,K} and a horizon TTT. Arm aaa has an unknown parameter θa∈R\theta_a\in\mathbb Rθa​∈R; given θa\theta_aθa​, its rewards Ra,1,Ra,2,…R_{a,1},R_{a,2},\dotsRa,1​,Ra,2​,… (indexed by the number of the pull, not by time) are i.i.d. with the natural exponential family law ha(dr)exp⁡(θar−Aa(θa))h_a(dr)\exp(\theta_a r-A_a(\theta_a))ha​(dr)exp(θa​r−Aa​(θa​)), where hah_aha​ is a reference measure and AaA_aAa​ the log-partition function, eAa(θ)=∫eθrha(dr)e^{A_a(\theta)}=\int e^{\theta r}h_a(dr)eAa​(θ)=∫eθrha​(dr). The prior of θa\theta_aθa​ is the conjugate law proportional to exp⁡(ξaθ−νaAa(θ)) dθ\exp(\xi_a\theta-\nu_a A_a(\theta))\,d\thetaexp(ξa​θ−νa​Aa​(θ))dθ, indexed by a belief ya=(ξa,νa)y_a=(\xi_a,\nu_a)ya​=(ξa​,νa​); observing a reward rrr updates it to (ξa+r,νa+1)(\xi_a+r,\nu_a+1)(ξa​+r,νa​+1). Arms are independent.

The conditional mean reward is μa(θa)=E[Ra,n∣θa]\mu_a(\theta_a)=\mathbb E[R_{a,n}\mid\theta_a]μa​(θa​)=E[Ra,n​∣θa​], the predictive mean is μˉa(ya)=Eya[μa(θa)]\bar\mu_a(y_a)=\mathbb E_{y_a}[\mu_a(\theta_a)]μˉ​a​(ya​)=Eya​​[μa​(θa​)], and the posterior predictive mean after nnn rewards is μ^a,n=Eya[μa(θa)∣Ra,1,…,Ra,n]\hat\mu_{a,n}=\mathbb E_{y_a}[\mu_a(\theta_a)\mid R_{a,1},\dots,R_{a,n}]μ^​a,n​=Eya​​[μa​(θa​)∣Ra,1​,…,Ra,n​]. The outcome ω=(θ,(Ra,n))\omega=(\theta,(R_{a,n}))ω=(θ,(Ra,n​)) has law I(y)\mathcal I(y)I(y).

The three performance bounds are

WTS(T,y)=Ey[Tmax⁡aμa(θa)],WIRS.FH(T,y)=Ey[Tmax⁡aμ^a,T−1],W^{\rm TS}(T,y)=\mathbb E_y\Big[T\max_a\mu_a(\theta_a)\Big],\qquad W^{\rm IRS.FH}(T,y)=\mathbb E_y\Big[T\max_a\hat\mu_{a,T-1}\Big],WTS(T,y)=Ey​[Tamax​μa​(θa​)],WIRS.FH(T,y)=Ey​[Tamax​μ^​a,T−1​], WIRS.V-Zero(T,y)=Ey[max⁡n∈NT∑a∑i=0na−1μ^a,i],NT={n∈N0K:∑ana=T}.W^{\rm IRS.V\text{-}Zero}(T,y)=\mathbb E_y\Big[\max_{n\in\mathcal N_T}\sum_a\sum_{i=0}^{n_a-1}\hat\mu_{a,i}\Big],\qquad\mathcal N_T=\Big\{n\in\mathbb N_0^K:\sum_a n_a=T\Big\}.WIRS.V-Zero(T,y)=Ey​[n∈NT​max​a∑​i=0∑na​−1​μ^​a,i​],NT​={n∈N0K​:a∑​na​=T}.

With remaining horizon TTT and current belief yyy, TS samples θ~\tilde\thetaθ~ from the prior P(y)\mathcal P(y)P(y) and plays arg⁡max⁡aμa(θ~a)\arg\max_a\mu_a(\tilde\theta_a)argmaxa​μa​(θ~a​). IRS.FH samples an outcome ω~∼I(y)\tilde\omega\sim\mathcal I(y)ω~∼I(y) and plays arg⁡max⁡aμ^a,T−1(ω~)\arg\max_a\hat\mu_{a,T-1}(\tilde\omega)argmaxa​μ^​a,T−1​(ω~). IRS.V-Zero samples ω~\tilde\omegaω~, finds an allocation n~∗∈NT\tilde n^*\in\mathcal N_Tn~∗∈NT​ maximizing the bracket above, and plays arg⁡max⁡an~a∗\arg\max_a\tilde n^*_aargmaxa​n~a∗​. Each policy repeats this at every step with the updated belief. V(π,T,y)V(\pi,T,y)V(π,T,y) is the expected total reward of π\piπ.

Formalization targets

Goal: Theorem 3

If every AaA_aAa​ is LLL-smooth (Aa′′≤LA_a''\le LAa′′​≤L on R\mathbb RR) and νa=ν\nu_a=\nuνa​=ν for all aaa, then for every T≥2T\ge2T≥2

WTS−V(πTS)≤2L[1ν+2log⁡T(Kν+2KT)],W^{\rm TS}-V(\pi^{\rm TS})\le2\sqrt L\Big[\tfrac1{\sqrt\nu}+\sqrt{2\log T}\big(\tfrac K{\sqrt\nu}+2\sqrt{KT}\big)\Big],WTS−V(πTS)≤2L​[ν​1​+2logT​(ν​K​+2KT​)], WIRS.FH−V(πIRS.FH)≤2L[1ν+2log⁡T(Kν+2KT−13T/K)],W^{\rm IRS.FH}-V(\pi^{\rm IRS.FH})\le2\sqrt L\Big[\tfrac1{\sqrt\nu}+\sqrt{2\log T}\big(\tfrac K{\sqrt\nu}+2\sqrt{KT}-\tfrac13\sqrt{T/K}\big)\Big],WIRS.FH−V(πIRS.FH)≤2L​[ν​1​+2logT​(ν​K​+2KT​−31​T/K​)], WIRS.V-Zero−V(πIRS.V-Zero)≤L[1ν+2log⁡T(Kν+2KT−13T/K)].W^{\rm IRS.V\text{-}Zero}-V(\pi^{\rm IRS.V\text{-}Zero})\le\sqrt L\Big[\tfrac1{\sqrt\nu}+\sqrt{2\log T}\big(\tfrac K{\sqrt\nu}+2\sqrt{KT}-\tfrac13\sqrt{T/K}\big)\Big].WIRS.V-Zero−V(πIRS.V-Zero)≤L​[ν​1​+2logT​(ν​K​+2KT​−31​T/K​)].

The TS bound (60) is also posed alone as a companion statement.

Milestones

  1. Lemma 3: the loss of a first action aaa in the penalized inner problem is μa∗−μa\mu_{a^*}-\mu_aμa∗​−μa​ (TS), μ^a∗,T−1−μ^a,T−1\hat\mu_{a^*,T-1}-\hat\mu_{a,T-1}μ^​a∗,T−1​−μ^​a,T−1​ (IRS.FH), and at most max⁡n<Tμ^a∗,n−μ^a,0\max_{n<T}\hat\mu_{a^*,n}-\hat\mu_{a,0}maxn<T​μ^​a∗,n​−μ^​a,0​ (IRS.V-Zero).
  2. Lemma 4 and Corollary 3: a Gaussian tail, in particular sub-Gaussianity, gives E[(X−EX−zσ)+]≤(σ/z)e−z2/2\mathbb E[(X-\mathbb EX-z\sigma)^+]\le(\sigma/z)e^{-z^2/2}E[(X−EX−zσ)+]≤(σ/z)e−z2/2.
  3. Lemma 5: μˉa=ξa/ν\bar\mu_a=\xi_a/\nuμˉ​a​=ξa​/ν, μa\mu_aμa​ is L/ν\sqrt{L/\nu}L/ν​-sub-Gaussian and μ^a,n\hat\mu_{a,n}μ^​a,n​ is Ln/(ν(ν+n))\sqrt{Ln/(\nu(\nu+n))}Ln/(ν(ν+n))​-sub-Gaussian.
  4. Lemma 6: the maximal version of Lemma 4 for max⁡i≤nμ^a,i\max_{i\le n}\hat\mu_{a,i}maxi≤n​μ^​a,i​.
  5. (259)–(261) and (269)–(275): deterministic summation bounds over the pull counts of an action sequence.

Significance

Theorem 3 shows that the IRS policies, although built from tighter performance bounds than TS, keep the O(KTlog⁡T)O(\sqrt{KT\log T})O(KTlogT​) behaviour of TS, and that they improve the leading coefficient (IRS.V-Zero) or subtract a T/K\sqrt{T/K}T/K​ term (IRS.FH, IRS.V-Zero). Because WTS−V(πTS)W^{\rm TS}-V(\pi^{\rm TS})WTS−V(πTS) is the Bayesian regret of TS, (60) is also an explicit Bayesian regret bound for TS that applies to unbounded rewards such as Gaussian ones. The bounds apply to the Bernoulli family (with L=1/4L=1/4L=1/4) and to Gaussian rewards with known variance.

None of these results has a machine-checked proof. A formal development produces a reusable Lean model of a conjugate-prior Bayesian bandit with natural-exponential-family rewards, the sub-Gaussianity of its posterior mean process, and a Lean account of TS as a belief-Markov randomized policy. The paper's proofs are in its Appendix D.4.

Difficulty

The obvious route to (60) is the standard Bayesian-regret decomposition with upper confidence bounds. For unbounded natural-exponential-family rewards the required concentration does not come from boundedness. It has to come from the conjugate structure: the prior of μa(θa)=Aa′(θa)\mu_a(\theta_a)=A_a'(\theta_a)μa​(θa​)=Aa′​(θa​) is sub-Gaussian because AaA_aAa​ is LLL-smooth, which uses the whole real line as parameter space. For the IRS policies there is a further step: the policy must match nature's randomness in the same way TS does, with the penalized inner problem in place of the true best arm. The printed arguments for (61) and (62) pass through a time-ttt version of Lemma 3 whose IRS.FH and IRS.V-Zero cases do not hold in full generality as printed, so those two bounds need new or repaired arguments.

Formalization scope

Arms are Fin K and reward indices are 0-based. The parameter space of every arm is R\mathbb RR, and a belief is a pair (ξ,ν)∈R2(\xi,\nu)\in\mathbb R^2(ξ,ν)∈R2. μa\mu_aμa​, μˉa\bar\mu_aμˉ​a​ and μ^a,n\hat\mu_{a,n}μ^​a,n​ are defined as integrals, with μ^a,n\hat\mu_{a,n}μ^​a,n​ the predictive mean at the conjugate posterior belief (13), so the closed forms (14) are consequences, not assumptions. Products of probability measures are Measure.infinitePi. WIRS.FHW^{\rm IRS.FH}WIRS.FH is defined by its closed form (33). V(π,T,y)V(\pi,T,y)V(π,T,y) is the recursion of the outer loop: draw the action from the policy's law at the current belief, earn the predictive mean, observe a reward from the predictive law, and update the belief. Every policy is a map from (remaining horizon, current belief) to a law on arms, so no policy can see the true outcome; a formalization in which TS used the true parameter would make (60) trivial and is excluded by construction. Ties are broken by arbitrary measurable selectors, and the goal quantifies over all of them.

Standing hypotheses carried by the goal:

  • normalization ∫eθrha(dr)=eAa(θ)\int e^{\theta r}h_a(dr)=e^{A_a(\theta)}∫eθrha​(dr)=eAa​(θ);
  • Aa∈C2A_a\in C^2Aa​∈C2 with Aa′′≤LA_a''\le LAa′′​≤L;
  • ν>0\nu>0ν>0 and a proper prior at the initial belief;
  • integrability (3) of the rewards at the initial belief;
  • K≥1K\ge1K≥1.

Properness is not assumed at every belief, since for Bernoulli rewards it fails outside 0<ξ<ν0<\xi<\nu0<ξ<ν. Lemma 3 (3) carries the added hypothesis that aaa is strictly suboptimal; without it the printed statement fails at ties. Sub-Gaussianity uses Mathlib's HasSubgaussianMGF with variance proxy σ2\sigma^2σ2.

Useful infrastructure: conjugate updating for exponential families, the moment generating function of a natural exponential family, Doob's maximal inequality for the submartingale eλμ^a,ne^{\lambda\hat\mu_{a,n}}eλμ^​a,n​, and a probability-matching lemma for TS in the belief-recursion model. Contributions are welcome on any milestone, and on a proof that the Beta–Bernoulli instance satisfies the hypotheses.

Selected references

  • S. Min, C. Maglaras, C. C. Moallemi, Thompson Sampling with Information Relaxation Penalties, Management Science, 2025; preprint arXiv:1902.04251v2, 2021. https://arxiv.org/abs/1902.04251
  • D. B. Brown, J. E. Smith, P. Sun, Information Relaxations and Duality in Stochastic Dynamic Programs, Operations Research 58(4), 2010. https://doi.org/10.1287/opre.1090.0796
  • D. Russo, B. Van Roy, Learning to Optimize via Posterior Sampling, Mathematics of Operations Research 39(4), 2014. https://doi.org/10.1287/moor.2014.0650
  • S. Bubeck, C.-Y. Liu, Prior-free and prior-dependent regret bounds for Thompson Sampling, NeurIPS 2013. https://arxiv.org/abs/1304.5758
9 thms2 active usersReviewed
Bandit AlgorithmsOperations ResearchProbability·Captain: mikedeng1

Thompson Sampling with Information Relaxation Penalties II: The IRS Performance Bounds Are Monotone, W^TS ≥ W^IRS.FH ≥ W^IRS.V-Zero and W^TS ≥ W^IRS.V-EMaxResearch Paper

Motivation

In a Bayesian multi-armed bandit a decision maker pulls one of KKK arms in each of TTT periods, observes the reward, and updates a prior belief about each arm's unknown parameter. The best achievable expected total reward, V∗(T,y)V^*(T, y)V∗(T,y), is the value of a dynamic program over beliefs, and for all but the smallest instances it cannot be computed. Upper bounds on V∗V^*V∗ are therefore the yardsticks against which heuristics such as Thompson sampling (TS) are measured: the gap between a policy's performance and an upper bound certifies how far the policy can be from optimal.

The conventional benchmark is the expected total reward of a clairvoyant who knows the arms' parameters, WTS(T,y)=Ey[Tmax⁡aμa(θa)]W^{TS}(T, y) = \mathbb E_y[T \max_a \mu_a(\theta_a)]WTS(T,y)=Ey​[Tmaxa​μa​(θa​)], the quantity behind every Bayesian regret bound. Min, Maglaras and Moallemi (arXiv:1902.04251v2, Management Science 2025) apply the information relaxation duality of Brown, Smith and Sun (Operations Research 2010) to the bandit: a clairvoyant who sees the whole future but pays a penalty for using it. Each penalty yields a performance bound Wz(T,y)W^z(T,y)Wz(T,y) and a randomized policy (IRS, "information relaxation sampling"); the zero-information penalty recovers TS and WTSW^{TS}WTS, the ideal penalty recovers V∗V^*V∗. The paper's Theorem 2 shows that its intermediate penalties give bounds that are provably tighter than WTSW^{TS}WTS. This mission formalizes that theorem.

Setting

Let A={1,…,K}\mathcal A = \{1, \dots, K\}A={1,…,K}, K≥1K \ge 1K≥1. Arm aaa has an unknown parameter θa\theta_aθa​; given θa\theta_aθa​, its rewards Ra,1,Ra,2,…R_{a,1}, R_{a,2}, \dotsRa,1​,Ra,2​,… are i.i.d. with law Ra(θa)\mathcal R_a(\theta_a)Ra​(θa​). The parameter has a prior Pa(ya)\mathcal P_a(y_a)Pa​(ya​) from a conjugate family indexed by a belief yay_aya​, and the Bayesian update Ua(ya,r)\mathcal U_a(y_a, r)Ua​(ya​,r) is the belief after a reward rrr: if θa∼Pa(ya)\theta_a \sim \mathcal P_a(y_a)θa​∼Pa​(ya​) then θa∣Ra,1∼Pa(Ua(ya,Ra,1))\theta_a \mid R_{a,1} \sim \mathcal P_a(\mathcal U_a(y_a, R_{a,1}))θa​∣Ra,1​∼Pa​(Ua​(ya​,Ra,1​)). The outcome ω=(θ,(Ra,n)a,n)\omega = (\theta, (R_{a,n})_{a,n})ω=(θ,(Ra,n​)a,n​) has law I(y)\mathcal I(y)I(y), under which arms are independent. Throughout, Eya∣Ra,1∣<∞\mathbb E_{y_a}|R_{a,1}| < \inftyEya​​∣Ra,1​∣<∞ for every belief.

The conditional and predictive mean rewards are μa(θa)=E[Ra,n∣θa]\mu_a(\theta_a) = \mathbb E[R_{a,n} \mid \theta_a]μa​(θa​)=E[Ra,n​∣θa​] and μˉa(ya)=Eya[μa(θa)]\bar\mu_a(y_a) = \mathbb E_{y_a}[\mu_a(\theta_a)]μˉ​a​(ya​)=Eya​​[μa​(θa​)], and the posterior predictive mean after nnn rewards of arm aaa is μ^a,n=Eya[μa(θa)∣Ra,1,…,Ra,n]\hat\mu_{a,n} = \mathbb E_{y_a}[\mu_a(\theta_a) \mid R_{a,1}, \dots, R_{a,n}]μ^​a,n​=Eya​​[μa​(θa​)∣Ra,1​,…,Ra,n​]. With NT={n∈N0K:∑ana=T}\mathcal N_T = \{n \in \mathbb N_0^K : \sum_a n_a = T\}NT​={n∈N0K​:∑a​na​=T} and Sa(n)=∑i=1nμ^a,i−1S_a(n) = \sum_{i=1}^{n} \hat\mu_{a,i-1}Sa​(n)=∑i=1n​μ^​a,i−1​, the four bounds compared are

WTS(T,y)=Ey[Tmax⁡aμa(θa)],WIRS.FH(T,y)=Ey[Tmax⁡aμ^a,T−1],W^{TS}(T,y) = \mathbb E_y\Big[T\max_a \mu_a(\theta_a)\Big], \qquad W^{IRS.FH}(T,y) = \mathbb E_y\Big[T\max_a \hat\mu_{a,T-1}\Big],WTS(T,y)=Ey​[Tamax​μa​(θa​)],WIRS.FH(T,y)=Ey​[Tamax​μ^​a,T−1​], WIRS.V-Zero(T,y)=Ey[max⁡n∈NT∑aSa(na)],WIRS.V-EMax(T,y)=Ey[max⁡a1:T∑t=1T(rt−ztIRS.V-EMax)].W^{IRS.V\text{-}Zero}(T,y) = \mathbb E_y\Big[\max_{n\in\mathcal N_T} \sum_a S_a(n_a)\Big], \qquad W^{IRS.V\text{-}EMax}(T,y) = \mathbb E_y\Big[\max_{a_{1:T}} \sum_{t=1}^T \big(r_t - z_t^{IRS.V\text{-}EMax}\big)\Big].WIRS.V-Zero(T,y)=Ey​[n∈NT​max​a∑​Sa​(na​)],WIRS.V-EMax(T,y)=Ey​[a1:T​max​t=1∑T​(rt​−ztIRS.V-EMax​)].

In the last one the clairvoyant chooses a whole action sequence a1:Ta_{1:T}a1:T​ knowing ω\omegaω, and at time ttt receives the conditional expected reward μˉat\bar\mu_{a_t}μˉ​at​​ under the current belief yt−1y_{t-1}yt−1​, minus WTS(T−t,yt)W^{TS}(T-t, y_t)WTS(T−t,yt​), plus the expectation of WTS(T−t,yt)W^{TS}(T-t, y_t)WTS(T−t,yt​) given the history Ht−1H_{t-1}Ht−1​. A supersolution is a function V^(T,y)\hat V(T, y)V^(T,y) with V^(0,y)=0\hat V(0, y) = 0V^(0,y)=0 and V^(T,y)≥Eya[Ra,1+V^(T−1,U(y,a,Ra,1))]\hat V(T, y) \ge \mathbb E_{y_a}[R_{a,1} + \hat V(T-1, \mathcal U(y, a, R_{a,1}))]V^(T,y)≥Eya​​[Ra,1​+V^(T−1,U(y,a,Ra,1​))] for all T≥1T \ge 1T≥1, yyy, aaa (Definition 2).

Formalization targets

Goal: Theorem 2 (p. 25)

WTS(T,y)≥WIRS.FH(T,y)≥WIRS.V-Zero(T,y),WTS(T,y)≥WIRS.V-EMax(T,y),W^{TS}(T,y) \ge W^{IRS.FH}(T,y) \ge W^{IRS.V\text{-}Zero}(T,y), \qquad W^{TS}(T,y) \ge W^{IRS.V\text{-}EMax}(T,y),WTS(T,y)≥WIRS.FH(T,y)≥WIRS.V-Zero(T,y),WTS(T,y)≥WIRS.V-EMax(T,y),

for every horizon TTT and every belief vector yyy of every conjugate model satisfying the standing assumptions.

Milestones (Appendix D.3)

  1. WTS≥WIRS.FHW^{TS} \ge W^{IRS.FH}WTS≥WIRS.FH, (124).
  2. Lemma 1, a variant of Jensen's inequality: for non-decreasing φ\varphiφ, E[max⁡{X+φ(X),0}]≥E[max⁡{EX+φ(X),0}]\mathbb E[\max\{X+\varphi(X),0\}] \ge \mathbb E[\max\{\mathbb E X+\varphi(X),0\}]E[max{X+φ(X),0}]≥E[max{EX+φ(X),0}].
  3. Corollary 1, its version conditional on a sub-σ\sigmaσ-field H\mathcal HH.
  4. Corollary 2, the form for a maximum of affine functions (i−n)+X+Ci(i-n)^+X + C_i(i−n)+X+Ci​ with H\mathcal HH-measurable CiC_iCi​.
  5. (155): the interpolating expectations Uk,nU_{k,n}Uk,n​ of (154) decrease in nnn, with WIRS.FH=U1,0W^{IRS.FH} = U_{1,0}WIRS.FH=U1,0​, WIRS.V-Zero=UK,TW^{IRS.V\text{-}Zero} = U_{K,T}WIRS.V-Zero=UK,T​ and Uk+1,0=Uk,TU_{k+1,0} = U_{k,T}Uk+1,0​=Uk,T​.
  6. Lemma 2 (Theorem 4 of Desai, Farias and Moallemi): a supersolution V^\hat VV^ bounds the inner problem of its own penalty outcome by outcome, hence Wz^≤V^W^{\hat z} \le \hat VWz^≤V^.
  7. (176)–(180): WTSW^{TS}WTS is a supersolution.

Significance

The result. Theorem 2 says that the penalties IRS.FH and IRS.V-Zero, which only require sampling a future and solving a deterministic allocation problem, produce upper bounds on V∗V^*V∗ that are never looser than the regret benchmark WTSW^{TS}WTS, and that IRS.V-EMax is too. A bound below WTSW^{TS}WTS gives a sharper certificate of suboptimality for any policy, and the paper's experiments (§5) report these bounds next to the policies' performance. The ordering also organises the paper's family of policies: the bounds move monotonically from the TS benchmark towards the optimal value.

Formalizing it. The theorem is proved in the paper (Appendix D.3); it has no machine-checked proof. A formal development checks three different mechanisms: conditional Jensen for (124); a one-arm-at-a-time interpolation through Uk,nU_{k,n}Uk,n​, driven by a non-standard Jensen-type inequality (Lemma 1, Corollaries 1–2), for (57); and the supersolution argument of Desai et al. for (58). The paper's own remark (pp. 59–60) shows that the middle inequality does not follow from the general "finer information gives a weaker bound" principle of Brown et al.; formalization fixes exactly which properties of the bandit (conjugacy, independence of arms, the martingale property of μ^a,n\hat\mu_{a,n}μ^​a,n​) carry the argument.

Difficulty

The obvious route to WIRS.FH≥WIRS.V-ZeroW^{IRS.FH} \ge W^{IRS.V\text{-}Zero}WIRS.FH≥WIRS.V-Zero is to observe that IRS.FH conditions on more information (T−1T-1T−1 rewards of every arm) than IRS.V-Zero (only the history so far) and invoke monotonicity of dual bounds in the relaxation. That argument fails: the two penalties are not generated by a common function, and the paper exhibits a modified bandit (163)–(165) in which the inequality reverses. The interpolation must instead trade one arm's realized cumulative payoff for a constant per-pull payoff one pull at a time, and each step needs Corollary 2, where conditioning acts inside a maximum of affine functions; ordinary Jensen points the wrong way there.

For (58), the difficulty is that the payoff of the penalised inner problem depends on the whole outcome along an adaptively chosen action sequence; the bound must hold uniformly over all KTK^TKT sequences, which is why it is proved pathwise by backward induction rather than in expectation.

Formalization scope

Arms are Fin K (0-based) with [NeZero K]. All arms share one parameter type Θ\ThetaΘ (standard Borel, nonempty) and one belief type YYY, the disjoint unions of the per-arm ones. Rewards are a Kernel Θ ℝ per arm, priors a Kernel Y Θ per arm, both Markov. The outcome is Fin K → Θ × (ℕ → ℝ) with law the product over arms of θa∼Pa(ya)\theta_a \sim \mathcal P_a(y_a)θa​∼Pa​(ya​) followed by an i.i.d. reward sequence. The standing assumptions are one predicate: conjugacy (the update agrees a.e. with Mathlib's posterior of the reward kernel), joint measurability of each Ua\mathcal U_aUa​, and Eya∣Ra,1∣<∞\mathbb E_{y_a}|R_{a,1}| < \inftyEya​​∣Ra,1​∣<∞ for every belief, (3). μ^a,n\hat\mu_{a,n}μ^​a,n​ is the conjugate (pathwise) version μˉa(ya,n)\bar\mu_a(y_{a,n})μˉ​a​(ya,n​) of the conditional expectation (10). WIRS.FHW^{IRS.FH}WIRS.FH is defined by its closed form (33). In the penalties (26) and (168) the conditional expectations given Ht−1H_{t-1}Ht−1​ are replaced by their conjugate closed forms: E[rt∣Ht−1]=μ^at,nt−1(at)\mathbb E[r_t \mid H_{t-1}] = \hat\mu_{a_t, n_{t-1}(a_t)}E[rt​∣Ht−1​]=μ^​at​,nt−1​(at​)​, and the expectation of V^(T−t,yt)\hat V(T-t, y_t)V^(T−t,yt​) is the integral over the predictive law of the next reward. The supersolution predicate requires the expectation in (166) to exist. Lemma 1 and Corollary 1 compare lower Lebesgue integrals in [0,∞][0,\infty][0,∞]; Corollary 1 adds joint measurability of φ\varphiφ; Corollary 2 assumes the CiC_iCi​ integrable; Lemma 2's integral form assumes the pathwise maximum integrable.

Trivializations ruled out. No expectation in a goal can silently be a junk 000: the standing integrability makes every bound an honest integral, and Lemma 1 and Corollary 1 are stated with lower integrals. WIRS.V-EMaxW^{IRS.V\text{-}EMax}WIRS.V-EMax is the penalised clairvoyant value of the penalty generated by WTSW^{TS}WTS, not WTSW^{TS}WTS itself or the closed form (41) substituted into it. The standing assumptions are satisfiable (a sorry-free check with a one-point parameter space is in the development).

A complete development needs: conjugate updating along reward sequences and the martingale property of μ^a,n\hat\mu_{a,n}μ^​a,n​ (Remark 1); measurability of θ↦⨂nRa(θ)\theta \mapsto \bigotimes_n \mathcal R_a(\theta)θ↦⨂n​Ra​(θ); independence of arms under I(y)\mathcal I(y)I(y); conditional Jensen for finite maxima. Lemma 1, Corollaries 1–2 and Lemma 2 are reusable beyond this mission. Contributions of any milestone, or of the infrastructure lemmas above, are welcome.

Selected references

  • S. Min, C. Maglaras, C. C. Moallemi, Thompson Sampling with Information Relaxation Penalties, Management Science, 2025; preprint arXiv:1902.04251v2, 2021. https://arxiv.org/abs/1902.04251
  • D. B. Brown, J. E. Smith, P. Sun, Information Relaxations and Duality in Stochastic Dynamic Programs, Operations Research 58(4), 2010. https://doi.org/10.1287/opre.1090.0796
  • V. V. Desai, V. F. Farias, C. C. Moallemi, Bounds for Markov Decision Processes, in F. L. Lewis and D. Liu (eds.), Reinforcement Learning and Approximate Dynamic Programming for Feedback Control, Wiley/IEEE Press, pp. 452–473, 2012 (the paper's Desai et al. 2012a; Theorem 4 there is Lemma 2 here).
  • D. Russo, B. Van Roy, Learning to Optimize via Posterior Sampling, Mathematics of Operations Research 39(4), 2014. https://doi.org/10.1287/moor.2014.0650
9 thms2 active usersReviewed
🏆Completed
Quantum Information·Captain: Goku

A Survey of Quantum Learning Theory 5: Atıcı–Servedio: time-efficient quantum learning of k-juntas (corrected)Textbook

Motivation

This mission develops Chapter 5 of A Survey of Quantum Learning Theory by Srinivasan Arunachalam and Ronald de Wolf. 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

This is a corrected form of the Atıcı–Servedio theorem on learning juntas from uniform quantum examples.

A function f:{0,1}n→{0,1}f:\{0,1\}^n\to\{0,1\}f:{0,1}n→{0,1} is a kkk-junta if it depends on at most kkk of its nnn input bits. A uniform quantum example of fff is the (n+1)(n+1)(n+1)-qubit state ∑x∈{0,1}n2−n/2∣x,f(x)⟩\sum_{x\in\{0,1\}^n}2^{-n/2}|x,f(x)\rangle∑x∈{0,1}n​2−n/2∣x,f(x)⟩; a uniform classical example is a pair (x,f(x))(x,f(x))(x,f(x)) with xxx uniform on {0,1}n\{0,1\}^n{0,1}n. The error of a hypothesis hhh is Pr⁡x[h(x)≠f(x)]\Pr_{x}[h(x)\neq f(x)]Prx​[h(x)=f(x)] for uniform xxx.

Time is measured in the following hybrid cost model, which is the one the source's proof sketch counts in. A learner (1) applies a circuit over the gate set {H,T,CNOT}\{H,T,\mathrm{CNOT}\}{H,T,CNOT} to TQT_QTQ​ uniform quantum examples and some ancillas in ∣0⟩|0\rangle∣0⟩ and measures every qubit in the computational basis; (2) maps the outcome by a Boolean circuit of AND/OR/NOT gates to a set V⊆[n]V\subseteq[n]V⊆[n] of variables; (3) reads TCT_CTC​ uniform classical examples and outputs the truth-table hypothesis h(x)=f(xj)h(x)=f(x_j)h(x)=f(xj​) for the first example xjx_jxj​ that agrees with xxx on VVV (h(x)=0h(x)=0h(x)=0 if there is none). Its time is the number of quantum gates, plus the number of measured qubits, plus the number of Boolean gates, plus TCT_CTC​ (one unit per classical example, which is read and written into the table cell indexed by its VVV-bits), plus 2∣V∣2^{|V|}2∣V∣ table cells (worst case over the outcomes).

For every δ∈(0,1)\delta\in(0,1)δ∈(0,1) there is a constant C>0C>0C>0 such that for all n,kn,kn,k with 2≤k≤n2\le k\le n2≤k≤n and all ε∈(0,1/2]\varepsilon\in(0,1/2]ε∈(0,1/2] there is such a learner with

TQ≤C klog⁡kε,TC≤C 2klog⁡1ε,time≤C(nklog⁡kε+2klog⁡1ε),T_Q\le C\,\frac{k\log k}{\varepsilon},\qquad T_C\le C\,2^k\log\frac1\varepsilon,\qquad \mathrm{time}\le C\Big(\frac{nk\log k}{\varepsilon}+2^k\log\frac1\varepsilon\Big),TQ​≤Cεklogk​,TC​≤C2klogε1​,time≤C(εnklogk​+2klogε1​),

which, for every kkk-junta fff, outputs with probability at least 1−δ1-\delta1−δ (over the measurement outcomes and the classical examples) a hypothesis of error at most ε\varepsilonε.

The theorem shows that quantum examples remove the nΘ(k)n^{\Theta(k)}nΘ(k) search over candidate variable sets that the best known classical learners need, which is why juntas are a notorious bottleneck classically.

Formalization Note The source states no cost model, no confidence parameter, and O(2k)O(2^k)O(2k) classical examples. The cost model above, the fixed-confidence reading (constants depend on δ\deltaδ only), and the O(2klog⁡(1/ε))O(2^k\log(1/\varepsilon))O(2klog(1/ε)) classical examples of the source's own proof sketch are the corrections. The thresholds k≥2k\ge2k≥2 and ε≤1/2\varepsilon\le1/2ε≤1/2 make log⁡k\log klogk and log⁡(1/ε)\log(1/\varepsilon)log(1/ε) positive.

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 5.4: Atıcı–Servedio: time-efficient quantum learning of k-juntas (corrected).

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 and Ronald de Wolf, A Survey of Quantum Learning Theory, 2017, v3. https://arxiv.org/pdf/1701.06806v3.
5 thms2 active usersReviewed
Quantum Information·Captain: Goku

Quantum Algorithms and Learning Theory — Part II 6: Shadow tomography with poly(log m, log d, 1/ε, log(1/δ)) copiesTextbook

Motivation

This mission develops Chapter 6 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

This is Aaronson's shadow tomography theorem.

A two-outcome measurement on Cd\mathbb C^dCd is a POVM {E,1−E}\{E,\mathbb 1-E\}{E,1−E} with 0⪯E⪯10\preceq E\preceq\mathbb 10⪯E⪯1. A learner using kkk copies of an unknown ddd-dimensional density matrix ρ\rhoρ performs a measurement (a POVM {No}o∈O\{N_o\}_{o\in O}{No​}o∈O​ with finite outcome set OOO) on ρ⊗k\rho^{\otimes k}ρ⊗k and outputs numbers b(o)=(b1(o),…,bm(o))∈[0,1]mb(o)=(b_1(o),\dots,b_m(o))\in[0,1]^mb(o)=(b1​(o),…,bm​(o))∈[0,1]m.

There is a polynomial ppp in four variables such that for all ε,δ∈(0,1]\varepsilon,\delta\in(0,1]ε,δ∈(0,1], all integers m,d>0m,d>0m,d>0 and all effects E1,…,EmE_1,\dots,E_mE1​,…,Em​ on Cd\mathbb C^dCd there exist k≤p(log⁡m,log⁡d,1/ε,log⁡(1/δ))k\le p(\log m,\log d,1/\varepsilon,\log(1/\delta))k≤p(logm,logd,1/ε,log(1/δ)) and such a learner (depending on m,d,ε,δm,d,\varepsilon,\deltam,d,ε,δ and E1,…,EmE_1,\dots,E_mE1​,…,Em​, but not on ρ\rhoρ) with

Pr⁡o∼{Tr⁡(Noρ⊗k)}[ ∀i∈[m]: ∣Tr⁡(Eiρ)−bi(o)∣≤ε ] ≥ 1−δ\Pr_{o\sim\{\operatorname{Tr}(N_o\rho^{\otimes k})\}}\Big[\ \forall i\in[m]:\ |\operatorname{Tr}(E_i\rho)-b_i(o)|\le\varepsilon\ \Big]\ \ge\ 1-\deltao∼{Tr(No​ρ⊗k)}Pr​[ ∀i∈[m]: ∣Tr(Ei​ρ)−bi​(o)∣≤ε ] ≥ 1−δ

for every ddd-dimensional density matrix ρ\rhoρ.

The number of copies is exponentially smaller in mmm and ddd than for full state tomography or for estimating each Tr⁡(Eiρ)\operatorname{Tr}(E_i\rho)Tr(Ei​ρ) separately.

Formalization Note The source writes ε,δ∈[0,1]\varepsilon,\delta\in[0,1]ε,δ∈[0,1]; the endpoints 000 are excluded because there 1/ε1/\varepsilon1/ε or log⁡(1/δ)\log(1/\delta)log(1/δ) is undefined. Internal randomness and post-processing of the learner are absorbed into the POVM; ρ⊗k\rho^{\otimes k}ρ⊗k is the kkk-fold Kronecker power and logarithms are natural (the base is absorbed by the polynomial).

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

  • Lemma 6.4.8: A class of size at most M needing Ω(√((N−k+1)k)) quantum membership queries.
  • Fact 6.4.9: An admissible weight k of order log M/(log(N/log M)+1).
  • Theorem 6.6.2: Shadow tomography with poly(log m, log d, 1/ε, log(1/δ)) 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.
3 thms2 active usersReviewed
Quantum Information·Captain: Goku

A Survey of Quantum Learning Theory 4: Quantum states are PAC-learnable from n·poly(1/ε, 1/γ, log(1/δ)) measurement resultsTextbook

Motivation

This mission develops Chapter 4 of A Survey of Quantum Learning Theory by Srinivasan Arunachalam and Ronald de Wolf. 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

This is Aaronson's theorem on "pretty good tomography": an nnn-qubit state can be PAC-learned from linearly many (in nnn) measurement results.

An nnn-qubit state is a density matrix ρ∈C2n×2n\rho\in\mathbb C^{2^n\times 2^n}ρ∈C2n×2n (positive semidefinite, trace 111). A two-outcome measurement is an effect EEE, i.e. 0⪯E⪯Id0\preceq E\preceq \mathrm{Id}0⪯E⪯Id; its first outcome has probability Tr(Eρ)\mathrm{Tr}(E\rho)Tr(Eρ). Let DDD be a probability distribution (Borel) on the set of effects.

There is a polynomial ppp in three variables with nonnegative coefficients such that for every nnn and all ε,γ>0\varepsilon,\gamma>0ε,γ>0, δ∈(0,1)\delta\in(0,1)δ∈(0,1) there are a number

T ≤ n⋅p(1/ε, 1/γ, log⁡(1/δ))T\ \le\ n\cdot p\big(1/\varepsilon,\ 1/\gamma,\ \log(1/\delta)\big)T ≤ n⋅p(1/ε, 1/γ, log(1/δ))

and a (measurable) learner LLL, mapping TTT measurement results to an nnn-qubit density matrix, with the following property: for every nnn-qubit state ρ\rhoρ and every distribution DDD, if E1,…,ETE_1,\dots,E_TE1​,…,ET​ are drawn i.i.d. from DDD and, independently given the EiE_iEi​, each bib_ibi​ is a bit with Pr⁡[bi=1]=Tr(Eiρ)\Pr[b_i=1]=\mathrm{Tr}(E_i\rho)Pr[bi​=1]=Tr(Ei​ρ), then with probability at least 1−δ1-\delta1−δ the output σ=L((E1,b1),…,(ET,bT))\sigma=L((E_1,b_1),\dots,(E_T,b_T))σ=L((E1​,b1​),…,(ET​,bT​)) satisfies

Pr⁡E∼D[ ∣Tr(Eσ)−Tr(Eρ)∣>γ ] ≤ ε.\Pr_{E\sim D}\big[\,|\mathrm{Tr}(E\sigma)-\mathrm{Tr}(E\rho)|>\gamma\,\big]\ \le\ \varepsilon .E∼DPr​[∣Tr(Eσ)−Tr(Eρ)∣>γ] ≤ ε.

The learner knows neither ρ\rhoρ nor DDD. Only the number of measurement results is bounded, not the running time.

Formalization Note "T=n⋅polyT=n\cdot\mathrm{poly}T=n⋅poly" is read as an upper bound on TTT (a learner may ignore extra results). The condition δ<1\delta<1δ<1 is added: for δ≥1\delta\ge 1δ≥1 the claim is empty and log⁡(1/δ)≤0\log(1/\delta)\le 0log(1/δ)≤0. The learner is deterministic and measurable; the probability of success is written out as an integral over DTD^{T}DT of the probabilities of the bit strings.

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

  • §4.1.1, Theorem 4.3: Servedio–Gortler: quantum exact learning needs Ω(max{1/√γ(C), log|C|/n}) queries.
  • §4.1.1, Corollary 4.4: Servedio–Gortler: D(C) = O(n·Q(C)^3).
  • §4.1.2, Theorem 4.5: Classical (N,M)-query complexity of exact learning is Θ(min{M,N}).
  • §4.1.2, Theorem 4.6: Kothari: optimal quantum (N,M)-query complexity of exact learning.
  • §4.1.2, Theorem 4.8: Kothari: quantum exact learning with O(√((1/γ)/log(1/γ))·log|C|) queries.
  • Theorem 4.12: Quantum PAC learning needs Ω(d/ε + log(1/δ)/ε) quantum examples.
  • Theorem 4.13: Diagonal of the square root of an XOR-invariant Gram matrix (corrected: with the factor 2^{-k/2}).
  • Theorem 4.15: Quantum agnostic learning needs Ω(d/ε² + log(1/δ)/ε²) quantum examples.
  • Theorem 4.16: Quantum states are PAC-learnable from n·poly(1/ε, 1/γ, log(1/δ)) measurement results.

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 and Ronald de Wolf, A Survey of Quantum Learning Theory, 2017, v3. https://arxiv.org/pdf/1701.06806v3.
11 thms2 active usersReviewed
Bandit AlgorithmsProbabilityReinforcement Learning·Captain: mikedeng1

(More) Efficient Reinforcement Learning via Posterior Sampling: PSRL Has Bayesian Regret O(τS√(AT log(SAT))) in Episodic Finite MDPsResearch Paper

Motivation

An agent that interacts repeatedly with an unknown Markov decision process must trade exploration against exploitation. The dominant design principle for provably efficient reinforcement learning has been optimism in the face of uncertainty: UCRL2 (Jaksch, Ortner & Auer, 2010) and REGAL (Bartlett & Tewari, 2009) build confidence sets around the unknown model and act according to the most favourable model in them. Computing that optimistic policy can be expensive, and confidence sets built separately for every state–action pair can be loose.

Posterior sampling for reinforcement learning (PSRL), proposed by Strens (2000), replaces optimism by randomization: at the start of each episode it samples one MDP from the posterior distribution and follows the optimal policy of that sample. It is the reinforcement-learning analogue of Thompson sampling for bandits. Osband, Russo & Van Roy (2013) gave the first regret guarantee for PSRL, and with it the first regret guarantee for an RL algorithm not based on optimism. Their argument transfers the Bayesian-regret analysis of Thompson sampling by Russo & Van Roy (2014) from bandits to MDPs.

Timeline:

  • 2000: Strens proposes PSRL as a heuristic.
  • 2010: Jaksch, Ortner and Auer prove O~(DSAT)\tilde O(DS\sqrt{AT})O~(DSAT​) regret for UCRL2 in non-episodic MDPs with diameter DDD.
  • 2013: Osband, Russo and Van Roy prove the O(τSATlog⁡(SAT))O(\tau S\sqrt{AT\log(SAT)})O(τSATlog(SAT)​) Bayesian regret bound for PSRL in episodic MDPs, the result of this mission.

Setting

A finite-horizon MDP M=(S,A,RM,PM,τ,ρ)M=(\mathcal S,\mathcal A,R^M,P^M,\tau,\rho)M=(S,A,RM,PM,τ,ρ) has SSS states, AAA actions and horizon τ\tauτ. Choosing action aaa in state sss yields a reward drawn from a distribution RaM(s)R^M_a(s)RaM​(s) on [0,1][0,1][0,1], with mean R‾aM(s)\overline R^M_a(s)RaM​(s), and moves the state to s′s's′ with probability PaM(s′∣s)P^M_a(s'\mid s)PaM​(s′∣s). Every episode starts from a state drawn from the initial distribution ρ\rhoρ. A policy μ\muμ maps a state and a step i∈{1,…,τ}i\in\{1,\dots,\tau\}i∈{1,…,τ} to an action, and its value is the expected total mean reward from step iii on,

Vμ,iM(s)=EM,μ[∑j=iτR‾ajM(sj) ∣ si=s].V^M_{\mu,i}(s)=\mathbb E_{M,\mu}\Big[\sum_{j=i}^{\tau}\overline R^M_{a_j}(s_j)\,\Big|\,s_i=s\Big].Vμ,iM​(s)=EM,μ​[j=i∑τ​Raj​M​(sj​)​si​=s].

A policy is optimal for MMM if it maximizes Vμ,iM(s)V^M_{\mu,i}(s)Vμ,iM​(s) for every sss and iii; μM\mu^MμM denotes a fixed choice of optimal policy for each MMM.

The true MDP M∗M^*M∗ is random with prior fff. In episode kkk, PSRL samples MkM_kMk​ from the posterior f(⋅∣Htk)f(\cdot\mid H_{t_k})f(⋅∣Htk​​) given the history HtkH_{t_k}Htk​​ of all earlier states, actions and rewards, and follows μk=μMk\mu_k=\mu^{M_k}μk​=μMk​ for τ\tauτ steps. With μ∗=μM∗\mu^*=\mu^{M^*}μ∗=μM∗, the regret of episode kkk and the cumulative regret are

Δk=∑sρ(s)(Vμ∗,1M∗(s)−Vμk,1M∗(s)),Regret(T,πτPS)=∑k=1⌈T/τ⌉Δk.\Delta_k=\sum_{s}\rho(s)\big(V^{M^*}_{\mu^*,1}(s)-V^{M^*}_{\mu_k,1}(s)\big),\qquad \mathrm{Regret}(T,\pi^{\mathrm{PS}}_\tau)=\sum_{k=1}^{\lceil T/\tau\rceil}\Delta_k .Δk​=s∑​ρ(s)(Vμ∗,1M∗​(s)−Vμk​,1M∗​(s)),Regret(T,πτPS​)=k=1∑⌈T/τ⌉​Δk​.

In Lean, MDPs are indexed by a parameter θ\thetaθ in a measurable space Θ\ThetaΘ (MDPFamily), the value is value F θ π j with 0-based steps, and the run is the structure PSRLRun.

Formalization targets

Goal: Theorem 1

There is an absolute constant C>0C>0C>0 such that, for all S,A,τ≥1S,A,\tau\ge1S,A,τ≥1, every prior fff, every measurable optimal-policy selector, every PSRL run with M∗∼fM^*\sim fM∗∼f and every TTT,

E[Regret(T,πτPS)]≤C τSATlog⁡(SAT).\mathbb E\big[\mathrm{Regret}(T,\pi^{\mathrm{PS}}_\tau)\big]\le C\,\tau S\sqrt{AT\log(SAT)} .E[Regret(T,πτPS​)]≤CτSATlog(SAT)​.

This is the paper's O(⋅)O(\cdot)O(⋅) statement. It does not fix the constant, which the paper's appendix computes with errors.

Milestones, in the order of the proof

  1. Lemma 1: given HtkH_{t_k}Htk​​, M∗M^*M∗ and MkM_kMk​ have the same conditional law.
  2. Theorem 2, (4): E[∑k≤mΔk]=E[∑k≤mΔ~k]\mathbb E[\sum_{k\le m}\Delta_k]=\mathbb E[\sum_{k\le m}\tilde\Delta_k]E[∑k≤m​Δk​]=E[∑k≤m​Δ~k​], where Δ~k=∑sρ(s)(Vμk,1Mk(s)−Vμk,1M∗(s))\tilde\Delta_k=\sum_s\rho(s)(V^{M_k}_{\mu_k,1}(s)-V^{M^*}_{\mu_k,1}(s))Δ~k​=∑s​ρ(s)(Vμk​,1Mk​​(s)−Vμk​,1M∗​(s)).
  3. Lemma 2, (5): the dynamic programming equation Vμ,iM=Tμ(⋅,i)MVμ,i+1MV^M_{\mu,i}=\mathcal T^M_{\mu(\cdot,i)}V^M_{\mu,i+1}Vμ,iM​=Tμ(⋅,i)M​Vμ,i+1M​.
  4. (6): E[Δ~k∣M∗,Mk]\mathbb E[\tilde\Delta_k\mid M^*,M_k]E[Δ~k​∣M∗,Mk​] equals the expected sum of one-step Bellman errors along the visited states.
  5. (7): the pathwise split of ∑kΔ~k\sum_k\tilde\Delta_k∑k​Δ~k​ on the event {Mk,M∗∈Mk}\{M_k,M^*\in\mathcal M_k\}{Mk​,M∗∈Mk​}.
  6. P(M∗∉Mk)≤1/m\mathbb P(M^*\notin\mathcal M_k)\le1/mP(M∗∈/Mk​)≤1/m for the paper's confidence sets (Lemma 17 of Jaksch et al.).
  7. (8): E[∑kΔ~k]≤(τ+1) E[∑k∑imin⁡{βk(sk,i,ak,i),1}]+2τ\mathbb E[\sum_k\tilde\Delta_k]\le(\tau+1)\,\mathbb E[\sum_k\sum_i\min\{\beta_k(s_{k,i},a_{k,i}),1\}]+2\tauE[∑k​Δ~k​]≤(τ+1)E[∑k​∑i​min{βk​(sk,i​,ak,i​),1}]+2τ.
  8. Appendix B: ∑k∑i1(Ntk(sk,i,ak,i)≤τ)≤2τSA\sum_k\sum_i\mathbf 1(N_{t_k}(s_{k,i},a_{k,i})\le\tau)\le2\tau SA∑k​∑i​1(Ntk​​(sk,i​,ak,i​)≤τ)≤2τSA.
  9. Appendix B: ∑k∑i1(Nk,i>τ)/Nk,i≤8SAmτ\sum_k\sum_i\sqrt{\mathbf 1(N_{k,i}>\tau)/N_{k,i}}\le\sqrt{8SAm\tau}∑k​∑i​1(Nk,i​>τ)/Nk,i​​≤8SAmτ​.

Significance

Theorem 1 holds for every prior, with no assumption on the MDP class beyond finiteness and bounded rewards. It shows that a single posterior sample per episode, rather than an optimistic search over a confidence set, already achieves the T\sqrt TT​ rate of the optimistic algorithms. The reduction it rests on (Lemma 1 and Theorem 2) applies to any problem in which the agent can sample from the posterior.

The theorem has a paper proof but, as far as is known, no machine-checked proof. A formalization adds three things. First, an exact model of the episodic Bayesian setting, with posterior sampling stated as a conditional law. Second, corrected versions of two steps: the factor in (8), which the page's argument does not justify as printed, and the square-root sum of Appendix B, which is false as printed. Third, reusable pieces: a path-defined finite-horizon value with its dynamic programming equation, a conditional-expectation form of the posterior-sampling identity, and deterministic counting lemmas for visit counts.

Difficulty

The proof combines three kinds of argument, each with its own obstacle in Lean.

  • Conditioning. Lemma 1 and Theorem 2 identify conditional laws given the history. The history is a random element whose length grows with kkk, and the posterior-sampling assumption only speaks about indicators of MkM_kMk​. Extending it to functions of (M,Htk)(M,H_{t_k})(M,Htk​​) and applying the tower property needs care with sub-σ\sigmaσ-algebras. The same issue appears in (8): the confidence event depends on HtkH_{t_k}Htk​​, so it is not measurable with respect to σ(M∗,Mk)\sigma(M^*,M_k)σ(M∗,Mk​), the σ\sigmaσ-algebra on which (6) conditions. The working argument conditions on (M∗,Mk,Htk)(M^*,M_k,H_{t_k})(M∗,Mk​,Htk​​) instead.
  • Concentration over adaptive counts. The bound P(M∗∉Mk)≤1/m\mathbb P(M^*\notin\mathcal M_k)\le1/mP(M∗∈/Mk​)≤1/m needs an L1L^1L1 deviation inequality for empirical transition distributions (Weissman et al.) and Hoeffding's inequality for rewards. Both must hold uniformly over the random number of visits, which the agent's own behaviour determines. Applying the inequalities at a fixed number of samples is not valid, because the sample size is random.
  • Counting. The appendix sums N−1/2N^{-1/2}N−1/2 along the visited pairs; the paper's chain loses a factor of 222 at its integral comparison.

Formalization scope

  • Model. States and actions are Fin S and Fin A. Steps and episodes are 0-based: Lean step j is the paper's step j+1j+1j+1, and Lean episode k is the paper's episode k+1k+1k+1, with tk=kτ+1t_k=k\tau+1tk​=kτ+1. MDPs are a measurable family over a parameter space Θ: transition rows satisfy the published IsTransitionKernel, and reward laws are Markov kernels supported on [0,1][0,1][0,1]. The initial distribution ρ\rhoρ is fixed. The value is defined from the state laws along the trajectory, not by the Bellman recursion.

  • The run. PSRLRun consists of measurable random elements on a probability space. Posterior sampling, the reset from ρ\rhoρ, rewards and transitions are stated as conditional expectations of indicators. Three assumptions the paper leaves implicit are made explicit:

    • the state is reset from ρ\rhoρ at every episode start;
    • the state reached after the last action of an episode is observed;
    • the sampling step uses fresh randomness.

    The optimal-policy selector is any measurable map that is optimal at every step.

  • Constants and corrections. O(⋅)O(\cdot)O(⋅) is one absolute constant, quantified before every other object; a constant that depends on SSS, AAA, τ\tauτ, the prior or TTT would make the goal trivial, because the regret is at most ⌈T/τ⌉τ\lceil T/\tau\rceil\tau⌈T/τ⌉τ. Milestone 7 uses the factor τ+1\tau+1τ+1, which the page's chain proves, where the page prints τ\tauτ, and milestone 9 uses 8SAmτ\sqrt{8SAm\tau}8SAmτ​ where the page prints the false bound 2SAT\sqrt{2SAT}2SAT​; both corrections are disclosed in the statements.

  • Ruled out. The value is not defined by the recursion, which would make Lemma 2 definitional. Measurability is required, so the expectations are not junk zeros. The posterior-sampling clause concerns indicators of MkM_kMk​ only, so it does not already contain Lemma 1.

  • Needed infrastructure. Conditional expectations with respect to σ\sigmaσ-algebras generated by random elements; finite-horizon Markov chain laws; Weissman's L1L^1L1 inequality and Hoeffding's inequality at random sample sizes; elementary bounds on ∑jj−1/2\sum_j j^{-1/2}∑j​j−1/2. The counting milestones (8, 9) and Lemma 2 are self-contained and a good place to start. Proofs of the conditioning steps (milestones 1, 2, 4) are reusable for any posterior-sampling analysis.

Selected references

  • I. Osband, D. Russo, B. Van Roy, (More) Efficient Reinforcement Learning via Posterior Sampling, NIPS 2013; arXiv:1306.0940v5. https://arxiv.org/abs/1306.0940
  • T. Jaksch, R. Ortner, P. Auer, Near-optimal Regret Bounds for Reinforcement Learning, JMLR 11, 2010. https://jmlr.org/papers/v11/jaksch10a.html
  • D. Russo, B. Van Roy, Learning to Optimize via Posterior Sampling, Mathematics of Operations Research 39(4), 2014; arXiv:1301.2609. https://arxiv.org/abs/1301.2609
  • M. Strens, A Bayesian Framework for Reinforcement Learning, Proceedings of the 17th International Conference on Machine Learning (ICML), 2000 (reference [16] of the paper).
  • P. L. Bartlett, A. Tewari, REGAL: A Regularization Based Algorithm for Reinforcement Learning in Weakly Communicating MDPs, UAI 2009; arXiv:1205.2661. https://arxiv.org/abs/1205.2661
  • T. Weissman, E. Ordentlich, G. Seroussi, S. Verdú, M. J. Weinberger, Inequalities for the L1 Deviation of the Empirical Distribution, HP Labs Technical Report HPL-2003-97, 2003.
14 thms2 active usersReviewed
Convex OptimizationOptimizationProbability·Captain: mikedeng1

Distributed Stochastic Gradient Tracking Methods II: With Stepsizes θ/(m+k), DSGT's Mean-Square Error Is at Most 2θ²σ²/(n(θμ−1)(m+k)) Plus Higher-Order TermsResearch Paper

Motivation

Many learning and estimation problems are solved by a group of computing agents that each hold part of the data and can talk only to their neighbours in a communication network. Each agent iii has a private cost fif_ifi​, and the group wants a minimizer of the average f=1n∑ifif=\frac1n\sum_i f_if=n1​∑i​fi​ without a central coordinator. In machine learning the agents usually cannot evaluate exact gradients either; they draw noisy stochastic gradients from samples, as in stochastic gradient descent (SGD).

Pu and Nedić (Math. Program. 187 (2021) 409–457) study distributed stochastic gradient tracking (DSGT), where each agent keeps an auxiliary variable that tracks the network-average gradient. With deterministic gradients, gradient tracking achieves linear convergence under a constant stepsize (Nedić, Olshevsky and Shi 2017; Qu and Li 2018). The question for the stochastic setting is whether a network of nnn agents, each with noisy gradients, matches centralized SGD that averages nnn samples per step. This mission is the second of two on the paper: it covers the diminishing stepsize αk=θ/(m+k)\alpha_k=\theta/(m+k)αk​=θ/(m+k) and Theorem 2, which gives an O(1/k)O(1/k)O(1/k) rate whose leading constant does not depend on the network.

Setting

There are nnn agents and a decision space Rp\mathbb R^pRp with p≥1p\ge1p≥1. Agent iii has a differentiable cost fi:Rp→Rf_i:\mathbb R^p\to\mathbb Rfi​:Rp→R that is μ\muμ-strongly convex with LLL-Lipschitz gradient (Assumption 2); x∗x^*x∗ denotes the minimizer of f=1n∑ifif=\frac1n\sum_if_if=n1​∑i​fi​. A query of agent iii at a point xxx returns gi(x,ξi)g_i(x,\xi_i)gi​(x,ξi​), where ξi∈Rd\xi_i\in\mathbb R^dξi​∈Rd is a random sample. The samples ξi,k\xi_{i,k}ξi,k​ (agent iii, iteration kkk) are mutually independent, and for every fixed xxx

E[gi(x,ξi,k)]=∇fi(x),E∥gi(x,ξi,k)−∇fi(x)∥2≤σ2\mathbb E[g_i(x,\xi_{i,k})]=\nabla f_i(x),\qquad \mathbb E\|g_i(x,\xi_{i,k})-\nabla f_i(x)\|^2\le\sigma^2E[gi​(x,ξi,k​)]=∇fi​(x),E∥gi​(x,ξi,k​)−∇fi​(x)∥2≤σ2

(Assumption 1). Agents communicate through a nonnegative coupling matrix W=[wij]\mathbf W=[w_{ij}]W=[wij​] that is doubly stochastic, has some positive diagonal entry, and whose positive off-diagonal entries form a connected undirected graph (Assumptions 3–4). Write ρw\rho_wρw​ for the spectral norm of W−1n11⊤\mathbf W-\frac1n\mathbf 1\mathbf 1^\topW−n1​11⊤; it is below 111 (Lemma 1).

Stack the local variables as x=[x1,…,xn]⊤∈Rn×p\mathbf x=[x_1,\dots,x_n]^\top\in\mathbb R^{n\times p}x=[x1​,…,xn​]⊤∈Rn×p, let xˉ=1n∑ixi\bar x=\frac1n\sum_ix_ixˉ=n1​∑i​xi​, and use the Frobenius norm, so that ∥x−1xˉ∥2=∑i∥xi−xˉ∥2\|\mathbf x-\mathbf 1\bar x\|^2=\sum_i\|x_i-\bar x\|^2∥x−1xˉ∥2=∑i​∥xi​−xˉ∥2 is the consensus error. DSGT (4) starts from an arbitrary deterministic x0\mathbf x_0x0​ and yi,0=gi(xi,0,ξi,0)y_{i,0}=g_i(x_{i,0},\xi_{i,0})yi,0​=gi​(xi,0​,ξi,0​), and iterates

xi,k+1=∑jwij (xj,k−αkyj,k),yi,k+1=∑jwij yj,k+gi(xi,k+1,ξi,k+1)−gi(xi,k,ξi,k),x_{i,k+1}=\sum_j w_{ij}\,(x_{j,k}-\alpha_k y_{j,k}),\qquad y_{i,k+1}=\sum_jw_{ij}\,y_{j,k}+g_i(x_{i,k+1},\xi_{i,k+1})-g_i(x_{i,k},\xi_{i,k}),xi,k+1​=j∑​wij​(xj,k​−αk​yj,k​),yi,k+1​=j∑​wij​yj,k​+gi​(xi,k+1​,ξi,k+1​)−gi​(xi,k​,ξi,k​),

with stepsize αk=θ/(m+k)\alpha_k=\theta/(m+k)αk​=θ/(m+k).

Formalization targets

Goal: Theorem 2 (p. 418)

Let θ>1/μ\theta>1/\muθ>1/μ and let mmm satisfy condition (14) of the paper: mmm exceeds θ2(μ+L)\frac\theta2(\mu+L)2θ​(μ+L) and 4θLρw2+2θLρw1+3ρw21−ρw2\frac{4\theta L\rho_w^2+2\theta L\rho_w\sqrt{1+3\rho_w^2}}{1-\rho_w^2}1−ρw2​4θLρw2​+2θLρw​1+3ρw2​​​, and a second explicit inequality in θ,m,μ,L,ρw\theta,m,\mu,L,\rho_wθ,m,μ,L,ρw​ and ∥W−I∥\|\mathbf W-\mathbf I\|∥W−I∥ holds. Then there are constants C1,C2,C3C_1,C_2,C_3C1​,C2​,C3​, independent of kkk, such that for all k≥0k\ge0k≥0

E∥xˉk−x∗∥2≤2θ2σ2n(θμ−1)(m+k)+C1(m+k)θμ+C2(m+k)2,E∥xk−1xˉk∥2≤C3(m+k)2.\mathbb E\|\bar x_k-x^*\|^2\le\frac{2\theta^2\sigma^2}{n(\theta\mu-1)(m+k)}+\frac{C_1}{(m+k)^{\theta\mu}}+\frac{C_2}{(m+k)^2},\qquad \mathbb E\|\mathbf x_k-\mathbf 1\bar x_k\|^2\le\frac{C_3}{(m+k)^2}.E∥xˉk​−x∗∥2≤n(θμ−1)(m+k)2θ2σ2​+(m+k)θμC1​​+(m+k)2C2​​,E∥xk​−1xˉk​∥2≤(m+k)2C3​​.

The constants may depend on every datum of the run (network, costs, noise law, starting point, θ\thetaθ, mmm), but not on kkk.

Milestones

  1. (29)–(30), p. 425. The mean-square errors Uk=E∥xˉk−x∗∥2U_k=\mathbb E\|\bar x_k-x^*\|^2Uk​=E∥xˉk​−x∗∥2, Xk=E∥xk−1xˉk∥2X_k=\mathbb E\|\mathbf x_k-\mathbf 1\bar x_k\|^2Xk​=E∥xk​−1xˉk​∥2, Yk=E∥yk−1yˉk∥2Y_k=\mathbb E\|\mathbf y_k-\mathbf 1\bar y_k\|^2Yk​=E∥yk​−1yˉ​k​∥2 satisfy a componentwise linear system Vk+1≤AkVk+bkV_{k+1}\le\mathbf A_kV_k+b_kVk+1​≤Ak​Vk​+bk​ with an explicit 3×33\times33×3 matrix Ak\mathbf A_kAk​.
  2. (31), p. 425. The positivity of βk\beta_kβk​, used in Ak\mathbf A_kAk​, reduces to an explicit lower bound on mmm.
  3. (32)–(36), pp. 425–427. By induction, Uk≤U^/(m+k)U_k\le\hat U/(m+k)Uk​≤U^/(m+k), Xk≤X^/(m+k)2X_k\le\hat X/(m+k)^2Xk​≤X^/(m+k)2 and YkY_kYk​ is bounded, with explicit U^\hat UU^ and X^\hat XX^.
  4. p. 427. The refined recursion Uk+1≤(1−αkμ)Uk+2αkL2μnXk+αk2σ2nU_{k+1}\le(1-\alpha_k\mu)U_k+\frac{2\alpha_kL^2}{\mu n}X_k+\frac{\alpha_k^2\sigma^2}nUk+1​≤(1−αk​μ)Uk​+μn2αk​L2​Xk​+nαk2​σ2​.
  5. p. 427. Product bounds ∏t=0k−1(1−θμm+t)≤mθμ/(m+k)θμ\prod_{t=0}^{k-1}(1-\frac{\theta\mu}{m+t})\le m^{\theta\mu}/(m+k)^{\theta\mu}∏t=0k−1​(1−m+tθμ​)≤mθμ/(m+k)θμ and their tail versions.
  6. p. 427. Sum–integral bounds for ∑t<k(m+t)θμ−3\sum_{t<k}(m+t)^{\theta\mu-3}∑t<k​(m+t)θμ−3 and ∑t<k(m+t)θμ−2\sum_{t<k}(m+t)^{\theta\mu-2}∑t<k​(m+t)θμ−2.

Significance

The leading term 2θ2σ2/(n(θμ−1)(m+k))2\theta^2\sigma^2/(n(\theta\mu-1)(m+k))2θ2σ2/(n(θμ−1)(m+k)) involves neither ρw\rho_wρw​ nor the graph: after a transient, the network-average iterate behaves like centralized SGD run on nnn samples per step, and the error decreases as 1/n1/n1/n with the number of agents (Remark 3 of the paper). The consensus error decays one order faster, as 1/k21/k^21/k2. The result is a reference point for later analyses of stochastic gradient tracking, which refine the transient time and the dependence on the network.

The theorem is proved in the paper; to the best of current knowledge no part of it is machine-checked. A complete development formalizes the stacked stochastic model, the conditional-expectation estimates behind the linear system, the induction with tuned constants, and the elementary analytic bounds. Two steps of the printed proof need extra care (see Formalization scope), and repairing them is part of the work.

Difficulty

The estimate for the tracker error YkY_kYk​ couples all three quantities: bounding Yk+1Y_{k+1}Yk+1​ requires UkU_kUk​ and XkX_kXk​, and Xk+1X_{k+1}Xk+1​ requires YkY_kYk​. A direct estimate of any single error therefore does not close, and the rate for UkU_kUk​ cannot be read off from a scalar recursion until Xk=O(1/k2)X_k=O(1/k^2)Xk​=O(1/k2) is known. The induction closes only for the constants of the paper and under condition (14), which must be checked to hold for all kkk at once. The probabilistic estimates need independence of the samples across agents and times, since the variance bound σ2/n\sigma^2/nσ2/n for the averaged noise uses that the agents' noises are uncorrelated. Finally, the products and sums of real powers (m+t)θμ−2(m+t)^{\theta\mu-2}(m+t)θμ−2 must be bounded uniformly in kkk, including the regimes θμ<2\theta\mu<2θμ<2 and θμ>2\theta\mu>2θμ>2.

Formalization scope

Points of Rp\mathbb R^pRp are EuclideanSpace ℝ (Fin p); stacked variables are functions Fin n → E p, and every matrix norm ∥x∥\|\mathbf x\|∥x∥ is the Frobenius sum ∑i∥xi∥2\sum_i\|x_i\|^2∑i​∥xi​∥2, never the sup norm of the product type. ∥W−I∥\|\mathbf W-\mathbf I\|∥W−I∥ is the Frobenius norm and ρw\rho_wρw​ the operator norm of Matrix.toEuclideanCLM applied to W−1n11⊤\mathbf W-\frac1n\mathbf 1\mathbf 1^\topW−n1​11⊤. The noise space is Rd\mathbb R^dRd (the paper's Rm\mathbb R^mRm; mmm is the stepsize offset). Expectations are Bochner integrals, and every bounded expectation comes with an integrability conjunct, so a non-integrable error cannot satisfy a bound by having integral 000. Powers with real exponents are Real.rpow.

Standing assumptions and additions, all stated in the items:

  • Assumptions 1–4 hold in every run statement; the paper's Theorem 2 cites only Assumptions 1 and 2, but ρw<1\rho_w<1ρw​<1 rests on Assumptions 3–4.
  • Assumption 1's "each random vector is independent" is read as mutual independence of all ξi,k\xi_{i,k}ξi,k​; its conditional moments given a deterministic xxx become unconditional moments for each fixed xxx. The oracle gig_igi​ is jointly measurable.
  • p≥1p\ge1p≥1, and ρw>0\rho_w>0ρw​>0 (condition (14) and CCC divide by ρw2\rho_w^2ρw2​).
  • The linear system (29) and the induction carry 3αkL≤13\alpha_kL\le13αk​L≤1 (respectively 3θL≤m3\theta L\le m3θL≤m), which the derivation of Lemma 4 (20) uses on p. 445 without stating it. The sum bound for ∑(m+t)θμ−3\sum(m+t)^{\theta\mu-3}∑(m+t)θμ−3 carries θμ≠2\theta\mu\ne2θμ=2. The goal carries neither: its constants absorb a finite transient.

The constants C1,C2,C3C_1,C_2,C_3C1​,C2​,C3​ of the goal are quantified after all data and before kkk; a statement with the constants chosen after kkk would be trivially true and is not this theorem. The goal mentions only the iterates, x∗x^*x∗, θ\thetaθ, mmm and the constants of the page, not the auxiliary quantities of the proof.

Contributions welcome: proofs of the analytic milestones (products, sums), the conditional-expectation estimates behind (29), and the repair of the two gaps of the printed proof. The model definitions are shared with the companion mission on constant stepsizes.

Selected references

  • S. Pu and A. Nedić, Distributed stochastic gradient tracking methods, Mathematical Programming 187 (2021) 409–457. https://doi.org/10.1007/s10107-020-01487-0
  • A. Nedić, A. Olshevsky and W. Shi, Achieving geometric convergence for distributed optimization over time-varying graphs, SIAM Journal on Optimization 27 (2017) 2597–2633. https://doi.org/10.1137/16M1084316
  • G. Qu and N. Li, Harnessing smoothness to accelerate distributed optimization, IEEE Transactions on Control of Network Systems 5 (2018) 1245–1260. https://doi.org/10.1109/TCNS.2017.2698261
  • A. Nemirovski, A. Juditsky, G. Lan and A. Shapiro, Robust stochastic approximation approach to stochastic programming, SIAM Journal on Optimization 19 (2009) 1574–1609. https://doi.org/10.1137/070704277
9 thms2 active usersReviewed
Convex OptimizationOptimizationProbability·Captain: mikedeng1

Distributed Stochastic Gradient Tracking Methods I: With a Constant Stepsize, DSGT's Limiting Mean-Square Error Is at Most (Γ+1)ασ²/(Γμn) Plus a Network TermResearch Paper

Distributed learning with noisy gradients

Many learning and estimation problems are solved by a network of agents: each agent holds part of the data, can talk only to its neighbours, and wants to compute the minimizer of the average of all agents' objectives. Examples are sensor networks, multi-robot systems, and data-parallel training without a central server (Nedić and Ozdaglar 2009; Lian et al. 2017). In these settings the agents rarely know their exact gradients; they sample them, one data point or one mini-batch at a time.

Gradient tracking methods let each agent keep, next to its estimate of the minimizer, a running estimate of the network-average gradient. With exact gradients they converge linearly with a constant stepsize (Qu and Li 2018; Nedić, Olshevsky and Shi 2017), which plain distributed gradient descent does not. S. Pu and A. Nedić (Math. Program. 187 (2021) 409–457) analysed the same scheme when every gradient is replaced by an unbiased noisy sample, and called it DSGT (distributed stochastic gradient tracking). This mission formalizes their constant-stepsize result, Theorem 1.

Setting

There are nnn agents. Agent iii holds a cost fi:Rp→Rf_i:\mathbb R^p\to\mathbb Rfi​:Rp→R, and the agents seek

x∗∈arg⁡min⁡x∈Rpf(x),f(x)=1n∑i=1nfi(x).x^*\in\arg\min_{x\in\mathbb R^p} f(x),\qquad f(x)=\frac1n\sum_{i=1}^n f_i(x).x∗∈argx∈Rpmin​f(x),f(x)=n1​i=1∑n​fi​(x).

Each fif_ifi​ is μ\muμ-strongly convex with LLL-Lipschitz gradient: ⟨∇fi(x)−∇fi(x′),x−x′⟩≥μ∥x−x′∥2\langle\nabla f_i(x)-\nabla f_i(x'),x-x'\rangle\ge\mu\|x-x'\|^2⟨∇fi​(x)−∇fi​(x′),x−x′⟩≥μ∥x−x′∥2 and ∥∇fi(x)−∇fi(x′)∥≤L∥x−x′∥\|\nabla f_i(x)-\nabla f_i(x')\|\le L\|x-x'\|∥∇fi​(x)−∇fi​(x′)∥≤L∥x−x′∥.

Noisy gradients. At time kkk agent iii draws a random sample ξi,k\xi_{i,k}ξi,k​ and observes gi(x,ξi,k)g_i(x,\xi_{i,k})gi​(x,ξi,k​), with E[gi(x,ξi,k)]=∇fi(x)\mathbb E[g_i(x,\xi_{i,k})]=\nabla f_i(x)E[gi​(x,ξi,k​)]=∇fi​(x) and E∥gi(x,ξi,k)−∇fi(x)∥2≤σ2\mathbb E\|g_i(x,\xi_{i,k})-\nabla f_i(x)\|^2\le\sigma^2E∥gi​(x,ξi,k​)−∇fi​(x)∥2≤σ2; the samples are independent.

The network. Agents are coupled by a nonnegative doubly stochastic matrix W=[wij]\mathbf W=[w_{ij}]W=[wij​] (rows and columns sum to 111), with wij>0w_{ij}>0wij​>0 exactly when iii and jjj communicate, some wii>0w_{ii}>0wii​>0, and a connected undirected communication graph. The number

ρw=∥W−1n11⊤∥2<1,\rho_w=\Big\|\mathbf W-\tfrac1n\mathbf 1\mathbf 1^\top\Big\|_2<1,ρw​=​W−n1​11⊤​2​<1,

the spectral norm, measures how fast one round of averaging brings the agents together.

DSGT. Each agent keeps xi,kx_{i,k}xi,k​ and a tracker yi,ky_{i,k}yi,k​. Stacking them as rows of xk,yk∈Rn×p\mathbf x_k,\mathbf y_k\in\mathbb R^{n\times p}xk​,yk​∈Rn×p and writing G(x,ξ)G(\mathbf x,\boldsymbol\xi)G(x,ξ) for the matrix with rows gi(xi,ξi)g_i(x_i,\xi_i)gi​(xi​,ξi​), the method with constant stepsize α>0\alpha>0α>0 is

xk+1=W(xk−αyk),yk+1=Wyk+G(xk+1,ξk+1)−G(xk,ξk),\mathbf x_{k+1}=\mathbf W(\mathbf x_k-\alpha\mathbf y_k),\qquad \mathbf y_{k+1}=\mathbf W\mathbf y_k+G(\mathbf x_{k+1},\boldsymbol\xi_{k+1})-G(\mathbf x_k,\boldsymbol\xi_k),xk+1​=W(xk​−αyk​),yk+1​=Wyk​+G(xk+1​,ξk+1​)−G(xk​,ξk​),

started from a deterministic x0\mathbf x_0x0​ and y0=G(x0,ξ0)\mathbf y_0=G(\mathbf x_0,\boldsymbol\xi_0)y0​=G(x0​,ξ0​). The two error measures are the distance of the average xˉk=1n∑ixi,k\bar x_k=\frac1n\sum_ix_{i,k}xˉk​=n1​∑i​xi,k​ to x∗x^*x∗ and the consensus error ∥xk−1xˉk∥2=∑i∥xi,k−xˉk∥2\|\mathbf x_k-\mathbf 1\bar x_k\|^2=\sum_i\|x_{i,k}-\bar x_k\|^2∥xk​−1xˉk​∥2=∑i​∥xi,k​−xˉk​∥2.

Formalization targets

Goal: Theorem 1

Fix Γ>1\Gamma>1Γ>1 and a stepsize α\alphaα below the explicit threshold (7) of the paper (a minimum of three expressions in ρw\rho_wρw​, ∥W−I∥\|\mathbf W-\mathbf I\|∥W−I∥, μ\muμ, LLL, Γ\GammaΓ). Then a certain explicit 3×33\times33×3 matrix A\mathbf AA has spectral radius ρ(A)<1\rho(\mathbf A)<1ρ(A)<1, and with Mσ=[3α2L2+2(αL+1)(n+1)]σ2M_\sigma=[3\alpha^2L^2+2(\alpha L+1)(n+1)]\sigma^2Mσ​=[3α2L2+2(αL+1)(n+1)]σ2,

lim sup⁡k→∞E∥xˉk−x∗∥2≤Γ+1Γασ2μn+Γ+1Γ−1 4α2L2(1+αμ)(1+ρw2)ρw2μ2n(1−ρw2)3 Mσ,\limsup_{k\to\infty}\mathbb E\|\bar x_k-x^*\|^2\le\frac{\Gamma+1}{\Gamma}\frac{\alpha\sigma^2}{\mu n}+\frac{\Gamma+1}{\Gamma-1}\,\frac{4\alpha^2L^2(1+\alpha\mu)(1+\rho_w^2)\rho_w^2}{\mu^2n(1-\rho_w^2)^3}\,M_\sigma,k→∞limsup​E∥xˉk​−x∗∥2≤ΓΓ+1​μnασ2​+Γ−1Γ+1​μ2n(1−ρw2​)34α2L2(1+αμ)(1+ρw2​)ρw2​​Mσ​, lim sup⁡k→∞E∥xk−1xˉk∥2≤Γ+1Γ−1 4α2(1+ρw2)ρw2(2α2L3σ2+μMσ)μ(1−ρw2)3.\limsup_{k\to\infty}\mathbb E\|\mathbf x_k-\mathbf 1\bar x_k\|^2\le\frac{\Gamma+1}{\Gamma-1}\,\frac{4\alpha^2(1+\rho_w^2)\rho_w^2(2\alpha^2L^3\sigma^2+\mu M_\sigma)}{\mu(1-\rho_w^2)^3}.k→∞limsup​E∥xk​−1xˉk​∥2≤Γ−1Γ+1​μ(1−ρw2​)34α2(1+ρw2​)ρw2​(2α2L3σ2+μMσ​)​.

The constants are the paper's, so the goal is stated with them.

Companion: Corollary 1

Under a further stepsize condition (13), ρ(A)≤1−Γ−1Γ+1αμ\rho(\mathbf A)\le1-\frac{\Gamma-1}{\Gamma+1}\alpha\muρ(A)≤1−Γ+1Γ−1​αμ.

Milestones

The milestones follow the paper's proof: the tracking identity (6); Lemma 1 on ρw\rho_wρw​; the one-step conditional estimates of Lemmas 2–4 and the auxiliary Lemmas 8–9; the linear system of inequalities (21) and its iterate (22); the determinant criterion Lemma 5; the bound det⁡(I−A)>0\det(\mathbf I-\mathbf A)>0det(I−A)>0 under the relations (23)–(25); and the lower bound (27) on the auxiliary parameter β\betaβ.

Significance

The first term of the bound on E∥xˉk−x∗∥2\mathbb E\|\bar x_k-x^*\|^2E∥xˉk​−x∗∥2, ασ2/(μn)\alpha\sigma^2/(\mu n)ασ2/(μn) up to the factor (Γ+1)/Γ(\Gamma+1)/\Gamma(Γ+1)/Γ, is the error of centralized stochastic gradient descent that averages nnn samples per step; it does not depend on the network. The network enters only through terms of order α2\alpha^2α2. So for small stepsizes a decentralized method with gradient tracking pays nothing in the limiting error for having no central server. Theorem 1 is one of the standard references for this statement in decentralized stochastic optimization.

The result is proved in the paper, with constants. It has no machine-checked proof that we know of. Formalizing it produces a checked development of the linear-system method for distributed algorithms: conditional moment bounds for coupled stochastic recursions, a 3×33\times33×3 linear system of inequalities between expectations, and a Perron–Frobenius criterion for its stability. The same pattern recurs in the analysis of many gradient-tracking and variance-reduced decentralized methods.

Difficulty

The obvious argument would bound each error by itself, but the three quantities E∥xˉk−x∗∥2\mathbb E\|\bar x_k-x^*\|^2E∥xˉk​−x∗∥2, E∥xk−1xˉk∥2\mathbb E\|\mathbf x_k-\mathbf 1\bar x_k\|^2E∥xk​−1xˉk​∥2 and E∥yk−1yˉk∥2\mathbb E\|\mathbf y_k-\mathbf 1\bar y_k\|^2E∥yk​−1yˉ​k​∥2 feed into one another, and none of them contracts on its own. The tracker error in particular depends on the next iterate, which itself depends on the current noise, so the cross terms do not vanish in conditional expectation and must be estimated separately (Lemmas 8 and 9).

Once the coupled system is set up, its stability needs the spectral radius of a nonnegative 3×33\times33×3 matrix whose entries depend on all constants at once, and the explicit limiting bounds need its inverse. The determinant criterion of Lemma 5 rests on Perron–Frobenius theory, which Mathlib provides only in part.

Formalization scope

Stacked variables are Fin n → EuclideanSpace ℝ (Fin p). Every matrix norm is written out: ∥x−1xˉ∥2=∑i∥xi−xˉ∥2\|\mathbf x-\mathbf 1\bar x\|^2=\sum_i\|x_i-\bar x\|^2∥x−1xˉ∥2=∑i​∥xi​−xˉ∥2 (Frobenius), ∥W−I∥\|\mathbf W-\mathbf I\|∥W−I∥ is the Frobenius norm of the n×nn\times nn×n matrix, and ρw\rho_wρw​ is the operator norm of W−1n11⊤\mathbf W-\frac1n\mathbf 1\mathbf 1^\topW−n1​11⊤ on Euclidean Rn\mathbb R^nRn. Spectral radii are taken over C\mathbb CC, so complex eigenvalues count. Expectations are Bochner integrals, and every bounded expectation comes with an integrability conclusion. "lim sup⁡kak≤B\limsup_k a_k\le Blimsupk​ak​≤B" is stated as "for every ε>0\varepsilon>0ε>0, eventually ak≤B+εa_k\le B+\varepsilonak​≤B+ε". Fk\mathcal F_kFk​ is the σ-algebra generated by ξ0,…,ξk−1\boldsymbol\xi_0,\dots,\boldsymbol\xi_{k-1}ξ0​,…,ξk−1​, and conditional statements hold almost surely.

Standing assumptions and additions, all stated in the items:

  1. Assumptions 3–4 on W\mathbf WW are hypotheses of every statement about the iterates, although Theorem 1 cites only Assumptions 1–2.
  2. Independence of the noise is mutual independence of all ξi,k\xi_{i,k}ξi,k​; gig_igi​ is jointly measurable; p≥1p\ge1p≥1.
  3. ρw>0\rho_w>0ρw​>0, because β\betaβ, A\mathbf AA and (7) divide by ρw\rho_wρw​.
  4. 3αL≤13\alpha L\le13αL≤1 in (20), (21), (22) and Theorem 1: the last step of the paper's proof of (20) needs it, and (7) does not imply it in general (for ρw=0.01\rho_w=0.01ρw​=0.01, Γ=1.1\Gamma=1.1Γ=1.1, μ=L\mu=Lμ=L it allows α≈0.48/L\alpha\approx0.48/Lα≈0.48/L).

The goal speaks only about the DSGT iterates, x∗x^*x∗ and the matrix A\mathbf AA; it does not assume the linear system (21), ρ(A)<1\rho(\mathbf A)<1ρ(A)<1 or any estimate of the proof. The clause of Theorem 1 that sup⁡l≥kE[⋅]\sup_{l\ge k}\mathbb E[\cdot]supl≥k​E[⋅] approaches the limsup at the rate O(ρ(A)k)\mathcal O(\rho(\mathbf A)^k)O(ρ(A)k) carries an unquantified constant and is not formalized: the paper's proof yields only the envelope (22) and the limit of its right-hand side, not a rate at which sup⁡l≥kE[⋅]\sup_{l\ge k}\mathbb E[\cdot]supl≥k​E[⋅] reaches the limsup; the envelope (22) is a milestone. Theorem 2 (diminishing stepsizes) is the subject of the second mission of the series.

A complete development needs conditional expectations of functions of independent samples, a Frobenius-norm calculus for stacked vectors, the consensus contraction of Lemma 1, and the Perron–Frobenius facts behind Lemma 5. The last two are reusable beyond this mission. Proofs of any milestone, and of the deterministic matrix lemmas in particular, are welcome independently.

Selected references

  • S. Pu, A. Nedić, Distributed stochastic gradient tracking methods, Mathematical Programming 187 (2021) 409–457. https://doi.org/10.1007/s10107-020-01487-0
  • A. Nedić, A. Olshevsky, W. Shi, Achieving geometric convergence for distributed optimization over time-varying graphs, SIAM J. Optim. 27 (2017) 2597–2633. https://arxiv.org/abs/1607.03218
  • G. Qu, N. Li, Harnessing smoothness to accelerate distributed optimization, IEEE Trans. Control Netw. Syst. 5 (2018) 1245–1260. https://arxiv.org/abs/1605.07112
  • A. Nedić, A. Ozdaglar, Distributed subgradient methods for multi-agent optimization, IEEE Trans. Automat. Control 54 (2009) 48–61. https://doi.org/10.1109/TAC.2008.2009515
  • X. Lian, C. Zhang, H. Zhang, C.-J. Hsieh, W. Zhang, J. Liu, Can decentralized algorithms outperform centralized algorithms? A case study for decentralized parallel stochastic gradient descent, NeurIPS 2017. https://arxiv.org/abs/1705.09056
18 thms2 active usersReviewed
Operations ResearchOptimal TransportStatistics·Captain: mikedeng1

Finite-Sample Guarantees for Wasserstein Distributionally Robust Optimization: Breaking the Curse of Dimensionality 3: Under T₂(τ), W₂-Robust Loss at Radius ρ̃ₙ Bounds True Loss up to 4r⋆+2εₙ+ħρ̃ₙ²Research Paper

Motivation

Wasserstein distributionally robust optimization (Wasserstein DRO) replaces the empirical loss EPn[f]\mathbb E_{\mathbb P_n}[f]EPn​​[f] of a decision by its worst case over all distributions within Wasserstein distance ρ\rhoρ of the empirical distribution Pn\mathbb P_nPn​. It is used in operations research (newsvendor, portfolio selection) and machine learning (adversarially robust training, regularized regression) because the robust loss is a computable upper estimate of the unknown true loss. The question every user faces is how large ρ\rhoρ must be. Measure-concentration results for the empirical measure in Wasserstein distance (Fournier and Guillin, 2015) require ρ∼n−1/d\rho\sim n^{-1/d}ρ∼n−1/d on a ddd-dimensional space, which is useless in high dimension.

Gao (arXiv:2009.04382, Operations Research 2023) shows that a radius of order 1/n1/\sqrt n1/n​ suffices, with no dependence on dimension, as long as the true distribution satisfies a transportation-information inequality and the loss class has controlled complexity. This mission covers the paper's result for the 2-Wasserstein distance, where the robust loss is linked to gradient regularization. Two sibling missions cover the variation-concentration inequality (Theorem 1) and the 1-Wasserstein / Lipschitz case (Corollary 4).

Setting

Z\mathcal ZZ is a separable real Banach space with norm ∥⋅∥\|\cdot\|∥⋅∥ and dual norm ∥⋅∥∗\|\cdot\|_*∥⋅∥∗​. P2(Z)\mathcal P_2(\mathcal Z)P2​(Z) is the set of Borel probability measures with finite second moment, and W2\mathcal W_2W2​ is the 2-Wasserstein distance: W2(P,Q)2\mathcal W_2(\mathbb P,\mathbb Q)^2W2​(P,Q)2 is the infimum of Eπ∥z~−z∥2\mathbb E_\pi\|\tilde z-z\|^2Eπ​∥z~−z∥2 over couplings π\piπ of P\mathbb PP and Q\mathbb QQ.

  • The Wasserstein regularizer of a loss fff at a nominal distribution Q\mathbb QQ and radius ρ≥0\rho\ge0ρ≥0 is
RQ,2(ρ;f)=sup⁡{EP[f]:P∈P2(Z), W2(P,Q)≤ρ}−EQ[f].\mathcal R_{\mathbb Q,2}(\rho;f)=\sup\{\mathbb E_{\mathbb P}[f]:\mathbb P\in\mathcal P_2(\mathcal Z),\ \mathcal W_2(\mathbb P,\mathbb Q)\le\rho\}-\mathbb E_{\mathbb Q}[f].RQ,2​(ρ;f)=sup{EP​[f]:P∈P2​(Z), W2​(P,Q)≤ρ}−EQ​[f].
  • A distribution P\mathbb PP satisfies the transportation-information inequality T2(τ)T_2(\tau)T2​(τ) if W2(Q,P)≤τH(Q∥P)\mathcal W_2(\mathbb Q,\mathbb P)\le\sqrt{\tau H(\mathbb Q\|\mathbb P)}W2​(Q,P)≤τH(Q∥P)​ for every Q∈P2(Z)\mathbb Q\in\mathcal P_2(\mathcal Z)Q∈P2​(Z), with HHH the relative entropy. Gaussian measures are the standard example.
  • A class F\mathcal FF of losses satisfies Assumption 2 with constant ℏ>0\hbar>0ℏ>0 if each f∈Ff\in\mathcal Ff∈F is differentiable and ∥∇f(z~)−∇f(z)∥∗≤ℏ∥z~−z∥\|\nabla f(\tilde z)-\nabla f(z)\|_*\le\hbar\|\tilde z-z\|∥∇f(z~)−∇f(z)∥∗​≤ℏ∥z~−z∥.
  • The gradient norm of fff under Q\mathbb QQ is ∥∥∇f∥∗∥Q,2=(EQ∥∇f∥∗2)1/2\|\|\nabla f\|_*\|_{\mathbb Q,2}=(\mathbb E_{\mathbb Q}\|\nabla f\|_*^2)^{1/2}∥∥∇f∥∗​∥Q,2​=(EQ​∥∇f∥∗2​)1/2.
  • A sample z1,…,znz_1,\dots,z_nz1​,…,zn​ is i.i.d. from Ptrue\mathbb P_{\mathrm{true}}Ptrue​, and E⊗\mathbb E_\otimesE⊗​ is expectation over it. The Rademacher complexity of a class H\mathcal HH is E⊗[Rn(H)]\mathbb E_\otimes[\mathfrak R_n(\mathcal H)]E⊗​[Rn​(H)], with Rn(H)=Eσsup⁡h∈H1n∑iσih(zi)\mathfrak R_n(\mathcal H)=\mathbb E_\sigma\sup_{h\in\mathcal H}\frac1n\sum_i\sigma_ih(z_i)Rn​(H)=Eσ​suph∈H​n1​∑i​σi​h(zi​) and σi\sigma_iσi​ independent uniform signs.
  • The normalized gradient class is G={∥∇f∥∗2/∥∥∇f∥∗∥Ptrue,22:f∈F}\mathcal G=\{\|\nabla f\|_*^2/\|\|\nabla f\|_*\|^2_{\mathbb P_{\mathrm{true}},2}:f\in\mathcal F\}G={∥∇f∥∗2​/∥∥∇f∥∗​∥Ptrue​,22​:f∈F}.
  • Assumption 5 asks for a sub-root function ψn\psi_nψn​ (non-negative, non-decreasing, non-constant, with ψn(r)/r\psi_n(r)/\sqrt rψn​(r)/r​ non-increasing) that dominates the localized complexities E⊗[Rn({cf:f∈F,0≤c≤1,c2∥∥∇f∥∗∥Ptrue,22≤r})]\mathbb E_\otimes[\mathfrak R_n(\{cf:f\in\mathcal F,0\le c\le1,c^2\|\|\nabla f\|_*\|^2_{\mathbb P_{\mathrm{true}},2}\le r\})]E⊗​[Rn​({cf:f∈F,0≤c≤1,c2∥∥∇f∥∗​∥Ptrue​,22​≤r})]. Its positive fixed point is rn⋆r_{n\star}rn⋆​.

In Lean the mission's own objects live in the namespace WassFSG.Grad: W2sq, IsP2, regularizer, IsT2, GradLipBound, gradNorm, empGradNorm, gradClass, localized, SubRootLocalComplexity, productRegularizer, epsN, rhoN and rhoTilde. The empirical mean and measure (empMean, empMeasure), the Rademacher complexity (radComp, expectedRad), sub-root functions (IsSubRoot), the class −F (negClass) and the probability count (peelCount) are the shared definitions of the series in WassFSG.Lip.

Formalization targets

Goal: Corollary 6 (2-Wasserstein DRO), pp. 11–12

Write ϵn=(ℏτt+1+E⊗[Rn(G)])/n\epsilon_n=(\hbar\tau t+1+\mathbb E_\otimes[\mathfrak R_n(\mathcal G)])/nϵn​=(ℏτt+1+E⊗​[Rn​(G)])/n and ρn=2τt/n (1+E⊗[Rn(G)])+4rn⋆+2ϵn\rho_n=2\sqrt{\tau t/n}\,(1+\mathbb E_\otimes[\mathfrak R_n(\mathcal G)])+\sqrt{4r_{n\star}+2\epsilon_n}ρn​=2τt/n​(1+E⊗​[Rn​(G)])+4rn⋆​+2ϵn​​. Assume in addition that ∥∇f(z)∥∗/∥∥∇f∥∗∥Ptrue,2≤κg\|\nabla f(z)\|_*/\|\|\nabla f\|_*\|_{\mathbb P_{\mathrm{true}},2}\le\kappa_g∥∇f(z)∥∗​/∥∥∇f∥∗​∥Ptrue​,2​≤κg​, and set ρ~n=ρn(1+2E⊗[Rn(G)]+κg2t/(2n))\tilde\rho_n=\rho_n(1+2\mathbb E_\otimes[\mathfrak R_n(\mathcal G)]+\kappa_g^2\sqrt{t/(2n)})ρ~​n​=ρn​(1+2E⊗​[Rn​(G)]+κg2​t/(2n)​). If 2E⊗[Rn(G)]+κg2t/(2n)<1/22\mathbb E_\otimes[\mathfrak R_n(\mathcal G)]+\kappa_g^2\sqrt{t/(2n)}<1/22E⊗​[Rn​(G)]+κg2​t/(2n)​<1/2, then with probability at least 1−(N2+1)e−t1-(N_2+1)e^{-t}1−(N2​+1)e−t, every f∈Ff\in\mathcal Ff∈F satisfies

EPtrue[f]≤EPn[f]+ρ~n∥∥∇f∥∗∥Pn,2+4rn⋆+2ϵn\mathbb E_{\mathbb P_{\mathrm{true}}}[f]\le\mathbb E_{\mathbb P_n}[f]+\tilde\rho_n\|\|\nabla f\|_*\|_{\mathbb P_n,2}+4r_{n\star}+2\epsilon_nEPtrue​​[f]≤EPn​​[f]+ρ~​n​∥∥∇f∥∗​∥Pn​,2​+4rn⋆​+2ϵn​

and

EPtrue[f]≤EPn[f]+RPn,2(ρ~n;f)+4rn⋆+2ϵn+ℏρ~n2,\mathbb E_{\mathbb P_{\mathrm{true}}}[f]\le\mathbb E_{\mathbb P_n}[f]+\mathcal R_{\mathbb P_n,2}(\tilde\rho_n;f)+4r_{n\star}+2\epsilon_n+\hbar\tilde\rho_n^2,EPtrue​​[f]≤EPn​​[f]+RPn​,2​(ρ~​n​;f)+4rn⋆​+2ϵn​+ℏρ~​n2​,

where N2=max⁡(0,⌈log⁡2(γ2τtn)⌉)+1N_2=\max(0,\lceil\log_2(\gamma_2\sqrt{\tau tn})\rceil)+1N2​=max(0,⌈log2​(γ2​τtn​)⌉)+1.

Milestones, in proof order

  1. Lemma 7 (symmetrization).
  2. Lemma 9 for p=2p=2p=2: a uniform deviation bound with the transport term R⊗,2(τt/n;−F)\mathcal R_{\otimes,2}(\sqrt{\tau t/n};-\mathcal F)R⊗,2​(τt/n​;−F).
  3. Lemma 13: the transport term is bounded by gradient norms plus ℏτt/n\hbar\tau t/nℏτt/n.
  4. Lemma 14: peeling, which turns the class supremum into each fff's own gradient norm.
  5. Lemma 10: the fixed-point bound B2≤r0≤2A+B2B^2\le r_0\le2A+B^2B2≤r0​≤2A+B2.
  6. Theorem 3: distribution-dependent gradient regularization, EPtrue[f]≤EPn[f]+ρn∥∥∇f∥∗∥Ptrue,2+4rn⋆+2ϵn\mathbb E_{\mathbb P_{\mathrm{true}}}[f]\le\mathbb E_{\mathbb P_n}[f]+\rho_n\|\|\nabla f\|_*\|_{\mathbb P_{\mathrm{true}},2}+4r_{n\star}+2\epsilon_nEPtrue​​[f]≤EPn​​[f]+ρn​∥∥∇f∥∗​∥Ptrue​,2​+4rn⋆​+2ϵn​.
  7. Lemma 2: ∣RQ,2(ρ;f)−ρ∥∥∇f∥∗∥Q,2∣≤ℏρ2|\mathcal R_{\mathbb Q,2}(\rho;f)-\rho\|\|\nabla f\|_*\|_{\mathbb Q,2}|\le\hbar\rho^2∣RQ,2​(ρ;f)−ρ∥∥∇f∥∗​∥Q,2​∣≤ℏρ2.

Significance

Corollary 6 says that solving 2-Wasserstein DRO at a radius ρ~n=O(1/n)\tilde\rho_n=O(1/\sqrt n)ρ~​n​=O(1/n​) gives, with high probability, an upper bound on the true loss of every decision, up to an O(1/n)O(1/n)O(1/n) gap. This holds whenever E⊗[Rn(G)]=O(1)\mathbb E_\otimes[\mathfrak R_n(\mathcal G)]=O(1)E⊗​[Rn​(G)]=O(1) and rn⋆=O(1/n)r_{n\star}=O(1/n)rn⋆​=O(1/n), for example for finite-VC gradient classes, smooth neural networks and Markowitz portfolios (Section 5 of the paper). Combined with the robust-solution argument of Remark 1, this gives O~(1/n)\tilde O(1/\sqrt n)O~(1/n​) excess-risk bounds for the robust solution. Theorem 3 alone is a generalization bound for gradient-norm regularization, an estimator used in its own right.

None of these results is known to be machine-checked. The mission produces a Lean statement of the full chain from a transportation inequality to the DRO guarantee. It also produces reusable infrastructure: the 2-Wasserstein regularizer on a Banach space, transportation-information inequalities, local Rademacher complexities with sub-root bounds, and a peeling argument. The printed failure probability needs a correction (see below), so the formal statement is itself a contribution.

Difficulty

The obvious route is to bound EPtrue[f]−EPn[f]\mathbb E_{\mathbb P_{\mathrm{true}}}[f]-\mathbb E_{\mathbb P_n}[f]EPtrue​​[f]−EPn​​[f] by W2(Pn,Ptrue)\mathcal W_2(\mathbb P_n,\mathbb P_{\mathrm{true}})W2​(Pn​,Ptrue​) times a gradient bound. It fails because W2(Pn,Ptrue)\mathcal W_2(\mathbb P_n,\mathbb P_{\mathrm{true}})W2​(Pn​,Ptrue​) decays like n−1/dn^{-1/d}n−1/d. The radius must instead come from concentration of the loss, and the result has to hold uniformly over F\mathcal FF, which requires symmetrization and a localization in the gradient norm.

Three points carry the weight:

  • The transport term of Lemma 9 has to be converted into a gradient norm with a quadratic remainder. This is the step that uses smoothness.
  • The population gradient norm, which is unknown, has to be replaced by its empirical counterpart in Corollary 6. This needs a separate concentration step for the class G\mathcal GG.
  • Every constant (the (1+E⊗[Rn(G)])(1+\mathbb E_\otimes[\mathfrak R_n(\mathcal G)])(1+E⊗​[Rn​(G)]) factors, ϵn\epsilon_nϵn​, ρ~n\tilde\rho_nρ~​n​) appears in the statement and must come out exactly.

Formalization scope

The source is arXiv:2009.04382 (preprint basis); its printed page numbers equal the PDF's.

Standing conventions:

  • Z\mathcal ZZ is a complete, second-countable real normed space with its Borel σ\sigmaσ-algebra. The paper says "Banach space"; separability and Borel are the setting of the transport results it cites.
  • n≥1n\ge1n≥1.
  • ∇f\nabla f∇f is the Fréchet derivative, and its norm is the operator (dual) norm.
  • W2\mathcal W_2W2​ is used through its square, via the published optimal-transport cost.
  • Expectations inside the regularizer and Rademacher complexities are extended integrals in R‾\overline{\mathbb R}R. EPtrue[f]\mathbb E_{\mathbb P_{\mathrm{true}}}[f]EPtrue​​[f] is the Bochner integral, which is integrable because Assumption 2 gives quadratic growth and T2(τ)T_2(\tau)T2​(τ) a finite second moment.
  • "With probability at least 1−δ1-\delta1−δ, for every fff" is the outer measure of the set of samples where some fff fails, bounded by δ\deltaδ.
  • The page's min⁡λ≥0\min_{\lambda\ge0}minλ≥0​ in R⊗,2\mathcal R_{\otimes,2}R⊗,2​ is read as an infimum.

Added hypotheses, all implicit on the page:

  • ∥∥∇f∥∗∥Ptrue,2>0\|\|\nabla f\|_*\|_{\mathbb P_{\mathrm{true}},2}>0∥∥∇f∥∗​∥Ptrue​,2​>0 for f∈Ff\in\mathcal Ff∈F, so that G\mathcal GG and κg\kappa_gκg​ are defined.
  • E⊗[Rn(G)]\mathbb E_\otimes[\mathfrak R_n(\mathcal G)]E⊗​[Rn​(G)] is finite. It is passed as a real number; if it is infinite, the bounds are vacuous.
  • The class bound γ2\gamma_2γ2​ in Lemma 14, which its proof uses.
  • rn⋆>0r_{n\star}>0rn⋆​>0.
  • Continuity and integrability of the family in Lemma 7.

Corrected slip. The printed failure probability ⌈log⁡2(γ2τtn)⌉e−t\lceil\log_2(\sqrt{\gamma_2\tau tn})\rceil e^{-t}⌈log2​(γ2​τtn​)⌉e−t (Theorem 3, Corollary 6) is negative for small γ2τtn\gamma_2\sqrt{\tau tn}γ2​τtn​ and disagrees with Lemma 14, and the peeling in Lemma 14's proof misses one band. The Lean uses N2=max⁡(0,⌈log⁡2(γ2τtn)⌉)+1N_2=\max(0,\lceil\log_2(\gamma_2\sqrt{\tau tn})\rceil)+1N2​=max(0,⌈log2​(γ2​τtn​)⌉)+1 events (and N2+1N_2+1N2​+1 in Corollary 6). Milestone texts keep the printed count. Lemma 13's printed proof contains a step that is false in general for signed Rademacher sums. The statement is posed as printed; a correct argument uses the non-negativity of G\mathcal GG.

Ruled out. A trivializing encoding would take rn⋆=0r_{n\star}=0rn⋆​=0, let the radii be free existentials, use a real supremum (which is 000 on unbounded sets), or rely on Lean's x/0=0x/0=0x/0=0 for G\mathcal GG. None of these is used: every radius is the printed formula, and each degenerate case is excluded by a hypothesis.

Welcome contributions include proofs of the milestones and general lemmas on the Wasserstein regularizer (Lemma 2 is a first-order expansion). McDiarmid's inequality, which Corollary 6's proof uses, is not a milestone and is a welcome general-purpose result.

Selected references

  • R. Gao, Finite-Sample Guarantees for Wasserstein Distributionally Robust Optimization: Breaking the Curse of Dimensionality, Operations Research, 2023. arXiv:2009.04382
  • P. L. Bartlett, O. Bousquet, S. Mendelson, Local Rademacher complexities, Annals of Statistics 33(4), 2005. doi:10.1214/009053605000000282
  • N. Fournier, A. Guillin, On the rate of convergence in Wasserstein distance of the empirical measure, Probability Theory and Related Fields 162, 2015. doi:10.1007/s00440-014-0583-7
  • R. Gao, X. Chen, A. J. Kleywegt, Wasserstein distributionally robust optimization and variation regularization, Operations Research, 2024. arXiv:1712.06050
  • N. Gozlan, C. Léonard, Transport inequalities. A survey, Markov Processes and Related Fields 16, 2010. arXiv:1003.3852
14 thms2 active usersReviewed
Operations ResearchOptimal TransportStatistics·Captain: mikedeng1

Finite-Sample Guarantees for Wasserstein Distributionally Robust Optimization: Breaking the Curse of Dimensionality 2: Under T₁(τ), W₁-Robust Loss at Radius 2√(τt/n)+√(4r⋆+2/n) Bounds the True LossResearch Paper

Why the radius of a Wasserstein ball matters

Wasserstein distributionally robust optimization (DRO) replaces the empirical loss EPn[f]\mathbb E_{\mathbb P_n}[f]EPn​​[f] of a decision or model fff by its worst case over all distributions within a Wasserstein distance ρ\rhoρ of the empirical distribution Pn\mathbb P_nPn​. It is used in operations research (newsvendor, portfolio and inventory problems) and in machine learning (robust classification and regression), and it is attractive because the worst-case loss is often a computable convex program (Mohajerin Esfahani and Kuhn 2018; Gao and Kleywegt 2023).

The practical question is how large ρ\rhoρ must be for the robust loss to upper-bound the true, unknown loss EPtrue[f]\mathbb E_{\mathbb P_{\mathrm{true}}}[f]EPtrue​​[f] with high probability. The classical answer goes through measure concentration of Pn\mathbb P_nPn​ around Ptrue\mathbb P_{\mathrm{true}}Ptrue​ in Wasserstein distance (Fournier and Guillin 2015), which forces ρn≍n−1/d\rho_n \asymp n^{-1/d}ρn​≍n−1/d in dimension ddd: the curse of dimensionality. Rui Gao's paper (arXiv:2009.04382; Operations Research, 2023) shows that a radius of order n−1/2n^{-1/2}n−1/2 suffices, independently of ddd, under a transportation-information inequality and a complexity assumption on the loss class. This mission formalizes the paper's result for the 1-Wasserstein distance (Sec. 4.2, Theorem 2 and Corollary 4).

Setting

Let Z\mathcal ZZ be a separable real Banach space with norm ∥⋅∥\|\cdot\|∥⋅∥. P1(Z)\mathcal P_1(\mathcal Z)P1​(Z) is the set of Borel probability measures Q\mathbb QQ with EQ∥z∥<∞\mathbb E_{\mathbb Q}\|z\|<\inftyEQ​∥z∥<∞. The 1-Wasserstein distance is

W1(P,Q)=inf⁡{Eπ∥z~−z∥:π has marginals P,Q}.\mathcal W_1(\mathbb P,\mathbb Q)=\inf\{\mathbb E_\pi\|\tilde z-z\| : \pi \text{ has marginals }\mathbb P,\mathbb Q\}.W1​(P,Q)=inf{Eπ​∥z~−z∥:π has marginals P,Q}.

For a loss f:Z→Rf:\mathcal Z\to\mathbb Rf:Z→R the Wasserstein regularizer is the gap between robust and nominal loss,

RQ,1(ρ;f)=sup⁡{EP[f]:P∈P1(Z), W1(P,Q)≤ρ}−EQ[f].\mathcal R_{\mathbb Q,1}(\rho;f)=\sup\{\mathbb E_{\mathbb P}[f]:\mathbb P\in\mathcal P_1(\mathcal Z),\ \mathcal W_1(\mathbb P,\mathbb Q)\le\rho\}-\mathbb E_{\mathbb Q}[f].RQ,1​(ρ;f)=sup{EP​[f]:P∈P1​(Z), W1​(P,Q)≤ρ}−EQ​[f].

The Lipschitz norm ∥f∥Lip\|f\|_{\mathrm{Lip}}∥f∥Lip​ is the best Lipschitz constant of fff.

The data are nnn i.i.d. samples z1,…,znz_1,\dots,z_nz1​,…,zn​ from Ptrue\mathbb P_{\mathrm{true}}Ptrue​, with empirical distribution Pn=1n∑iδzi\mathbb P_n=\frac1n\sum_i\delta_{z_i}Pn​=n1​∑i​δzi​​. P⊗\mathbb P_\otimesP⊗​ and E⊗\mathbb E_\otimesE⊗​ refer to the product law. The distribution Ptrue\mathbb P_{\mathrm{true}}Ptrue​ satisfies the transportation-information inequality T1(τ)T_1(\tau)T1​(τ) if W1(Q,Ptrue)≤τH(Q∥Ptrue)\mathcal W_1(\mathbb Q,\mathbb P_{\mathrm{true}})\le\sqrt{\tau H(\mathbb Q\|\mathbb P_{\mathrm{true}})}W1​(Q,Ptrue​)≤τH(Q∥Ptrue​)​ for every Q∈P1(Z)\mathbb Q\in\mathcal P_1(\mathcal Z)Q∈P1​(Z), where HHH is relative entropy. It holds, for example, for every distribution with a sub-Gaussian norm.

The loss class F\mathcal FF satisfies Assumption 1(I) if f(z~)−f(z)≤γ1∥z~−z∥f(\tilde z)-f(z)\le\gamma_1\|\tilde z-z\|f(z~)−f(z)≤γ1​∥z~−z∥ for all f∈Ff\in\mathcal Ff∈F, with γ1>0\gamma_1>0γ1​>0. It satisfies Assumption 1(II) if Z\mathcal ZZ is unbounded and each fff attains its Lipschitz norm at infinity, i.e. lim sup⁡∥z−z0∥→∞(f(z)−f(z0))/∥z−z0∥=∥f∥Lip\limsup_{\|z-z_0\|\to\infty}(f(z)-f(z_0))/\|z-z_0\|=\|f\|_{\mathrm{Lip}}limsup∥z−z0​∥→∞​(f(z)−f(z0​))/∥z−z0​∥=∥f∥Lip​ for some z0z_0z0​.

The Rademacher complexity of a class G\mathcal GG on the sample is Rn(G)=Eσ[sup⁡g∈G1n∑iσig(zi)]\mathfrak R_n(\mathcal G)=\mathbb E_\sigma[\sup_{g\in\mathcal G}\frac1n\sum_i\sigma_i g(z_i)]Rn​(G)=Eσ​[supg∈G​n1​∑i​σi​g(zi​)], with i.i.d. uniform signs σi\sigma_iσi​. Assumption 5 asks for a sub-root function ψn\psi_nψn​ that dominates the localized complexities:

ψn(r)≥E⊗[Rn({cf:f∈F, 0≤c≤1, ∥cf∥Lip2≤r})].\psi_n(r)\ge\mathbb E_\otimes\big[\mathfrak R_n(\{cf:f\in\mathcal F,\ 0\le c\le1,\ \|cf\|^2_{\mathrm{Lip}}\le r\})\big].ψn​(r)≥E⊗​[Rn​({cf:f∈F, 0≤c≤1, ∥cf∥Lip2​≤r})].

Sub-root means non-negative, non-decreasing, non-constant, with ψn(r)/r\psi_n(r)/\sqrt rψn​(r)/r​ non-increasing. Its positive fixed point is rn⋆=ψn(rn⋆)r_{n\star}=\psi_n(r_{n\star})rn⋆​=ψn​(rn⋆​).

Formalization targets

Goal: Corollary 4 (1-Wasserstein DRO)

Set ρn=2τt/n+4rn⋆+2/n\rho_n=2\sqrt{\tau t/n}+\sqrt{4r_{n\star}+2/n}ρn​=2τt/n​+4rn⋆​+2/n​ and N1(t,n)=max⁡(0,⌈log⁡2(γ1τtn)⌉)+1N_1(t,n)=\max(0,\lceil\log_2(\gamma_1\sqrt{\tau tn})\rceil)+1N1​(t,n)=max(0,⌈log2​(γ1​τtn​)⌉)+1. Under T1(τ)T_1(\tau)T1​(τ), Assumption 1 and Assumption 5, for t>0t>0t>0, with probability at least 1−N1(t,n)e−t1-N_1(t,n)e^{-t}1−N1​(t,n)e−t,

EPtrue[f]≤EPn[f]+RPn,1(ρn;f)+4rn⋆+2n∀f∈F.\mathbb E_{\mathbb P_{\mathrm{true}}}[f]\le\mathbb E_{\mathbb P_n}[f]+\mathcal R_{\mathbb P_n,1}(\rho_n;f)+4r_{n\star}+\frac2n\qquad\forall f\in\mathcal F.EPtrue​​[f]≤EPn​​[f]+RPn​,1​(ρn​;f)+4rn⋆​+n2​∀f∈F.

Milestones

  • Lemma 7 (symmetrization): E⊗sup⁡h{EPtrueh−EPnh}≤2E⊗[Rn(H)]\mathbb E_\otimes\sup_h\{\mathbb E_{\mathbb P_{\mathrm{true}}}h-\mathbb E_{\mathbb P_n}h\}\le2\mathbb E_\otimes[\mathfrak R_n(\mathcal H)]E⊗​suph​{EPtrue​​h−EPn​​h}≤2E⊗​[Rn​(H)].
  • Lemma 9 (p=1p=1p=1): uniform concentration with the product regularizer R⊗,1(τt/n;−F)\mathcal R_{\otimes,1}(\sqrt{\tau t/n};-\mathcal F)R⊗,1​(τt/n​;−F).
  • Lemma 11: the same with τt/nsup⁡f∈F∥f∥Lip\sqrt{\tau t/n}\sup_{f\in\mathcal F}\|f\|_{\mathrm{Lip}}τt/n​supf∈F​∥f∥Lip​.
  • Lemma 12 (peeling): each fff's own 2τt/n∥f∥Lip2\sqrt{\tau t/n}\|f\|_{\mathrm{Lip}}2τt/n​∥f∥Lip​, at cost 1/n1/n1/n and N1N_1N1​ events.
  • Lemma 10: the largest root r0r_0r0​ of Br+A=rB\sqrt r+A=rBr​+A=r lies in [B2,2A+B2][B^2,2A+B^2][B2,2A+B2].
  • Theorem 2 (Lipschitz regularization): the goal with RPn,1(ρn;f)\mathcal R_{\mathbb P_n,1}(\rho_n;f)RPn​,1​(ρn​;f) replaced by ρn∥f∥Lip\rho_n\|f\|_{\mathrm{Lip}}ρn​∥f∥Lip​; needs Assumption 1(I) only.
  • Lemma 1: RQ,1(ρ;f)≤ρ∥f∥Lip\mathcal R_{\mathbb Q,1}(\rho;f)\le\rho\|f\|_{\mathrm{Lip}}RQ,1​(ρ;f)≤ρ∥f∥Lip​, with equality under Assumption 1(II).

Significance

Corollary 4 justifies a radius of order 1/n1/\sqrt n1/n​ whenever rn⋆=O~(1/n)r_{n\star}=\tilde O(1/n)rn⋆​=O~(1/n), which the paper verifies for kernel classes and other examples (Sec. 5). That rate is the one used in practice, and it was not covered by the concentration-based theory. Theorem 2 is a dimension-free generalization bound for Lipschitz-regularized learning in its own right. Lemma 1 links the two by identifying the 1-Wasserstein regularizer with Lipschitz regularization.

The results are proved in the paper. As far as known, none of them is machine-checked. A formalization would check the paper's peeling and fixed-point arguments, which turn out to need a corrected failure-probability count (see Formalization scope). It would also produce reusable Lean infrastructure: Rademacher complexity in the 1n\frac1nn1​, no-absolute-value normalization, localized classes, sub-root functions, T1(τ)T_1(\tau)T1​(τ), and the Wasserstein regularizer on a Banach space.

Difficulty

The obvious route bounds W1(Pn,Ptrue)\mathcal W_1(\mathbb P_n,\mathbb P_{\mathrm{true}})W1​(Pn​,Ptrue​) and uses Kantorovich–Rubinstein duality. It fails because W1(Pn,Ptrue)\mathcal W_1(\mathbb P_n,\mathbb P_{\mathrm{true}})W1​(Pn​,Ptrue​) is of order n−1/dn^{-1/d}n−1/d, so no dimension-free radius comes out. A dimension-free bound must therefore hold uniformly over an infinite loss class without passing through the distance between Pn\mathbb P_nPn​ and Ptrue\mathbb P_{\mathrm{true}}Ptrue​, and the bound must scale with each function's own Lipschitz norm rather than the class-wide constant γ1\gamma_1γ1​. The statements also need measure-theoretic infrastructure that Mathlib lacks or has only partly: transport inequalities, Rademacher averages over classes, and suprema of uncountable families inside expectations.

Formalization scope

  • Space. Z\mathcal ZZ is a real Banach space with its Borel σ\sigmaσ-algebra, and second countable (separable). The paper says "Banach space"; Borel and separability are implicit in the transport and duality results it cites. The Borel structure is load-bearing for transport costs.
  • Distances and expectations. W1\mathcal W_1W1​ is the published RWPI.SqrtLasso.transportCost with cost ∥u−w∥\|u-w\|∥u−w∥. Expectations inside regularizers and complexities are extended integrals ∫φ+−∫φ−\int\varphi^+-\int\varphi^-∫φ+−∫φ− in [−∞,∞][-\infty,\infty][−∞,∞] (published ModelRiskOT.Duality.extIntegral). EPtrue[f]\mathbb E_{\mathbb P_{\mathrm{true}}}[f]EPtrue​​[f] is the Bochner integral; it is the true expectation because a Lipschitz fff is integrable under Ptrue∈P1\mathbb P_{\mathrm{true}}\in\mathcal P_1Ptrue​∈P1​. Relative entropy is Mathlib's klDiv.
  • High-probability statements. "With probability at least 1−δ1-\delta1−δ, for every f∈Ff\in\mathcal Ff∈F" is the bound P⊗{z:∃f∈F violating the bound}≤δ\mathbb P_\otimes\{z:\exists f\in\mathcal F\text{ violating the bound}\}\le\deltaP⊗​{z:∃f∈F violating the bound}≤δ in outer measure, so the quantifier over fff sits inside the event. RPn,1\mathcal R_{\mathbb P_n,1}RPn​,1​ uses the empirical distribution of the same sample.
  • Samples and constants. n≥1n\ge1n≥1. rn⋆>0r_{n\star}>0rn⋆​>0 is a positive fixed point of ψn\psi_nψn​; taking rn⋆=0r_{n\star}=0rn⋆​=0 when ψn(0)=0\psi_n(0)=0ψn​(0)=0 would trivialize the goal and is excluded. ρn\rho_nρn​ is the printed formula, not a free radius. Assumption 1(II)'s diam⁡(Z)=∞\operatorname{diam}(\mathcal Z)=\inftydiam(Z)=∞ is stated as "Z\mathcal ZZ is unbounded".
  • Corrected probability count. The paper prints the failure probability of Lemma 12, Theorem 2 and Corollary 4 as ⌈log⁡2(γ1τtn)⌉e−t\lceil\log_2(\sqrt{\gamma_1\tau tn})\rceil e^{-t}⌈log2​(γ1​τtn​)⌉e−t. That count is negative when γ1τtn≤1/2\gamma_1\sqrt{\tau tn}\le1/2γ1​τtn​≤1/2, which makes the printed claim false. It also puts γ1\gamma_1γ1​ inside the root, against the proof's own choice of KKK, and the proof's peeling shells leave a band of Lipschitz norms uncovered. All three statements use the corrected count N1(t,n)N_1(t,n)N1​(t,n).
  • Other readings. R⊗,1\mathcal R_{\otimes,1}R⊗,1​ uses an infimum where the page writes min⁡\minmin. Lemma 9 is stated for p=1p=1p=1 only. In Lemma 7 the family consists of continuous, Ptrue\mathbb P_{\mathrm{true}}Ptrue​-integrable functions. Continuity makes every supremum inside an expectation lower semicontinuous, hence measurable, and the same holds automatically for the Lipschitz classes of the other statements.

Lemma 5 (concentration on the product space under Tp(τ)T_p(\tau)Tp​(τ), used in Lemma 9's proof) belongs to the companion mission on variation-based concentration and is not restated here. Contributions are welcome at every level: sub-root fixed-point facts, symmetrization, the peeling lemma, and Lemma 1's two directions are independent entry points.

The source is arXiv:2009.04382; its printed page numbers equal the PDF's page numbers.

Selected references

  • R. Gao, Finite-Sample Guarantees for Wasserstein Distributionally Robust Optimization: Breaking the Curse of Dimensionality, Operations Research, 2023. https://arxiv.org/abs/2009.04382
  • P. L. Bartlett, O. Bousquet, S. Mendelson, Local Rademacher complexities, Annals of Statistics 33(4), 2005. https://doi.org/10.1214/009053605000000282
  • R. Gao, X. Chen, A. J. Kleywegt, Wasserstein distributionally robust optimization and variation regularization, Operations Research, 2024. https://arxiv.org/abs/1712.06050
  • P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric, Mathematical Programming 171, 2018. https://doi.org/10.1007/s10107-017-1172-1
  • N. Fournier, A. Guillin, On the rate of convergence in Wasserstein distance of the empirical measure, Probability Theory and Related Fields 162, 2015. https://doi.org/10.1007/s00440-014-0583-7
  • N. Gozlan, C. Léonard, Transport inequalities. A survey, Markov Processes and Related Fields 16, 2010. https://arxiv.org/abs/1003.3852
12 thms2 active usersReviewed
Convex OptimizationOptimization·Captain: mikedeng1

Minimizing Finite Sums with the Stochastic Average Gradient: SAG with Step 1/(16L) Has E[g(x̄ᵏ)] − g(x*) ≤ (32n/k)C₀, and Rate (1 − min{μ/(16L), 1/(8n)})ᵏC₀ if g Is μ-Strongly ConvexResearch Paper

Motivation

Many problems in statistics and machine learning minimize a finite sum: an average of nnn smooth convex losses, one per data point, often plus a strongly convex regularizer. The full gradient method costs nnn component gradients per iteration and converges at rate O(1/k)O(1/k)O(1/k), or linearly when the objective is strongly convex (Nesterov, 2004). The stochastic gradient method costs one component gradient per iteration, but its rates are sublinear, O(1/k)O(1/\sqrt k)O(1/k​) and O(1/k)O(1/k)O(1/k), and these are optimal for algorithms that only see unbiased gradient estimates (Nemirovski et al., 2009).

The stochastic average gradient (SAG) method of Le Roux, Schmidt and Bach exploits the finiteness of the sum: it keeps the last gradient computed for every component and steps along their average. It was the first method with the iteration cost of the stochastic gradient method and the rates of the full gradient method.

Timeline.

  • 2007: Blatt, Hero and Gauchman prove convergence of the incremental aggregated gradient (IAG) method, the deterministic-order ancestor of SAG (SIAM J. Optim. 18(1)).
  • 2012: Le Roux, Schmidt and Bach introduce SAG and prove linear convergence of E∥xk−x∗∥2\mathbb E\|x^k-x^*\|^2E∥xk−x∗∥2 for strongly convex sums, with step 1/(2nL)1/(2nL)1/(2nL), and a faster rate with step 1/(2nμ)1/(2n\mu)1/(2nμ) when n≥8L/μn\ge 8L/\mun≥8L/μ (arXiv:1202.6258).
  • 2013–2017: Schmidt, Le Roux and Bach give the analysis formalized here: one step size 1/(16L)1/(16L)1/(16L), an O(n/k)O(n/k)O(n/k) rate for convex sums and a linear rate (1−min⁡{μ/16L,1/8n})k(1-\min\{\mu/16L,1/8n\})^k(1−min{μ/16L,1/8n})k for strongly convex sums, both in function values (arXiv:1309.2388; Math. Program. 162, 2017).
  • 2013–2014: SVRG (Johnson and Zhang, 2013) and SAGA (Defazio, Bach and Lacoste-Julien, 2014) give variance-reduced methods with simpler, unbiased updates.

Setting

Let f1,…,fn:Rp→Rf_1,\dots,f_n:\mathbb R^p\to\mathbb Rf1​,…,fn​:Rp→R, n≥1n\ge1n≥1, and

g(x)=1n∑i=1nfi(x).g(x)=\frac1n\sum_{i=1}^n f_i(x).g(x)=n1​i=1∑n​fi​(x).

Write fi′f'_ifi′​ for the gradient of fif_ifi​ and g′=1n∑ifi′g'=\frac1n\sum_i f'_ig′=n1​∑i​fi′​. The standing assumptions are: each fif_ifi​ is convex and differentiable; each gradient is Lipschitz with constant L>0L>0L>0, ∥fi′(x)−fi′(y)∥≤L∥x−y∥\|f'_i(x)-f'_i(y)\|\le L\|x-y\|∥fi′​(x)−fi′​(y)∥≤L∥x−y∥; and some x∗x^*x∗ minimizes ggg. Put σ2=1n∑i∥fi′(x∗)∥2\sigma^2=\frac1n\sum_i\|f'_i(x^*)\|^2σ2=n1​∑i​∥fi′​(x∗)∥2. The function ggg is μ\muμ-strongly convex if x↦g(x)−μ2∥x∥2x\mapsto g(x)-\frac\mu2\|x\|^2x↦g(x)−2μ​∥x∥2 is convex.

A state is θ=(y,x)\theta=(y,x)θ=(y,x): a table y=(y1,…,yn)y=(y_1,\dots,y_n)y=(y1​,…,yn​) of vectors in Rp\mathbb R^pRp and an iterate x∈Rpx\in\mathbb R^px∈Rp. One SAG step with index iii and step size α\alphaα replaces yiy_iyi​ by fi′(x)f'_i(x)fi′​(x) and then sets

x←x−αn∑j=1nyjx\leftarrow x-\frac{\alpha}{n}\sum_{j=1}^n y_jx←x−nα​j=1∑n​yj​

with the refreshed table. The indices i1,i2,…i_1,i_2,\dotsi1​,i2​,… are independent and uniform on {1,…,n}\{1,\dots,n\}{1,…,n}; θk=(yk,xk)\theta^k=(y^k,x^k)θk=(yk,xk) is the state after kkk steps, and xˉk=1k∑i=0k−1xi\bar x^k=\frac1k\sum_{i=0}^{k-1}x^ixˉk=k1​∑i=0k−1​xi is the average iterate. Expectations are over the indices only; the data are fixed. The table starts either at yi0=0y^0_i=0yi0​=0 or at the centered gradients yi0=fi′(x0)−g′(x0)y^0_i=f'_i(x^0)-g'(x^0)yi0​=fi′​(x0)−g′(x0).

Formalization targets

Goal: Theorem 1 (p. 7)

With α=116L\alpha=\frac1{16L}α=16L1​ and every k≥1k\ge1k≥1,

E[g(xˉk)]−g(x∗)≤32nkC0,\mathbb E[g(\bar x^k)]-g(x^*)\le\frac{32n}{k}C_0,E[g(xˉk)]−g(x∗)≤k32n​C0​,

and, if ggg is μ\muμ-strongly convex with μ>0\mu>0μ>0,

E[g(xk)]−g(x∗)≤(1−min⁡{μ16L,18n})kC0,\mathbb E[g(x^k)]-g(x^*)\le\Big(1-\min\Big\{\frac{\mu}{16L},\frac1{8n}\Big\}\Big)^kC_0,E[g(xk)]−g(x∗)≤(1−min{16Lμ​,8n1​})kC0​,

where C0=g(x0)−g(x∗)+4Ln∥x0−x∗∥2+σ216LC_0=g(x^0)-g(x^*)+\frac{4L}n\|x^0-x^*\|^2+\frac{\sigma^2}{16L}C0​=g(x0)−g(x∗)+n4L​∥x0−x∗∥2+16Lσ2​ for y0=0y^0=0y0=0 and C0=32[g(x0)−g(x∗)]+4Ln∥x0−x∗∥2C_0=\frac32[g(x^0)-g(x^*)]+\frac{4L}n\|x^0-x^*\|^2C0​=23​[g(x0)−g(x∗)]+n4L​∥x0−x∗∥2 for the centered table. All four combinations are stated, with the paper's constants.

Milestones (Appendix B)

The proof of Appendix B builds a Lyapunov function

L(θ)=2h g(x+de⊤y)−2h g(x∗)+(θ−θ∗)⊤(a1ee⊤+a2Ibebe⊤cI)(θ−θ∗),\mathcal L(\theta)=2h\,g(x+de^\top y)-2h\,g(x^*)+(\theta-\theta^*)^\top\begin{pmatrix}a_1ee^\top+a_2I&be\\ b e^\top&cI\end{pmatrix}(\theta-\theta^*),L(θ)=2hg(x+de⊤y)−2hg(x∗)+(θ−θ∗)⊤(a1​ee⊤+a2​Ibe⊤​becI​)(θ−θ∗),

with e⊤y=∑iyie^\top y=\sum_iy_ie⊤y=∑i​yi​ and θ∗=(f′(x∗),x∗)\theta^*=(f'(x^*),x^*)θ∗=(f′(x∗),x∗), and fixes constants a1,a2,b,c,d,ha_1,a_2,b,c,d,ha1​,a2​,b,c,d,h (App. B.5). The milestones follow it: the expectation identity of Lemma 1 and the inverse of Lemma 2; inequalities (12) and (13); the B.3 bound of E[L(θk)∣Fk−1]−(1−δ)L(θk−1)\mathbb E[\mathcal L(\theta^k)\mid\mathcal F_{k-1}]-(1-\delta)\mathcal L(\theta^{k-1})E[L(θk)∣Fk−1​]−(1−δ)L(θk−1) by a quadratic in xk−1−x∗x^{k-1}-x^*xk−1−x∗ and g′(xk−1)g'(x^{k-1})g′(xk−1); the verification of Constraints 1–9 for the B.5 constants; the one-step decrease and the domination g(x)−g(x∗)≤L(θ)g(x)-g(x^*)\le\mathcal L(\theta)g(x)−g(x∗)≤L(θ) (B.7); the linear, summed and averaged rates in terms of L(θ0)\mathcal L(\theta^0)L(θ0); and the initial values of L\mathcal LL for the two tables (B.8).

Significance

The result. Theorem 1 shows that one component gradient per iteration suffices for the convergence rates of the full gradient method on finite sums. In the strongly convex case the rate (1−min⁡{μ/16L,1/8n})k(1-\min\{\mu/16L,1/8n\})^k(1−min{μ/16L,1/8n})k is, for nnn large relative to L/μL/\muL/μ, better per pass through the data than the full gradient method's. The result started the line of variance-reduced methods (SVRG, SAGA, and their accelerated and proximal variants), which are now standard for empirical risk minimization. The convex-case rate holds without strong convexity and from either initialization.

Formalizing it. The rates are proved on paper, but the proof leans on a large symbolic computation: Table B.3 has dozens of terms, and the verification that the chosen constants satisfy the constraints (B.6) was done with computer algebra and an off-paper script for n∈{2,3,4}n\in\{2,3,4\}n∈{2,3,4}. A machine-checked proof removes that dependency. The appendix also contains slips: a parametric step of B.4 that fails for b<0b<0b<0, a wrong coefficient in B.8.2's intermediate identity, and a missing argument for n=1n=1n=1. A formal proof settles which claims are right as stated. No formal proof of Theorem 1 is known to be recorded in a proof assistant library.

Difficulty

The method is not a stochastic gradient method in disguise: the step αn∑jyj\frac\alpha n\sum_jy_jnα​∑j​yj​ is a biased estimate of g′(x)g'(x)g′(x), because the table holds stale gradients. The standard argument, a one-step contraction of ∥xk−x∗∥2\|x^k-x^*\|^2∥xk−x∗∥2 in expectation, fails, since the bias depends on the whole table. The analysis must track the joint state (y,x)∈Rnp×Rp(y,x)\in\mathbb R^{np}\times\mathbb R^p(y,x)∈Rnp×Rp through a Lyapunov function with several free parameters, find constants for which its expected decrease is negative uniformly in nnn and μ/L\mu/Lμ/L, and show that it dominates g(x)−g(x∗)g(x)-g(x^*)g(x)−g(x∗). Each of these steps reduces to sign conditions on rational functions of nnn and μ/L\mu/Lμ/L that hold for all n≥2n\ge2n≥2, not just for a few values.

Formalization scope

Rp\mathbb R^pRp is EuclideanSpace ℝ (Fin p), and the components are indexed by Fin n. The gradients are an explicit map f', tied to f by HasGradientAt at every point. ggg and g′g'g′ are the published SAGA.Convex.fAvg and SAGA.Convex.gradAvg. The expectation over kkk i.i.d. uniform indices is the uniform average over all nkn^knk index sequences (SAGA.Convex.expectIdx). A conditional expectation given Fk−1\mathcal F_{k-1}Fk−1​ is the average over the next index from an arbitrary current state. The SAG step refreshes the table at the current iterate before the iterate moves. The average iterate includes x0x^0x0 and excludes xkx^kxk.

The standing assumptions are exactly those of §3: n≥1n\ge1n≥1, L>0L>0L>0, each fif_ifi​ convex and differentiable with LLL-Lipschitz gradient, and x∗x^*x∗ a minimizer of ggg. Strong convexity is assumed only where the paper assumes it, in the shifted-convexity form of §3, with μ>0\mu>0μ>0 in Theorem 1 and μ≥0\mu\ge0μ≥0 in Appendix B. Hypotheses added to milestones, each one used by the paper without stating it, are n≥2n\ge2n≥2 wherever the B.5 constants appear (p. 43: "We will assume n>1n>1n>1"), μ≤L\mu\le Lμ≤L in the constraint verification (B.6), and the sign conditions h≥0h\ge0h≥0, 0≤δ≤10\le\delta\le10≤δ≤1, B3,B4>0B_3,B_4>0B3​,B4​>0, B62/(4B3)+B8≥0B_6^2/(4B_3)+B_8\ge0B62​/(4B3​)+B8​≥0 in the B.3 bound. The goal covers n=1n=1n=1.

The goal is stated directly about expectIdx of ggg along the SAG iterates from the two initial tables. It does not mention the Lyapunov function, its constants, or one-step averages, so it cannot be discharged by unfolding a definition. Junk values of Lean division are excluded by n≥1n\ge1n≥1, L>0L>0L>0 and k≥1k\ge1k≥1.

A complete development needs the expectation identity of Lemma 1 for block quadratic forms, smoothness and co-coercivity inequalities for convex functions with Lipschitz gradients, Jensen's inequality for finite uniform averages, and exact rational inequalities in nnn and μ/L\mu/Lμ/L. The first two are reusable for other variance-reduced methods (SAGA, SVRG, IAG). Proofs of any milestone, of the n=1n=1n=1 case, and alternative proofs of the constraint verification are all welcome.

Selected references

  • M. Schmidt, N. Le Roux, F. Bach, Minimizing finite sums with the stochastic average gradient, Mathematical Programming 162 (2017), 83–112. arXiv:1309.2388v2. https://arxiv.org/abs/1309.2388
  • N. Le Roux, M. Schmidt, F. Bach, A stochastic gradient method with an exponential convergence rate for finite training sets, NeurIPS 2012. https://arxiv.org/abs/1202.6258
  • D. Blatt, A. O. Hero, H. Gauchman, A convergent incremental gradient method with a constant step size, SIAM Journal on Optimization 18(1) (2007), 29–51. https://doi.org/10.1137/040615961
  • Y. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004. https://doi.org/10.1007/978-1-4419-8853-9
  • A. Nemirovski, A. Juditsky, G. Lan, A. Shapiro, Robust stochastic approximation approach to stochastic programming, SIAM Journal on Optimization 19(4) (2009), 1574–1609. https://doi.org/10.1137/070704277
  • R. Johnson, T. Zhang, Accelerating stochastic gradient descent using predictive variance reduction, NeurIPS 2013. https://papers.nips.cc/paper/4937-accelerating-stochastic-gradient-descent-using-predictive-variance-reduction
  • A. Defazio, F. Bach, S. Lacoste-Julien, SAGA: A fast incremental gradient method with support for non-strongly convex composite objectives, NeurIPS 2014. https://arxiv.org/abs/1407.0202
19 thms2 active usersReviewed
Complexity TheoryConvex OptimizationOptimization·Captain: mikedeng1

Tight Complexity Bounds for Optimizing Composite Objectives III: Any Deterministic Algorithm with Gradient and Prox Oracles Needs Ω(m√(γ/λ)·log(λε₀/(γε))) Queries on Smooth Strongly Convex SumsResearch Paper

Motivation

Many problems in machine learning and statistics minimize an average of component losses, F(x)=1m∑i=1mfi(x)F(x)=\frac1m\sum_{i=1}^m f_i(x)F(x)=m1​∑i=1m​fi​(x): one term per training example, per data shard, or per block of a decomposed objective. Incremental methods such as SAG, SVRG, SAGA, SDCA and their accelerated variants touch one component at a time, so the natural measure of their work is the number of component queries. When every component is γ\gammaγ-smooth and λ\lambdaλ-strongly convex, accelerated incremental methods reach accuracy ϵ\epsilonϵ after on the order of (m+mγ/λ)log⁡(ϵ0/ϵ)(m+\sqrt{m\gamma/\lambda})\log(\epsilon_0/\epsilon)(m+mγ/λ​)log(ϵ0​/ϵ) queries, while treating FFF as one function and running accelerated gradient descent costs mγ/λlog⁡(ϵ0/ϵ)m\sqrt{\gamma/\lambda}\log(\epsilon_0/\epsilon)mγ/λ​log(ϵ0​/ϵ) component queries.

Woodworth and Srebro ask how far this can go when the oracle is as strong as possible: for a requested component it returns the value, the gradient, and an exact proximal point, the minimizer of fi(u)+β2∥x−u∥2f_i(u)+\frac\beta2\|x-u\|^2fi​(u)+2β​∥x−u∥2. A proximal step solves a whole optimization problem for that component, so it is not obvious that oracle-complexity lower bounds for gradient methods survive. Their Theorem 4 shows that for deterministic algorithms they do: the full mγ/λm\sqrt{\gamma/\lambda}mγ/λ​ factor is unavoidable (Woodworth and Srebro, 2016, Theorem 4, p. 6). Randomization is what separates this from the upper bounds of accelerated incremental methods, which the paper treats separately.

Timeline. Nemirovski and Yudin (1983) and Nesterov (2004) gave the γ/λlog⁡(1/ϵ)\sqrt{\gamma/\lambda}\log(1/\epsilon)γ/λ​log(1/ϵ) lower bound for one smooth strongly convex function under span-restricted methods. Agarwal and Bottou (2015) gave finite-sum lower bounds for deterministic methods with gradient access. Lan and Zhou (2018) proved bounds for randomized incremental gradient methods. Woodworth and Srebro (NeurIPS 2016; revised arXiv v3, 2019) handled arbitrary deterministic and randomized algorithms with a gradient-and-prox oracle and no span assumption.

Setting

Write Ed=RdE_d=\mathbb R^dEd​=Rd with the Euclidean inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥. A finite-sum objective is F(x)=1m∑i=1mfi(x)F(x)=\frac1m\sum_{i=1}^m f_i(x)F(x)=m1​∑i=1m​fi​(x) with m≥2m\ge2m≥2 components fi:Ed→Rf_i:E_d\to\mathbb Rfi​:Ed​→R. A component is γ\gammaγ-smooth if it is differentiable and its gradient is γ\gammaγ-Lipschitz, and λ\lambdaλ-strongly convex if f(y)≥f(x)+⟨∇f(x),y−x⟩+λ2∥x−y∥2f(y)\ge f(x)+\langle\nabla f(x),y-x\rangle+\frac\lambda2\|x-y\|^2f(y)≥f(x)+⟨∇f(x),y−x⟩+2λ​∥x−y∥2 for all x,yx,yx,y.

A query names a component iii, a point xxx, and a parameter β>0\beta>0β>0. The oracle hFh_FhF​ answers with fi(x)f_i(x)fi​(x), ∇fi(x)\nabla f_i(x)∇fi​(x), and proxfi(x,β)=arg⁡min⁡u{fi(u)+β2∥x−u∥2}\mathrm{prox}_{f_i}(x,\beta)=\arg\min_u\{f_i(u)+\frac\beta2\|x-u\|^2\}proxfi​​(x,β)=argminu​{fi​(u)+2β​∥x−u∥2}. A deterministic algorithm chooses each query as a function of the answers it has received so far. The quantity bounded from below is the number of queries before some query point x^\hat xx^ satisfies F(x^)−F(x∗)<ϵF(\hat x)-F(x^*)<\epsilonF(x^)−F(x∗)<ϵ, where x∗x^*x∗ minimizes FFF.

The proof works with directions v0,…,vkv_0,\dots,v_kv0​,…,vk​, chosen orthonormal, and indicators δi,r∈{0,1}\delta_{i,r}\in\{0,1\}δi,r​∈{0,1} with ∑iδi,r=⌊m/2⌋\sum_i\delta_{i,r}=\lfloor m/2\rfloor∑i​δi,r​=⌊m/2⌋, and the components (at γ=1\gamma=1γ=1)

fi(x)=1−λ8(δi,1(⟨x,v0⟩2−2C⟨x,v0⟩)+δi,kζ⟨x,vk⟩2+∑r=1kδi,r⟨x,vr−1−vr⟩2)+λ2∥x∥2.f_i(x)=\frac{1-\lambda}{8}\Big(\delta_{i,1}(\langle x,v_0\rangle^2-2C\langle x,v_0\rangle)+\delta_{i,k}\zeta\langle x,v_k\rangle^2+\sum_{r=1}^k\delta_{i,r}\langle x,v_{r-1}-v_r\rangle^2\Big)+\frac\lambda2\|x\|^2 .fi​(x)=81−λ​(δi,1​(⟨x,v0​⟩2−2C⟨x,v0​⟩)+δi,k​ζ⟨x,vk​⟩2+r=1∑k​δi,r​⟨x,vr−1​−vr​⟩2)+2λ​∥x∥2.

With Q=⌊m/2⌋m(1λ−1)+1Q=\frac{\lfloor m/2\rfloor}{m}(\frac1\lambda-1)+1Q=m⌊m/2⌋​(λ1​−1)+1 and q=Q−1Q+1q=\frac{\sqrt Q-1}{\sqrt Q+1}q=Q​+1Q​−1​ these define the quantities in the milestones (App. B.4, pp. 16–17).

Formalization targets

Goal: Theorem 4 in Ω\OmegaΩ form

Let R=mγ/λ log⁡λϵ0γϵR=m\sqrt{\gamma/\lambda}\,\log\frac{\lambda\epsilon_0}{\gamma\epsilon}R=mγ/λ​logγϵλϵ0​​. There are absolute constants c,C>0c,C>0c,C>0 such that for every m≥2m\ge2m≥2, γ,λ>0\gamma,\lambda>0γ,λ>0 with γ/λ>73\gamma/\lambda>73γ/λ>73, ϵ>0\epsilon>0ϵ>0 and ϵ0>3γϵ/λ\epsilon_0>3\gamma\epsilon/\lambdaϵ0​>3γϵ/λ there is a dimension d≤CRd\le CRd≤CR with the following property. For every deterministic algorithm AAA there are γ\gammaγ-smooth, λ\lambdaλ-strongly convex f1,…,fmf_1,\dots,f_mf1​,…,fm​ on Rd\mathbb R^dRd and an exact oracle for them, with a minimizer x∗x^*x∗ of FFF and F(0)−F(x∗)=ϵ0F(0)-F(x^*)=\epsilon_0F(0)−F(x∗)=ϵ0​, such that every query point xnx_nxn​ with n+1≤cRn+1\le cRn+1≤cR satisfies

F(xn)−F(x∗)≥ϵ.F(x_n)-F(x^*)\ge\epsilon .F(xn​)−F(x∗)≥ϵ.

The constants are left unspecified, as in the paper's OOO and Ω\OmegaΩ.

Milestones

At γ=1\gamma=1γ=1, λ<1/73\lambda<1/73λ<1/73, the proof establishes, in order: the closed form of FFF with the factor λ(Q−1)/8\lambda(Q-1)/8λ(Q−1)/8; the minimizer x∗=C∑r=0kqr+1vrx^*=C\sum_{r=0}^kq^{r+1}v_rx∗=C∑r=0k​qr+1vr​ with F(x∗)=−λC28(Q−1)2F(x^*)=-\frac{\lambda C^2}{8}(\sqrt Q-1)^2F(x∗)=−8λC2​(Q​−1)2; the ratio bound F(xt)−F(x∗)F(0)−F(x∗)≥q2t−q2k+2Q\frac{F(x_t)-F(x^*)}{F(0)-F(x^*)}\ge\frac{q^{2t}-q^{2k+2}}{\sqrt Q}F(0)−F(x∗)F(xt​)−F(x∗)​≥Q​q2t−q2k+2​ for points orthogonal to vt,…,vkv_t,\dots,v_kvt​,…,vk​; the exponential bound ≥12Qe−4t/(Q−1)\ge\frac1{2\sqrt Q}e^{-4t/(\sqrt Q-1)}≥2Q​1​e−4t/(Q​−1) once k+1=⌈t−12log⁡q⌉k+1=\lceil t-\frac1{2\log q}\rceilk+1=⌈t−2logq1​⌉; the choice of ttt that makes the ratio at least ϵ/ϵ0\epsilon/\epsilon_0ϵ/ϵ0​; and the final count m2⌊⋅⌋≥m40λlog⁡λϵ02ϵ\frac m2\lfloor\cdot\rfloor\ge\frac m{40\sqrt\lambda}\log\frac{\sqrt\lambda\epsilon_0}{2\epsilon}2m​⌊⋅⌋≥40λ​m​log2ϵλ​ϵ0​​ (pp. 17–18).

Significance

The theorem shows that an exact component prox does not buy a better dependence on the condition number γ/λ\gamma/\lambdaγ/λ for deterministic methods: the best deterministic method is, up to constants, accelerated gradient descent on FFF itself. Combined with the paper's randomized lower bounds and known upper bounds, it pins down the gap between deterministic and randomized incremental methods at a factor of about m\sqrt mm​. It also tells designers of distributed and incremental solvers that a prox subroutine per component cannot replace randomization.

The result is proved on paper. To our knowledge it has no machine-checked proof. This mission formalizes the complete deterministic argument: the closed-form algebra of the quadratic construction, the geometric decay of its error along the chain, the counting of rounds, and, as the main work, the adversary that keeps the oracle's answers consistent with an algorithm that has not yet found the later directions. Each algebraic step is checked separately, so its constants are verified individually.

Difficulty

The argument from function values and gradients is standard for span-restricted methods. It does not cover this setting, for two reasons. First, the algorithm is arbitrary and deterministic: its query points need not lie in the span of earlier gradients, so the directions vrv_rvr​ must be chosen adaptively, orthogonal to every query made so far. The hard instance therefore depends on the algorithm, and the oracle must be shown to answer every query consistently with one fixed set of components, chosen at the end. Second, the prox answer is the minimizer of a global problem. The proof must show that, while a component has not been queried in round ttt, the prox of the truncated component coincides with the prox of the final one. The paper asserts this step for the strongly convex construction ("a fact which follows directly from the previous proof"). A solver has to carry it out for the extra λ2∥x∥2\frac\lambda2\|x\|^22λ​∥x∥2 term.

The algebraic steps are also delicate in their constants: the boundary equation at vkv_kvk​ holds only with ζ=1−q\zeta=1-qζ=1−q, and the final count uses λ<1/73\lambda<1/73λ<1/73 and ϵ0>3ϵ/λ\epsilon_0>3\epsilon/\lambdaϵ0​>3ϵ/λ to keep the logarithm and the floor away from their degenerate values.

Formalization scope

Points live in EuclideanSpace ℝ (Fin d). Components are indexed by Fin m (from 0); λ\lambdaλ is written lam. A deterministic algorithm is a function from the list of previous responses to the next query, and an oracle is a fixed function from queries to responses (value, gradient, prox). Query n is the paper's (n+1)(n+1)(n+1)-st. Prox points are a predicate (IsProx), not a choice function, and queries carry β>0\beta>0β>0. Smoothness is a global gradient that is γ\gammaγ-Lipschitz, and strong convexity is Mathlib's StrongConvexOn, which for differentiable functions is equivalent to the gradient inequality above. The minimum is an explicit minimizer, never a real infimum. ⌊m/2⌋\lfloor m/2\rfloor⌊m/2⌋ is natural-number division.

Choices that strengthen or pin the page's statement, each disclosed in the items:

  • the domain is all of Rd\mathbb R^dRd, which is what the proof uses;
  • the dimension is chosen before the algorithm, which the proof supports;
  • the point x^\hat xx^ ranges over query points;
  • the oracle is exact and memoryless.

The goal mentions none of the proof's objects (vrv_rvr​, δ\deltaδ, rounds, QQQ, qqq, ζ\zetaζ, CCC, kkk), so it cannot be made trivial by fixing the construction. Its conclusion requires a genuine minimizer with F(0)−F(x∗)=ϵ0F(0)-F(x^*)=\epsilon_0F(0)−F(x∗)=ϵ0​, so the claim cannot hold for degenerate components.

Needed infrastructure: quadratic forms over orthonormal families, gradients and prox points of quadratics plus λ2∥x∥2\frac\lambda2\|x\|^22λ​∥x∥2, and an adaptive Gram–Schmidt adversary. The model of algorithms and oracles is shared with the companion missions on Theorems 1 and 3 and can be reused for other oracle-complexity lower bounds. Proofs of individual milestones, of the consistency step, and of the scaling from γ=1\gamma=1γ=1 to general γ\gammaγ are all welcome.

Selected references

  • B. Woodworth and N. Srebro, Tight Complexity Bounds for Optimizing Composite Objectives, NeurIPS 2016; arXiv:1605.08003v3, 2019. https://arxiv.org/abs/1605.08003
  • A. Nemirovski and D. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983.
  • Y. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004. https://doi.org/10.1007/978-1-4419-8853-9
  • A. Agarwal and L. Bottou, A Lower Bound for the Optimization of Finite Sums, ICML 2015. https://arxiv.org/abs/1410.0723
  • G. Lan and Y. Zhou, An Optimal Randomized Incremental Gradient Method, Mathematical Programming, 2018. https://arxiv.org/abs/1507.02000
10 thms2 active usersReviewed
Complexity TheoryConvex OptimizationOptimization·Captain: mikedeng1

Tight Complexity Bounds for Optimizing Composite Objectives II: Any Deterministic Algorithm with Gradient and Prox Oracle Access Needs Ω(m√(γB²/ε)) Queries on Sums of m Convex γ-Smooth FunctionsResearch Paper

Motivation

Many problems in machine learning and statistics minimize an average of mmm convex losses, one per data point or per block of data. Incremental methods such as SAG, SVRG, SAGA, SDCA, Finito and Katyusha exploit this finite-sum structure: each step touches one component fif_ifi​ instead of the whole average, and for smooth components the best of them reach accuracy ϵ\epsilonϵ with far fewer component evaluations than full-gradient methods. A natural question is how much of this improvement is possible at all, and whether access to stronger per-component information, such as a proximal step, could do better still.

B. Woodworth and N. Srebro, Tight Complexity Bounds for Optimizing Composite Objectives (NeurIPS 2016, arXiv:1605.08003), answer this with lower bounds on the number of component-oracle calls. Their oracle returns, for a requested component, its value, its gradient, and its exact proximal point. Earlier lower bounds covered only gradient access to smooth, strongly convex sums: Agarwal and Bottou (arXiv:1410.0723) for deterministic algorithms, and Lan (arXiv:1507.02000) for randomized algorithms that sample components from a fixed distribution and keep their iterates in the span of the gradients received (p. 2–3 of the paper). Woodworth and Srebro allow any algorithm, any sequence of gradient and prox queries, and iterates anywhere in Rd\mathbb R^dRd, in all four combinations of Lipschitz or smooth components and bounded or strongly convex objectives. This mission formalizes the deterministic bound for smooth, not strongly convex components on a bounded domain (Theorem 3 of the paper).

Setting

Fix integers m≥2m\ge2m≥2 and d≥0d\ge0d≥0, and write Rd\mathbb R^dRd with the Euclidean inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥. The domain is the ball X={x∈Rd:∥x∥≤B}\mathcal X=\{x\in\mathbb R^d:\|x\|\le B\}X={x∈Rd:∥x∥≤B}. Given functions f1,…,fm:Rd→Rf_1,\dots,f_m:\mathbb R^d\to\mathbb Rf1​,…,fm​:Rd→R, the objective is

F(x)=1m∑i=1mfi(x).F(x)=\frac1m\sum_{i=1}^m f_i(x).F(x)=m1​i=1∑m​fi​(x).

A component fif_ifi​ is γ\gammaγ-smooth on X\mathcal XX if it is differentiable and its gradient is γ\gammaγ-Lipschitz on X\mathcal XX: ∥∇fi(x)−∇fi(y)∥≤γ∥x−y∥\|\nabla f_i(x)-\nabla f_i(y)\|\le\gamma\|x-y\|∥∇fi​(x)−∇fi​(y)∥≤γ∥x−y∥ for x,y∈Xx,y\in\mathcal Xx,y∈X. Each fif_ifi​ is also required to be convex on X\mathcal XX.

A query is a triple (i,x,β)(i,x,\beta)(i,x,β) of a component index, a point x∈Rdx\in\mathbb R^dx∈Rd and a parameter β>0\beta>0β>0. The oracle hFh_FhF​ answers it exactly with

hF(x,i,β)=[fi(x), ∇fi(x), prox⁡fi(x,β)],prox⁡fi(x,β)∈arg min⁡u∈X{fi(u)+β2∥x−u∥2}.h_F(x,i,\beta)=\bigl[f_i(x),\ \nabla f_i(x),\ \operatorname{prox}_{f_i}(x,\beta)\bigr],\qquad \operatorname{prox}_{f_i}(x,\beta)\in\operatorname*{arg\,min}_{u\in\mathcal X}\Bigl\{f_i(u)+\frac\beta2\|x-u\|^2\Bigr\}.hF​(x,i,β)=[fi​(x), ∇fi​(x), proxfi​​(x,β)],proxfi​​(x,β)∈u∈Xargmin​{fi​(u)+2β​∥x−u∥2}.

A deterministic algorithm AAA chooses its first query, and then each next query as a function of the ordered list of answers received so far. Running AAA against an oracle produces a sequence of query points x(0),x(1),…x^{(0)},x^{(1)},\dotsx(0),x(1),….

Formalization targets

Goal: Theorem 3

There are absolute constants c,C>0c,C>0c,C>0 such that for every m≥2m\ge2m≥2 and γ,B,ϵ>0\gamma,B,\epsilon>0γ,B,ϵ>0 there is a dimension d≤C mγB2/ϵd\le C\,m\sqrt{\gamma B^2/\epsilon}d≤CmγB2/ϵ​ with the following property. For every deterministic algorithm AAA there are convex, γ\gammaγ-smooth components f1,…,fmf_1,\dots,f_mf1​,…,fm​ on the BBB-ball, an exact oracle for them, and a minimizer x∗x^*x∗ of FFF over the ball, such that

F(x(n))−F(x∗) ≥ ϵfor every n with n+1≤c mγB2/ϵ.F\bigl(x^{(n)}\bigr)-F(x^*)\ \ge\ \epsilon\qquad\text{for every } n \text{ with } n+1\le c\,m\sqrt{\gamma B^2/\epsilon}.F(x(n))−F(x∗) ≥ ϵfor every n with n+1≤cmγB2/ϵ​.

In words: Ω(mγB2/ϵ)\Omega\bigl(m\sqrt{\gamma B^2/\epsilon}\bigr)Ω(mγB2/ϵ​) oracle calls are needed before any queried point is strictly ϵ\epsilonϵ-suboptimal. The constants are left unspecified, as in the paper's Ω\OmegaΩ and OOO.

Milestones

The proof (Appendix B.3) builds the components adaptively from orthonormal directions v0,…,vkv_0,\dots,v_kv0​,…,vk​ and indicators δi,r∈{0,1}\delta_{i,r}\in\{0,1\}δi,r​∈{0,1}. The milestones are the claims it states on the way:

  1. the average of the hard components equals the truncated quadratic Fk+1F^{k+1}Fk+1, and agrees with FqF^qFq at points orthogonal to vq,…,vkv_q,\dots,v_kvq​,…,vk​;
  2. the explicit minimizer xt∗=a∑r=0t−1(1−r+1t+1)vrx_t^*=a\sum_{r=0}^{t-1}\bigl(1-\frac{r+1}{t+1}\bigr)v_rxt∗​=a∑r=0t−1​(1−t+1r+1​)vr​ of FtF^tFt and its value −a2⌊m/2⌋8m(1−1t+1)-\frac{a^2\lfloor m/2\rfloor}{8m}\bigl(1-\frac1{t+1}\bigr)−8ma2⌊m/2⌋​(1−t+11​);
  3. ∥xt∗∥2≤a2t/3\|x_t^*\|^2\le a^2t/3∥xt∗​∥2≤a2t/3;
  4. the gap F(x)−F(x∗)≥1/(32k2)F(x)-F(x^*)\ge 1/(32k^2)F(x)−F(x∗)≥1/(32k2) for points not yet aware of the later half of the directions;
  5. Lemma 4: the gradient of the partial function fitf_i^tfit​ agrees with that of fif_ifi​ when iii is queried during round ttt;
  6. Lemma 5: the same for the constrained prox;
  7. the linear construction that forces mmm queries when ϵ\epsilonϵ is large.

Significance

The result. Running accelerated gradient descent on FFF, with all mmm component gradients computed at each step, finds an ϵ\epsilonϵ-suboptimal point with O(mγB2/ϵ)O\bigl(m\sqrt{\gamma B^2/\epsilon}\bigr)O(mγB2/ϵ​) oracle calls (§2 and Table 1 of the paper). Theorem 3 shows that this is optimal among deterministic algorithms, up to a constant factor: neither incremental access to single components nor an exact prox oracle improves the order of the deterministic complexity. Randomized algorithms need only between m+mγB2/ϵm+\sqrt{m\gamma B^2/\epsilon}m+mγB2/ϵ​ and mlog⁡(ϵ0/ϵ)+mγB2/ϵm\log(\epsilon_0/\epsilon)+\sqrt{m\gamma B^2/\epsilon}mlog(ϵ0​/ϵ)+mγB2/ϵ​ calls (Table 1, with ϵ0\epsilon_0ϵ0​ the suboptimality of the point 000), so Theorem 3 also measures the benefit of randomization in incremental methods such as accelerated SVRG: a factor of order m\sqrt mm​ in the dominant term.

Formalizing it. The theorem is proved in the paper; it has no machine-checked proof. A formal proof needs the adaptive adversary argument in full: the construction of directions orthogonal to all earlier queries, the consistency of answers given by partial functions, and the explicit linear-algebra of the tridiagonal quadratic. The paper's final count m/(166ϵ)m/(16\sqrt{6\epsilon})m/(166ϵ​) is false for some parameters (for even mmm and ϵ=1/500\epsilon=1/500ϵ=1/500), and the large-ϵ\epsilonϵ construction needs a dimension of order mmm that the stated bound d=O(mγB2/ϵ)d=O(m\sqrt{\gamma B^2/\epsilon})d=O(mγB2/ϵ​) does not allow when ϵ≫γB2\epsilon\gg\gamma B^2ϵ≫γB2; a complete formal proof settles both points.

Difficulty

The algorithm is arbitrary and adaptive, and it sees exact prox points, which in principle reveal far more about a component than a gradient. The construction must therefore be chosen after the algorithm, round by round, so that every answer the algorithm has received is consistent with the final functions, yet reveals at most one new direction per round. The naive argument, "the algorithm only explores the span of previous gradients", is not available: the algorithm is not restricted to linear spans, and its queries can lie anywhere. Instead, each new direction must be made orthogonal to every point queried so far, and one must show that the partial function used to answer a query has the same gradient and the same constrained prox as the final function at that point (Lemmas 4–5). The constrained prox over the ball is not covered by the paper's unconstrained computation and needs its own argument.

Formalization scope

The space is EuclideanSpace ℝ (Fin d). Components are indexed by Fin m (0-based). A query is a structure carrying a component, a point and a parameter β\betaβ with a proof of β>0\beta>0β>0; the prox answer is described by the published minimizer predicate BoydADMM.Prox.IsProx, not by a choice function. A deterministic algorithm is a function from the list of earlier answers to the next query, and the oracle is a fixed function of the query, required to be exact on every query. The minimum F(x∗)F(x^*)F(x∗) is an explicit attained minimizer over the ball, never a real infimum.

Committed conventions, each disclosed in the item statements:

  • the dimension ddd is chosen before the algorithm (stronger than the page's order, and what the proof gives);
  • the point x^\hat xx^ ranges over query points, indexed from zero; an algorithm can query any point it wishes to output;
  • query points range over all of Rd\mathbb R^dRd, while convexity and smoothness are required on the ball;
  • β>0\beta>0β>0 in every prox query;
  • the milestones work at the proof's normalization γ=B=1\gamma=B=1γ=B=1, use ⌊m/2⌋\lfloor m/2\rfloor⌊m/2⌋ as natural-number division, and express "xv∈span⁡{v0,…,vt−1}x^v\in\operatorname{span}\{v_0,\dots,v_{t-1}\}xv∈span{v0​,…,vt−1​}" as ⟨x,vr⟩=0\langle x,v_r\rangle=0⟨x,vr​⟩=0 for t≤r≤kt\le r\le kt≤r≤k.

A trivializing formalization is ruled out: the goal mentions none of vrv_rvr​, δi,r\delta_{i,r}δi,r​, rounds, aaa, kkk or xt∗x_t^*xt∗​, so it cannot be discharged by assumptions about the construction, and the oracle must answer every query exactly.

A full development needs: the adversary construction (orthonormal vectors orthogonal to a finite set of earlier queries), smoothness of the quadratic hard functions (a Hessian bound ⪯I\preceq I⪯I), existence of constrained prox points, and the arithmetic of the counts. The tridiagonal linear algebra of milestones 2–3 is reusable for other lower-bound constructions in the style of Nesterov's. Proofs of individual milestones, alternative constructions and a corrected explicit constant are all welcome.

Selected references

  • B. Woodworth, N. Srebro, Tight Complexity Bounds for Optimizing Composite Objectives, NeurIPS 2016; arXiv:1605.08003v3, 2019. https://arxiv.org/abs/1605.08003
  • A. Agarwal, L. Bottou, A Lower Bound for the Optimization of Finite Sums, ICML 2015. https://arxiv.org/abs/1410.0723
  • G. Lan, Y. Zhou, An Optimal Randomized Incremental Gradient Method, Mathematical Programming 171, 2018. https://arxiv.org/abs/1507.02000
  • Z. Allen-Zhu, Katyusha: The First Direct Acceleration of Stochastic Gradient Methods, STOC 2017; JMLR 2018. https://arxiv.org/abs/1603.05953
  • Y. Nesterov, Introductory Lectures on Convex Optimization: A Basic Course, Kluwer, 2004. https://doi.org/10.1007/978-1-4419-8853-9
12 thms2 active usersReviewed
Complexity TheoryConvex OptimizationOptimization·Captain: mikedeng1

Tight Complexity Bounds for Optimizing Composite Objectives I: Any Deterministic Algorithm with Gradient and Prox Oracle Access Needs Ω(mLB/ε) Queries on Sums of m Convex L-Lipschitz FunctionsResearch Paper

Motivation

Many optimization problems minimize the average of component losses: one loss per observation, machine, or term in an objective. When an algorithm can inspect one component at a time, the number of component queries is a useful measure of work. A component oracle can provide more than a value or subgradient: a proximal point summarizes a global minimization involving that component. Woodworth and Srebro ask whether this stronger access reduces the worst-case number of queries for nonsmooth finite sums. Their deterministic lower bound answers the question in the regime of convex Lipschitz components on a bounded Euclidean ball (Woodworth and Srebro, 2016, Theorem 1).

The paper studies deterministic and randomized algorithms separately. This mission concerns the deterministic claim in Section 4.1 and its Appendix B.1 proof. The result is relevant to algorithms that alternate among components and use both local subgradient information and component prox computations. The exact oracle matters: a lower bound for an approximate or restricted oracle would not settle the claim made for the stronger one in this paper (Woodworth and Srebro, 2016, pp. 1, 4–5).

Setting

Let m≥2m\ge2m≥2 and let f1,…,fm:Rd→Rf_1,\ldots,f_m:\mathbb R^d\to\mathbb Rf1​,…,fm​:Rd→R be convex functions. Their finite-sum objective is F(x)=m−1∑i=1mfi(x)F(x)=m^{-1}\sum_{i=1}^m f_i(x)F(x)=m−1∑i=1m​fi​(x), minimized over the closed Euclidean ball X={x:∥x∥≤B}\mathcal X=\{x:\|x\|\le B\}X={x:∥x∥≤B} for B>0B>0B>0. Each component is LLL-Lipschitz on X\mathcal XX when ∣fi(x)−fi(y)∣≤L∥x−y∥|f_i(x)-f_i(y)|\le L\|x-y\|∣fi​(x)−fi​(y)∣≤L∥x−y∥ for points x,yx,yx,y in that ball. The paper's notation paragraph prints f(x)−f(x)f(x)-f(x)f(x)−f(x) in this definition; the two-point condition is the intended reading (p. 3).

A query chooses a component index iii, a point x∈Rdx\in\mathbb R^dx∈Rd, and β>0\beta>0β>0. The component oracle returns the value fi(x)f_i(x)fi​(x), a subgradient of fif_ifi​ at xxx, and a point minimizing fi(u)+(β/2)∥x−u∥2f_i(u)+(\beta/2)\|x-u\|^2fi​(u)+(β/2)∥x−u∥2 over u∈Xu\in\mathcal Xu∈X. The subgradient is global: its defining inequality holds against every point in Rd\mathbb R^dRd. A deterministic algorithm chooses its next query from the ordered responses to its previous queries. The oracle is exact and makes a fixed response choice for each query. The paper allows algorithms without a span restriction and defines a round by how many distinct components have been queried, not by how many total queries have occurred (pp. 1, 4–5).

For the appendix milestones, v0,…,vkv_0,\ldots,v_kv0​,…,vk​ are orthonormal directions and δi,r∈{0,1}\delta_{i,r}\in\{0,1\}δi,r​∈{0,1} records whether component iii was missed in round rrr. The hard components fif_ifi​ and their truncations fitf_i^tfit​ are the explicit absolute-value sums in equations (6) and (7). These objects support the lower-bound analysis; they do not restrict the theorem's quantified algorithm or hard instance (pp. 5, 11–12).

Formalization targets

Deterministic oracle lower bound

There are absolute constants c,C>0c,C>0c,C>0 such that, for every m≥2m\ge2m≥2, L,B>0L,B>0L,B>0, and 0<ε<LB/120<\varepsilon<LB/120<ε<LB/12, some dimension d≤CmLB/εd\le C mLB/\varepsilond≤CmLB/ε defeats every deterministic algorithm: for that algorithm there are convex LLL-Lipschitz components and a valid oracle whose first cmLB/εc mLB/\varepsiloncmLB/ε query points all obey

F(xn)−F(x∗)≥ε,F(x_n)-F(x^*)\ge\varepsilon,F(xn​)−F(x∗)≥ε,

where x∗x^*x∗ minimizes FFF on X\mathcal XX. This is the paper's Ω(mLB/ε)\Omega(mLB/\varepsilon)Ω(mLB/ε) conclusion. The constants are absolute, and the dimension bound expresses its O(mLB/ε)O(mLB/\varepsilon)O(mLB/ε) clause (Theorem 1, p. 5).

Supporting targets

Appendix B.1 supplies five milestones: the formula and attained minimum of the average hard function, its error gap for a point orthogonal to an unrevealed direction, the query-count inequality, and Lemmas 2 and 3 on subgradient and proximal-response consistency. The first three are quantitative claims for the normalized L=B=1L=B=1L=B=1 construction; the last two say that answers derived from a truncated component can remain valid for the final component (pp. 11–13).

Significance

The theorem puts a worst-case limit on deterministic methods that can ask for a component prox point as well as a subgradient. Its factor of mmm says that access to individual components does not remove the cost of discovering information spread across the finite sum. The paper compares this lower bound with its deterministic upper bounds, making the query rate tight up to constants in this regime (Woodworth and Srebro, 2016, Table 1 and Theorem 1).

The mathematical result is proved in the paper; this mission asks for a machine-checked proof of its faithful formal statement. The model of exact component queries, deterministic response histories, and constrained proximal minimizers can also support related oracle-complexity developments. None of the new theorem items in this proposal has a machine-checked proof yet. The already published global subgradient definition is reused as a reference.

Difficulty

The theorem concerns every deterministic algorithm, including one whose future queries depend on all responses so far. A single hard function fixed without regard to that interaction does not capture the adversarial information limit established by the paper. The proof must also show that each answer exposed during the interaction is genuinely a value, subgradient, and constrained prox point for one completed family of component functions. Lemma 2 handles the subgradient requirement, while Lemma 3 handles the more global proximal requirement. The latter is delicate because equation (3) minimizes over the ball, whereas the appendix displays an unconstrained calculation (pp. 11–13).

The printed formula in equation (6) can have Lipschitz constant greater than one, contrary to a sentence on page 11. This affects an explicit constant in the proof, though the theorem's Ω\OmegaΩ rate survives rescaling. A verified development must establish a valid uniform Lipschitz bound and carry its normalization into the final constants (Appendix B.1, p. 11).

Formalization scope

Vectors are EuclideanSpace ℝ (Fin d) with its Euclidean inner product and norm. Components use Fin m, a zero-based encoding of the paper's 1,…,m1,\ldots,m1,…,m. Query number zero is the first query; a bound on (n+1)(n+1)(n+1) represents the number of queries made through query nnn. The proximal operation is a predicate describing all minimizers over X\mathcal XX; each legal query has β>0\beta>0β>0. The oracle is memoryless and exact for every query, even when its point lies outside X\mathcal XX. Candidate points in the goal are the algorithm's query points. The dimension is chosen before the algorithm, as the appendix construction permits. The finite average is an explicit sum and x∗x^*x∗ is an explicit feasible minimizer, avoiding a default-valued real infimum.

The milestones use k≥1k\ge1k≥1, orthonormal directions, binary indicators, and ∑iδi,r=⌊m/2⌋\sum_i\delta_{i,r}=\lfloor m/2\rfloor∑i​δi,r​=⌊m/2⌋ where the average is involved. Their normalization is L=B=1L=B=1L=B=1. Natural-number division represents ⌊m/2⌋\lfloor m/2\rfloor⌊m/2⌋, and a finite interval starting at one prevents the term vr−1v_{r-1}vr−1​ from underflowing. The goal quantifies over every deterministic algorithm and demands a valid oracle and an attained minimum; the hard directions, indicators, rounds, and truncations occur only in supporting statements. This rules out a fixed easy instance or an oracle allowed to return arbitrary answers.

The development needs Mathlib's Euclidean-space, convexity, finite-sum, and orthonormal-family libraries and the published global-subgradient definition. Contributions that establish the five milestones, a uniform Lipschitz bound for the hard functions, or the algorithm-dependent construction are within scope. The other deterministic smooth regimes and the randomized results have separate problems and are outside this mission.

Selected references

  • B. Woodworth and N. Srebro, Tight Complexity Bounds for Optimizing Composite Objectives, NeurIPS, 2016; arXiv:1605.08003v3, 2019 revision. arXiv
8 thms2 active usersReviewed
OptimizationProbability·Captain: mikedeng1

On Nonconvex Optimization for Machine Learning: Gradients, Stochasticity, and Saddle Points 1: Perturbed SGD Makes Half Its Iterates ε-Second-Order Stationary within Õ(ℓΔ_f·𝔑/ε²) IterationsResearch Paper

Why saddle points matter for stochastic gradient methods

Most training objectives in machine learning are smooth and nonconvex, and they are minimized by stochastic gradient descent (SGD) and its variants. For nonconvex fff the classical guarantee is convergence to an ϵ\epsilonϵ-first-order stationary point, ∥∇f(x)∥≤ϵ\|\nabla f(x)\|\le\epsilon∥∇f(x)∥≤ϵ: Ghadimi and Lan (arXiv:1309.5549) showed that SGD reaches one in O~(ϵ−4)\tilde O(\epsilon^{-4})O~(ϵ−4) stochastic gradient queries, independently of the dimension. A first-order stationary point may be a saddle point, however, and for many problems (matrix sensing and completion, phase retrieval, tensor decomposition, dictionary learning) every second-order stationary point is a global minimum. For these problems, a guarantee for second-order stationary points is a guarantee of global optimality.

Timeline:

  • 2015. Ge, Huang, Jin and Yuan (arXiv:1503.02101) proved that noisy SGD escapes strict saddle points in polynomial time, with a large polynomial dependence on ddd and 1/ϵ1/\epsilon1/ϵ.
  • 2017. Jin, Ge, Netrapalli, Kakade and Jordan (arXiv:1703.00887) showed that gradient descent with occasional perturbations finds an ϵ\epsilonϵ-second-order stationary point in O~(ℓΔf/ϵ2)\tilde O(\ell\Delta_f/\epsilon^2)O~(ℓΔf​/ϵ2) iterations, only polylogarithmically worse than plain gradient descent for first-order points.
  • 2019. The paper of this mission, Jin, Netrapalli, Ge, Kakade and Jordan (arXiv:1902.04811; J. ACM 68(2), 2021), extends this to the stochastic setting with norm-subGaussian gradient noise: perturbed SGD needs O~(ϵ−4)\tilde O(\epsilon^{-4})O~(ϵ−4) queries when the stochastic gradients are Lipschitz and O~(dϵ−4)\tilde O(d\epsilon^{-4})O~(dϵ−4) in general.

Setting

Let f:Rd→Rf:\mathbb R^d\to\mathbb Rf:Rd→R be bounded below with f⋆=inf⁡ff^\star=\inf ff⋆=inff, and write Δf=f(x0)−f⋆\Delta_f=f(x_0)-f^\starΔf​=f(x0​)−f⋆. Assumption A: fff is ℓ\ellℓ-gradient Lipschitz, ∥∇f(x1)−∇f(x2)∥≤ℓ∥x1−x2∥\|\nabla f(x_1)-\nabla f(x_2)\|\le\ell\|x_1-x_2\|∥∇f(x1​)−∇f(x2​)∥≤ℓ∥x1​−x2​∥, and ρ\rhoρ-Hessian Lipschitz, ∥∇2f(x1)−∇2f(x2)∥≤ρ∥x1−x2∥\|\nabla^2 f(x_1)-\nabla^2 f(x_2)\|\le\rho\|x_1-x_2\|∥∇2f(x1​)−∇2f(x2​)∥≤ρ∥x1​−x2​∥ in operator norm. A point xxx is an ϵ\epsilonϵ-second-order stationary point if

∥∇f(x)∥≤ϵandλmin⁡(∇2f(x))≥−ρϵ.\|\nabla f(x)\|\le\epsilon\qquad\text{and}\qquad\lambda_{\min}(\nabla^2 f(x))\ge-\sqrt{\rho\epsilon}.∥∇f(x)∥≤ϵandλmin​(∇2f(x))≥−ρϵ​.

The algorithm sees only a stochastic gradient g(x;θ)g(x;\theta)g(x;θ) with θ∼D\theta\sim\mathcal Dθ∼D. Assumption B asks that E g(x;θ)=∇f(x)\mathbb E\,g(x;\theta)=\nabla f(x)Eg(x;θ)=∇f(x) and that the error is norm-subGaussian: P(∥g(x;θ)−∇f(x)∥≥t)≤2e−t2/(2σ2)\mathbb P(\|g(x;\theta)-\nabla f(x)\|\ge t)\le2e^{-t^2/(2\sigma^2)}P(∥g(x;θ)−∇f(x)∥≥t)≤2e−t2/(2σ2) for t≥0t\ge0t≥0. The optional Assumption C asks that each g(⋅;θ)g(\cdot;\theta)g(⋅;θ) is ℓ~\tilde\ellℓ~-Lipschitz. The two cases combine into

N=1+min⁡{σ2ϵ2+ℓ~2ℓρϵ, σ2dϵ2},\mathfrak N=1+\min\Big\{\frac{\sigma^2}{\epsilon^2}+\frac{\tilde\ell^2}{\ell\sqrt{\rho\epsilon}},\ \frac{\sigma^2d}{\epsilon^2}\Big\},N=1+min{ϵ2σ2​+ℓρϵ​ℓ~2​, ϵ2σ2d​},

with ℓ~=+∞\tilde\ell=+\inftyℓ~=+∞ when Assumption C is not used.

Perturbed SGD (PSGD, Algorithm 2) draws θt∼D\theta_t\sim\mathcal Dθt​∼D and an independent Gaussian ξt∼N(0,(r2/d)I)\xi_t\sim\mathcal N(0,(r^2/d)I)ξt​∼N(0,(r2/d)I) at every step and updates

xt+1=xt−η(g(xt;θt)+ξt).x_{t+1}=x_t-\eta\big(g(x_t;\theta_t)+\xi_t\big).xt+1​=xt​−η(g(xt​;θt​)+ξt​).

Formalization targets

Goal: Theorem 16

For a log factor ι\iotaι, the proof uses the parameters of Eq. (8): η=1/(ι9ℓN)\eta=1/(\iota^9\ell\mathfrak N)η=1/(ι9ℓN), r=ιϵNr=\iota\epsilon\sqrt{\mathfrak N}r=ιϵN​, T=⌈ι/(ηρϵ)⌉\mathscr T=\lceil\iota/(\eta\sqrt{\rho\epsilon})\rceilT=⌈ι/(ηρϵ​)⌉, F=ι−5ϵ3/ρ\mathscr F=\iota^{-5}\sqrt{\epsilon^3/\rho}F=ι−5ϵ3/ρ​, and runs for T=⌈100max⁡{ΔfT/F,Δf/(ηϵ2)}⌉=O~(ℓΔfN/ϵ2)T=\lceil100\max\{\Delta_f\mathscr T/\mathscr F,\Delta_f/(\eta\epsilon^2)\}\rceil=\tilde O(\ell\Delta_f\mathfrak N/\epsilon^2)T=⌈100max{Δf​T/F,Δf​/(ηϵ2)}⌉=O~(ℓΔf​N/ϵ2) iterations. The goal states that there is an absolute constant μ0\mu_0μ0​ such that, for ι≥μ0(1+log⁡Q)\iota\ge\mu_0(1+\log Q)ι≥μ0​(1+logQ) with Q=d Nmax⁡{1,ℓΔf/ϵ2}(ℓ/ρϵ)/δQ=d\,\mathfrak N\max\{1,\ell\Delta_f/\epsilon^2\}(\ell/\sqrt{\rho\epsilon})/\deltaQ=dNmax{1,ℓΔf​/ϵ2}(ℓ/ρϵ​)/δ,

P(#{t<T: xt is an ϵ-second-order stationary point}≥T/2)≥1−δ.\mathbb P\Big(\#\{t<T:\ x_t\ \text{is an }\epsilon\text{-second-order stationary point}\}\ge T/2\Big)\ge1-\delta.P(#{t<T: xt​ is an ϵ-second-order stationary point}≥T/2)≥1−δ.

Milestones

The proof's two engines, in the paper's order: the concentration inequalities for norm-subGaussian martingale differences (Lemmas 36–39), the descent lemma (Lemma 23), improve-or-localize (Lemma 24), the coupling analysis around a saddle point (Lemmas 27–31), escape from a saddle point (Lemma 25), and the two claims that bound the number of iterates with large gradient and the number near saddle points.

Significance

The theorem shows that adding isotropic Gaussian noise to SGD suffices to find second-order stationary points at essentially the cost SGD pays for first-order points: O~(ϵ−4)\tilde O(\epsilon^{-4})O~(ϵ−4) queries when Assumption C holds (matching Ghadimi–Lan up to logarithms) and O~(dϵ−4)\tilde O(d\epsilon^{-4})O~(dϵ−4) in general. Combined with landscape results such as "every second-order stationary point is a global minimum", it yields global convergence of a simple first-order stochastic method from arbitrary initialization for the problems listed above.

The result is proved on paper. As far as is known, none of it is machine-checked: neither the escape-from-saddle-point argument by coupling sequences nor the vector-valued concentration inequalities of Appendix C, whose proofs the paper defers to a separate technical note (arXiv:1902.03736). Formalizing them yields reusable norm-subGaussian martingale bounds in Rd\mathbb R^dRd, a checked version of the coupling technique that later saddle-escape analyses reuse, and a check of every constant hidden in the paper's O~(⋅)\tilde O(\cdot)O~(⋅).

Difficulty

The descent lemma alone cannot rule out that the iterates stall near a strict saddle point, where the gradient is small and the negative curvature is invisible to first-order information. The obvious argument, which says that the perturbation has a component along the negative eigendirection and that component grows, fails as stated: the stochastic gradient noise, the Hessian's variation along the trajectory, and the perturbation all interact over T\mathscr TT steps. Controlling these interactions needs concentration bounds for vector-valued martingales whose scale is itself random (Lemma 37), which have no counterpart in Mathlib. Bounding how often the iterates can return to saddle regions over the whole run is a separate difficulty, since the times at which the iterates are near a saddle point are random.

Formalization scope

Rd\mathbb R^dRd is EuclideanSpace ℝ (Fin d) with d≥1d\ge1d≥1; the Hessian is the derivative of the gradient map, and λmin⁡\lambda_{\min}λmin​ is the Rayleigh-quotient infimum over the unit sphere. The randomness is the infinite product measure of the pairs (θt,ξt)(\theta_t,\xi_t)(θt​,ξt​), and the PSGD run is a deterministic function of it. Conventions committed to:

  • Explicit constants in place of O~(⋅)\tilde O(\cdot)O~(⋅). The paper writes η=Θ~(1/(ℓN))\eta=\tilde\Theta(1/(\ell\mathfrak N))η=Θ~(1/(ℓN)), r=Θ~(ϵN)r=\tilde\Theta(\epsilon\sqrt{\mathfrak N})r=Θ~(ϵN​) (Eq. (4)) and O~(ℓΔfN/ϵ2)\tilde O(\ell\Delta_f\mathfrak N/\epsilon^2)O~(ℓΔf​N/ϵ2); the statements use the proof's Eq. (8) and its TTT, with T\mathscr TT and TTT rounded up to integers. Every "absolute constant ccc" of a lemma is an existential quantified before the dimension, the oracle, the function and all parameters, so it cannot depend on them.
  • Calibration of ι\iotaι. The printed ι=μlog⁡(dℓΔfN/(ρϵδ))\iota=\mu\log(d\ell\Delta_f\mathfrak N/(\rho\epsilon\delta))ι=μlog(dℓΔf​N/(ρϵδ)) is not invariant under rescaling x↦λxx\mapsto\lambda xx↦λx and can be non-positive. The goal and the two claims assume ι≥μ0(1+log⁡Q)\iota\ge\mu_0(1+\log Q)ι≥μ0​(1+logQ) with the scale-invariant QQQ above.
  • Hypotheses made explicit. ρ>0\rho>0ρ>0, ϵ>0\epsilon>0ϵ>0, 0<δ<10<\delta<10<δ<1, ρϵ≤ℓ\sqrt{\rho\epsilon}\le\ellρϵ​≤ℓ (the paper's footnote 1, p. 14), σ>0\sigma>0σ>0, joint measurability of ggg, and integrability of the stochastic gradients. Assumption B and Condition 35 hold for t≥0t\ge0t≥0, since the printed "∀t∈R\forall t\in\mathbb R∀t∈R" cannot be satisfied.
  • Corrections. Lemma 29 requires ηγ>0\eta\gamma>0ηγ>0, Lemma 37 has failure probability 2d(log⁡(B/b)+1)e−ι2d(\log(B/b)+1)e^{-\iota}2d(log(B/b)+1)e−ι, and Lemma 25 is stated at t0=0t_0=0t0​=0 from a deterministic saddle point, the case the paper proves.

A formalization that keeps the printed "∀t∈R\forall t\in\mathbb R∀t∈R" in Assumption B, or allows σ=0\sigma=0σ=0 in the tail bound, makes every statement vacuous or trivial; both are excluded. Infrastructure needed: norm-subGaussian vectors and their martingale concentration (reusable well beyond this mission), Gaussian anti-concentration in one direction, and stopping-time arguments for the Markov chain of PSGD. Contributions to any milestone, and to the concentration layer in particular, are welcome.

Selected references

  • C. Jin, P. Netrapalli, R. Ge, S. M. Kakade, M. I. Jordan, On Nonconvex Optimization for Machine Learning: Gradients, Stochasticity, and Saddle Points, arXiv:1902.04811v2, 2019; J. ACM 68(2), 2021. https://arxiv.org/abs/1902.04811
  • C. Jin, P. Netrapalli, R. Ge, S. M. Kakade, M. I. Jordan, A Short Note on Concentration Inequalities for Random Vectors with SubGaussian Norm, arXiv:1902.03736, 2019. https://arxiv.org/abs/1902.03736
  • C. Jin, R. Ge, P. Netrapalli, S. M. Kakade, M. I. Jordan, How to Escape Saddle Points Efficiently, ICML 2017. https://arxiv.org/abs/1703.00887
  • R. Ge, F. Huang, C. Jin, Y. Yuan, Escaping From Saddle Points — Online Stochastic Gradient for Tensor Decomposition, COLT 2015. https://arxiv.org/abs/1503.02101
  • S. Ghadimi, G. Lan, Stochastic First- and Zeroth-Order Methods for Nonconvex Stochastic Programming, SIAM J. Optim. 23(4), 2013. https://arxiv.org/abs/1309.5549
17 thms2 active usersReviewed
OptimizationProbabilityStatistics·Captain: mikedeng1

Robustness May Be at Odds with Accuracy 2: The Unit-Norm Soft-Margin SVM Is >99% Accurate but <1% Robust at ε ≥ 2η, While Adversarial Training Gives Accuracy pResearch Paper

Motivation

Adversarial training asks a classifier to work even after an input has been changed within a prescribed perturbation budget. Tsipras, Santurkar, Engstrom, Turner, and Mądry studied why the classifier that performs best on ordinary inputs can behave very differently under these changes. Their explicit model separates one reliably predictive feature from many individually weak features. It lets the same distribution support a highly accurate ordinary classifier and a less accurate but robust classifier Tsipras et al., §2.1–2.2. This mission formalizes the paper's comparison for soft-margin support vector machines at the population level.

The model is relevant to anyone using a training objective as a proxy for performance under perturbations. Its conclusion concerns the optimizer of an expected loss, not the effect of a particular finite sample or optimization algorithm. That distinction makes the example a direct statement about the objectives being optimized.

Setting

A label yyy is drawn uniformly from {−1,+1}\{-1,+1\}{−1,+1}. An input xxx has d+1d+1d+1 real coordinates. Its first coordinate, x1x_1x1​, equals yyy with probability ppp and −y-y−y with probability 1−p1-p1−p, where p≥1/2p\ge1/2p≥1/2. Conditional on yyy, each of the remaining coordinates is an independent Gaussian variable with mean ηy\eta yηy and variance one, independently of x1x_1x1​. Thus x1x_1x1​ is a moderately reliable feature while the other coordinates can be weak predictors individually. These are exactly the ingredients of distribution DDD in equation (3) Tsipras et al., p. 4.

For a weight vector www, the linear classifier fwf_wfw​ assigns the sign of w⊤xw^\top xw⊤x. Its standard accuracy is the probability that fw(x)=yf_w(x)=yfw​(x)=y for a fresh pair (x,y)(x,y)(x,y) from DDD. Its robust accuracy at radius ε\varepsilonε is the probability that this equality holds for every perturbation δ\deltaδ with ∥δ∥∞≤ε\|\delta\|_\infty\le\varepsilon∥δ∥∞​≤ε. Both accuracies average the two labels with probability 1/21/21/2 each.

The soft-margin SVM objective combines expected hinge loss and quadratic regularization:

Jλ(w)=ED ⁣[max⁡{0,1−yw⊤x}]+λ2∥w∥22.J_\lambda(w)=\mathbb E_D\!\left[\max\{0,1-yw^\top x\}\right] +\frac{\lambda}{2}\|w\|_2^2.Jλ​(w)=ED​[max{0,1−yw⊤x}]+2λ​∥w∥22​.

The distributional adversarial objective replaces the hinge loss for each observed pair by its maximum over the ℓ∞\ell_\inftyℓ∞​ ball before taking the expectation:

Jε,λadv(w)=ED ⁣[max⁡∥δ∥∞≤εmax⁡{0,1−yw⊤(x+δ)}]+λ2∥w∥22.J^{\mathrm{adv}}_{\varepsilon,\lambda}(w)= \mathbb E_D\!\left[ \max_{\|\delta\|_\infty\le\varepsilon} \max\{0,1-yw^\top(x+\delta)\}\right] +\frac{\lambda}{2}\|w\|_2^2.Jε,λadv​(w)=ED​[∥δ∥∞​≤εmax​max{0,1−yw⊤(x+δ)}]+2λ​∥w∥22​.

This order follows equation (2), the distributional adversarial loss Tsipras et al., pp. 2, 16–18.

Formalization targets

The goal is Theorem 2.2 Tsipras et al., p. 6. Under d≥1d\ge1d≥1, 1/2≤p≤0.9751/2\le p\le0.9751/2≤p≤0.975, and η≥4/d\eta\ge4/\sqrt dη≥4/d​, a global minimizer w∗w^*w∗ of JλJ_\lambdaJλ​ whose squared Euclidean norm is one satisfies

StdAcc⁡(fw∗)>0.99,RobAcc⁡ε(fw∗)<0.01for every ε≥2η.\operatorname{StdAcc}(f_{w^*})>0.99, \qquad \operatorname{RobAcc}_{\varepsilon}(f_{w^*})<0.01 \quad\text{for every }\varepsilon\ge2\eta.StdAcc(fw∗​)>0.99,RobAccε​(fw∗​)<0.01for every ε≥2η.

For a global minimizer of Jεtr,λadvJ^{\mathrm{adv}}_{\varepsilon_{\mathrm{tr}},\lambda}Jεtr​,λadv​ with εtr≥2η\varepsilon_{\mathrm{tr}}\ge2\etaεtr​≥2η and either εtr<2p−1\varepsilon_{\mathrm{tr}}<2p-1εtr​<2p−1 or p=1/2p=1/2p=1/2, the target is

StdAcc⁡(fw∗)=RobAcc⁡ε(fw∗)=pfor every 0≤ε<1.\operatorname{StdAcc}(f_{w^*}) =\operatorname{RobAcc}_{\varepsilon}(f_{w^*})=p \quad\text{for every }0\le\varepsilon<1.StdAcc(fw∗​)=RobAccε​(fw∗​)=pfor every 0≤ε<1.

The milestone list follows Appendix D's stated claims: the Gaussian law of the pooled weak feature, Lemmas D.1–D.5, and the displayed adversarial objective identity. The lemmas give nonstrict 99%99\%99% and 1%1\%1% bounds where the theorem states strict inequalities Tsipras et al., pp. 16–18.

Significance

The result gives a concrete distribution on which the ordinary population hinge objective favors weak features enough to achieve near-perfect standard accuracy while remaining vulnerable to a small coordinatewise perturbation. The adversarial objective instead selects a classifier using the first feature, whose standard and robust accuracies are both ppp. It therefore distinguishes the behavior of the two objectives even without sampling error or a particular training algorithm.

The paper proves these claims informally. The Lean items here compile as definitions and theorem statements with open proofs; they are not yet machine-checked proofs. A completed development would supply the Gaussian probability estimates, optimizer properties, and accuracy calculations needed to close the statements. The law of a pooled Gaussian vector and the relation between ℓ∞\ell_\inftyℓ∞​ perturbations and the ℓ1\ell_1ℓ1​ weight norm are reusable beyond this example.

Difficulty

The first weak feature alone carries little information, but their normalized sum has a strong Gaussian signal. Consequently, reasoning about one coordinate at a time does not determine what the ordinary SVM minimizer predicts. The theorem also concerns every global minimizer with the stipulated norm, so testing a convenient weight vector does not settle it. The stated strict accuracy constants require quantitative Gaussian tails and an optimizer comparison at the specified ppp and η\etaη thresholds. In the adversarial part, the conclusion about accuracy ppp requires more than proving that weak-feature weights vanish: the remaining first-feature coefficient must have the correct sign and be nonzero.

Formalization scope

Lean represents an input as a function on Fin (d+1); index zero is the paper's x1x_1x1​, and index i.succ is xi+2x_{i+2}xi+2​. The function norm is the sup norm, so ∥δ∥≤ε\|\delta\|\le\varepsilon∥δ∥≤ε is exactly the ℓ∞\ell_\inftyℓ∞​ ball. Squared ℓ2\ell_2ℓ2​ norm and ℓ1\ell_1ℓ1​ norm of a weight vector are written as ∑iwi2\sum_iw_i^2∑i​wi2​ and ∑i∣wi∣\sum_i|w_i|∑i​∣wi​∣. The conditional law is a product of the two-point first-feature law and the independent Gaussian weak-feature law, assembled into one input vector. GaussianReal's variance argument is one. Labels and predictions are real ±1\pm1±1, and a zero score is assigned −1-1−1. The tie has probability zero for the nondegenerate classifiers in the theorem.

The robust event can be outside the Borel sigma algebra. Its measure in Lean is an outer measure, agreeing with probability under completion. Gaussian affine hinge functions are integrable; the adversarial hinge has the explicit finite closed form supplied by a milestone when the radius is nonnegative. The supremum is over exactly the admissible perturbations. The mission does not reduce the target to a chosen classifier or assume any of the milestone conclusions as goal hypotheses.

Several hypotheses make implicit conditions or a necessary correction explicit. The condition d≥1d\ge1d≥1 prevents 4/d4/\sqrt d4/d​ from becoming Lean's default value at zero. Appendix D assumes that λ>0\lambda>0λ>0 has been tuned so an ordinary global minimizer has ∥w∗∥2=1\|w^*\|_2=1∥w∗∥2​=1; that is represented directly. Evaluation radii are nonnegative, so their balls are not empty. The upper bound εtr<2p−1\varepsilon_{\mathrm{tr}}<2p-1εtr​<2p−1 is needed for the second claim: for larger training radii the zero vector may minimize the adversarial objective and its constant classifier has accuracy 1/21/21/2, contrary to the printed sentence when p>1/2p>1/2p>1/2. At p=1/2p=1/2p=1/2 that constant classifier has accuracy 1/2=p1/2=p1/2=p, so the case p=1/2p=1/2p=1/2 is kept for every training radius. This correction is disclosed rather than silently attributing it to the paper. Appendix D's displayed maximum outside expectation also differs from equation (2); the formalization follows (2), whose per-sample maximum has the displayed closed form. The paper's proof specializes to η=4/d\eta=4/\sqrt dη=4/d​ although Theorem 2.2 states η≥4/d\eta\ge4/\sqrt dη≥4/d​; the target retains the printed theorem's range.

Selected references

  • Dimitris Tsipras, Shibani Santurkar, Logan Engstrom, Alexander Turner, and Aleksander Mądry, Robustness May Be at Odds with Accuracy, International Conference on Learning Representations, 2019. arXiv:1805.12152v5.
10 thms2 active usersReviewed
Linear OptimizationStatistics·Captain: mikedeng1

Fast Rates for Contextual Linear Optimization 2: Any Algorithm Choosing from a Policy Class of Natarajan Dimension η Has Regret ≥ (ρ(Z)/2e⁴)((η−1)/n)^((1+α)/(2+α)) on Some Margin-α InstanceResearch Paper

Motivation

In contextual linear optimization (CLO) a decision maker observes a covariate XXX (features of a day, a customer, a network state) and then chooses a decision zzz from a polytope Z\mathcal ZZ to minimise an uncertain linear cost Y⊤zY^\top zY⊤z. Shortest-path routing with predicted travel times and inventory or portfolio decisions driven by forecasts are standard instances. Since YYY is unknown at decision time, the relevant cost is f∗(X)⊤zf^*(X)^\top zf∗(X)⊤z with f∗(x)=E[Y∣X=x]f^*(x) = \mathbb E[Y \mid X = x]f∗(x)=E[Y∣X=x], and a policy is learned from nnn past observations (Xi,Yi)(X_i, Y_i)(Xi​,Yi​).

Hu, Kallus and Mao (arXiv:2011.03030, Management Science 2022) compare two families of methods: estimate-then-optimize (fit f∗f^*f∗, then optimise) and induced empirical risk minimisation (search a policy class directly for low empirical cost). Their main finding is that under a noise condition that controls how often two vertices of Z\mathcal ZZ are nearly tied, the regret decays faster than the usual n−1/2n^{-1/2}n−1/2. For ERM over a policy class of Natarajan dimension η\etaη they prove the rate (η/n)(1+α)/(2+α)(\eta/n)^{(1+\alpha)/(2+\alpha)}(η/n)(1+α)/(2+α) up to logarithms (their Theorem 6). This mission formalizes the matching lower bound, their Theorem 7: no algorithm that only knows the true optimal policy lies in the class can do better.

Setting

A polytope Z={z∈Rd:Az≤b}\mathcal Z = \{z \in \mathbb R^d : Az \le b\}Z={z∈Rd:Az≤b} is nonempty with sup⁡z∈Z∥z∥≤B\sup_{z \in \mathcal Z}\|z\| \le Bsupz∈Z​∥z∥≤B, B>0B > 0B>0. Its set of extreme points is Z∠\mathcal Z^\angleZ∠. An instance is a law PX\mathbb P_XPX​ of X∈RpX \in \mathbb R^pX∈Rp together with a conditional law of Y∈RdY \in \mathbb R^dY∈Rd given X=xX = xX=x, with ∥Y∥≤1\|Y\| \le 1∥Y∥≤1; f∗(x)f^*(x)f∗(x) is the conditional mean. The optimal set is Z∗(x)=arg⁡min⁡z∈Zf∗(x)⊤z\mathcal Z^*(x) = \arg\min_{z\in\mathcal Z} f^*(x)^\top zZ∗(x)=argminz∈Z​f∗(x)⊤z and the gap is

Δ(x)=inf⁡z∈Z∠∖Z∗(x)f∗(x)⊤z−min⁡z∈Zf∗(x)⊤z\Delta(x) = \inf_{z \in \mathcal Z^\angle \setminus \mathcal Z^*(x)} f^*(x)^\top z - \min_{z \in \mathcal Z} f^*(x)^\top zΔ(x)=z∈Z∠∖Z∗(x)inf​f∗(x)⊤z−z∈Zmin​f∗(x)⊤z

when Z∗(x)≠Z\mathcal Z^*(x) \ne \mathcal ZZ∗(x)=Z, and Δ(x)=0\Delta(x) = 0Δ(x)=0 otherwise. The noise condition (Assumption 2) with parameters α,γ≥0\alpha, \gamma \ge 0α,γ≥0 is

PX(0<Δ(X)≤δ)≤(γδ/B)α∀δ>0.\mathbb P_X\big(0 < \Delta(X) \le \delta\big) \le (\gamma\delta/B)^\alpha \qquad \forall \delta > 0.PX​(0<Δ(X)≤δ)≤(γδ/B)α∀δ>0.

A policy is a map π:Rp→Z∠\pi : \mathbb R^p \to \mathcal Z^\angleπ:Rp→Z∠. A class Π\PiΠ of policies Natarajan-shatters η\etaη points if there are x1,…,xηx_1, \dots, x_\etax1​,…,xη​ and values si≠si′s_i \ne s_i'si​=si′​ such that every pattern in {0,1}η\{0,1\}^\eta{0,1}η is realised by some π∈Π\pi \in \Piπ∈Π choosing sis_isi​ or si′s_i'si′​ at xix_ixi​; the Natarajan dimension is the largest such η\etaη. An algorithm maps a sample D\mathcal DD of nnn i.i.d. draws of (X,Y)(X, Y)(X,Y) to a policy π^D∈Π\hat\pi_{\mathcal D} \in \Piπ^D​∈Π, and its regret is

Regret(π^)=ED EX[f∗(X)⊤π^D(X)−min⁡z∈Zf∗(X)⊤z].\mathrm{Regret}(\hat\pi) = \mathbb E_{\mathcal D}\,\mathbb E_X\Big[f^*(X)^\top \hat\pi_{\mathcal D}(X) - \min_{z\in\mathcal Z} f^*(X)^\top z\Big].Regret(π^)=ED​EX​[f∗(X)⊤π^D​(X)−z∈Zmin​f∗(X)⊤z].

The scale of the bound is the vertex separation

ρ(Z)=inf⁡z∈Z∠, z′∈conv(Z∠∖{z})∥z−z′∥.\rho(\mathcal Z) = \inf_{z \in \mathcal Z^\angle,\ z' \in \mathrm{conv}(\mathcal Z^\angle \setminus \{z\})} \|z - z'\|.ρ(Z)=z∈Z∠, z′∈conv(Z∠∖{z})inf​∥z−z′∥.

Formalization targets

Goal: Theorem 7

Fix α≥0\alpha \ge 0α≥0, a polytope Z\mathcal ZZ, a class Π\PiΠ of Natarajan dimension at least η≥1\eta \ge 1η≥1, and n≥22+α(η−1)n \ge 2^{2+\alpha}(\eta - 1)n≥22+α(η−1). For every algorithm D↦π^D∈Π\mathcal D \mapsto \hat\pi_{\mathcal D} \in \PiD↦π^D​∈Π there is an instance with ∥Y∥≤1\|Y\| \le 1∥Y∥≤1 on which some π∗∈Π\pi^* \in \Piπ∗∈Π is optimal at every xxx, the noise condition holds with the given α\alphaα and γ=B/ρ(Z)\gamma = B/\rho(\mathcal Z)γ=B/ρ(Z), and

Regret(π^)  ≥  ρ(Z)2e4(η−1n)1+α2+α.\mathrm{Regret}(\hat\pi) \;\ge\; \frac{\rho(\mathcal Z)}{2e^4}\Big(\frac{\eta - 1}{n}\Big)^{\frac{1+\alpha}{2+\alpha}}.Regret(π^)≥2e4ρ(Z)​(nη−1​)2+α1+α​.

Milestones

  1. ρ(Z)>0\rho(\mathcal Z) > 0ρ(Z)>0 when Z\mathcal ZZ has two extreme points (Theorem 3, p. 7).
  2. Eq. (25): the vertex-separating directions w(z)w(z)w(z) have norm at most one and separate zzz from the other vertices by exactly ρ(Z)\rho(\mathcal Z)ρ(Z).
  3. Eq. (14): the error of any estimate of a hidden bit is at least the minimum Bayes risk.
  4. The posterior identity of p. 21.
  5. The Jensen step of p. 21.
  6. The binomial bound E∣N1−N0∣≤nq\mathbb E|N^1 - N^0| \le \sqrt{nq}E∣N1−N0∣≤nq​ of pp. 21–22.
  7. The exponential bound in Eq. (15).
  8. The closing calculation of the proof of Theorem 7 (p. 30).

Significance

Theorem 7 shows that the fast rate of Theorem 6 is optimal in both nnn and η\etaη, up to logarithmic factors, among methods that exploit only the well-specification of the policy class. The paper uses this to explain why estimate-then-optimize, which also exploits the structure of the regression class, can beat ERM: it is not subject to this lower bound. At α=0\alpha = 0α=0 the bound recovers the order of the paper's slow-rate lower bound (Theorem 3), and as α→∞\alpha \to \inftyα→∞ it approaches η/n\eta/nη/n.

The result is proved in the paper; no machine-checked proof of it or of its milestones is known. Formalizing it produces a checked minimax lower bound for a decision problem over an arbitrary polytope, together with a reusable toolkit for Assouad-type arguments over hypercubes of hard instances: the binary Bayes-risk bound, the closed-form posterior for a biased coin, the Jensen step, and the binomial mean absolute deviation bound.

Difficulty

The statement quantifies over every algorithm, including non-measurable and randomisation-free ones, so the argument cannot analyse a specific estimator. The standard route averages the regret over a family of 2η−12^{\eta-1}2η−1 instances and reduces it to hidden-bit estimation, but two features of CLO make the construction delicate. First, the instances must keep ∥Y∥≤1\|Y\| \le 1∥Y∥≤1 while giving each shattered point a prescribed gap between its optimal vertex and every other vertex of an arbitrary polytope; this is where ρ(Z)\rho(\mathcal Z)ρ(Z) and the directions of Eq. (25) enter. Second, each instance must satisfy the noise condition with the given α\alphaα and γ=B/ρ(Z)\gamma = B/\rho(\mathcal Z)γ=B/ρ(Z), which fixes how much probability mass the near-tied points may carry; the mass cannot simply be spread uniformly as in the slow-rate argument. The constants have to be tracked exactly, since the goal states the explicit constant 1/(2e4)1/(2e^4)1/(2e4).

Formalization scope

Everything lives in the namespace FastCLO.LowerBound. Vectors are EuclideanSpace ℝ (Fin k). A polytope bundles its constraint rows, right-hand sides, a radius B>0B > 0B>0, nonemptiness and boundedness. An instance is a probability measure μ\muμ on Rp\mathbb R^pRp and a Markov kernel κ\kappaκ with κ(x)({∥y∥>1})=0\kappa(x)(\{\|y\| > 1\}) = 0κ(x)({∥y∥>1})=0; f∗f^*f∗ is the kernel mean, and the sample law is the nnn-fold product of μ⊗κ\mu \otimes \kappaμ⊗κ. Every joint law disintegrates this way. The regret is measured against the optimal value min⁡z∈Zf∗(x)⊤z\min_{z\in\mathcal Z} f^*(x)^\top zminz∈Z​f∗(x)⊤z, which equals the paper's comparison with π∗\pi^*π∗. Natarajan dimension "at least η\etaη" is the existence of a shattered η\etaη-tuple. Infima are real infima over sets that are nonempty and bounded under the hypotheses. Probabilities in the noise condition are in [0,∞][0,\infty][0,∞], and (γδ/B)α(\gamma\delta/B)^\alpha(γδ/B)α is a real power.

The paper prints Theorem 7 with the distribution chosen before nnn; its proof builds the distribution from nnn, and the formal goal is stated in the proved order: for every nnn and every algorithm there is an instance. The hypothesis η≥1\eta \ge 1η≥1 excludes the empty case. No measurability is assumed of the algorithm. The algorithm must return a member of Π\PiΠ for every sample, and the instance must satisfy ∥Y∥≤1\|Y\| \le 1∥Y∥≤1, the optimality of some member of Π\PiΠ everywhere, and the noise condition. Dropping any of these would make the bound trivial or false, and none of them is relaxed.

A complete development needs finiteness of the extreme points of a polytope, projections onto convex hulls, products of finitely supported measures, and elementary binomial identities. The generic milestones (3–7) are reusable for other hypercube lower bounds. Proofs of individual milestones are welcome independently of the goal.

The companion missions Fast Rates for Contextual Linear Optimization 1 (the ERM upper bound, Theorem 6) and 3 (the estimate-then-optimize bound, Theorem 8) use the same model.

Selected references

  • Y. Hu, N. Kallus, X. Mao, Fast Rates for Contextual Linear Optimization, arXiv:2011.03030v3, 2021; Management Science 68(6), 2022. https://arxiv.org/abs/2011.03030
  • L. Devroye, G. Lugosi, Lower bounds in pattern recognition and learning, Pattern Recognition 28(7), 1995. https://doi.org/10.1016/0031-3203(95)00002-Z
  • A. B. Tsybakov, Optimal aggregation of classifiers in statistical learning, Annals of Statistics 32(1), 2004. https://doi.org/10.1214/aos/1079120131
  • B. K. Natarajan, On learning sets and functions, Machine Learning 4, 1989. https://doi.org/10.1007/BF00114804
  • O. El Balghiti, A. N. Elmachtoub, P. Grigas, A. Tewari, Generalization bounds in the predict-then-optimize framework, NeurIPS 2019. https://arxiv.org/abs/1905.11488
12 thms2 active usersReviewed
🏆Completed
Convex OptimizationOptimization·Captain: mikedeng1

A Modern Introduction to Online Learning XII: Coordinate-Wise Krichevsky–Trofimov Betting Has Parameter-Free Regret ‖u‖₁L∞√(2T ln(1 + e‖u‖∞T/ε)) + dεL∞Textbook

Why parameter-free regret matters

In online convex optimization, a learner makes a prediction before seeing the next loss. A standard regret guarantee often depends on a learning rate chosen using the size of the comparator that will be assessed later. That comparator is unknown during play. Chapter 13 of Orabona's textbook uses coin betting to obtain a bound that adapts to every comparator while the algorithm uses only its initial wealth and a bound on the observed subgradients. The coordinate-wise form allows the guarantee to reflect a comparator whose important coordinates differ greatly in size.

The motivating task is deterministic. An adversary may choose convex losses over successive rounds, and the performance measure compares the learner's cumulative loss with the loss of a single fixed vector. The algorithm is allowed to know the coordinate bound L∞L_\inftyL∞​ and its initial wealth parameter ε\varepsilonε; it does not know the final comparator uuu or a suitable learning rate for it. The capstone is Theorem 13.9, p. 215, the chapter's coordinate-wise Krichevsky–Trofimov result.

The learner and the betting rule

There are TTT rounds, numbered 1,…,T1,\ldots,T1,…,T, in a space Rd\mathbb R^dRd. In round ttt the learner outputs xtx_txt​, pays ℓt(xt)\ell_t(x_t)ℓt​(xt​), and then receives a subgradient gtg_tgt​ of the loss at xtx_txt​. A subgradient supports the loss everywhere: ℓt(y)≥ℓt(xt)+⟨gt,y−xt⟩\ell_t(y)\ge\ell_t(x_t)+\langle g_t,y-x_t\rangleℓt​(y)≥ℓt​(xt​)+⟨gt​,y−xt​⟩ for every y∈Rdy\in\mathbb R^dy∈Rd. Each coordinate obeys ∣gt,i∣≤L∞|g_{t,i}|\le L_\infty∣gt,i​∣≤L∞​. For a fixed comparator uuu, 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 underlying KT bettor begins with wealth ε>0\varepsilon>0ε>0. Given coin outcomes ct∈[−1,1]c_t\in[-1,1]ct​∈[−1,1], it wagers a fraction βt=(∑j=1t−1cj)/t\beta_t=(\sum_{j=1}^{t-1}c_j)/tβt​=(∑j=1t−1​cj​)/t of its wealth before outcome ctc_tct​ arrives. Its signed wager is bt=βtWealth⁡t−1b_t=\beta_t\operatorname{Wealth}_{t-1}bt​=βt​Wealtht−1​, and Wealth⁡t=Wealth⁡t−1+ctbt\operatorname{Wealth}_t=\operatorname{Wealth}_{t-1}+c_tb_tWealtht​=Wealtht−1​+ct​bt​. The denominator is ttt, including the first round, when the past sum and the wager are zero. Algorithm 13.1, p. 208 defines this update.

For optimization, Algorithm 13.3, p. 215 applies a separate KT update to every coordinate. With L∞>0L_\infty>0L∞​>0, the prediction is fixed by past gradients and past predictions:

xt,i=−∑j=1t−1gj,iL∞t(ε−∑j=1t−1gj,iL∞xj,i).x_{t,i}=-\frac{\sum_{j=1}^{t-1}g_{j,i}}{L_\infty t} \left(\varepsilon-\sum_{j=1}^{t-1}\frac{g_{j,i}}{L_\infty}x_{j,i}\right).xt,i​=−L∞​t∑j=1t−1​gj,i​​(ε−j=1∑t−1​L∞​gj,i​​xj,i​).

This is the algorithm studied in the target theorem. A run includes the update and an admissible subgradient at each round; it is not an arbitrary sequence of predictions satisfying a bound after the fact.

Formalization targets

The main target records both inequalities in Theorem 13.9. For every comparator u∈Rdu\in\mathbb R^du∈Rd,

Regret⁡T(u)≤L∞∑i=1d∣ui∣2Tln⁡(1+e∣ui∣Tε)+dεL∞≤∥u∥1L∞2Tln⁡(1+e∥u∥∞Tε)+dεL∞.\operatorname{Regret}_T(u) \le L_\infty\sum_{i=1}^d |u_i|\sqrt{2T\ln\left(1+\frac{e|u_i|T}{\varepsilon}\right)}+d\varepsilon L_\infty \le \|u\|_1L_\infty\sqrt{2T\ln\left(1+\frac{e\|u\|_\infty T}{\varepsilon}\right)}+d\varepsilon L_\infty.RegretT​(u)≤L∞​i=1∑d​∣ui​∣2Tln(1+εe∣ui​∣T​)​+dεL∞​≤∥u∥1​L∞​2Tln(1+εe∥u∥∞​T​)​+dεL∞​.

The milestone path consists of three statements drawn directly from the chapter: the gamma-potential one-step inequality (13.1), the continuous-coin wealth guarantee of Theorem 13.4, and the one-dimensional KT regret display in §13.2.1. The first controls the change in the betting potential, the second relates that potential to final wealth, and the third is the scalar guarantee used by the coordinate-wise theorem. All three retain the printed constants and the source's one-based indexing.

What the theorem gives

The first inequality charges each comparator coordinate according to its own magnitude. The second expresses the result using familiar ℓ1\ell_1ℓ1​ and ℓ∞\ell_\inftyℓ∞​ norms. Both apply to the same run without choosing a new algorithm for a new uuu. At u=0u=0u=0, the bound is dεL∞d\varepsilon L_\inftydεL∞​, showing directly the cost of the initial-wealth choice. For a sparse or uneven comparator, the coordinate sum can be more informative than a bound that uses only the largest coordinate.

The mathematical results are proved in the cited textbook. This mission supplies Lean statements for those results; the theorem files are proof targets and do not yet contain machine-checked proofs. A completed development would connect the betting potential, the one-dimensional optimization reduction, and the coordinate aggregation through reusable lemmas. Its definition layer can also serve later formalizations of coin-betting algorithms with other wealth potentials.

Where the difficulty lies

The prediction uses a changing wager fraction determined by the previous outcomes. A direct fixed-fraction calculation does not describe that sequence of wagers. The chapter instead identifies a gamma-function potential that can be compared with the changing wealth at every round. For continuous coin outcomes, the potential must satisfy an inequality for every real c∈[−1,1]c\in[-1,1]c∈[−1,1], including interior values rather than only the binary endpoints.

The optimization guarantee adds another boundary: a lower bound on betting wealth must become an upper bound on regret for every real comparator. The desired expression has a logarithm, a square root, and the exact factor eee inside it. The coordinate-wise result must preserve the scalar constant in every coordinate and then justify the second inequality involving ∥u∥∞\|u\|_\infty∥u∥∞​. These are the places where a weaker or altered constant would change the target.

Formalization scope

Lean represents Rd\mathbb R^dRd as functions Fin d → ℝ; its function norm is the sup norm, while the ℓ1\ell_1ℓ1​ quantity is the explicit sum ∑i∣ui∣\sum_i|u_i|∑i​∣ui​∣. The theorem assumes d≥1d\ge1d≥1, T≥1T\ge1T≥1, ε>0\varepsilon>0ε>0, and L∞>0L_\infty>0L∞​>0. These make the finite-dimensional setting nonempty and the printed quotients and logarithms operate on their intended domains. Time index zero is unused. All sums over rounds use 1,…,T1,\ldots,T1,…,T.

Losses are real-valued and subdifferentiable on the whole space, as in Algorithm 13.3. The run records full-space subgradients selected at the learner's predictions and their coordinate bounds. This selected-gradient condition is sufficient for the printed regret inequalities; global boundedness of every possible subgradient is a stronger convention used in the one-dimensional prose. The gamma potential is a separate definition with Real.Gamma; its arguments are positive on the domains used by the wealth theorem. The bettor's wealth is a finite product of its exact per-round returns.

The formalization must keep the explicit update in the run predicate. Allowing xtx_txt​ to depend on the current gtg_tgt​, or replacing the update by a generic betting rule, would no longer state Algorithm 13.3's guarantee. Contributions are welcome on the gamma-potential inequality, the wealth bound, the one-dimensional regret bound, and the final coordinate aggregation. The supporting results should retain the chapter's constants and handle the first round and zero-valued coin outcomes.

Selected references

  • Francesco Orabona, Online Learning: A Modern Introduction Using Convex Optimization, arXiv:1912.13213v10, 2026. arXiv.
7 thms2 active usersReviewed
PreviousPage 15 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