Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Operations Research

719 missions · 451 completed

The discipline of applying mathematical analysis to complex decision problems in operations: allocating scarce resources, scheduling, routing, inventory, and the design of service and production systems. Drawing on mathematical programming, stochastic modeling, queueing, simulation, and game-theoretic reasoning, it seeks policies that perform provably well in systems shaped by constraints, congestion, and uncertainty.

Missions

Open268Completed451All719
🏆Completed
ProbabilityStatisticsStochastic Systems·Captain: Shuze Chen

The Markov Chain Central Limit TheoremResearch Paper

Markov chain Monte Carlo turns hard integration problems into long simulations: to estimate an expectation EπfE_\pi fEπ​f one runs a Markov chain with stationary distribution π\piπ and reports the sample average fˉn\bar f_nfˉ​n​. The ergodic theorem guarantees fˉn→Eπf\bar f_n \to E_\pi ffˉ​n​→Eπ​f, but honest error bars require more: a central limit theorem

n(fˉn−Eπf)→dN(0,σf2).\sqrt{n}(\bar f_n - E_\pi f) \to_d N(0, \sigma_f^2).n​(fˉ​n​−Eπ​f)→d​N(0,σf2​).

On general state spaces this is famously delicate - a merely ergodic chain with a square-integrable functional can fail the CLT, so the classical theory trades convergence rates (drift, minorization, geometric or polynomial total-variation rates) and mixing conditions (α\alphaα-, ρ\rhoρ-, φ\varphiφ-mixing) against moment conditions on fff. This mission formalizes G. L. Jones's survey "On the Markov chain central limit theorem" (Probability Surveys, 2004): the drift-condition CLTs of Meyn-Tweedie and Jarner-Roberts, the classical mixing CLTs of Ibragimov-Linnik, Doukhan-Massart-Rio and Billingsley, the characterizations via uniform integrability and boundedness in probability, and their assembly into the summary theorem: six practically checkable regimes - from polynomial ergodicity with bounded functionals to uniform ergodicity with second moments - each of which guarantees the CLT for every initial distribution. The stationarity, total-variation and mixing infrastructure is general state space and reusable well beyond this mission.

154 thms18 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine Learning·Captain: Shuze Chen

Bandit Algorithms III: Asymptotic and Minimax Optimality of UCBTextbook

The basic UCB regret bound of Mission II is logarithmic but not tight: its leading constant 16/Δi16/\Delta_i16/Δi​ is eight times the information-theoretic limit, and its worst-case rate carries a spurious log⁡n\sqrt{\log n}logn​. Chapters 8–9 of Lattimore–Szepesvári close both gaps. A refined confidence schedule f(t)=1+tlog⁡2tf(t) = 1 + t\log^2 tf(t)=1+tlog2t yields the asymptotically optimal lim sup⁡n→∞Rn/log⁡n≤∑i:Δi>02/Δi\limsup_{n\to\infty} R_n/\log n \le \sum_{i:\Delta_i>0} 2/\Delta_ilimsupn→∞​Rn​/logn≤∑i:Δi​>0​2/Δi​ — exactly matching the instance-dependent lower bound of Mission VII for Gaussian noise. The MOSS index μ^i+4Tilog⁡+ ⁣(nkTi)\hat\mu_i + \sqrt{\tfrac{4}{T_i}\log^+\!\big(\tfrac{n}{k T_i}\big)}μ^​i​+Ti​4​log+(kTi​n​)​ achieves minimax regret Rn≤39kn+∑iΔiR_n \le 39\sqrt{kn} + \sum_i \Delta_iRn​≤39kn​+∑i​Δi​, matching the Ω(kn)\Omega(\sqrt{kn})Ω(kn​) lower bound up to a constant. These two theorems are the gold standard for finite-armed stochastic bandits.

24 thms10 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine Learning·Captain: Shuze Chen

Bandit Algorithms II: Stochastic Bandits and the UCB AlgorithmTextbook

A learner repeatedly chooses one of kkk slot machines, observes only the reward of the chosen arm, and wants to earn almost as much as the best arm in hindsight. This is the stochastic multi-armed bandit, the canonical model of the exploration–exploitation dilemma. This mission formalizes the model (environments, policies, regret, and the regret decomposition Rn=∑iΔi E[Ti(n)]R_n = \sum_i \Delta_i\,\mathbb{E}[T_i(n)]Rn​=∑i​Δi​E[Ti​(n)]) and the two classical algorithms of Chapters 6–7 of Lattimore–Szepesvári: Explore-Then-Commit and the Upper Confidence Bound algorithm built on the optimism principle. The goal theorem is the instance-dependent UCB regret bound Rn≤3∑iΔi+∑i:Δi>016log⁡(n)/ΔiR_n \le 3\sum_i \Delta_i + \sum_{i:\Delta_i>0} 16\log(n)/\Delta_iRn​≤3∑i​Δi​+∑i:Δi​>0​16log(n)/Δi​ — logarithmic regret with explicit constants, the single most cited result of bandit theory — together with its distribution-free companion Rn≤8nklog⁡n+3∑iΔiR_n \le 8\sqrt{nk\log n} + 3\sum_i \Delta_iRn​≤8nklogn​+3∑i​Δi​.

27 thms9 active usersReviewed
🏆Completed
CombinatoricsComplexity TheoryGraph Theory+1·Captain: mikedeng1

Scheduling Subject to Resource Constraints: Classification and Complexity II: Unit-Time Jobs on Two Uniform Machines with Unit Resources Are Strongly NP-hardResearch Paper

Motivation

Machine scheduling asks how to assign jobs to machines over time. In many applications a job also needs additional scarce resources while it runs: a tool, a skilled operator, a memory bank, a channel. Adding such resources can turn a problem with a polynomial algorithm into an NP-hard one. Błażewicz, Lenstra and Rinnooy Kan (DAM 1983) extended the standard three-field classification α ∣ β ∣ γ\alpha\,|\,\beta\,|\,\gammaα∣β∣γ of scheduling problems (Graham, Lawler, Lenstra and Rinnooy Kan 1979) with a resource field resλσρres\lambda\sigma\rhoresλσρ. They then drew the complete borderline between easy and hard problems for unit-time jobs, identical or uniform machines and the makespan criterion. Their Fig. 2 marks each problem type as polynomially solvable or NP-hard.

This mission formalizes the two hardness results of that classification that come from graph partition problems (Theorems 2 and 3, p. 15). Two identical machines are easy under any resource constraints (Theorem 1, after Garey and Johnson 1975). Theorems 2 and 3 show that a third identical machine, or two machines of different speeds, already makes the problem strongly NP-hard, once the number of unit resources is part of the input.

Setting

There are nnn jobs J1,…,JnJ_1,\dots,J_nJ1​,…,Jn​ and mmm machines M1,…,MmM_1,\dots,M_mM1​,…,Mm​. Each machine processes at most one job at a time, and each job runs on one machine without interruption. Machine MiM_iMi​ has a speed qi>0q_i>0qi​>0, and every job has unit execution requirement pj=1p_j=1pj​=1, so it takes time 1/qi1/q_i1/qi​ on MiM_iMi​. Identical machines (PPP) are the case qi=1q_i=1qi​=1; uniform machines (QQQ) allow arbitrary speeds.

There are lll resources R1,…,RlR_1,\dots,R_lR1​,…,Rl​. Resource RhR_hRh​ has a positive integer size shs_hsh​, the amount available at any time. Job JjJ_jJj​ needs a nonnegative integer amount rhjr_{hj}rhj​ of RhR_hRh​ throughout its execution. A schedule assigns each job a machine μ(j)\mu(j)μ(j) and a start time Sj≥0S_j\ge 0Sj​≥0. Its completion time is Cj=Sj+1/qμ(j)C_j=S_j+1/q_{\mu(j)}Cj​=Sj​+1/qμ(j)​, and it is being executed at every time ttt with Sj≤t<CjS_j\le t<C_jSj​≤t<Cj​. A schedule is feasible when:

  • jobs on the same machine do not overlap in time;
  • at every time ttt, the set StS_tSt​ of jobs being executed satisfies
∑j∈Strhj≤sh(h=1,…,l).\sum_{j\in S_t} r_{hj}\le s_h\qquad(h=1,\dots,l).j∈St​∑​rhj​≤sh​(h=1,…,l).

The makespan is Cmax⁡=max⁡jCjC_{\max}=\max_j C_jCmax​=maxj​Cj​.

The resource type res⋅11res{\cdot}11res⋅11 means three things: the number lll of resources is part of the input, every size is sh=1s_h=1sh​=1, and every requirement satisfies rhj≤1r_{hj}\le1rhj​≤1. A unit resource is therefore a conflict: two jobs that both need it can never run at the same time. The problems here have no precedence constraints. Pm ∣ res⋅11, pj=1 ∣ Cmax⁡Pm\,|\,res{\cdot}11,\,p_j=1\,|\,C_{\max}Pm∣res⋅11,pj​=1∣Cmax​ and Qm ∣ res⋅11, pj=1 ∣ Cmax⁡Qm\,|\,res{\cdot}11,\,p_j=1\,|\,C_{\max}Qm∣res⋅11,pj​=1∣Cmax​ ask for a feasible schedule of minimum makespan. Their decision versions ask, for a threshold yyy, whether a feasible schedule with Cmax⁡≤yC_{\max}\le yCmax​≤y exists.

The source problems are two graph problems on a graph G=(V,E)G=(V,E)G=(V,E) with ∣V∣=3t|V|=3t∣V∣=3t:

  • PARTITION INTO TRIANGLES: can VVV be partitioned into ttt triples of pairwise adjacent vertices?
  • PARTITION INTO PATHS OF LENGTH 2: can VVV be partitioned into ttt triples, each with at most one nonadjacent pair, that is, each spanning a path of length 2?

Both are NP-complete (Garey and Johnson 1979, problems GT11 and GT13).

The construction of p. 15 introduces one job per vertex and one unit resource R{j,k}R_{\{j,k\}}R{j,k}​ per nonadjacent pair {j,k}\{j,k\}{j,k}, required by JjJ_jJj​ and JkJ_kJk​ only.

Formalization targets

Goal: Theorem 3

Q2 ∣ res⋅11, pj=1 ∣ Cmax⁡ is NP-hard in the strong sense.Q2\,|\,res{\cdot}11,\,p_j=1\,|\,C_{\max}\ \text{is NP-hard in the strong sense.}Q2∣res⋅11,pj​=1∣Cmax​ is NP-hard in the strong sense.

Formally: if the language of PARTITION INTO PATHS OF LENGTH 2 is NP-hard, then the language of unary codes of yes-instances of the decision version of Q2 ∣ res⋅11, pj=1 ∣ Cmax⁡Q2\,|\,res{\cdot}11,\,p_j=1\,|\,C_{\max}Q2∣res⋅11,pj​=1∣Cmax​ is NP-hard. The two speeds are arbitrary positive integers.

Milestones

  1. The construction's key property (p. 15). In the constructed instance, two distinct jobs can be executed simultaneously if and only if their vertices are adjacent.
  2. The triangle equivalence (proof of Theorem 2). GGG has a partition into triangles if and only if the constructed instance on three identical machines has a feasible schedule with Cmax⁡≤tC_{\max}\le tCmax​≤t.
  3. Theorem 2. P3 ∣ res⋅11, pj=1 ∣ Cmax⁡P3\,|\,res{\cdot}11,\,p_j=1\,|\,C_{\max}P3∣res⋅11,pj​=1∣Cmax​ is NP-hard in the strong sense, given the NP-hardness of PARTITION INTO TRIANGLES.
  4. The paths equivalence (proof of Theorem 3). GGG has a partition into paths of length 2 if and only if the constructed instance on two uniform machines with speeds q1=2q_1=2q1​=2, q2=1q_2=1q2​=1 has a feasible schedule with Cmax⁡≤tC_{\max}\le tCmax​≤t.

Significance

The results. Theorems 2 and 3 are two of the minimal NP-hard problems in the paper's classification. Together with Theorem 1 they place the borderline exactly: with unit resources whose number is part of the input, two identical machines are polynomial, while three identical machines, or two machines of different speeds, are strongly NP-hard. Strong NP-hardness rules out pseudo-polynomial algorithms unless P = NP, and it carries over to every more general resource type and machine environment in Fig. 1 and Fig. 2. Section 4.1 of the paper also derives hardness for ∑Cj\sum C_j∑Cj​ and Lmax⁡L_{\max}Lmax​ from these instances.

Formalizing it. The results are classical and proved on paper, but the paper's proofs are one sentence each ("Clearly", "It is easily seen"). No machine-checked proof exists, and the platform has no model of resource-constrained scheduling with real-valued time. This mission produces that model. It also produces a precise statement of strong NP-hardness on top of Cook's Turing-machine definitions, and the first formal NP-hardness reductions from graph partition problems to scheduling.

Difficulty

The scheduling half of each equivalence depends on the real-time model. On two uniform machines of speeds 2 and 1, jobs take time 12\tfrac1221​ and 111, so jobs on the fast machine start at half-integers or anywhere else. The resource constraint must hold at every real time, not at a finite set of checkpoints. An argument that treats time as integer slots applies to the triangle case but does not transfer to the paths case.

The complexity half needs polynomial-time computability of the construction on Cook's one-tape Turing machines, on encoded strings that include malformed inputs. It also needs closure of polynomial-time reductions under composition, which the imported complexity layer states but does not prove.

Formalization scope

  • Time and schedules. Start times are nonnegative reals, execution intervals are half-open [Sj,Cj)[S_j,C_j)[Sj​,Cj​), and the resource constraints are imposed at every real time. Schedules are nonpreemptive.
  • Indices. Jobs, machines and resources are 0-based (Fin n, Fin m, Fin l), so q1,q2q_1,q_2q1​,q2​ are q 0, q 1.
  • Decision versions. "NP-hard" refers to the decision version with a threshold yyy. Thresholds are natural numbers and the Q2Q2Q2 speeds are positive integers. This restricted problem is a subproblem of the one with rational data, so its hardness is the stronger statement.
  • Encodings and strong NP-hardness. Instances are strings over a two-letter alphabet with every number in unary. Graphs are ttt in unary followed by the 3t×3t3t\times 3t3t×3t adjacency matrix, so ∣V∣=3t|V|=3t∣V∣=3t is part of the instance. Languages contain only codes of yes-instances. Strong NP-hardness is NP-hardness of the unary code language. With unary numbers, Max(I)≤Length(I)\mathrm{Max}(I)\le\mathrm{Length}(I)Max(I)≤Length(I), so this is equivalent to Garey and Johnson's definition. The complexity layer is the published module CookPvsNP_defs.
  • Cited hypothesis. Each hardness theorem takes as its only hypothesis the NP-hardness of its source problem, which the paper cites from Garey and Johnson rather than proves. The hypothesis is a true statement about a nonempty, non-universal language. The statements are not weakened to a reduction between languages, and they assume nothing about P versus NP.
  • Source problems. The paper's phrase "three vertices, at most two of which are nonadjacent" is read as "at most one nonadjacent pair", which is Garey and Johnson's GT13. Reading it as "at most two nonadjacent pairs" would admit triples with a single edge and change the problem. PARTITION INTO PATHS OF LENGTH 2 reuses the published definition CubicP3Partition.P3Factor, a spanning non-induced P3P_3P3​-factor.
  • Construction. Resources are indexed by the nonadjacent pairs j<kj<kj<k in lexicographic order, one per unordered pair and none for a pair {j,j}\{j,j\}{j,j}. A diagonal resource would make every job infeasible.
  • Not trivial. A model that checks resources only at integer times, or only at start times, would make the paths equivalence false. A hypothesis on the target problem would make the goal circular. The definitions rule out both.

Welcome contributions: proofs of the two equivalences, polynomial-time computability of the construction on Cook's machines, and a general composition lemma for polynomial-time reductions. The composition lemma is reusable for every hardness mission built on CookPvsNP_defs.

Selected references

  • J. Błażewicz, J. K. Lenstra, A. H. G. Rinnooy Kan, Scheduling subject to resource constraints: classification and complexity, Discrete Applied Mathematics 5 (1983) 11–24. https://doi.org/10.1016/0166-218X(83)90012-4
  • M. R. Garey, D. S. Johnson, Complexity results for multiprocessor scheduling under resource constraints, SIAM Journal on Computing 4 (1975) 397–411. https://doi.org/10.1137/0204035
  • M. R. Garey, D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, Freeman, San Francisco, 1979, ISBN 0-7167-1045-5.
  • R. L. Graham, E. L. Lawler, J. K. Lenstra, A. H. G. Rinnooy Kan, Optimization and approximation in deterministic sequencing and scheduling: a survey, Annals of Discrete Mathematics 5 (1979) 287–326. https://doi.org/10.1016/S0167-5060(08)70356-X
  • S. Cook, The P versus NP problem, Clay Mathematics Institute Millennium Problems. https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf
41 thms7 active usersReviewed
🏆Completed
CombinatoricsConvex OptimizationOptimization·Captain: mikedeng1

Convexity and Steinitz's Exchange Property III: Fenchel-Type Min-Max Duality with Primal and Dual Integrality for M-Concave and M-Convex FunctionsResearch Paper

Motivation

Several classical min-max theorems of combinatorial optimization say that a discrete maximization problem and a continuous minimization problem have the same optimal value, and that both have integral optimal solutions when the data are integral. Edmonds' polymatroid intersection theorem (1970), Fujishige's Fenchel-type duality for submodular functions (1984), Frank's discrete separation theorem for a submodular/supermodular pair (1982), and the potential characterizations of weighted matroid intersection (Frank's weight splitting theorem, 1981; Iri and Tomizawa's criterion for the assignment problem, 1976) are instances. Murota's paper Convexity and Steinitz's exchange property, 1996 places all of them under one theorem: a Fenchel-type min-max formula for a pair of an M-concave and an M-convex function, with integrality on both sides.

Timeline:

  • 1970: Edmonds proves the polymatroid intersection theorem.
  • 1982: Frank proves the discrete separation theorem for submodular/supermodular set functions, with integrality.
  • 1984: Fujishige proves a Fenchel-type min-max theorem for submodular functions.
  • 1976–1981: Iri and Tomizawa characterize optimality for independent assignment by potentials; Frank proves the weight splitting theorem for weighted matroid intersection (1981).
  • Early 1990s: Dress and Wenzel introduce valuated matroids.
  • 1995–1996: Murota proves the valuated matroid intersection theorem (SIAM J. Discrete Math. 9, 1996) and the M-concave intersection theorem (Bonn report, 1995), and in the present paper the Fenchel-type duality (Theorem 6.4).
  • Later: the result becomes the central duality theorem of discrete convex analysis (Murota, Discrete Convex Analysis, SIAM, 2003).

Setting

Let VVV be a finite nonempty set. For u∈Vu\in Vu∈V, χu∈ZV\chi_u\in\mathbb Z^Vχu​∈ZV is its characteristic vector; for x∈RVx\in\mathbb R^Vx∈RV, supp⁡±(x)\operatorname{supp}^{\pm}(x)supp±(x) are the sets of coordinates where xxx is positive or negative, x(X)=∑v∈Xx(v)x(X)=\sum_{v\in X}x(v)x(X)=∑v∈X​x(v), and ⟨p,x⟩=∑vp(v)x(v)\langle p,x\rangle=\sum_v p(v)x(v)⟨p,x⟩=∑v​p(v)x(v).

A finite integral base set is a finite nonempty B⊆ZVB\subseteq\mathbb Z^VB⊆ZV such that for x,y∈Bx,y\in Bx,y∈B and u∈supp⁡+(x−y)u\in\operatorname{supp}^+(x-y)u∈supp+(x−y) some v∈supp⁡−(x−y)v\in\operatorname{supp}^-(x-y)v∈supp−(x−y) has x−χu+χv∈Bx-\chi_u+\chi_v\in Bx−χu​+χv​∈B. These are exactly the integer points of integral base polytopes of submodular systems. B‾\overline BB is the convex hull of BBB.

A function ω:B→R\omega:B\to\mathbb Rω:B→R has the exchange property (EXC), and is called M-concave, if for x,y∈Bx,y\in Bx,y∈B and u∈supp⁡+(x−y)u\in\operatorname{supp}^+(x-y)u∈supp+(x−y) some v∈supp⁡−(x−y)v\in\operatorname{supp}^-(x-y)v∈supp−(x−y) has x−χu+χv, y+χu−χv∈Bx-\chi_u+\chi_v,\ y+\chi_u-\chi_v\in Bx−χu​+χv​, y+χu​−χv​∈B and

ω(x)+ω(y)≤ω(x−χu+χv)+ω(y+χu−χv).\omega(x)+\omega(y)\le\omega(x-\chi_u+\chi_v)+\omega(y+\chi_u-\chi_v).ω(x)+ω(y)≤ω(x−χu​+χv​)+ω(y+χu​−χv​).

A function ζ\zetaζ is M-convex when −ζ-\zeta−ζ is M-concave.

For ω:B1→R\omega:B_1\to\mathbb Rω:B1​→R and ζ:B2→R\zeta:B_2\to\mathbb Rζ:B2​→R the concave conjugate and convex conjugate are

ω∘(p)=min⁡x∈B1(⟨p,x⟩−ω(x)),ζ∙(p)=max⁡x∈B2(⟨p,x⟩−ζ(x)),\omega^\circ(p)=\min_{x\in B_1}\big(\langle p,x\rangle-\omega(x)\big),\qquad \zeta^\bullet(p)=\max_{x\in B_2}\big(\langle p,x\rangle-\zeta(x)\big),ω∘(p)=x∈B1​min​(⟨p,x⟩−ω(x)),ζ∙(p)=x∈B2​max​(⟨p,x⟩−ζ(x)),

and the concave closure and convex closure are ω^(b)=inf⁡p(⟨p,b⟩−ω∘(p))\hat\omega(b)=\inf_p(\langle p,b\rangle-\omega^\circ(p))ω^(b)=infp​(⟨p,b⟩−ω∘(p)) and ζˇ(b)=sup⁡p(⟨p,b⟩−ζ∙(p))\check\zeta(b)=\sup_p(\langle p,b\rangle-\zeta^\bullet(p))ζˇ​(b)=supp​(⟨p,b⟩−ζ∙(p)); they are finite exactly on B1‾\overline{B_1}B1​​ and B2‾\overline{B_2}B2​​.

The primal problem maximizes ω(x)−ζ(x)\omega(x)-\zeta(x)ω(x)−ζ(x) over x∈B1∩B2x\in B_1\cap B_2x∈B1​∩B2​; the relaxed primal problem maximizes ω^(b)−ζˇ(b)\hat\omega(b)-\check\zeta(b)ω^(b)−ζˇ​(b) over b∈B1‾∩B2‾b\in\overline{B_1}\cap\overline{B_2}b∈B1​​∩B2​​; the dual problem minimizes ζ∙(p)−ω∘(p)\zeta^\bullet(p)-\omega^\circ(p)ζ∙(p)−ω∘(p) over p∈RVp\in\mathbb R^Vp∈RV. A maximum over an empty family is −∞-\infty−∞.

Formalization targets

Goal: Theorem 6.4

If ω\omegaω and −ζ-\zeta−ζ satisfy (EXC), then

max⁡x∈B1∩B2(ω(x)−ζ(x))=max⁡b∈B1‾∩B2‾(ω^(b)−ζˇ(b))=inf⁡p∈RV(ζ∙(p)−ω∘(p)),\max_{x\in B_1\cap B_2}\big(\omega(x)-\zeta(x)\big)=\max_{b\in\overline{B_1}\cap\overline{B_2}}\big(\hat\omega(b)-\check\zeta(b)\big)=\inf_{p\in\mathbb R^V}\big(\zeta^\bullet(p)-\omega^\circ(p)\big),x∈B1​∩B2​max​(ω(x)−ζ(x))=b∈B1​​∩B2​​max​(ω^(b)−ζˇ​(b))=p∈RVinf​(ζ∙(p)−ω∘(p)),

with (P1) a finite dual infimum forces B1∩B2≠∅B_1\cap B_2\neq\emptysetB1​∩B2​=∅, and (P2) if B1∩B2≠∅B_1\cap B_2\neq\emptysetB1​∩B2​=∅ all values are finite and equal and the infimum is attained. If ω,ζ\omega,\zetaω,ζ are integer-valued, the infimum may be taken over p∈ZVp\in\mathbb Z^Vp∈ZV and is attained there when finite.

Milestones

  1. Lemma 6.3 (weak duality): for arbitrary ω,ζ\omega,\zetaω,ζ on finite nonempty sets, primal ≤\le≤ relaxed === dual (the Fenchel identity (6.5)).
  2. Lemma 6.1: (−f)∘(p)=−f∙(−p)(-f)^\circ(p)=-f^\bullet(-p)(−f)∘(p)=−f∙(−p) and (−f)∧=−fˇ(-f)^\wedge=-\check f(−f)∧=−fˇ​ on B‾\overline BB.
  3. Lemma 4.5: an M-concave ω\omegaω satisfies ω^=ω\hat\omega=\omegaω^=ω on BBB.
  4. Theorem 2.1: (B1) is equivalent to being the integer points of an integral submodular (or supermodular) base polytope, with the describing functions max⁡x∈Bx(X)\max_{x\in B}x(X)maxx∈B​x(X) and min⁡x∈Bx(X)\min_{x\in B}x(X)minx∈B​x(X).
  5. Theorem 6.5 (Frank's discrete separation theorem, cited in the paper).
  6. Lemma 6.7: four equivalent forms of boundedness of the dual problem.
  7. Theorem 6.6 (the M-concave intersection theorem, cited in the paper): optimality of x∗x^*x∗ for ω1+ω2\omega_1+\omega_2ω1​+ω2​ is equivalent to a potential p∗p^*p∗ with x∗x^*x∗ maximizing both ω1[−p∗]\omega_1[-p^*]ω1​[−p∗] and ω2[p∗]\omega_2[p^*]ω2​[p∗], integral when the data are.

Significance

The formula gives, in one statement, the integrality of an optimal solution of the relaxed primal problem (the essential content of the first half, as the paper observes on p. 296) and of the dual problem. The paper presents it as a unification of two groups of theorems: Edmonds' polymatroid intersection theorem, Fujishige's Fenchel-type duality and Frank's discrete separation theorem on one side, and Iri and Tomizawa's potential characterization for independent assignment with its extensions by Fujishige and Frank (weight splitting) on the other. In the paper it yields the primal and dual separation theorems (Theorems 6.8, 6.9) and the convolution results (Theorems 6.10, 6.11), and it is the prototype of the Fenchel-type duality of discrete convex analysis.

All results here are proved in the literature; none is known to be formalized. Mathlib has no submodular base polytopes, no matroid intersection theorem and no discrete convex analysis. A formal proof of Theorem 6.4 would also require formal proofs of the two cited results, Frank's discrete separation theorem and the M-concave intersection theorem, which the paper uses without proof.

Difficulty

Lemma 6.3 is polyhedral convex duality and holds for any functions. The content is equality with the integral problem: the relaxed maximum over the polytope B1‾∩B2‾\overline{B_1}\cap\overline{B_2}B1​​∩B2​​ must be attained at an integer point. For general finite sets it is not, and the intersection of two integral polytopes generally has fractional vertices. Both the integrality of B1‾∩B2‾\overline{B_1}\cap\overline{B_2}B1​​∩B2​​ (Edmonds) and the existence of an integral optimal potential depend on the exchange structure; a direct argument from the definitions of conjugates does not see it. The dual integrality claim, that ppp can be taken integral, is again specific to (EXC) and fails for general concave extensions.

Formalization scope

Lean conventions, all in namespace SteinitzExchange.Duality:

  • VVV is a type with [Fintype V] [DecidableEq V] [Nonempty V]; integer vectors are V → ℤ, real vectors V → ℝ; finite sets of integer vectors are Finset (V → ℤ).
  • A function on BBB is a total (V → ℤ) → ℝ used only at points of BBB. M-convexity of ζ\zetaζ is (EXC) for fun x => -ζ x; ω\omegaω lives on B1B_1B1​ and ζ\zetaζ on B2B_2B2​, which are distinct sets in general.
  • Conjugates are real-valued min/max over the finite set. The closures are real ⨅/⨆ over p∈RVp\in\mathbb R^Vp∈RV and are evaluated only on the convex hulls, where they equal the paper's values; off the hulls they carry a junk value instead of ∓∞\mp\infty∓∞, which no statement uses.
  • The three optimal values are in EReal, as suprema and infima of coerced reals, so no ∞−∞\infty-\infty∞−∞ occurs. EReal's supremum of the empty family is −∞-\infty−∞, the paper's convention. The dual infimum is never a real ⨅ (which would return 000 when unbounded and make (P1) meaningless).
  • Every "max" of the page includes attainment: (P2) asserts points xxx, bbb, ppp at which the three values are achieved; the integral dual infimum is attained when it is not −∞-\infty−∞.
  • "Integer-valued" means ω(x)∈Z\omega(x)\in\mathbb Zω(x)∈Z on B1B_1B1​ and ζ(x)∈Z\zeta(x)\in\mathbb Zζ(x)∈Z on B2B_2B2​; integral potentials and separating vectors are V → ℤ.
  • Theorem 2.1's "∀X⊂V\forall X\subset V∀X⊂V" is read as all X⊆VX\subseteq VX⊆V.

Formalizations that would trivialize the goal are excluded: an unrestricted real infimum for the dual, a convex closure built from ζ∘\zeta^\circζ∘ instead of ζ∙\zeta^\bulletζ∙, a single base set for both functions, and a relaxed maximum taken over all of RV\mathbb R^VRV instead of B1‾∩B2‾\overline{B_1}\cap\overline{B_2}B1​​∩B2​​.

Needed infrastructure: finite convex hulls and polyhedral Fenchel duality, submodular base polytopes and their integrality, Frank's separation theorem, and the valuated intersection theorem. The submodular-system layer (Theorem 2.1, Theorem 6.5) is reusable beyond this mission. Contributions to any milestone, including proofs of the two cited theorems, are welcome.

Selected references

  • K. Murota, Convexity and Steinitz's exchange property, Advances in Mathematics 124 (1996) 272–311. https://doi.org/10.1006/aima.1996.0084
  • K. Murota, Valuated matroid intersection I: optimality criteria, SIAM J. Discrete Math. 9 (1996) 545–561.
  • K. Murota, Submodular flow problem with a nonseparable cost function, Report 95843-OR, Forschungsinstitut für Diskrete Mathematik, Universität Bonn, 1995 (source of Theorem 6.6).
  • A. Frank, An algorithm for submodular functions on graphs, Annals of Discrete Mathematics 16 (1982) 97–120 (source of Theorem 6.5).
  • A. Frank, A weighted matroid intersection algorithm, J. Algorithms 2 (1981) 328–336.
  • J. Edmonds, Submodular functions, matroids and certain polyhedra, in: Combinatorial Structures and Their Applications, Gordon and Breach, New York, 1970, 69–87.
  • S. Fujishige, Theory of submodular programs: a Fenchel-type min-max theorem and subgradients of submodular functions, Mathematical Programming 29 (1984) 142–155.
  • M. Iri and N. Tomizawa, An algorithm for finding an optimal "independent assignment", J. Oper. Res. Soc. Japan 19 (1976) 32–57.
  • K. Murota, Discrete Convex Analysis, SIAM, 2003. https://doi.org/10.1137/1.9780898718508
18 thms7 active usersReviewed
🏆Completed
CombinatoricsConvex OptimizationOptimization·Captain: mikedeng1

Convexity and Steinitz's Exchange Property I: The Extension Theorem — M-Concavity Is Concave Extendability with Integral Base Polytope MaximizersResearch Paper

Motivation

Linear optimization over the bases of a matroid, over the integer points of a polymatroid, or over the flows of a network is well understood: the greedy algorithm is exact, the feasible sets are the integer points of polytopes described by submodular functions, and min-max theorems of Edmonds and Frank hold with integrality. Nonlinear objectives on the same sets are much less uniform. Valuated matroids (Dress and Wenzel, 1990; see Murota 2003) showed that a quantitative form of the Steinitz exchange axiom is exactly what keeps the greedy algorithm exact for a nonlinear weight. Kazuo Murota's paper Convexity and Steinitz's Exchange Property (Adv. Math. 124 (1996) 272–311) extends this exchange axiom from matroid bases to the integer points of arbitrary integral base polytopes, names the resulting functions M-concave, and proves that they are the discrete counterpart of concave functions. The paper is the starting point of discrete convex analysis (Murota, Discrete Convex Analysis, SIAM 2003), which is now used in auction theory (gross-substitutes valuations are M♮-concave), inventory and resource allocation, and combinatorial optimization.

This mission covers the first of the paper's three characterizations of M-concavity: the Extension Theorem (Theorem 4.6).

Setting

Let VVV be a finite nonempty set. For u∈Vu\in Vu∈V, χu∈ZV\chi_u\in\mathbb Z^Vχu​∈ZV is the characteristic vector of uuu. For x∈RVx\in\mathbb R^Vx∈RV, supp⁡+(x)={v∣x(v)>0}\operatorname{supp}^+(x)=\{v\mid x(v)>0\}supp+(x)={v∣x(v)>0}, supp⁡−(x)={v∣x(v)<0}\operatorname{supp}^-(x)=\{v\mid x(v)<0\}supp−(x)={v∣x(v)<0}, ∥x∥=∑v∣x(v)∣\|x\|=\sum_v|x(v)|∥x∥=∑v​∣x(v)∣, and ⟨p,x⟩=∑vp(v)x(v)\langle p,x\rangle=\sum_v p(v)x(v)⟨p,x⟩=∑v​p(v)x(v).

A finite integral base set is a finite nonempty B⊆ZVB\subseteq\mathbb Z^VB⊆ZV such that for x,y∈Bx,y\in Bx,y∈B and u∈supp⁡+(x−y)u\in\operatorname{supp}^+(x-y)u∈supp+(x−y) there is v∈supp⁡−(x−y)v\in\operatorname{supp}^-(x-y)v∈supp−(x−y) with x−χu+χv∈Bx-\chi_u+\chi_v\in Bx−χu​+χv​∈B (axiom (B1)). Examples are the incidence vectors of the bases of a matroid. Its convex hull B‾\overline BB is an integral base polytope; in general, an integral base polytope is the convex hull of some finite integral base set.

A function ω:B→R\omega:B\to\mathbb Rω:B→R satisfies the exchange property (EXC), and is called M-concave, if for all x,y∈Bx,y\in Bx,y∈B and u∈supp⁡+(x−y)u\in\operatorname{supp}^+(x-y)u∈supp+(x−y) there is v∈supp⁡−(x−y)v\in\operatorname{supp}^-(x-y)v∈supp−(x−y) with x−χu+χv∈Bx-\chi_u+\chi_v\in Bx−χu​+χv​∈B, y+χu−χv∈By+\chi_u-\chi_v\in By+χu​−χv​∈B and

ω(x)+ω(y)≤ω(x−χu+χv)+ω(y+χu−χv).\omega(x)+\omega(y)\le\omega(x-\chi_u+\chi_v)+\omega(y+\chi_u-\chi_v).ω(x)+ω(y)≤ω(x−χu​+χv​)+ω(y+χu​−χv​).

The local exchange property (EXCloc_{\mathrm{loc}}loc​) asks only, for x,y∈Bx,y\in Bx,y∈B with ∥x−y∥=4\|x-y\|=4∥x−y∥=4, for some u∈supp⁡+(x−y)u\in\operatorname{supp}^+(x-y)u∈supp+(x−y) and some v∈supp⁡−(x−y)v\in\operatorname{supp}^-(x-y)v∈supp−(x−y) with the same conclusion.

For p∈RVp\in\mathbb R^Vp∈RV, ω[p](x)=ω(x)+⟨p,x⟩\omega[p](x)=\omega(x)+\langle p,x\rangleω[p](x)=ω(x)+⟨p,x⟩, and argmax⁡(ω)={x∈B∣ω(x)≥ω(y) ∀y∈B}\operatorname{argmax}(\omega)=\{x\in B\mid\omega(x)\ge\omega(y)\ \forall y\in B\}argmax(ω)={x∈B∣ω(x)≥ω(y) ∀y∈B}. For any g:B→Rg:B\to\mathbb Rg:B→R, the concave conjugate is g∘(p)=min⁡x∈B(⟨p,x⟩−g(x))g^\circ(p)=\min_{x\in B}(\langle p,x\rangle-g(x))g∘(p)=minx∈B​(⟨p,x⟩−g(x)) and the concave closure is g^(b)=inf⁡p∈RV(⟨p,b⟩−g∘(p))\hat g(b)=\inf_{p\in\mathbb R^V}(\langle p,b\rangle-g^\circ(p))g^​(b)=infp∈RV​(⟨p,b⟩−g∘(p)), a concave function that is finite exactly on B‾\overline BB. A function ωˉ:B‾→R\bar\omega:\overline B\to\mathbb Rωˉ:B→R extends ω\omegaω if ωˉ=ω\bar\omega=\omegaωˉ=ω on BBB.

Formalization targets

Goal: the Extension Theorem (Theorem 4.6)

For a finite integral base set BBB and ω:B→R\omega:B\to\mathbb Rω:B→R,

ω satisfies (EXC)  ⟺  ∃ ωˉ:B‾→R concave, ωˉ∣B=ω, ∀p: argmax⁡B‾(ωˉ[p]) is an integral base polytope.\omega\ \text{satisfies (EXC)}\iff\exists\,\bar\omega:\overline B\to\mathbb R\ \text{concave},\ \bar\omega|_B=\omega,\ \forall p:\ \operatorname{argmax}_{\overline B}(\bar\omega[p])\ \text{is an integral base polytope}.ω satisfies (EXC)⟺∃ωˉ:B→R concave, ωˉ∣B​=ω, ∀p: argmaxB​(ωˉ[p]) is an integral base polytope.

Milestones

  • Lemma 3.2 (p. 282): under (EXCloc_{\mathrm{loc}}loc​), for y=x−χu0−χu1+χv0+χv1∈By=x-\chi_{u_0}-\chi_{u_1}+\chi_{v_0}+\chi_{v_1}\in By=x−χu0​​−χu1​​+χv0​​+χv1​​∈B, ωp(y)−ωp(x)≤max⁡(π00+π11,π01+π10)\omega_p(y)-\omega_p(x)\le\max(\pi_{00}+\pi_{11},\pi_{01}+\pi_{10})ωp​(y)−ωp​(x)≤max(π00​+π11​,π01​+π10​) with πij=ωp(x−χui+χvj)−ωp(x)\pi_{ij}=\omega_p(x-\chi_{u_i}+\chi_{v_j})-\omega_p(x)πij​=ωp​(x−χui​​+χvj​​)−ωp​(x) (−∞-\infty−∞ off BBB).
  • Theorem 3.1 (p. 282): (EXC)   ⟺  \iff⟺ (EXCloc_{\mathrm{loc}}loc​).
  • Theorem 2.2 (p. 280): (EXC) for ω\omegaω implies (EXC) for every ω[p]\omega[p]ω[p].
  • Lemma 4.3 (p. 285): under (EXC), argmax⁡(ω)\operatorname{argmax}(\omega)argmax(ω) is an integral base set.
  • Lemma 4.1 (p. 285): g^≥g\hat g\ge gg^​≥g on BBB; max⁡B‾g^=max⁡Bg\max_{\overline B}\hat g=\max_B gmaxB​g^​=maxB​g; argmax⁡(g^)=argmax⁡(g)‾\operatorname{argmax}(\hat g)=\overline{\operatorname{argmax}(g)}argmax(g^​)=argmax(g)​.
  • Lemma 4.2 (p. 285): (g[p0])∘(p)=g∘(p−p0)(g[p_0])^\circ(p)=g^\circ(p-p_0)(g[p0​])∘(p)=g∘(p−p0​) and (g[p0])∧=g^+⟨p0,⋅⟩(g[p_0])^\wedge=\hat g+\langle p_0,\cdot\rangle(g[p0​])∧=g^​+⟨p0​,⋅⟩ on B‾\overline BB.
  • Theorem 4.4 (p. 286): (EXC)   ⟺  \iff⟺ argmax⁡(ω[p])\operatorname{argmax}(\omega[p])argmax(ω[p]) is an integral base set for every ppp.
  • Lemma 4.5 (p. 288): under (EXC), ω^=ω\hat\omega=\omegaω^=ω on BBB.

Significance

The Extension Theorem identifies a combinatorial axiom with a convex-analytic property: M-concave functions are exactly the restrictions to lattice points of concave functions on the base polytope whose linear perturbations are all maximized on integral base polytopes. It is the reason the M-concave class supports a convex-analysis-style theory at all: local optimality implies global optimality, maximizers of linear perturbations are well behaved, and conjugacy (the paper's Theorems 5.3 and 6.4, separate missions of this series) can be developed. Theorem 3.1 on its own is widely used to verify M-concavity in applications, since it reduces the exchange axiom to pairs at distance four.

All results here were proved in 1996. To our knowledge none of them has a machine-checked proof; Mathlib has matroids on sets but no integral base sets in ZV\mathbb Z^VZV, no M-concave functions and no concave closure of a function on a finite set. A formal proof of this chain would be a first formal development of discrete convex analysis.

Difficulty

The equivalence of (EXC) with its local version (Theorem 3.1) is not a routine induction on ∥x−y∥\|x-y\|∥x−y∥: the exchange inequality for a far pair does not follow from the inequalities along a path of distance-4 pairs, because the exchange partner vvv must be chosen consistently with the prescribed uuu. For the "if" direction of Theorem 4.4, knowing that every maximizer set is an integral base set says nothing directly about the values of ω\omegaω at non-maximizing points; turning this global information on maximizers into the local inequality (EXCloc_{\mathrm{loc}}loc​) requires a supporting hyperplane of the concave closure at a well-chosen point and the integrality of the intersection of an integral base polytope with a box (a cited result on submodular systems). Theorem 4.6 then needs the concave closure to agree with ω\omegaω on BBB (Lemma 4.5), which fails for general ω\omegaω.

Formalization scope

All declarations live in the namespace SteinitzExchange.Extension. The ground set is a type V with [Fintype V] [DecidableEq V] [Nonempty V]; integer vectors are V → ℤ, real vectors V → ℝ, and toReal embeds the former into the latter. BBB is a Finset (V → ℤ). A function ω:B→R\omega:B\to\mathbb Rω:B→R is a total (V → ℤ) → ℝ whose values are only ever read at points required to be in BBB. B‾\overline BB is Mathlib's convexHull ℝ of the image of BBB. Pinned readings:

  1. Integral base polytope means the convex hull of a finite nonempty set satisfying (B1) (by the paper's Theorem 2.1 this is its meaning), not "a polytope with integer vertices".
  2. The concave closure is a real infimum; it is the paper's value on B‾\overline BB and a junk value 000 off B‾\overline BB (the paper's −∞-\infty−∞), so every statement uses it only on B‾\overline BB. argmax⁡(g^)\operatorname{argmax}(\hat g)argmax(g^​) and argmax⁡(ωˉ[p])\operatorname{argmax}(\bar\omega[p])argmax(ωˉ[p]) range over B‾\overline BB only; the concave conjugate is a minimum over the nonempty finite BBB.
  3. Lemma 3.2's maximum with −∞-\infty−∞ entries is stated as: for one of the two pairings both exchanged points lie in BBB and the bound holds for that pairing.
  4. Theorem 4.4 and Lemma 4.3 conclude that argmax⁡(ω[p])\operatorname{argmax}(\omega[p])argmax(ω[p]) is itself an integral base set. Read literally ("its convex hull is an integral base polytope") the "if" direction of Theorem 4.4 is false: B={(2,0),(1,1),(0,2)}B=\{(2,0),(1,1),(0,2)\}B={(2,0),(1,1),(0,2)} with ω=(0,−1,0)\omega=(0,-1,0)ω=(0,−1,0) is a counterexample. The paper's proof, its gloss in Lemma 4.3 and its use on p. 292 all take the integral-base-set reading. Theorem 4.6 needs no such adjustment and is stated as printed.
  5. Theorem 2.2 carries the standing assumption of §2.3 that ω\omegaω satisfies (EXC).

Trivializing formalizations are ruled out: the extension ωˉ\bar\omegaωˉ must agree with ω\omegaω on BBB and be concave on B‾\overline BB, the argmax is over B‾\overline BB and not over RV\mathbb R^VRV, and an integral base polytope is never empty.

A complete development needs basic facts on integral base sets (the equivalence of (B1) with the simultaneous exchange (B2), B=ZV∩B‾B=\mathbb Z^V\cap\overline BB=ZV∩B, and the paper's cited Theorem 2.1 relating them to submodular functions), the representation (4.3) of the concave closure as a maximum of convex combinations, and supporting hyperplanes of polyhedral concave functions. The layer of integral base sets and M-concave functions is reusable for the two other missions of this series and for any later formalization of discrete convex analysis; contributions of general-purpose lemmas about it are welcome.

Selected references

  • K. Murota, Convexity and Steinitz's exchange property, Advances in Mathematics 124 (1996) 272–311. https://doi.org/10.1006/aima.1996.0084
  • K. Murota, Discrete Convex Analysis, SIAM Monographs on Discrete Mathematics and Applications, 2003. https://doi.org/10.1137/1.9780898718508
21 thms7 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine Learning·Captain: Shuze Chen

Bandit Algorithms XIV: Bayesian Bandits, the Gittins Index and Thompson SamplingTextbook

The oldest bandit algorithm (Thompson, 1933) is also the most modern: sample a parameter from the posterior and act greedily. Chapters 34–36 of Lattimore–Szepesvári develop the Bayesian view in two crowning results. The Gittins index theorem: for infinite-horizon discounted Markov bandits, the seemingly intractable dynamic program is solved exactly by an index policy — each arm gets a retirement-value index computable arm-by-arm, and playing the largest index is Bayesian optimal. And the frequentist analysis of Thompson sampling — the goal theorem: with Gaussian posteriors, Thompson sampling on 1-subgaussian bandits achieves lim⁡n→∞Rn/log⁡n=∑i:Δi>02/Δi\lim_{n\to\infty} R_n/\log n = \sum_{i:\Delta_i>0} 2/\Delta_ilimn→∞​Rn​/logn=∑i:Δi​>0​2/Δi​, exactly asymptotically optimal, alongside the minimax-grade Rn≤Cknlog⁡nR_n \le C\sqrt{kn\log n}Rn​≤Cknlogn​. Together they explain why posterior sampling is both principled and practically dominant.

88 thms7 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine Learning·Captain: Shuze Chen

Bandit Algorithms XI: Lower Bounds for Stochastic Linear BanditsTextbook

Is the dnd\sqrt{n}dn​ regret of LinUCB (Mission X) an artifact of the algorithm or a law of nature? Chapters 24–25 of Lattimore–Szepesvári prove it is essentially unimprovable. On the unit ball there is a parameter θ\thetaθ with ∥θ∥22=d2/(48n)\|\theta\|_2^2 = d^2/(48n)∥θ∥22​=d2/(48n) forcing Rn≥dn163R_n \ge \frac{d\sqrt{n}}{16\sqrt{3}}Rn​≥163​dn​​ — the goal theorem — and the hypercube gives the same Ω(dn)\Omega(d\sqrt{n})Ω(dn​) rate. The asymptotic chapter is more striking still: for fixed finite action sets, the instance-optimal constant c(A,θ)c(\mathcal{A},\theta)c(A,θ) is characterized by an allocation program, and optimism itself is provably suboptimal — LinUCB and Thompson sampling cannot achieve it, because exploration must sometimes deliberately play actions optimism would never touch. These lower bounds define the targets for the entire linear-bandit literature.

14 thms7 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine Learning·Captain: Shuze Chen

Bandit Algorithms V: Adversarial Bandits and Exp3Textbook

What if the rewards are not random at all, but chosen by an adversary who knows your algorithm? Remarkably, a randomized learner can still compete with the best fixed arm in hindsight. Chapters 11–12 of Lattimore–Szepesvári develop the adversarial kkk-armed bandit: rewards xti∈[0,1]x_{ti} \in [0,1]xti​∈[0,1] are an arbitrary fixed matrix, the learner samples At∼PtA_t \sim P_tAt​∼Pt​, and regret is measured against max⁡i∑txti\max_i \sum_t x_{ti}maxi​∑t​xti​. The exponential-weights algorithm Exp3, fed by importance-weighted loss estimates X^ti=1−1{At=i}(1−Xt)/Pti\hat X_{ti} = 1 - \mathbb{1}\{A_t = i\}(1 - X_t)/P_{ti}X^ti​=1−1{At​=i}(1−Xt​)/Pti​, achieves Rn≤2nklog⁡kR_n \le \sqrt{2nk\log k}Rn​≤2nklogk​ — the goal theorem. The companion Exp3-IX, which deliberately biases its estimator, upgrades this to a bound holding with high probability rather than only in expectation. These results are the foundation of all adversarial online learning with partial feedback.

12 thms7 active usersReviewed
🏆Completed
Convex OptimizationNumerical AnalysisOptimization·Captain: mikedeng1

A Nonmonotone Line Search Technique and Its Application to Unconstrained Optimization II: R-Linear Convergence for Strongly Convex FunctionsResearch Paper

Motivation

Line search methods for unconstrained minimization of a smooth function f:Rn→Rf : \mathbb{R}^n \to \mathbb{R}f:Rn→R choose a direction dkd_kdk​ and a step αk>0\alpha_k > 0αk​>0 and set xk+1=xk+αkdkx_{k+1} = x_k + \alpha_k d_kxk+1​=xk​+αk​dk​. Classical rules (Armijo, Wolfe) insist that every step decrease fff. For quasi-Newton and conjugate gradient directions this monotonicity requirement often forces short steps, and nonmonotone line searches, which only ask for a decrease relative to some reference value built from past iterates, have been used since Grippo, Lampariello and Lucidi (1986) to let such methods take longer steps.

Zhang and Hager (SIAM J. Optim., 2004) replaced the maximum of recent function values used by Grippo et al. with a weighted average CkC_kCk​ of all past function values. The paper proves two results: global convergence to stationary points (the companion mission) and, the subject of this mission, R-linear convergence of the function values when fff is strongly convex.

Timeline:

  • 1986, Grippo, Lampariello, Lucidi: nonmonotone line search based on the maximum of the last MMM function values; global convergence.
  • 2002, Dai: R-linear convergence of the max-based scheme for strongly convex fff.
  • 2004, Zhang and Hager: the averaged reference value CkC_kCk​; global convergence (Theorem 2.2) and R-linear convergence for strongly convex fff (Theorem 3.1).

Setting

Fix parameters 0≤ηmin⁡≤ηmax⁡≤10 \le \eta_{\min} \le \eta_{\max} \le 10≤ηmin​≤ηmax​≤1, 0<δ<σ<1<ρ0 < \delta < \sigma < 1 < \rho0<δ<σ<1<ρ and μ>0\mu > 0μ>0. Write gk=∇f(xk)g_k = \nabla f(x_k)gk​=∇f(xk​) and ∇f(x)d=⟨∇f(x),d⟩\nabla f(x)d = \langle \nabla f(x), d\rangle∇f(x)d=⟨∇f(x),d⟩. The Nonmonotone Line Search Algorithm (NLSA) keeps weights QkQ_kQk​ and reference values CkC_kCk​:

Q0=1,  Qk+1=ηkQk+1,C0=f(x0),  Ck+1=ηkQkCk+f(xk+1)Qk+1,Q_0 = 1,\ \ Q_{k+1} = \eta_k Q_k + 1,\qquad C_0 = f(x_0),\ \ C_{k+1} = \frac{\eta_k Q_k C_k + f(x_{k+1})}{Q_{k+1}},Q0​=1,  Qk+1​=ηk​Qk​+1,C0​=f(x0​),  Ck+1​=Qk+1​ηk​Qk​Ck​+f(xk+1​)​,

with ηk∈[ηmin⁡,ηmax⁡]\eta_k \in [\eta_{\min}, \eta_{\max}]ηk​∈[ηmin​,ηmax​] chosen freely at each step. A step αk\alpha_kαk​ is accepted either by the nonmonotone Wolfe conditions

f(xk+αkdk)≤Ck+δαkgkTdk,∇f(xk+αkdk)dk≥σgkTdk,f(x_k + \alpha_k d_k) \le C_k + \delta\alpha_k g_k^{\mathsf T} d_k,\qquad \nabla f(x_k + \alpha_k d_k) d_k \ge \sigma g_k^{\mathsf T} d_k,f(xk​+αk​dk​)≤Ck​+δαk​gkT​dk​,∇f(xk​+αk​dk​)dk​≥σgkT​dk​,

or by the nonmonotone Armijo rule αk=αˉkρhk\alpha_k = \bar\alpha_k \rho^{h_k}αk​=αˉk​ρhk​, where αˉk>0\bar\alpha_k > 0αˉk​>0 is a trial step and hkh_khk​ is the largest integer such that the first inequality holds and αk≤μ\alpha_k \le \muαk​≤μ. With ηk=0\eta_k = 0ηk​=0 one recovers the monotone rules.

The direction assumption asks for constants c1,c2>0c_1, c_2 > 0c1​,c2​>0 with gkTdk≤−c1∥gk∥2g_k^{\mathsf T} d_k \le -c_1\|g_k\|^2gkT​dk​≤−c1​∥gk​∥2 and ∥dk∥≤c2∥gk∥\|d_k\| \le c_2\|g_k\|∥dk​∥≤c2​∥gk​∥. The function fff is strongly convex with constant γ>0\gamma > 0γ>0 if

f(x)≥f(y)+∇f(y)(x−y)+12γ∥x−y∥2for all x,y.f(x) \ge f(y) + \nabla f(y)(x - y) + \frac{1}{2\gamma}\|x - y\|^2\quad\text{for all } x, y.f(x)≥f(y)+∇f(y)(x−y)+2γ1​∥x−y∥2for all x,y.

Let x∗x^*x∗ be the minimizer, L={x:f(x)≤f(x0)}\mathcal L = \{x : f(x) \le f(x_0)\}L={x:f(x)≤f(x0​)}, dmax⁡=sup⁡k∥dk∥d_{\max} = \sup_k\|d_k\|dmax​=supk​∥dk​∥, and Lˉ\bar{\mathcal L}Lˉ the set of points within distance μdmax⁡\mu d_{\max}μdmax​ of L\mathcal LL.

Formalization targets

Goal: Theorem 3.1

Let fff be strongly convex with minimizer x∗x^*x∗, let ∇f\nabla f∇f be Lipschitz continuous on bounded sets, let ηmax⁡<1\eta_{\max} < 1ηmax​<1, let the directions satisfy the direction assumption at every iteration, and let αk≤μ\alpha_k \le \muαk​≤μ for all kkk. Then there is θ∈(0,1)\theta \in (0,1)θ∈(0,1) with

f(xk)−f(x∗)≤θk(f(x0)−f(x∗))for each k.f(x_k) - f(x^*) \le \theta^k\big(f(x_0) - f(x^*)\big)\quad\text{for each } k.f(xk​)−f(x∗)≤θk(f(x0​)−f(x∗))for each k.

The goal fixes no value of θ\thetaθ: it asserts only the existence of a linear rate.

Milestones

In the paper's order of use:

  1. Lemma 1.1: f(xk)≤Ck≤Akf(x_k) \le C_k \le A_kf(xk​)≤Ck​≤Ak​ when gkTdk≤0g_k^{\mathsf T}d_k \le 0gkT​dk​≤0 for each kkk.
  2. Ck+1≤CkC_{k+1} \le C_kCk+1​≤Ck​, so all iterates lie in L\mathcal LL.
  3. (3.4): f(x)−f(x∗)≤γ∥∇f(x)∥2f(x) - f(x^*) \le \gamma\|\nabla f(x)\|^2f(x)−f(x∗)≤γ∥∇f(x)∥2.
  4. (2.15): Qk+1≤1/(1−ηmax⁡)Q_{k+1} \le 1/(1 - \eta_{\max})Qk+1​≤1/(1−ηmax​).
  5. (3.6): f(xk+1)≤Ck−β∥gk∥2f(x_{k+1}) \le C_k - \beta\|g_k\|^2f(xk+1​)≤Ck​−β∥gk​∥2, with
β=min⁡{δμc1ρ, 2δ(1−δ)c12Lρc22, δ(1−σ)c12Lc22}.\beta = \min\left\{\frac{\delta\mu c_1}{\rho},\ \frac{2\delta(1-\delta)c_1^2}{L\rho c_2^2},\ \frac{\delta(1-\sigma)c_1^2}{Lc_2^2}\right\}.β=min{ρδμc1​​, Lρc22​2δ(1−δ)c12​​, Lc22​δ(1−σ)c12​​}.
  1. (3.7): ∥gk+1∥≤b∥gk∥\|g_{k+1}\| \le b\|g_k\|∥gk+1​∥≤b∥gk​∥, b=1+μc2Lb = 1 + \mu c_2 Lb=1+μc2​L.
  2. (3.8): the explicit contraction
Ck+1−f(x∗)≤θ (Ck−f(x∗)),θ=1−βb2(1−ηmax⁡),b2=1β+γb2.C_{k+1} - f(x^*) \le \theta\,(C_k - f(x^*)),\qquad \theta = 1 - \beta b_2(1-\eta_{\max}),\quad b_2 = \frac{1}{\beta + \gamma b^2}.Ck+1​−f(x∗)≤θ(Ck​−f(x∗)),θ=1−βb2​(1−ηmax​),b2​=β+γb21​.

Here LLL is a Lipschitz constant of ∇f\nabla f∇f on Lˉ\bar{\mathcal L}Lˉ. A further result on the same definitions is Theorem 3.2: if f(xk)f(x_k)f(xk​) converges R-linearly with ratio θ<ηmin⁡\theta < \eta_{\min}θ<ηmin​ inside a compact convex set on which fff is strongly convex, then the sufficient decrease condition with reference value CkC_kCk​ holds for all large kkk.

Significance

Theorem 3.1 shows that averaging past function values costs nothing in the rate: on strongly convex functions the nonmonotone method keeps the linear rate of monotone descent, for any direction sequence satisfying the direction assumption (steepest descent, L-BFGS with bounded condition numbers, and so on). Theorem 3.2 is the converse side: for weights close enough to 1, the averaged test eventually accepts the steps of any R-linearly convergent iteration of this kind. The paper contrasts this with the max-based test of Grippo et al.

These results are proved in the paper. As far as the platform catalogue shows, no line search with the Wolfe conditions or a nonmonotone reference value has been formalized. The only related item is a monotone backtracking gradient descent rate, which is a different theorem. Machine-checked proofs would give reusable Lean statements of the nonmonotone Wolfe and Armijo rules and of the averaged reference value. They would also give the explicit constants β\betaβ, bbb and θ\thetaθ in checked form, and a checked record of the repair of the printed statement described below.

Difficulty

The obvious argument would show that f(xk)−f(x∗)f(x_k) - f(x^*)f(xk​)−f(x∗) contracts at each step. It fails: the method is nonmonotone, and f(xk+1)f(x_{k+1})f(xk+1​) may exceed f(xk)f(x_k)f(xk​). The quantity that contracts is Ck−f(x∗)C_k - f(x^*)Ck​−f(x∗), and only CkC_kCk​ is controlled by the line search. The contraction must be derived by relating ∥gk∥2\|g_k\|^2∥gk​∥2 to Ck−f(x∗)C_k - f(x^*)Ck​−f(x∗) in two regimes, and the second regime needs a bound on f(xk+1)−f(x∗)f(x_{k+1}) - f(x^*)f(xk+1​)−f(x∗) from the gradient at the previous iterate. That bound requires the Lipschitz constant on a region containing every point the line search examines, which is why the region Lˉ\bar{\mathcal L}Lˉ and the step bound μ\muμ enter. In Lean, the sufficient decrease (3.6) also rests on the step-length lower bounds of Lemma 2.1 for both rules, including the integer-exponent Armijo rule with its maximality condition.

Formalization scope

Conventions:

  • The space is EuclideanSpace ℝ (Fin n), fff is ContDiff ℝ 1, and ∇f(x)d\nabla f(x)d∇f(x)d is ⟪gradient f x, d⟫_ℝ.
  • A run is infinite, uses one rule throughout (Wolfe or Armijo), and has arbitrary directions subject to the stated hypotheses.
  • QkQ_kQk​ and CkC_kCk​ are defined by recursion from the run.
  • The Armijo exponent ranges over Z\mathbb{Z}Z and "largest" is IsGreatest.
  • dmax⁡d_{\max}dmax​ and distances are taken in [0,∞][0,\infty][0,∞], so unbounded directions make Lˉ\bar{\mathcal L}Lˉ the whole space.
  • Strong convexity keeps the paper's constant γ\gammaγ, the inverse modulus.
  • "Lipschitz on bounded sets" means that every bounded set admits a Lipschitz constant for ∇f\nabla f∇f.

Repair of the printed statement: the paper's direction assumption holds only for all sufficiently large kkk, but Theorem 3.1 concludes (3.5) for each kkk, and its proof uses the assumption at every kkk. As printed the theorem is false: d0=0d_0 = 0d0​=0 with the Wolfe step α0=1\alpha_0 = 1α0​=1 gives x1=x0x_1 = x_0x1​=x0​, which violates (3.5) at k=1k = 1k=1 whenever x0≠x∗x_0 \ne x^*x0​=x∗. The goal therefore requires the direction assumption for every k≥0k \ge 0k≥0.

The step bound "there exists μ>0\mu > 0μ>0 with αk≤μ\alpha_k \le \muαk​≤μ" is stated with μ\muμ the algorithm's parameter. For the Armijo rule this holds by construction. The Wolfe rule does not use μ\muμ, so nothing is lost.

Trivializing formalizations are ruled out:

  • the printed hypotheses with "for each kkk" (false, as shown above);
  • a θ\thetaθ allowed to equal 1, or an unspecified constant factor in front of θk\theta^kθk (weaker than (3.5));
  • a globally Lipschitz gradient, or a step bound different from the μ\muμ used to build Lˉ\bar{\mathcal L}Lˉ.

A complete development needs:

  • the NLSA model and Lemma 1.1;
  • the step-length lower bounds of Lemma 2.1 for both rules (via the descent lemma for Lipschitz gradients);
  • the geometric bound on QkQ_kQk​;
  • boundedness of level sets of strongly convex functions.

The NLSA definitions are reusable by any later mission on nonmonotone line searches. Proofs of the milestones in any order are welcome, as are a proof of the counterexample to the printed statement and a proof that the platform theorem ConvexOptimization.strong_convexity_quadratic_lower_bound implies (3.4).

Selected references

  • H. Zhang, W. W. Hager, A Nonmonotone Line Search Technique and Its Application to Unconstrained Optimization, SIAM J. Optim. 14(4):1043–1056, 2004. https://doi.org/10.1137/S1052623403428208
  • L. Grippo, F. Lampariello, S. Lucidi, A Nonmonotone Line Search Technique for Newton's Method, SIAM J. Numer. Anal. 23(4):707–716, 1986. https://doi.org/10.1137/0723046
  • Y.-H. Dai, On the Nonmonotone Line Search, J. Optim. Theory Appl. 112:315–330, 2002 (reference [4] of the paper).
16 thms6 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine LearningProbability·Captain: mikedeng1

Improved Algorithms for Linear Stochastic Bandits I: High-Probability Regret Bound for the OFUL AlgorithmResearch Paper

Motivation

In a linear stochastic bandit, a learner repeatedly chooses an action from a set of vectors and receives a noisy reward whose mean is linear in the action. The model underlies contextual recommendation, adaptive routing and dynamic pricing, where each option is described by features and the payoff of a feature vector must be learned while it is exploited. The quality of a strategy is measured by its regret: the reward lost, relative to always playing the best action, over the first nnn rounds.

The optimism-in-the-face-of-uncertainty principle (play as if the most favourable parameter consistent with the data were true) was introduced for linear bandits by Auer (2002), and developed by Dani, Hayes and Kakade (2008) (ConfidenceBall, regret O(dnlog⁡3/2n)O(d\sqrt n\log^{3/2} n)O(dn​log3/2n) with confidence sets from a union bound over time) and Rusmevichientong and Tsitsiklis (2010). Abbasi-Yadkori, Pál and Szepesvári (NIPS 2011) replaced the union bound by a self-normalized martingale inequality that holds uniformly in time. It gives smaller confidence ellipsoids and, through them, a high-probability regret bound for the resulting algorithm, OFUL, that improves the earlier ones by logarithmic factors. The inequality became the standard tool for linear and kernelized bandits and for linear reinforcement learning.

Setting

Fix a dimension d≥1d \ge 1d≥1 and an unknown parameter θ∗∈Rd\theta_* \in \mathbb R^dθ∗​∈Rd. In round t=1,2,…t = 1, 2, \dotst=1,2,… the learner is given a nonempty decision set Dt⊆RdD_t \subseteq \mathbb R^dDt​⊆Rd, chooses Xt∈DtX_t \in D_tXt​∈Dt​, and observes the reward

Yt=⟨Xt,θ∗⟩+ηt.Y_t = \langle X_t, \theta_* \rangle + \eta_t .Yt​=⟨Xt​,θ∗​⟩+ηt​.

There is a filtration {Ft}t≥0\{F_t\}_{t \ge 0}{Ft​}t≥0​ such that XtX_tXt​ is Ft−1F_{t-1}Ft−1​-measurable and ηt\eta_tηt​ is FtF_tFt​-measurable and conditionally RRR-sub-Gaussian: E[eληt∣Ft−1]≤exp⁡(λ2R2/2)\mathbf E[e^{\lambda\eta_t} \mid F_{t-1}] \le \exp(\lambda^2R^2/2)E[eληt​∣Ft−1​]≤exp(λ2R2/2) for all λ∈R\lambda \in \mathbb Rλ∈R, with R≥0R \ge 0R≥0 fixed.

For a regularization parameter λ>0\lambda > 0λ>0 let V‾t=λI+∑s=1tXsXs⊤\overline V_t = \lambda I + \sum_{s=1}^t X_sX_s^\topVt​=λI+∑s=1t​Xs​Xs⊤​ and let θ^t=V‾t−1∑s=1tYsXs\widehat\theta_t = \overline V_t^{-1}\sum_{s=1}^t Y_sX_sθt​=Vt−1​∑s=1t​Ys​Xs​ be the regularized least-squares estimate. With ∥v∥A=v⊤Av\|v\|_A = \sqrt{v^\top A v}∥v∥A​=v⊤Av​ and a known bound ∥θ∗∥2≤S\|\theta_*\|_2 \le S∥θ∗​∥2​≤S, the confidence ellipsoid is

Ct={θ:∥θ^t−θ∥V‾t≤R2log⁡(det⁡(V‾t)1/2det⁡(λI)−1/2/δ)+λ1/2S}.C_t = \Big\{\theta : \|\widehat\theta_t - \theta\|_{\overline V_t} \le R\sqrt{2\log\big(\det(\overline V_t)^{1/2}\det(\lambda I)^{-1/2}/\delta\big)} + \lambda^{1/2}S\Big\}.Ct​={θ:∥θt​−θ∥Vt​​≤R2log(det(Vt​)1/2det(λI)−1/2/δ)​+λ1/2S}.

The OFUL algorithm chooses, in round ttt, a pair (Xt,θ~t)(X_t, \widetilde\theta_t)(Xt​,θt​) maximizing ⟨x,θ⟩\langle x, \theta \rangle⟨x,θ⟩ over Dt×Ct−1D_t \times C_{t-1}Dt​×Ct−1​. The pseudo-regret is Rn=∑t=1n⟨xt∗−Xt,θ∗⟩R_n = \sum_{t=1}^n \langle x^*_t - X_t, \theta_* \rangleRn​=∑t=1n​⟨xt∗​−Xt​,θ∗​⟩, where ⟨xt∗,θ∗⟩=max⁡x∈Dt⟨x,θ∗⟩\langle x^*_t, \theta_*\rangle = \max_{x\in D_t}\langle x,\theta_*\rangle⟨xt∗​,θ∗​⟩=maxx∈Dt​​⟨x,θ∗​⟩.

Formalization targets

Goal: Theorem 3, the regret of OFUL

If ∥Xt∥2≤L\|X_t\|_2 \le L∥Xt​∥2​≤L, ⟨x,θ∗⟩∈[−1,1]\langle x, \theta_*\rangle \in [-1,1]⟨x,θ∗​⟩∈[−1,1] for all x∈Dtx \in D_tx∈Dt​, and λ≥max⁡(1,L2)\lambda \ge \max(1, L^2)λ≥max(1,L2), then for every δ>0\delta > 0δ>0, with probability at least 1−δ1 - \delta1−δ,

∀n≥0,Rn≤4ndlog⁡(λ+nL2/d)(λ1/2S+R2log⁡(1/δ)+dlog⁡(1+nL2/(λd))).\forall n \ge 0, \quad R_n \le 4\sqrt{nd\log(\lambda + nL^2/d)}\Big(\lambda^{1/2}S + R\sqrt{2\log(1/\delta) + d\log(1 + nL^2/(\lambda d))}\Big).∀n≥0,Rn​≤4ndlog(λ+nL2/d)​(λ1/2S+R2log(1/δ)+dlog(1+nL2/(λd))​).

Milestone: Theorem 1, the self-normalized bound

For any positive definite VVV, V‾t=V+∑s≤tXsXs⊤\overline V_t = V + \sum_{s\le t}X_sX_s^\topVt​=V+∑s≤t​Xs​Xs⊤​ and St=∑s≤tηsXsS_t = \sum_{s \le t}\eta_sX_sSt​=∑s≤t​ηs​Xs​: with probability at least 1−δ1-\delta1−δ, for all t≥0t \ge 0t≥0,

∥St∥V‾t−12≤2R2log⁡(det⁡(V‾t)1/2det⁡(V)−1/2/δ).\|S_t\|^2_{\overline V_t^{-1}} \le 2R^2\log\big(\det(\overline V_t)^{1/2}\det(V)^{-1/2}/\delta\big).∥St​∥Vt−1​2​≤2R2log(det(Vt​)1/2det(V)−1/2/δ).

Milestones: Theorem 2, the confidence ellipsoids

With probability at least 1−δ1 - \delta1−δ, θ∗∈Ct\theta_* \in C_tθ∗​∈Ct​ for all t≥0t \ge 0t≥0 (first claim). If ∥Xt∥2≤L\|X_t\|_2 \le L∥Xt​∥2​≤L, then with probability at least 1−δ1-\delta1−δ, for all ttt, ∥θ^t−θ∗∥V‾t≤Rdlog⁡((1+tL2/λ)/δ)+λ1/2S\|\widehat\theta_t - \theta_*\|_{\overline V_t} \le R\sqrt{d\log((1 + tL^2/\lambda)/\delta)} + \lambda^{1/2}S∥θt​−θ∗​∥Vt​​≤Rdlog((1+tL2/λ)/δ)​+λ1/2S (second claim, stated here for d≥2d \ge 2d≥2).

Significance

Theorem 3 bounds the regret of OFUL by O(dnlog⁡n)O(d\sqrt n\log n)O(dn​logn) with high probability, uniformly over the horizon, so it holds for an unknown horizon without restarting. The bound applies to arbitrary, even adversarially changing, decision sets. Theorem 1 is the ingredient that makes this possible: a deviation bound for a vector-valued martingale, normalized by its own random covariance, that holds for all times simultaneously and whose logarithmic term is a determinant rather than a union-bound count. The same inequality underlies regret analyses of generalized linear bandits, kernelized bandits, linear Markov decision processes and many confidence-sequence constructions.

All three results are proved in the paper's appendices (not included in the source file used here). None of them is formalized in the stated generality. Prove2Me holds the special cases V=λIV = \lambda IV=λI, R=1R = 1R=1, δ<1\delta < 1δ<1 of Theorems 1 and 2 (from the Bandit Algorithms textbook series), a pathwise LinUCB regret lemma that assumes the confidence event, and the elliptical potential lemma. A formal proof of Theorem 3 would be the first machine-checked high-probability regret bound for OFUL with the paper's confidence sets.

Difficulty

The actions are chosen adaptively, by an argmax over a data-dependent set, so the sequence XtX_tXt​ has no independence structure and the least-squares estimate is not a sum of independent terms. A fixed-design concentration bound followed by a union bound over time and over a covering of the sphere loses logarithmic factors and does not produce the determinant in the radius; that is the route of the earlier work that Theorem 1 improves. Theorem 1 must hold for all times at once for a quantity normalized by the random matrix V‾t\overline V_tVt​, which is itself built from the adaptively chosen actions; a bound for each fixed ttt does not give it.

Formalization scope

Vectors are Fin d → ℝ, matrices Matrix (Fin d) (Fin d) ℝ, and ∥x∥A\|x\|_A∥x∥A​ is Real.sqrt (x ⬝ᵥ A *ᵥ x). Rounds are indexed t+1t+1t+1 for t:Nt : ℕt:N, so sums over s≤ts \le ts≤t are sums over Finset.range t at index s + 1, and the time-0 objects are empty sums. The probability space is standard Borel, as Mathlib's conditional sub-Gaussianity (HasCondSubgaussianMGF, variance proxy R2R^2R2) requires; this is an added hypothesis. Every "with probability at least 1−δ1-\delta1−δ, for all ttt" is stated as an outer-measure bound ≤δ\le \delta≤δ on the failure event, with the time quantifier inside the event. det⁡(⋅)1/2\det(\cdot)^{1/2}det(⋅)1/2 is the real square root of the determinant; the matrices inverted are positive definite, so Lean's junk inverse never occurs.

OFUL is a predicate on the whole process: in every round the chosen pair maximizes ⟨x,θ⟩\langle x,\theta\rangle⟨x,θ⟩ over Dt×Ct−1D_t \times C_{t-1}Dt​×Ct−1​, with any tie-breaking. Runs exist whenever the decision sets are nonempty and compact. The measurability of the actions is assumed, as in Theorem 1. The optimal reward ⟨xt∗,θ∗⟩\langle x^*_t, \theta_*\rangle⟨xt∗​,θ∗​⟩ is the supremum over DtD_tDt​, finite because of the reward bound.

Two corrections to the printed Theorem 3 are made and disclosed. The printed nL/dnL/dnL/d is replaced by nL2/dnL^2/dnL2/d, which is what the determinant–trace bound det⁡V‾n≤(λ+nL2/d)d\det\overline V_n \le (\lambda + nL^2/d)^ddetVn​≤(λ+nL2/d)d gives; for L≤1L \le 1L≤1 the corrected bound implies the printed one. The hypothesis λ≥max⁡(1,L2)\lambda \ge \max(1, L^2)λ≥max(1,L2) is added: for λ<1\lambda < 1λ<1 the printed logarithm can be negative, and the printed bound would then assert Rn≤0R_n \le 0Rn​≤0. In the second claim of Theorem 2, d≥2d \ge 2d≥2 is added, because at d=1d = 1d=1 the claim does not follow from the first claim and the paper's proof is not available.

The goal is a probability bound over the noise, not the pathwise statement "if θ∗∈Ct−1\theta_* \in C_{t-1}θ∗​∈Ct−1​ for all ttt then Rn≤…R_n \le \dotsRn​≤…". The pathwise statement assumes the confidence event instead of proving it, and is already on the platform. The confidence sets inside the OFUL predicate use the same δ\deltaδ as the conclusion.

Needed infrastructure: maximal inequalities for nonnegative supermartingales, Gaussian integrals of quadratic forms on Rd\mathbb R^dRd, log-determinant bounds for sums of rank-one updates, and the determinant–trace inequality. The platform rows BanditAlgorithm.self_normalized_martingale_bound, BanditAlgorithm.least_squares_confidence_ellipsoid and BanditAlgorithm.elliptical_potential_lemma are referenced as tools. Proofs of the milestones, generalizations of the existing special cases to general VVV and RRR, and reusable determinant lemmas are all welcome.

Selected references

  • Y. Abbasi-Yadkori, D. Pál, Cs. Szepesvári, Improved Algorithms for Linear Stochastic Bandits, Advances in Neural Information Processing Systems 24 (NIPS), 2011. https://proceedings.neurips.cc/paper/2011
  • P. Auer, Using Confidence Bounds for Exploitation-Exploration Trade-offs, Journal of Machine Learning Research 3, 2002. https://www.jmlr.org/papers/v3/auer02a.html
  • V. Dani, T. P. Hayes, S. M. Kakade, Stochastic Linear Optimization under Bandit Feedback, COLT, 2008. http://colt2008.cs.helsinki.fi/papers/80-Dani.pdf
  • P. Rusmevichientong, J. N. Tsitsiklis, Linearly Parameterized Bandits, Mathematics of Operations Research 35(2), 2010. https://doi.org/10.1287/moor.1100.0446
  • T. Lattimore, Cs. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapters 19–20. https://doi.org/10.1017/9781108571401
12 thms6 active usersReviewed
🏆Completed
Algorithmic Game TheoryCombinatorics·Captain: mikedeng1

Cores of Convex Games: The Core of a Convex Game Is Its Unique von Neumann-Morgenstern Stable SetResearch Paper

Motivation

A cooperative game with transferable utility assigns to every coalition of players the total payoff the coalition can secure on its own. Two solution concepts for such games go back to the foundations of game theory: the core, the set of payoff divisions no coalition can improve upon, and the stable set (von Neumann–Morgenstern solution), a set of divisions that is internally consistent and externally absorbing under the relation of domination. For general games the two concepts behave badly: the core may be empty, stable sets may fail to exist (Lucas 1968), and when they exist there are usually many of them.

Lloyd Shapley's paper Cores of Convex Games (Int. J. Game Theory 1, 1971) isolates a class of games, the convex games (supermodular characteristic functions), on which all of this becomes well behaved. Convex games arise in cost allocation, in bankruptcy and airport problems, in scheduling and sequencing games, and in any setting with increasing returns to cooperation; the supermodular functions behind them are the same objects studied as polymatroid rank functions in combinatorial optimization (Edmonds 1970). For such games the paper shows that the core is nonempty, that its faces fit together in a rigid combinatorial pattern, that its vertices are exactly the marginal-contribution vectors, and that the core is the unique stable set.

Setting

Let N={1,…,n}N=\{1,\dots,n\}N={1,…,n} be a finite set of players. A game is a function vvv from subsets of NNN to the reals with v(∅)=0v(\emptyset)=0v(∅)=0. It is convex if

v(S)+v(T)≤v(S∪T)+v(S∩T)for all S,T⊆N.v(S)+v(T)\le v(S\cup T)+v(S\cap T)\qquad\text{for all } S,T\subseteq N.v(S)+v(T)≤v(S∪T)+v(S∩T)for all S,T⊆N.

A payoff vector is a∈RNa\in\mathbb R^Na∈RN, and a(S)=∑i∈Saia(S)=\sum_{i\in S}a_ia(S)=∑i∈S​ai​. It is feasible if a(N)≤v(N)a(N)\le v(N)a(N)≤v(N). The core CCC is the set of feasible aaa with a(S)≥v(S)a(S)\ge v(S)a(S)≥v(S) for every S⊆NS\subseteq NS⊆N; in particular a(N)=v(N)a(N)=v(N)a(N)=v(N) on CCC.

For a nonempty coalition SSS, the face CSC_SCS​ is the set of core points with a(S)=v(S)a(S)=v(S)a(S)=v(S); by convention C∅=CC_\emptyset=CC∅​=C, and CN=CC_N=CCN​=C. The family {CS}\{C_S\}{CS​} is the core configuration. It is complete if no CSC_SCS​ is empty, and regular if CN≠∅C_N\ne\emptysetCN​=∅ and

CS∩CT⊆CS∪T∩CS∩Tfor all S,T⊆N.C_S\cap C_T\subseteq C_{S\cup T}\cap C_{S\cap T}\qquad\text{for all } S,T\subseteq N.CS​∩CT​⊆CS∪T​∩CS∩T​for all S,T⊆N.

For an ordering ω\omegaω of the players, Sω,kS_{\omega,k}Sω,k​ is the set of the first kkk players, and the marginal vector aωa^\omegaaω pays each player iii its marginal contribution v(Sω,ω(i))−v(Sω,ω(i)−1)v(S_{\omega,\omega(i)})-v(S_{\omega,\omega(i)-1})v(Sω,ω(i)​)−v(Sω,ω(i)−1​).

A payoff vector bbb is dominated by aaa if some nonempty coalition SSS has a(S)≤v(S)a(S)\le v(S)a(S)≤v(S) and ai>bia_i>b_iai​>bi​ for all i∈Si\in Si∈S. A set VVV of feasible vectors is stable if every feasible vector is either a member of VVV or dominated by a member of VVV, but not both.

Formalization targets

Goal: Theorem 8

C is stable, and every stable set V equals C(v convex).C \text{ is stable, and every stable set } V \text{ equals } C \qquad (v \text{ convex}).C is stable, and every stable set V equals C(v convex).

The goal contains both halves of the page's statement: stability of the core, and uniqueness ("the unique von Neumann–Morgenstern solution").

Milestones, in the order the argument uses them

  • Lemma 1 (p. 18) and Lemma 2 (p. 19): for a regular configuration, a point on two nested faces CS∩CTC_S\cap C_TCS​∩CT​ with ∣T∖S∣≥2|T\setminus S|\ge2∣T∖S∣≥2 can be moved to a face CQC_QCQ​ of an intermediate coalition, and a point of CSC_SCS​ to CS∩CS∪{j}C_S\cap C_{S\cup\{j\}}CS​∩CS∪{j}​, keeping its coordinates on SSS.
  • Theorem 2 (p. 18): in a regular configuration CS1∩⋯∩CSm≠∅C_{S_1}\cap\cdots\cap C_{S_m}\ne\emptysetCS1​​∩⋯∩CSm​​=∅ for every strictly increasing chain S1⊂⋯⊂SmS_1\subset\cdots\subset S_mS1​⊂⋯⊂Sm​; in particular a regular configuration is complete.
  • Theorem 4 (p. 21): the core of a convex game is nonempty.
  • Theorem 5 (p. 22): a game is convex if and only if its core configuration is regular.
  • Two claims of §4.3 (p. 24): every stable set contains the core, and no stable set properly includes another.
  • The claim that opens the proof of Theorem 8 (p. 24): in a convex game every feasible vector outside the core is dominated by a core point.

The mission also states Theorem 3 (p. 19), the vertices of a regular core are exactly the marginal vectors aωa^\omegaaω, as a further item that is not on the path to the goal.

Significance

The result. Theorem 8 gives, for a natural and widely occurring class of games, a complete answer to the existence and uniqueness questions for von Neumann–Morgenstern solutions, which are open or negative in general. Theorems 3 and 5 describe the core of a convex game explicitly as the polytope spanned by the n!n!n! marginal vectors, the combinatorial description that underlies later work on the Shapley value, the Weber set, and the polymatroid greedy algorithm. Theorem 5 is the geometric characterization of supermodularity through the face structure of the core.

Formalizing it. All results in this mission are proved in the paper; none has a machine-checked proof on the platform. Theorem 4 is already stated on the platform (as part of a statement that also puts every marginal vector and the Shapley value in the core) and enters the mission as an existing item. The remaining work is a formal development of face configurations of the core, of stable sets and domination, and of the passage from supermodularity to the geometry of the core. The definitions of stable set and domination are general and reusable for any transferable-utility game.

Difficulty

The internal half of stability is immediate from the definitions: a core point cannot be dominated by any vector satisfying a coalition constraint a(S)≤v(S)a(S)\le v(S)a(S)≤v(S). Uniqueness also follows from two short observations. The substance is external stability: every feasible vector outside the core must be dominated by a core point, and the dominating vector has to be produced explicitly. The obvious attempt, raising the payoffs of one violated coalition and leaving the other coordinates of bbb unchanged, does not in general produce a core point, and nothing in the definition of the core alone controls how the core meets the hyperplane of a given coalition; that control is what the face theory of §3 is about. For non-convex games the external half genuinely fails, so no argument that ignores convexity can succeed.

Formalization scope

Players are Fin n (a relabelling of the paper's finite set NNN), a game is f : Finset (Fin n) → ℝ, payoff vectors are Fin n → ℝ, and a(S)a(S)a(S) is ∑ i ∈ S, a i. The existing platform definitions Supermodularity.Cooperative.IsConvexGame (v(∅)=0v(\emptyset)=0v(∅)=0 plus supermodularity on all subsets), Core, InitialCoalition and GreedyPayoff (the marginal vectors, orderings being permutations of Fin n) are reused; the reused Theorem 4 statement is Supermodularity.Cooperative.convex_game_core_and_shapley.

Conventions committed to:

  • Wherever the page says "a game", the hypothesis is exactly v(∅)=0v(\emptyset)=0v(∅)=0; convexity is IsConvexGame.
  • Faces satisfy C∅=CC_\emptyset=CC∅​=C literally: the tightness condition is imposed only for nonempty SSS.
  • Regularity includes CN≠∅C_N\ne\emptysetCN​=∅, as on the page.
  • Lemmas 1–2 and Theorems 2–3 assume a regular configuration, not convexity, as on the page.
  • S⊂⊂TS\subset\subset TS⊂⊂T is S⊊TS\subsetneq TS⊊T with ∣T∣−∣S∣≥2|T|-|S|\ge2∣T∣−∣S∣≥2; Lemma 1's two preassigned elements are distinct.
  • An increasing sequence of m≥1m\ge1m≥1 coalitions is a strictly monotone map from Fin (m + 1).
  • "Vertex" is Set.extremePoints ℝ.
  • Domination requires a nonempty coalition and strict coordinate inequalities; stable sets consist of feasible vectors and the "either … or …, but not both" condition ranges over feasible vectors, following the page rather than the classical imputation-based variant.

A formalization in which the dominating coalition may be empty, in which regularity omits CN≠∅C_N\ne\emptysetCN​=∅, or in which the goal asserts stability without uniqueness does not state the paper's theorem and is ruled out.

Welcome contributions: proofs of the milestones in any order, general lemmas about faces of polytopes cut out by set-function inequalities, and reusable API for domination and stable sets.

Selected references

  • L. S. Shapley, Cores of Convex Games, International Journal of Game Theory 1 (1971), 11–26. https://doi.org/10.1007/BF01753431
  • J. von Neumann and O. Morgenstern, Theory of Games and Economic Behavior, Princeton University Press, 1944.
  • J. Edmonds, Submodular functions, matroids, and certain polyhedra, in Combinatorial Structures and Their Applications, Gordon and Breach, 1970, 69–87. https://doi.org/10.1007/3-540-36478-1_2
  • W. F. Lucas, A game with no solution, Bulletin of the American Mathematical Society 74 (1968), 237–239. https://doi.org/10.1090/S0002-9904-1968-12039-2
  • D. M. Topkis, Supermodularity and Complementarity, Princeton University Press, 1998, §5.2.
20 thms6 active usersReviewed
🏆Completed
Convex OptimizationOptimization·Captain: Shuze Chen

Convex Optimization VI: Self-Concordance and the Barrier MethodTextbook

Why do interior-point methods solve convex programs in O(mlog⁡(1/ε))O(\sqrt{m}\log(1/\varepsilon))O(m​log(1/ε)) Newton steps? Nesterov and Nemirovskii's answer is self-concordance: a convex function whose third derivative is controlled by its second, ∣φ′′′(t)∣≤2 φ′′(t)3/2|\varphi'''(t)| \le 2\,\varphi''(t)^{3/2}∣φ′′′(t)∣≤2φ′′(t)3/2 along every line, admits a Newton analysis with absolute constants and no condition number — and the logarithmic barrier is self-concordant. This mission formalizes §9.6 and Chapter 11 of Boyd & Vandenberghe: the self-concordance calculus, the Newton-decrement analysis, the duality gap m/tm/tm/t along the central path, the per-centering work bound m(μ−1−log⁡μ)/γ+cm(\mu - 1 - \log\mu)/\gamma + cm(μ−1−logμ)/γ+c, and the crown result — with the aggressive schedule μ=1+1/m\mu = 1 + 1/\sqrt{m}μ=1+1/m​ the barrier method reaches duality gap ε\varepsilonε after

⌈m log⁡2(m/(t(0)ε))⌉\Bigl\lceil \sqrt{m}\,\log_2\bigl(m/(t^{(0)}\varepsilon)\bigr)\Bigr\rceil⌈m​log2​(m/(t(0)ε))⌉

centering steps, each of uniformly bounded Newton cost.

19 thms6 active users
🏆Completed
Bandit AlgorithmsMachine Learning·Captain: Shuze Chen

Bandit Algorithms XVI: Markov Decision Processes and UCRL2Textbook

The final step from bandits to reinforcement learning: actions now change the state of the world. Chapter 38 of Lattimore–Szepesvári studies online learning in an unknown Markov decision process with SSS states, AAA actions and rewards in [0,1][0,1][0,1]. The optimism principle of Mission II scales up: UCRL2 maintains confidence sets over transition kernels, solves an extended MDP by extended value iteration, and recomputes only when a state-action count doubles. The goal theorem: with probability 1−δ1-\delta1−δ, R^n<C D(M) SAnlog⁡(nSA/δ)\hat R_n < C\,D(M)\,S\sqrt{An\log(nSA/\delta)}R^n​<CD(M)SAnlog(nSA/δ)​, where D(M)D(M)D(M) is the diameter of the MDP — sublinear regret with no prior knowledge of the dynamics. The matching lower bound E[R^n]≥C′DSAn\mathbb{E}[\hat R_n] \ge C'\sqrt{DSAn}E[R^n​]≥C′DSAn​ brackets the true complexity of tabular reinforcement learning up to DS\sqrt{DS}DS​.

35 thms6 active users
🏆Completed
Bandit AlgorithmsMachine Learning·Captain: Shuze Chen

Bandit Algorithms VII: Lower Bounds for Finite-Armed BanditsTextbook

How well can any algorithm possibly do? Chapters 13–17 of Lattimore–Szepesvári answer with three matching impossibility results. The divergence decomposition identifies the information a policy collects: D(Pνπ,Pν′π)=∑iE[Ti(n)]D(Pi,Pi′)D(\mathbb{P}_{\nu\pi}, \mathbb{P}_{\nu'\pi}) = \sum_i \mathbb{E}[T_i(n)] D(P_i, P_i')D(Pνπ​,Pν′π​)=∑i​E[Ti​(n)]D(Pi​,Pi′​). Feeding it into the Bretagnolle–Huber inequality of Mission VI yields the goal theorem — the minimax lower bound Rn≥127(k−1)nR_n \ge \frac{1}{27}\sqrt{(k-1)n}Rn​≥271​(k−1)n​ over Gaussian bandits, showing MOSS (Mission III) is optimal up to a constant. The same machinery gives the instance-dependent bound of Lai–Robbins type: every consistent policy suffers lim inf⁡nRn/log⁡n≥∑i:Δi>0Δi/dinf⁡(Pi,μ∗,Mi)\liminf_n R_n/\log n \ge \sum_{i:\Delta_i>0} \Delta_i / d_{\inf}(P_i, \mu^*, \mathcal{M}_i)liminfn​Rn​/logn≥∑i:Δi​>0​Δi​/dinf​(Pi​,μ∗,Mi​), certifying the asymptotic optimality of the UCB of Mission III and KL-UCB of Mission IV, and a high-probability lower bound showing the Exp3-IX guarantees of Mission V cannot be improved.

13 thms6 active usersReviewed
🏆Completed
Discrete GeometryLinear OptimizationOptimization·Captain: mikedeng1

Selected Topics in Column Generation I: Discretization — Every Integer Point of a Rational Polyhedron Is a Generating Integer Point Plus an Integer Combination of Integer RaysResearch Paper

Motivation

Dantzig–Wolfe decomposition and column generation solve large integer programs by replacing a set of "easy" constraints with a description of its feasible points, and then pricing out the points one at a time. For linear programs this rests on the Minkowski–Weyl representation: every point of a polyhedron is a convex combination of its extreme points plus a nonnegative combination of its extreme rays. For integer programs that representation is not enough. Imposing integrality on the convex multipliers of the extreme points of conv(X)\mathrm{conv}(X)conv(X) does not give back the integer program, because an optimal integer point may lie in the interior of conv(X)\mathrm{conv}(X)conv(X).

Lübbecke and Desrosiers, in their survey Selected Topics in Column Generation (Operations Research 53(6), 2005), present discretization (Johnson 1989, Vanderbeck 2000) as the true integer analogue of the decomposition principle. Its basis is their Theorem 1: the integer points of a rational polyhedron are generated by finitely many integer points and finitely many integer rays with integer multipliers. The paper states this result and refers its proof to Nemhauser and Wolsey, Integer and Combinatorial Optimization (1988). It underlies the integer master problem (25) of branch-and-price.

Setting

Let DDD be an m×nm \times nm×n matrix and d\mathbf dd an mmm-vector with rational entries. The polyhedron is

P={x∈Rn∣Dx⩾d, x⩾0},P = \{\mathbf x \in \mathbb R^n \mid D\mathbf x \geqslant \mathbf d,\ \mathbf x \geqslant \mathbf 0\},P={x∈Rn∣Dx⩾d, x⩾0},

and its set of integer points is X=P∩ZnX = P \cap \mathbb Z^nX=P∩Zn, the points of PPP whose coordinates are all integers. Because P⊆R+nP \subseteq \mathbb R^n_+P⊆R+n​, X=P∩Z+nX = P \cap \mathbb Z^n_+X=P∩Z+n​.

The recession cone of PPP is {r∈Rn∣Dr⩾0, r⩾0}\{\mathbf r \in \mathbb R^n \mid D\mathbf r \geqslant \mathbf 0,\ \mathbf r \geqslant \mathbf 0\}{r∈Rn∣Dr⩾0, r⩾0}. An integer ray of PPP is a nonzero vector of Zn\mathbb Z^nZn in this cone. Extreme rays are not required.

In Lean these are polyhedronP D d, integerPoints D d, recessionConeP D and IsIntegerRay D w in the namespace Lubbecke2005.Discretization, with integer vectors cast to real vectors by castVec.

Formalization targets

Goal: Theorem 1 (pp. 1011–1012)

If P≠∅P \neq \emptysetP=∅, there exist a finite set of integer points {pq}q∈Q⊆X\{\mathbf p_q\}_{q \in Q} \subseteq X{pq​}q∈Q​⊆X and a finite set of integer rays {pr}r∈R\{\mathbf p_r\}_{r \in R}{pr​}r∈R​ of PPP such that

X={x∈R+n ∣ x=∑q∈Qpqλq+∑r∈Rprλr, ∑q∈Qλq=1, λ∈Z+∣Q∣+∣R∣}.(24)X = \Bigl\{\mathbf x \in \mathbb R^n_+ \ \Big|\ \mathbf x = \sum_{q \in Q} \mathbf p_q \lambda_q + \sum_{r \in R} \mathbf p_r \lambda_r,\ \sum_{q \in Q} \lambda_q = 1,\ \boldsymbol\lambda \in \mathbb Z_+^{|Q|+|R|}\Bigr\}. \qquad (24)X={x∈R+n​ ​ x=q∈Q∑​pq​λq​+r∈R∑​pr​λr​, q∈Q∑​λq​=1, λ∈Z+∣Q∣+∣R∣​}.(24)

Since the multipliers are nonnegative integers summing to one over QQQ, (24) says that XXX is the union, over q∈Qq \in Qq∈Q, of the translates pq+Z+{pr}r∈R\mathbf p_q + \mathbb Z_+\{\mathbf p_r\}_{r\in R}pq​+Z+​{pr​}r∈R​ of the monoid generated by the rays. No bound on ∣Q∣|Q|∣Q∣ or ∣R∣|R|∣R∣ is part of the goal.

Milestone: Remark in §3.3 (p. 1012)

If X⊆[0,1]nX \subseteq [0,1]^nX⊆[0,1]n, every point of XXX is a vertex of conv(X)\mathrm{conv}(X)conv(X). In this case convexification and discretization coincide.

Significance

The result. Theorem 1 converts an integer program min⁡{c(x)∣Ax⩾b, x∈X}\min\{c(\mathbf x) \mid A\mathbf x \geqslant \mathbf b,\ \mathbf x \in X\}min{c(x)∣Ax⩾b, x∈X} into the integer master program (25) over the multipliers λ\boldsymbol\lambdaλ, with one column per generating point and per generating ray. When XXX is bounded the rays disappear, exactly one λq\lambda_qλq​ equals one, and (25) is a linear integer program even for a nonlinear cost ccc. The representation is what makes branching on master variables, and the passage between compact and extensive formulations, well defined in branch-and-price.

Formalizing it. The result is classical (Nemhauser–Wolsey 1988, going back to Giles and Pulleyblank and to Meyer's theorem that the integer hull of a rational polyhedron is a polyhedron). On Prove2Me, the real representation (8) is formalized as LinearOptimization.polyhedron_resolution (Bertsimas–Tsitsiklis Thm 4.15) and the integer hull theorem as LinearOptimization.integer_hull_is_polyhedron (Thm 11.3); both are included as reference items. The convexification counterpart of §3.2, that the Lagrangian dual equals the LP over conv(X)\mathrm{conv}(X)conv(X), is LinearOptimization.lagrangean_dual_eq_lp_over_hull. No machine-checked statement of the integer representation (24), with integer multipliers and integer rays, was found on the platform. The mission produces that statement and, once solved, its proof.

Difficulty

The obvious attempt applies the real representation (8) and rounds. It fails twice. First, the extreme points of PPP need not be integral, and an integer point written as a real combination of vertices and rays has no reason to have integer multipliers. Second, the extreme rays of PPP generate the recession cone over R+\mathbb R_+R+​, but the integer points of that cone are not in general nonnegative integer combinations of the (scaled) extreme rays; a generating set of the lattice points of a cone must usually contain non-extreme vectors. The finiteness of QQQ is also not automatic: XXX itself is typically infinite, and taking Q=XQ = XQ=X trivializes the statement.

Rationality of the data is essential. For P={x∈R+2∣2 x1−x2⩾0}P = \{\mathbf x \in \mathbb R^2_+ \mid \sqrt2\,x_1 - x_2 \geqslant 0\}P={x∈R+2​∣2​x1​−x2​⩾0}, every integer ray has slope below 2\sqrt 22​, so finitely many base points and rays generate only points with x2⩽ρx1+Cx_2 \leqslant \rho x_1 + Cx2​⩽ρx1​+C for some ρ<2\rho < \sqrt 2ρ<2​, while XXX contains (k,⌊2k⌋)(k, \lfloor\sqrt2 k\rfloor)(k,⌊2​k⌋) for every kkk.

Formalization scope

  • Vectors are Fin n → ℝ; integer vectors are Fin n → ℤ cast coordinatewise. Both sides of (24) are sets of real vectors.
  • DDD and d\mathbf dd are ℚ-valued and cast to ℝ. This is an addition: the paper names no field, and the theorem is false for irrational data (see Difficulty). The cited source, Nemhauser–Wolsey, works with rational data.
  • The hypothesis P≠∅P \neq \emptysetP=∅ is kept as on the page. XXX may still be empty (e.g. P={1/2}P = \{1/2\}P={1/2}); then Q=∅Q = \emptysetQ=∅ and both sides of (24) are empty. The statement allows this.
  • QQQ and RRR are Fin k and Fin l for existentially chosen k,l∈Nk, l \in \mathbb Nk,l∈N; the finiteness is the content of the theorem. The multiplier vector λ∈Z+∣Q∣+∣R∣\boldsymbol\lambda \in \mathbb Z_+^{|Q|+|R|}λ∈Z+∣Q∣+∣R∣​ is written as a pair of ℕ-valued vectors.
  • "Integer rays of PPP" is read as nonzero integer vectors in the recession cone {Dr⩾0,r⩾0}\{D\mathbf r \geqslant \mathbf 0, \mathbf r \geqslant \mathbf 0\}{Dr⩾0,r⩾0}; extremality is not required, as the page does not require it (contrast (8), which says "extreme rays").
  • The constraint x∈R+n\mathbf x \in \mathbb R^n_+x∈R+n​ on the right side of (24) is kept although it is implied.
  • In the Remark, "vertices of conv(X)\mathrm{conv}(X)conv(X)" is read as extreme points of the convex hull; XXX is finite there, so the two notions agree.

A formalization with real multipliers would be the resolution theorem (8), already on the platform, and one with QQQ or RRR infinite would be trivial; both are excluded by the statement.

Useful infrastructure: lattice points of rational polyhedral cones (Hilbert bases, Gordan's lemma), the integer hull theorem, and the real resolution theorem. A proof of Gordan's lemma for rational cones in this vocabulary would be reusable well beyond this mission. Contributions toward any of these are welcome.

Selected references

  • M. E. Lübbecke and J. Desrosiers, Selected Topics in Column Generation, Operations Research 53(6):1007–1023, 2005. https://doi.org/10.1287/opre.1050.0234
  • G. L. Nemhauser and L. A. Wolsey, Integer and Combinatorial Optimization, Wiley, 1988. https://doi.org/10.1002/9781118627372
  • R. R. Meyer, On the existence of optimal solutions to integer and mixed-integer programming problems, Mathematical Programming 7:223–235, 1974. https://doi.org/10.1007/BF01585518
  • F. Vanderbeck, On Dantzig–Wolfe decomposition in integer programming and ways to perform branching in a branch-and-price algorithm, Operations Research 48(1):111–128, 2000. https://doi.org/10.1287/opre.48.1.111.12453
  • A. Schrijver, Theory of Linear and Integer Programming, Wiley, 1986.
5 thms5 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine LearningProbability+1·Captain: mikedeng1

Optimal Best Arm Identification with Fixed Confidence IV: Asymptotic Optimality of the Track-and-Stop StrategyResearch Paper

Motivation

In best arm identification with fixed confidence, a learner samples KKK unknown distributions (arms) sequentially and must, as early as possible, name the arm with the largest mean, while being wrong with probability at most a prescribed risk δ\deltaδ. The problem models adaptive A/B/n testing, clinical and simulation-based selection among alternatives, and the "ranking and selection" problem of operations research and simulation optimization. The quantity of interest is the sample complexity Eμ[τδ]\mathbb E_{\boldsymbol\mu}[\tau_\delta]Eμ​[τδ​], the expected number of samples a strategy takes before stopping.

Timeline of the question this mission formalizes:

  • Chernoff (1959) introduced sequential tests based on generalized likelihood ratios for adaptive design of experiments, with a finite set of hypotheses (doi:10.1214/aoms/1177706205).
  • Kaufmann, Cappé and Garivier (2016, JMLR) proved a change-of-measure lower bound on the sample complexity of every δ\deltaδ-PAC strategy (arXiv:1407.4443).
  • Garivier and Kaufmann (COLT 2016) identified the exact constant T∗(μ)T^*(\boldsymbol\mu)T∗(μ) in that lower bound and gave the first strategy, Track-and-Stop, whose sample complexity matches it asymptotically as δ→0\delta\to0δ→0 (arXiv:1602.04589). This mission covers the upper-bound half of that paper.

Setting

A canonical one-parameter exponential family is a family of laws νθ\nu_\thetaνθ​, θ∈Θ\theta\in\Thetaθ∈Θ, on R\mathbb RR with density exp⁡(θx−b(θ))\exp(\theta x-b(\theta))exp(θx−b(θ)) with respect to a reference measure ξ\xiξ; bbb is twice differentiable and strictly convex, and νθ\nu_\thetaνθ​ has mean b˙(θ)\dot b(\theta)b˙(θ). Bernoulli, Poisson and Gaussian laws with known variance are examples. The divergence d(μ,μ′)d(\mu,\mu')d(μ,μ′) is the Kullback–Leibler divergence between the members with means μ\muμ and μ′\mu'μ′.

A bandit model μ=(μ1,…,μK)\boldsymbol\mu=(\mu_1,\dots,\mu_K)μ=(μ1​,…,μK​) assigns a member of the family to each arm. The class S\mathcal SS consists of models with a unique optimal arm a∗(μ)a^*(\boldsymbol\mu)a∗(μ). At each round t=1,2,…t=1,2,\dotst=1,2,… the learner picks an arm AtA_tAt​ as a function of past observations, observes a reward drawn from that arm's law, and at a stopping time τδ\tau_\deltaτδ​ recommends an arm. Na(t)N_a(t)Na​(t) is the number of draws of arm aaa in the first ttt rounds and μ^a(t)\hat\mu_a(t)μ^​a​(t) its empirical mean.

With Alt(μ)={λ∈S:a∗(λ)≠a∗(μ)}\mathrm{Alt}(\boldsymbol\mu)=\{\boldsymbol\lambda\in\mathcal S: a^*(\boldsymbol\lambda)\ne a^*(\boldsymbol\mu)\}Alt(μ)={λ∈S:a∗(λ)=a∗(μ)} and ΣK\Sigma_KΣK​ the probability simplex, the characteristic time is

T∗(μ)−1=sup⁡w∈ΣK inf⁡λ∈Alt(μ) ∑a=1Kwa d(μa,λa),T^*(\boldsymbol\mu)^{-1}=\sup_{w\in\Sigma_K}\ \inf_{\boldsymbol\lambda\in\mathrm{Alt}(\boldsymbol\mu)}\ \sum_{a=1}^K w_a\,d(\mu_a,\lambda_a),T∗(μ)−1=w∈ΣK​sup​ λ∈Alt(μ)inf​ a=1∑K​wa​d(μa​,λa​),

and the maximizer w∗(μ)w^*(\boldsymbol\mu)w∗(μ) are the optimal proportions of arm draws.

Track-and-Stop combines two ingredients:

  • a sampling rule that tracks the plug-in proportions w∗(μ^(t))w^*(\hat{\boldsymbol\mu}(t))w∗(μ^​(t)) while forcing each arm to be drawn about t\sqrt tt​ times: C-Tracking tracks the cumulated sum of projections of w∗(μ^(s))w^*(\hat{\boldsymbol\mu}(s))w∗(μ^​(s)) onto ΣKϵs={w∈ΣK:wa≥ϵs}\Sigma^{\epsilon_s}_K=\{w\in\Sigma_K: w_a\ge\epsilon_s\}ΣKϵs​​={w∈ΣK​:wa​≥ϵs​}, ϵs=(K2+s)−1/2/2\epsilon_s=(K^2+s)^{-1/2}/2ϵs​=(K2+s)−1/2/2; D-Tracking draws an under-sampled arm when some Na(t)<t−K/2N_a(t)<\sqrt t-K/2Na​(t)<t​−K/2, and otherwise the arm maximizing t wa∗(μ^(t))−Na(t)t\,w^*_a(\hat{\boldsymbol\mu}(t))-N_a(t)twa∗​(μ^​(t))−Na​(t);
  • Chernoff's stopping rule, which stops at the first ttt at which some arm aaa beats every other arm bbb in a generalized likelihood ratio test, Za,b(t)>β(t,δ)Z_{a,b}(t)>\beta(t,\delta)Za,b​(t)>β(t,δ), here with β(t,δ)=log⁡(r(t)/δ)\beta(t,\delta)=\log(r(t)/\delta)β(t,δ)=log(r(t)/δ).

Formalization targets

Goal: Theorem 14 (p. 13)

For α∈[1,e/2]\alpha\in[1,e/2]α∈[1,e/2] and r(t)=O(tα)r(t)=O(t^\alpha)r(t)=O(tα), Chernoff's stopping rule with β(t,δ)=log⁡(r(t)/δ)\beta(t,\delta)=\log(r(t)/\delta)β(t,δ)=log(r(t)/δ) combined with C-Tracking or D-Tracking satisfies

lim sup⁡δ→0Eμ[τδ]log⁡(1/δ)≤α T∗(μ)\limsup_{\delta\to0}\frac{\mathbb E_{\boldsymbol\mu}[\tau_\delta]}{\log(1/\delta)}\le\alpha\,T^*(\boldsymbol\mu)δ→0limsup​log(1/δ)Eμ​[τδ​]​≤αT∗(μ)

for every μ∈S\boldsymbol\mu\in\mathcal Sμ∈S.

Milestones

  • Lemma 15 (p. 20): greedy tracking of cumulated proportions P(k)P(k)P(k) keeps max⁡i∣Ni(n)−Pi(n)∣≤K−1\max_i|N_i(n)-P_i(n)|\le K-1maxi​∣Ni​(n)−Pi​(n)∣≤K−1.
  • Lemma 7 (p. 7): C-Tracking ensures Na(t)≥t+K2−2KN_a(t)\ge\sqrt{t+K^2}-2KNa​(t)≥t+K2​−2K and max⁡a∣Na(t)−∑s<twa∗(μ^(s))∣≤K(1+t)\max_a|N_a(t)-\sum_{s<t}w^*_a(\hat{\boldsymbol\mu}(s))|\le K(1+\sqrt t)maxa​∣Na​(t)−∑s<t​wa∗​(μ^​(s))∣≤K(1+t​).
  • Lemma 8 (p. 7): D-Tracking ensures Na(t)≥(t−K/2)+−1N_a(t)\ge(\sqrt t-K/2)_+-1Na​(t)≥(t​−K/2)+​−1, and proportions within 3(K−1)ϵ3(K-1)\epsilon3(K−1)ϵ of w∗(μ)w^*(\boldsymbol\mu)w∗(μ) after a time tϵt_\epsilontϵ​ that does not depend on the trajectory, once the plug-in targets are within ϵ\epsilonϵ.
  • Proposition 9 (p. 8): under either rule, Na(t)/t→wa∗(μ)N_a(t)/t\to w^*_a(\boldsymbol\mu)Na​(t)/t→wa∗​(μ) almost surely.
  • Lemma 18 (p. 27): an explicit xxx with c1x≥log⁡(c2xα)c_1x\ge\log(c_2x^\alpha)c1​x≥log(c2​xα) for α∈[1,e/2]\alpha\in[1,e/2]α∈[1,e/2].
  • Proposition 13 (p. 11): with any sampling rule whose proportions converge almost surely to w∗w^*w∗, τδ<∞\tau_\delta<\inftyτδ​<∞ almost surely and lim sup⁡δ→0τδ/log⁡(1/δ)≤αT∗(μ)\limsup_{\delta\to0}\tau_\delta/\log(1/\delta)\le\alpha T^*(\boldsymbol\mu)limsupδ→0​τδ​/log(1/δ)≤αT∗(μ) almost surely.

Significance

Theorem 1 of the same paper shows Eμ[τδ]≥T∗(μ) kl(δ,1−δ)\mathbb E_{\boldsymbol\mu}[\tau_\delta]\ge T^*(\boldsymbol\mu)\,\mathrm{kl}(\delta,1-\delta)Eμ​[τδ​]≥T∗(μ)kl(δ,1−δ) for every δ\deltaδ-PAC strategy, and kl(δ,1−δ)∼log⁡(1/δ)\mathrm{kl}(\delta,1-\delta)\sim\log(1/\delta)kl(δ,1−δ)∼log(1/δ). Theorem 14 with α=1\alpha=1α=1 therefore shows that the lower bound is attained: T∗(μ)T^*(\boldsymbol\mu)T∗(μ) is the exact asymptotic sample complexity of best arm identification in exponential family models, and Track-and-Stop is asymptotically optimal.

The result is proved in the paper. What is not available is a machine-checked proof for exponential families. The platform already holds a Lean development of the Gaussian case following Lattimore and Szepesvári, Bandit Algorithms, Ch. 33, stated for one existentially chosen policy with a different threshold. This mission asks for the universal statement: every run of either tracking rule, for every exponential family, with the paper's thresholds. The tracking lemmas (Lemmas 15, 7, 8) are deterministic combinatorics and reusable by any tracking-based algorithm.

Difficulty

The obvious argument plugs the almost-sure behaviour of Proposition 13 into an expectation. That step fails: almost-sure convergence of τδ/log⁡(1/δ)\tau_\delta/\log(1/\delta)τδ​/log(1/δ) does not control E[τδ]\mathbb E[\tau_\delta]E[τδ​], because on the rare events where the empirical means are far from μ\boldsymbol\muμ the stopping time may be very large. Theorem 14 needs a quantitative concentration of μ^(t)\hat{\boldsymbol\mu}(t)μ^​(t) on events whose complements have summable probability, which in turn relies on the forced exploration guaranteed by the t\sqrt tt​ lower bounds on Na(t)N_a(t)Na​(t) (the concentration step of App. D, Lemmas 19–20).

A second obstacle is the regularity of w∗w^*w∗: the tracking lemmas only transfer convergence of μ^(t)\hat{\boldsymbol\mu}(t)μ^​(t) to convergence of Na(t)/tN_a(t)/tNa​(t)/t through the continuity of μ↦w∗(μ)\boldsymbol\mu\mapsto w^*(\boldsymbol\mu)μ↦w∗(μ) on S\mathcal SS, proved from the characterization of w∗w^*w∗ in §2.2 (Proposition 6). The GLR statistic also needs its closed form (7) near μ\boldsymbol\muμ, which requires the empirical means to lie in the interior of the mean space.

Formalization scope

  • Model. The exponential family is a structure (ξ,Θ,b)(\xi,\Theta,b)(ξ,Θ,b) with Θ\ThetaΘ a nonempty open interval, each νθ\nu_\thetaνθ​ normalized, bbb twice continuously differentiable and b¨>0\ddot b>0b¨>0 on Θ\ThetaΘ. Openness and b¨>0\ddot b>0b¨>0 are added to the paper's "convex, twice differentiable"; strict convexity is what makes νμ\nu^\muνμ unique. Bandit models are parameter vectors θ∈ΘK\theta\in\Theta^Kθ∈ΘK with K≥2K\ge2K≥2; arms are indexed 0,…,K−10,\dots,K-10,…,K−1. S\mathcal SS is the set of parameter vectors with a unique arm of largest mean b˙(θa)\dot b(\theta_a)b˙(θa​).
  • Protocol. Policies, the trajectory law Pμ\mathbb P_{\boldsymbol\mu}Pμ​, pull counts, empirical means and T∗(μ)T^*(\boldsymbol\mu)T∗(μ) are the platform's published definitions (BanditPolicy, BanditTrajectory, TrackAndStop). T∗T^*T∗ uses Kullback–Leibler divergences of the arm laws over the class S\mathcal SS and takes values in [0,∞][0,\infty][0,∞]. Trajectory coordinate ttt is round t+1t+1t+1. An arm never drawn has empirical mean 000.
  • Target map. w∗(μ^(t))w^*(\hat{\boldsymbol\mu}(t))w∗(μ^​(t)) is undefined in the paper when μ^(t)∉S\hat{\boldsymbol\mu}(t)\notin\mathcal Sμ^​(t)∈/S (an unsampled arm, ties, a mean outside b˙(Θ)\dot b(\Theta)b˙(Θ)). Every tracking statement quantifies over every target map with values in ΣK\Sigma_KΣK​ that returns optimal proportions on S\mathcal SS, over every choice of L∞L^\inftyL∞ projections, and over every tie-breaking, including randomized ones.
  • Stopping rule. The two maxima in Za,b(t)Z_{a,b}(t)Za,b​(t) are suprema over Θ\ThetaΘ in the extended reals. Za,b(t)>βZ_{a,b}(t)>\betaZa,b​(t)>β is written without subtracting infinities. The stopping time is the first t≥1t\ge1t≥1 at which the test succeeds, +∞+\infty+∞ if none. "r(t)=O(tα)r(t)=O(t^\alpha)r(t)=O(tα)" is r(t)≤Dtαr(t)\le Dt^\alphar(t)≤Dtα for t≥1t\ge1t≥1; r>0r>0r>0 is added so that log⁡(r(t)/δ)\log(r(t)/\delta)log(r(t)/δ) is defined.
  • Values in [0,∞][0,\infty][0,∞]. Expectations of τδ\tau_\deltaτδ​, the ratios and T∗T^*T∗ live in [0,∞][0,\infty][0,∞]. No statement converts them to reals, so an infinite expected stopping time is never read as 000.
  • Corrections, disclosed. Proposition 9's printed Pw\mathbb P_wPw​ is Pμ\mathbb P_{\boldsymbol\mu}Pμ​. Lemma 18 adds c2/c1α>1c_2/c_1^\alpha>1c2​/c1α​>1 and x>0x>0x>0, without which its expressions are undefined.
  • Ruled out. Specializing to Gaussian arms, or asserting that some sampling policy achieves the bound, would restate existing platform results and is not this theorem: the goal is about every C-Tracking or D-Tracking run in every exponential family.
  • Welcome contributions. Exponential-family facts (b˙\dot bb˙ is the mean, the KL formula, concentration of empirical means); the continuity of w∗w^*w∗ (Proposition 6, App. A.3); Lemma 17 (App. B.2), from which Lemma 8 follows; the closed form (7) of the GLR statistic.

Selected references

  • A. Garivier, E. Kaufmann, Optimal Best Arm Identification with Fixed Confidence, COLT 2016, JMLR W&CP 49. arXiv:1602.04589v2
  • E. Kaufmann, O. Cappé, A. Garivier, On the Complexity of Best-Arm Identification in Multi-Armed Bandit Models, JMLR 17, 2016. arXiv:1407.4443
  • H. Chernoff, Sequential Design of Experiments, Ann. Math. Statist. 30(3), 1959. doi:10.1214/aoms/1177706205
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Ch. 33. doi:10.1017/9781108571401
15 thms5 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine LearningProbability+1·Captain: mikedeng1

Optimal Best Arm Identification with Fixed Confidence I: Non-Asymptotic Lower Bound on the Sample ComplexityResearch Paper

Motivation

Best arm identification with fixed confidence is the pure-exploration counterpart of the multi-armed bandit problem. A learner faces KKK unknown reward distributions ("arms"), samples them sequentially, and must stop and name the arm with the largest mean, being wrong with probability at most a prescribed δ\deltaδ. The question is how many samples this requires. It arises in adaptive A/B testing, in the selection of the best of several simulated systems (ranking and selection in simulation optimization), and in clinical trials that must declare the best treatment with a guaranteed error rate.

Lower bounds for this problem were first stated in terms of the gaps between means (Mannor and Tsitsiklis, 2004). Kaufmann, Cappé and Garivier (2016) replaced ad hoc changes of measure by a single "transportation" lemma relating expected sample counts, Kullback–Leibler divergences and the error probability. Garivier and Kaufmann (COLT 2016, arXiv:1602.04589v2) combine this lemma over all alternative models at once, in the spirit of Graves and Lai (1997), and obtain a lower bound whose constant T∗(μ)T^*(\boldsymbol\mu)T∗(μ) is exactly matched, as δ→0\delta \to 0δ→0, by their Track-and-Stop strategy. This mission formalizes that lower bound (Theorem 1 of the paper, p. 3).

Setting

A canonical one-parameter exponential family is given by a reference measure ξ\xiξ on R\mathbb RR, an open interval Θ⊂R\Theta \subset \mathbb RΘ⊂R and a function bbb, twice continuously differentiable on Θ\ThetaΘ with b¨>0\ddot b > 0b¨>0, such that the laws νθ\nu_\thetaνθ​ with density exp⁡(θx−b(θ))\exp(\theta x - b(\theta))exp(θx−b(θ)) with respect to ξ\xiξ are probability measures for θ∈Θ\theta \in \Thetaθ∈Θ. The mean of νθ\nu_\thetaνθ​ is b˙(θ)\dot b(\theta)b˙(θ). Bernoulli laws and Gaussian laws of known variance are examples.

A bandit model is a vector θ=(θ1,…,θK)∈ΘK\theta = (\theta_1, \dots, \theta_K) \in \Theta^Kθ=(θ1​,…,θK​)∈ΘK; arm aaa returns i.i.d. rewards with law νθa\nu_{\theta_a}νθa​​ and mean μa=b˙(θa)\mu_a = \dot b(\theta_a)μa​=b˙(θa​). Arm a∗(μ)a^*(\boldsymbol\mu)a∗(μ) is the unique optimal arm if μa∗>μa\mu_{a^*} > \mu_aμa∗​>μa​ for every a≠a∗a \ne a^*a=a∗. Let S\mathcal SS be any set of bandit models of the family each having a unique optimal arm, and put Alt(μ)={λ∈S:a∗(λ)≠a∗(μ)}\mathrm{Alt}(\boldsymbol\mu) = \{\boldsymbol\lambda \in \mathcal S : a^*(\boldsymbol\lambda) \ne a^*(\boldsymbol\mu)\}Alt(μ)={λ∈S:a∗(λ)=a∗(μ)}.

A strategy consists of a sampling rule π\piπ (the arm AtA_tAt​ drawn at round ttt depends, possibly with extra randomization, on the first t−1t - 1t−1 observations), a stopping time τ\tauτ of the natural filtration Ft=σ(A1,X1,…,At,Xt)\mathcal F_t = \sigma(A_1, X_1, \dots, A_t, X_t)Ft​=σ(A1​,X1​,…,At​,Xt​), and an Fτ\mathcal F_\tauFτ​-measurable decision a^τ\hat a_\taua^τ​. It is δ\deltaδ-PAC on S\mathcal SS if for every μ∈S\boldsymbol\mu \in \mathcal Sμ∈S, Pμ(τ<∞)=1\mathbb P_{\boldsymbol\mu}(\tau < \infty) = 1Pμ​(τ<∞)=1 and Pμ(a^τ≠a∗(μ))≤δ\mathbb P_{\boldsymbol\mu}(\hat a_\tau \ne a^*(\boldsymbol\mu)) \le \deltaPμ​(a^τ​=a∗(μ))≤δ. Na(t)N_a(t)Na​(t) is the number of draws of arm aaa among the first ttt rounds.

Write d(μa,λa)=KL(νθa,νλa)d(\mu_a, \lambda_a) = \mathrm{KL}(\nu_{\theta_a}, \nu_{\lambda_a})d(μa​,λa​)=KL(νθa​​,νλa​​) for the divergence between two arm laws, kl(x,y)=xlog⁡xy+(1−x)log⁡1−x1−y\mathrm{kl}(x, y) = x\log\frac{x}{y} + (1 - x)\log\frac{1 - x}{1 - y}kl(x,y)=xlogyx​+(1−x)log1−y1−x​, and ΣK\Sigma_KΣK​ for the probability simplex on the KKK arms. The characteristic time is defined by eq. (1):

T∗(μ)−1=sup⁡w∈ΣK inf⁡λ∈Alt(μ)∑a=1Kwa d(μa,λa).T^*(\boldsymbol\mu)^{-1} = \sup_{w \in \Sigma_K}\ \inf_{\boldsymbol\lambda \in \mathrm{Alt}(\boldsymbol\mu)} \sum_{a=1}^K w_a\, d(\mu_a, \lambda_a).T∗(μ)−1=w∈ΣK​sup​ λ∈Alt(μ)inf​a=1∑K​wa​d(μa​,λa​).

Formalization targets

Goal: Theorem 1 (p. 3)

For δ∈(0,1/2]\delta \in (0, 1/2]δ∈(0,1/2], every δ\deltaδ-PAC strategy on S\mathcal SS and every μ∈S\boldsymbol\mu \in \mathcal Sμ∈S,

Eμ[τ] ≥ T∗(μ) kl(δ,1−δ).\mathbb E_{\boldsymbol\mu}[\tau] \ \ge\ T^*(\boldsymbol\mu)\,\mathrm{kl}(\delta, 1 - \delta).Eμ​[τ] ≥ T∗(μ)kl(δ,1−δ).

The statement fixes no constant beyond those of the paper, and it holds for every δ\deltaδ, not only in the limit.

Milestone: eq. (2) (p. 4)

For every λ∈S\boldsymbol\lambda \in \mathcal Sλ∈S with a∗(λ)≠a∗(μ)a^*(\boldsymbol\lambda) \ne a^*(\boldsymbol\mu)a∗(λ)=a∗(μ),

∑a=1Kd(μa,λa) Eμ[Na(τ)] ≥ kl(δ,1−δ).\sum_{a=1}^K d(\mu_a, \lambda_a)\, \mathbb E_{\boldsymbol\mu}[N_a(\tau)] \ \ge\ \mathrm{kl}(\delta, 1 - \delta).a=1∑K​d(μa​,λa​)Eμ​[Na​(τ)] ≥ kl(δ,1−δ).

This is Lemma 1 of Kaufmann et al. (2016), which the paper quotes without proof; Theorem 1 follows from it for every alternative simultaneously.

Significance

Theorem 1 identifies T∗(μ)T^*(\boldsymbol\mu)T∗(μ) as the exact problem-dependent complexity of fixed-confidence best arm identification: since kl(δ,1−δ)∼log⁡(1/δ)\mathrm{kl}(\delta, 1 - \delta) \sim \log(1/\delta)kl(δ,1−δ)∼log(1/δ), it gives lim inf⁡δ→0Eμ[τδ]/log⁡(1/δ)≥T∗(μ)\liminf_{\delta \to 0} \mathbb E_{\boldsymbol\mu}[\tau_\delta]/\log(1/\delta) \ge T^*(\boldsymbol\mu)liminfδ→0​Eμ​[τδ​]/log(1/δ)≥T∗(μ), and the paper's Track-and-Stop strategy attains this rate (the subject of mission IV of this series). The bound also explains which proportions of draws an optimal strategy must use: the maximizer w∗(μ)w^*(\boldsymbol\mu)w∗(μ) of eq. (1) (mission II).

Both results are proved in the literature. Neither is formalized in the paper's generality. The platform holds the textbook form of Lattimore and Szepesvári (Theorem 33.5), which is stated for an arbitrary class with the weaker constant log⁡(1/(4δ))\log(1/(4\delta))log(1/(4δ)); for δ≤1/2\delta \le 1/2δ≤1/2, kl(δ,1−δ)≥log⁡(1/(2.4δ))>log⁡(1/(4δ))\mathrm{kl}(\delta, 1 - \delta) \ge \log(1/(2.4\delta)) > \log(1/(4\delta))kl(δ,1−δ)≥log(1/(2.4δ))>log(1/(4δ)), so Theorem 1 is strictly stronger. A formal proof here yields the transportation lemma for exponential families on the platform's infinite-horizon bandit model, which later missions (II–IV, and any lower bound by change of measure) can reuse.

Difficulty

The obvious proof applies the finite-horizon divergence decomposition KL(Pμn,Pλn)=∑aEμ[Na(n)] d(μa,λa)\mathrm{KL}(\mathbb P^n_{\boldsymbol\mu}, \mathbb P^n_{\boldsymbol\lambda}) = \sum_a \mathbb E_{\boldsymbol\mu}[N_a(n)]\,d(\mu_a, \lambda_a)KL(Pμn​,Pλn​)=∑a​Eμ​[Na​(n)]d(μa​,λa​) at a deterministic horizon nnn. That fails here: τ\tauτ is random and unbounded, the decision is Fτ\mathcal F_\tauFτ​-measurable, and the relevant divergence is between the laws of the stopped observations. The step from a fixed horizon to a stopping time, together with the data-processing inequality that turns the error guarantees under two models into kl(δ,1−δ)\mathrm{kl}(\delta, 1 - \delta)kl(δ,1−δ), is the central difficulty. A second, smaller difficulty is to identify the paper's divergence ddd and its means b˙(θ)\dot b(\theta)b˙(θ) with the measure-theoretic KL divergence and mean of the arm laws of the exponential family.

Formalization scope

Lean namespace OptimalBAI.LowerBound. The bandit protocol is the platform's (BanditAlgorithm.BanditPolicy, banditTrajMeasure, IsBanditStoppingTime, IsSoundBAI, baiComplexity); kl\mathrm{kl}kl is the platform's bernoulliRelativeEntropy and Na(t)N_a(t)Na​(t) is trajPullCount. Conventions:

  • arms are Fin K, 0-based (the paper's arm aaa is index a−1a - 1a−1); trajectory coordinate ttt is round t+1t + 1t+1;
  • Θ\ThetaΘ is a nonempty open interval and b¨>0\ddot b > 0b¨>0 on Θ\ThetaΘ (added: the paper says bbb is convex and twice differentiable; strict convexity is what makes "the unique distribution with mean μ\muμ" meaningful); the paper's ddd is written as the KL divergence of the arm laws (its first equality on p. 3), and the unique optimal arm is defined through the parameter means b˙(θa)\dot b(\theta_a)b˙(θa​);
  • S\mathcal SS is an arbitrary set of models with a unique optimal arm, not the specific set the paper fixes from p. 4 on;
  • δ\deltaδ-PAC keeps both halves of the paper's definition (almost-sure stopping and error at most δ\deltaδ);
  • T∗(μ)T^*(\boldsymbol\mu)T∗(μ), divergences and expectations of τ\tauτ take values in [0,∞][0, \infty][0,∞], never truncated to reals; T∗=0T^* = 0T∗=0 when Alt(μ)=∅\mathrm{Alt}(\boldsymbol\mu) = \emptysetAlt(μ)=∅ and T∗=∞T^* = \inftyT∗=∞ when the supremum in eq. (1) is 000;
  • δ≤1/2\delta \le 1/2δ≤1/2 is added. The paper states δ∈(0,1)\delta \in (0, 1)δ∈(0,1), but the theorem and eq. (2) are false for δ∈(1/2,1)\delta \in (1/2, 1)δ∈(1/2,1): with two unit-variance Gaussian arms, drawing arm 1 once and naming arm 1 exactly when the fractional part of the reward is below 1/21/21/2 is 0.90.90.9-PAC, while T∗(μ)→∞T^*(\boldsymbol\mu) \to \inftyT∗(μ)→∞ as the two means merge. At δ=1/2\delta = 1/2δ=1/2 the bound is 000.

A statement with log⁡(1/(4δ))\log(1/(4\delta))log(1/(4δ)) in place of kl(δ,1−δ)\mathrm{kl}(\delta, 1 - \delta)kl(δ,1−δ), or restricted to Gaussian arms, is the platform's existing textbook theorem and does not count as this mission's goal; nor does any version that drops the almost-sure stopping clause or truncates E[τ]\mathbb E[\tau]E[τ] or T∗T^*T∗ to real numbers.

Needed infrastructure: the transportation lemma at a stopping time (data processing for KL through an Fτ\mathcal F_\tauFτ​-measurable event, Wald-type identity for the stopped log-likelihood ratio), the identities "mean of νθ\nu_\thetaνθ​ =b˙(θ)= \dot b(\theta)=b˙(θ)" and "KL of two family members =b(θ′)−b(θ)−b˙(θ)(θ′−θ)= b(\theta') - b(\theta) - \dot b(\theta)(\theta' - \theta)=b(θ′)−b(θ)−b˙(θ)(θ′−θ)", and E[τ]=∑aE[Na(τ)]\mathbb E[\tau] = \sum_a \mathbb E[N_a(\tau)]E[τ]=∑a​E[Na​(τ)]. All are reusable beyond this mission. Contributions of any of these lemmas, of eq. (2) alone, or of the Gaussian and Bernoulli special cases as stepping stones are welcome.

Selected references

  • A. Garivier, E. Kaufmann, Optimal Best Arm Identification with Fixed Confidence, COLT 2016 (JMLR W&CP 49), arXiv:1602.04589v2. https://arxiv.org/abs/1602.04589
  • E. Kaufmann, O. Cappé, A. Garivier, On the Complexity of Best-Arm Identification in Multi-Armed Bandit Models, Journal of Machine Learning Research 17(1), 2016. https://arxiv.org/abs/1407.4443
  • T. L. Graves, T. L. Lai, Asymptotically Efficient Adaptive Choice of Control Laws in Controlled Markov Chains, SIAM Journal on Control and Optimization 35(3), 1997. https://doi.org/10.1137/S0363012994275440
  • S. Mannor, J. N. Tsitsiklis, The Sample Complexity of Exploration in the Multi-Armed Bandit Problem, Journal of Machine Learning Research 5, 2004. https://www.jmlr.org/papers/v5/mannor04b.html
  • T. Lattimore, C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020, Chapter 33. https://doi.org/10.1017/9781108571401
11 thms5 active usersReviewed
🏆Completed
Bandit AlgorithmsMachine Learning·Captain: mikedeng1

Improved Algorithms for Linear Stochastic Bandits II: Constant High-Probability Regret of UCB(δ)Research Paper

Motivation

The stochastic multi-armed bandit is the basic model of sequential decision making under uncertainty: a learner repeatedly chooses one of ddd actions, observes a noisy reward for the chosen action only, and must balance exploring poorly known actions against exploiting the one that currently looks best. It underlies adaptive clinical trials, online advertising, recommendation, dynamic pricing and many simulation-optimization procedures in operations research.

The standard algorithm is UCB (Auer, Cesa-Bianchi and Fischer, 2002, doi:10.1023/A:1013689704352), which plays the arm with the largest upper confidence bound on its mean. Its confidence widths grow with the current time ttt (or with a horizon nnn fixed in advance), and its guarantee is on the expected regret, which grows like log⁡n\log nlogn. Lai and Robbins (1985, doi:10.1016/0196-8858(85)90002-8) showed that logarithmic growth of the expected regret cannot be avoided by a consistent algorithm.

Abbasi-Yadkori, Pál and Szepesvári (NIPS 2011) proved a self-normalized concentration inequality for vector-valued martingales that holds uniformly over time. Section 6 of their paper applies it to the ddd-armed bandit. The resulting confidence intervals depend on neither the horizon nor the current time. The UCB variant built on them, UCB(δ\deltaδ), has pseudo-regret bounded by a constant, independent of the horizon, on a single event of probability at least 1−δ1-\delta1−δ. This mission formalizes that section.

Setting

There are d≥1d \ge 1d≥1 arms with unknown means μ1,…,μd∈R\mu_1, \dots, \mu_d \in \mathbb Rμ1​,…,μd​∈R. Write μ∗=max⁡1≤i≤dμi\mu_* = \max_{1 \le i \le d} \mu_iμ∗​=max1≤i≤d​μi​ for the best mean and Δi=μ∗−μi≥0\Delta_i = \mu_* - \mu_i \ge 0Δi​=μ∗​−μi​≥0 for the gap of arm iii.

Randomness lives on a probability space (Ω,F,P)(\Omega, \mathcal F, P)(Ω,F,P) with a filtration (Ft)t≥0(\mathcal F_t)_{t \ge 0}(Ft​)t≥0​. In round t=1,2,…t = 1, 2, \dotst=1,2,… the learner plays an arm ItI_tIt​ that is Ft−1\mathcal F_{t-1}Ft−1​-measurable and receives the reward μIt+ηt\mu_{I_t} + \eta_tμIt​​+ηt​. The noise ηt\eta_tηt​ is Ft\mathcal F_tFt​-measurable and conditionally 1-sub-Gaussian:

E[eληt∣Ft−1]≤eλ2/2for all λ∈R.\mathbf E\left[e^{\lambda\eta_t} \mid \mathcal F_{t-1}\right] \le e^{\lambda^2/2} \qquad \text{for all } \lambda \in \mathbb R .E[eληt​∣Ft−1​]≤eλ2/2for all λ∈R.

The noise need not be independent or identically distributed across rounds, and the rewards need not be bounded.

After ttt rounds, Ni,tN_{i,t}Ni,t​ is the number of plays of arm iii and X‾i,t\overline X_{i,t}Xi,t​ is the average reward received from it. For a confidence level δ>0\delta > 0δ>0 the confidence width is

ci,t=1+Ni,tNi,t2(1+2log⁡d (1+Ni,t)1/2δ)(3)c_{i,t} = \sqrt{\frac{1 + N_{i,t}}{N_{i,t}^2}\left(1 + 2\log\frac{d\,(1 + N_{i,t})^{1/2}}{\delta}\right)} \qquad (3)ci,t​=Ni,t2​1+Ni,t​​(1+2logδd(1+Ni,t​)1/2​)​(3)

with ci,t=+∞c_{i,t} = +\inftyci,t​=+∞ when Ni,t=0N_{i,t} = 0Ni,t​=0. UCB(δ\deltaδ) plays, in round ttt, an arm that maximizes X‾i,t−1+ci,t−1\overline X_{i,t-1} + c_{i,t-1}Xi,t−1​+ci,t−1​; in particular every arm is played once before any comparison is made. The pseudo-regret after nnn rounds is

Rn=∑t=1n(μ∗−μIt).R_n = \sum_{t=1}^n \left(\mu_* - \mu_{I_t}\right).Rn​=t=1∑n​(μ∗​−μIt​​).

This is the linear bandit of the paper with the standard basis of Rd\mathbb R^dRd as decision set and θ∗=μ\theta_* = \muθ∗​=μ.

Formalization targets

Goal: Theorem 7 (constant regret of UCB(δ\deltaδ))

For every δ>0\delta > 0δ>0, with probability at least 1−δ1-\delta1−δ, for all n≥0n \ge 0n≥0 simultaneously,

Rn≤∑i:Δi>0(3Δi+16Δilog⁡2dΔiδ).R_n \le \sum_{i : \Delta_i > 0}\left(3\Delta_i + \frac{16}{\Delta_i}\log\frac{2d}{\Delta_i\delta}\right).Rn​≤i:Δi​>0∑​(3Δi​+Δi​16​logΔi​δ2d​).

The right-hand side depends only on the gaps, ddd and δ\deltaδ.

Milestone: Lemma 6 (confidence intervals)

For any adapted choice of arms (not only UCB(δ\deltaδ)) and every δ>0\delta > 0δ>0, with probability at least 1−δ1-\delta1−δ,

∣X‾i,t−μi∣≤ci,tfor all arms i and all t≥0.|\overline X_{i,t} - \mu_i| \le c_{i,t} \qquad \text{for all arms } i \text{ and all } t \ge 0 .∣Xi,t​−μi​∣≤ci,t​for all arms i and all t≥0.

Significance

The result. Theorem 7 shows that, once a confidence level is fixed, a UCB-type algorithm can stop paying for exploration after finitely many rounds: with probability 1−δ1-\delta1−δ the total regret over an infinite horizon is bounded. The paper notes that this does not contradict the Lai–Robbins lower bound, which concerns expected regret; on the failure event of probability δ\deltaδ the regret may grow linearly. Lemma 6 is the practical content behind this: anytime-valid confidence intervals for adaptively sampled means under martingale noise, usable for stopping rules, best-arm identification and any sequential procedure that inspects its estimates at data-dependent times.

Formalizing it. Both results are proved in the paper's appendices (F and G). No machine-checked proof of either is known to exist. The platform already has the self-normalized martingale bound for V=λIV = \lambda IV=λI and unit sub-Gaussian noise (BanditAlgorithm.self_normalized_martingale_bound, listed here as a reference item), and UCB bounds with horizon-dependent widths and in-expectation or pathwise conclusions. Neither is Theorem 7. The mission produces a formal account of time-uniform confidence intervals for adaptively sampled arm means, and of a regret bound that is uniform in the horizon.

Difficulty

Two points separate this from textbook UCB analyses. First, the number of samples Ni,tN_{i,t}Ni,t​ of an arm is itself random and depends on past noise, so a fixed-sample concentration inequality with a union bound over times does not give widths that are free of ttt: a union bound over all ttt costs a factor that diverges. The time-uniform event must come from a maximal (self-normalized) inequality applied to the martingale ∑sηs1{Is=i}\sum_s \eta_s \mathbf 1\{I_s = i\}∑s​ηs​1{Is​=i}. Second, the regret statement is uniform in nnn with constants depending on the gaps; converting a condition of the form "c(N)≥Δi/2c(N) \ge \Delta_i/2c(N)≥Δi​/2" into an explicit bound on NNN requires solving an inequality in which NNN appears both polynomially and inside a logarithm, and the explicit constants 333 and 161616 must come out of that step.

Formalization scope

The Lean development lives in the namespace ImprovedLinBandits.UCBDelta.

  • Arms are Fin d with 0 < d in the goal; means are μ : Fin d → ℝ, μ∗\mu_*μ∗​ is ⨆ i, μ i (the maximum over a nonempty finite type).
  • Rounds are indexed t + 1 for t : ℕ: the arm I (t + 1) is ℱ t-measurable, the noise η (t + 1) is ℱ (t + 1)-measurable and satisfies Mathlib's HasCondSubgaussianMGF (ℱ t) … (η (t + 1)) 1 P. Values at index 000 are unused.
  • The sample space is assumed to be a standard Borel space, which Mathlib's conditional sub-Gaussianity requires; this hypothesis is not in the paper.
  • "With probability at least 1−δ1-\delta1−δ, for all …" is stated as: the outer probability of the failure event, with the quantifiers over arms and times inside it, is at most δ\deltaδ. For δ≥1\delta \ge 1δ≥1 the statements are trivially true, as in the paper.
  • The rule (4) is read with the statistics of rounds 1,…,t−11, \dots, t-11,…,t−1, because the printed X‾i,t\overline X_{i,t}Xi,t​, ci,tc_{i,t}ci,t​ already count round ttt. An unplayed arm, whose width is +∞+\infty+∞ in the paper, is played before the indices are compared. Every tie-breaking rule is allowed, and measurability of the chosen arm is assumed rather than derived.
  • The printed Theorem 7 has no quantifier on nnn; it is formalized in the uniform-in-nnn form, matching the section's claim of constant regret and the time-uniform event of Lemma 6.
  • Lean's division by zero makes X‾i,t\overline X_{i,t}Xi,t​ and ci,tc_{i,t}ci,t​ equal to 000 when Ni,t=0N_{i,t} = 0Ni,t​=0. Lemma 6 therefore excludes Ni,t=0N_{i,t} = 0Ni,t​=0 explicitly (where the paper's inequality is vacuous), and the run predicate handles unplayed arms separately. The regret bound sums over arms with Δi>0\Delta_i > 0Δi​>0, so its divisions are well defined.

A trivializing formalization is ruled out: the confidence event is not assumed as a hypothesis of Theorem 7, the i.i.d. bandit model is not substituted for the martingale noise model, and no bound on the means or rewards is imposed.

Useful infrastructure for solvers: the self-normalized bound of Theorem 1 in the scalar case (d=1d = 1d=1, λ=1\lambda = 1λ=1, As=1{Is=i}A_s = \mathbf 1\{I_s = i\}As​=1{Is​=i}, V‾t=1+Ni,t\overline V_t = 1 + N_{i,t}Vt​=1+Ni,t​), a union bound over arms, and elementary inequalities inverting N↦1+NN2(1+2log⁡(d1+N/δ))N \mapsto \frac{1+N}{N^2}(1 + 2\log(d\sqrt{1+N}/\delta))N↦N21+N​(1+2log(d1+N​/δ)). Lemmas about pull counts and empirical means under adaptive sampling are reusable beyond this mission and are welcome as contributions.

Selected references

  • Y. Abbasi-Yadkori, D. Pál, Cs. Szepesvári, Improved Algorithms for Linear Stochastic Bandits, Advances in Neural Information Processing Systems 24 (NIPS), 2011. https://papers.nips.cc/paper/2011/hash/e1d5be1c7f2f456670de3d53c7b54f4a-Abstract.html
  • P. Auer, N. Cesa-Bianchi, P. Fischer, Finite-time Analysis of the Multiarmed Bandit Problem, Machine Learning 47, 2002. https://doi.org/10.1023/A:1013689704352
  • T. L. Lai, H. Robbins, Asymptotically Efficient Adaptive Allocation Rules, Advances in Applied Mathematics 6, 1985. https://doi.org/10.1016/0196-8858(85)90002-8
  • J.-Y. Audibert, R. Munos, Cs. Szepesvári, Exploration–exploitation tradeoff using variance estimates in multi-armed bandits, Theoretical Computer Science 410, 2009. https://doi.org/10.1016/j.tcs.2009.01.016
6 thms5 active usersReviewed
🏆Completed
Complexity TheoryLinear algebraOptimization·Captain: mikedeng1

Some NP-Complete Problems in Quadratic and Nonlinear Programming: Copositivity Testing Is NP-Hard via Subset SumResearch Paper

Motivation

Nonlinear programming algorithms are routinely advertised as finding a local minimum. Most of them only certify first-order conditions (a KKT point), and the natural next question is whether a given feasible point is in fact a local minimum. For smooth problems where the Hessian is nonsingular this is a second-order test, but in the degenerate case the test itself becomes a combinatorial question about a quadratic form restricted to a cone.

K. G. Murty and S. N. Kabadi (Math. Programming 39 (1987) 117–129) showed that this question is intractable already in its simplest instance: deciding whether x=0x = 0x=0 is a local minimum of a quadratic form xTDxx^{\mathsf T}DxxTDx on the nonnegative orthant is NP-complete, and so is deciding whether a square integer matrix is copositive. The paper is the standard reference for the hardness of copositivity testing, which matters for copositive programming, for second-order optimality checks in constrained optimization, and for the complexity of local search in nonconvex optimization.

Setting

Let DDD be a real square matrix of order nnn and Q(x)=xTDxQ(x) = x^{\mathsf T}DxQ(x)=xTDx. The matrix DDD is copositive if Q(x)≥0Q(x) \ge 0Q(x)≥0 for every x≥0x \ge 0x≥0 (coordinatewise). The paper considers the quadratic program

(7)minimize Q(x)subject to x≥0,\text{(7)}\qquad \text{minimize } Q(x) \quad \text{subject to } x \ge 0,(7)minimize Q(x)subject to x≥0,

and the following questions, each phrased so that "yes" is the interesting answer:

  • Problem 1. Is x=0x = 0x=0 not a local minimum of (7)?
  • Problem 2. Is QQQ not bounded below on {x≥0}\{x \ge 0\}{x≥0}?
  • Problem 3. Is there an x≥0x \ge 0x≥0 with Q(x)<0Q(x) < 0Q(x)<0 (is DDD not copositive)?
  • Problem 4. Given a0>0a_0 > 0a0​>0, is there an x≥0x \ge 0x≥0 with eTx=a0e^{\mathsf T}x = a_0eTx=a0​ and Q(x)<0Q(x) < 0Q(x)<0? Here eee is the all-ones vector.
  • Problems 11, 12. With h(u)=(u12,…,un2) D (u12,…,un2)Th(u) = (u_1^2, \dots, u_n^2)\,D\,(u_1^2, \dots, u_n^2)^{\mathsf T}h(u)=(u12​,…,un2​)D(u12​,…,un2​)T, the objective of the unconstrained problem (15): is u=0u = 0u=0 not a local minimum of hhh on Rn\mathbb R^nRn, and is hhh not bounded below?

The source problem is subset sum (Problem 5): given positive integers d0;d1,…,dnd_0; d_1, \dots, d_nd0​;d1​,…,dn​, is there y∈{0,1}ny \in \{0,1\}^ny∈{0,1}n with ∑jdjyj=d0\sum_j d_j y_j = d_0∑j​dj​yj​=d0​? Let lll be the total number of digits in the data. The paper fixes an integer δ>4(d0∑jdj)2n3\delta > 4\big(d_0\sum_j d_j\big)^2 n^3δ>4(d0​∑j​dj​)2n3 and a rational ε\varepsilonε with 0<ε<2−nl20 < \varepsilon < 2^{-nl^2}0<ε<2−nl2, and defines functions of 2n2n2n nonnegative variables (y,s)(y, s)(y,s):

f1(y,s)=(∑jdjyj−d0)2+δ∑j(yj+sj−1)2+∑jyjsj,f_1(y,s) = \Big(\sum_j d_j y_j - d_0\Big)^2 + \delta\sum_j (y_j + s_j - 1)^2 + \sum_j y_j s_j,f1​(y,s)=(j∑​dj​yj​−d0​)2+δj∑​(yj​+sj​−1)2+j∑​yj​sj​,

f2=f1+2d0∑jdjyj(1−yj)f_2 = f_1 + 2d_0\sum_j d_j y_j(1 - y_j)f2​=f1​+2d0​∑j​dj​yj​(1−yj​), a homogeneous quadratic f4f_4f4​ that agrees with f2f_2f2​ on the set

P={(y,s):y≥0, s≥0, ∑j(yj+sj)=n},P = \Big\{(y,s) : y \ge 0,\ s \ge 0,\ \sum_j (y_j + s_j) = n\Big\},P={(y,s):y≥0, s≥0, j∑​(yj​+sj​)=n},

and f5=f4−(ε/n2)(∑j(yj+sj))2f_5 = f_4 - (\varepsilon/n^2)\big(\sum_j (y_j + s_j)\big)^2f5​=f4​−(ε/n2)(∑j​(yj​+sj​))2. The function f5f_5f5​ is a quadratic form xTMxx^{\mathsf T}MxxTMx in x=(y,s)∈R2nx = (y, s) \in \mathbb R^{2n}x=(y,s)∈R2n; the symmetric matrix MMM, with entries computed explicitly from d0,d,δ,εd_0, d, \delta, \varepsilond0​,d,δ,ε, is the output of the reduction.

Formalization targets

Goal: the reduction is correct

For positive integer data d0;d1,…,dnd_0; d_1, \dots, d_nd0​;d1​,…,dn​ and δ,ε\delta, \varepsilonδ,ε as above, with MMM the matrix of f5f_5f5​, the following are equivalent:

subset sum is solvable  ⟺  P1(M)  ⟺  P2(M)  ⟺  P3(M)  ⟺  M not copositive  ⟺  P4(M,n)  ⟺  P11(M)  ⟺  P12(M).\text{subset sum is solvable} \iff \text{P1}(M) \iff \text{P2}(M) \iff \text{P3}(M) \iff M \text{ not copositive} \iff \text{P4}(M, n) \iff \text{P11}(M) \iff \text{P12}(M).subset sum is solvable⟺P1(M)⟺P2(M)⟺P3(M)⟺M not copositive⟺P4(M,n)⟺P11(M)⟺P12(M).

This is the mathematical content of Theorems 1–3 and §4: a polynomially computable map from subset sum instances to matrices under which every one of these questions has the answer of the subset sum instance.

Milestones along the paper's chain

  1. Problems 5 and 6 are equivalent: subset sum is solvable iff some (y,s)∈P(y,s) \in P(y,s)∈P has f1≤0f_1 \le 0f1​≤0.
  2. Problems 6 and 7 are equivalent (f1f_1f1​ vs. f2f_2f2​ on PPP).
  3. Problems 7 and 8 are equivalent (f2f_2f2​ vs. f4f_4f4​ on PPP).
  4. Lemma 2: for an integer symmetric DDD of size LLL, the minimum of QQQ over [0,1]n[0,1]^n[0,1]n is 000 or at most −2−L-2^{-L}−2−L.
  5. Problems 8 and 9 are equivalent: ∃ (y,s)∈P\exists\,(y,s)\in P∃(y,s)∈P with f4≤0f_4 \le 0f4​≤0 iff ∃ (y,s)∈P\exists\,(y,s)\in P∃(y,s)∈P with f5<0f_5 < 0f5​<0.
  6. Problem 9 is a special case of Problem 4: f5(y,s)=xTMxf_5(y,s) = x^{\mathsf T}Mxf5​(y,s)=xTMx, and Problem 9 is Problem 4 for (M,a0=n)(M, a_0 = n)(M,a0​=n).
  7. Problems 3 and 4 are equivalent, for any DDD and a0>0a_0 > 0a0​>0.
  8. Problems 1 and 2 are equivalent to Problem 3, for any DDD.
  9. Problems 11 and 12 are equivalent to Problems 1 and 2, for any DDD.

Significance

The result. The equivalence shows that checking local optimality of a feasible point, checking boundedness of a quadratic objective on a cone, and checking copositivity are all at least as hard as subset sum, hence NP-hard. Through (15) the same holds for local minimality and boundedness of a quartic polynomial with no constraints at all. These facts are the standard justification for why nonconvex solvers settle for KKT points, and the copositivity part underlies the hardness of copositive programming.

The formalization. The paper's claims are proved, and have been cited for decades, but the proof as printed is a sketch: several steps are stated as "clearly" or "it can be verified", and one step of the proof of Theorem 1 (p. 125) is false as written. The inequality (δ/2)(yj+sj−1)2+2d0djyj(1−yj)≥0(\delta/2)(y_j + s_j - 1)^2 + 2d_0 d_j y_j(1 - y_j) \ge 0(δ/2)(yj​+sj​−1)2+2d0​dj​yj​(1−yj​)≥0 for yj>1y_j > 1yj​>1 fails for yjy_jyj​ slightly above 111, and the pointwise implication "f2≤0⇒f1≤0f_2 \le 0 \Rightarrow f_1 \le 0f2​≤0⇒f1​≤0 on PPP" has an explicit counterexample. The equivalence of Problems 6 and 7 itself survives numerical checks. A machine-checked proof of the goal settles the correctness of the reduction with the paper's own constants. No machine-checked proof of these statements exists on the platform.

Difficulty

The combinatorial direction (a subset sum solution gives a point with f5<0f_5 < 0f5​<0) is a computation. The converse direction carries the content, in two places.

First, passing from f1f_1f1​ to f2f_2f2​ trades the linear penalty for a quadratic one. This is harmless on the box 0≤y≤10 \le y \le 10≤y≤1 but not for yj>1y_j > 1yj​>1, where 2d0djyj(1−yj)2d_0d_jy_j(1-y_j)2d0​dj​yj​(1−yj​) is negative. The printed argument handles this coordinate by coordinate and is wrong there; a correct argument has to show that no point of PPP with f2≤0f_2 \le 0f2​≤0 exists unless a point with f1≤0f_1 \le 0f1​≤0 does, which requires a global use of the size of δ\deltaδ.

Second, passing from f4≤0f_4 \le 0f4​≤0 to f5<0f_5 < 0f5​<0 requires a quantitative gap: if f4>0f_4 > 0f4​>0 on PPP then min⁡Pf4≥ε\min_P f_4 \ge \varepsilonminP​f4​≥ε with ε\varepsilonε of only polynomially many bits. Lemma 2 provides such a gap for the unit box and integer matrices, but PPP is not the box and f4f_4f4​ has rational coefficients, so the lemma does not apply verbatim.

The remaining equivalences (Problems 1, 2, 3, 4, 11, 12 for a fixed matrix) follow from homogeneity of the quadratic form and the substitution xj=uj2x_j = u_j^2xj​=uj2​, and are routine.

Formalization scope

The data d0,dj,δd_0, d_j, \deltad0​,dj​,δ are natural numbers and ε\varepsilonε is rational; all are cast to R\mathbb RR in f1,…,f5f_1, \dots, f_5f1​,…,f5​ and MMM. The index j=1,…,nj = 1, \dots, nj=1,…,n is Fin n, and the 2n2n2n variables of MMM are indexed by Fin n ⊕ Fin n with x=x = x= Sum.elim y s. Standing hypotheses: dj>0d_j > 0dj​>0 and d0>0d_0 > 0d0​>0 (the paper's "all positive integers"); δ>4(d0∑jdj)2n3\delta > 4(d_0\sum_j d_j)^2n^3δ>4(d0​∑j​dj​)2n3 in N\mathbb NN; ε>0\varepsilon > 0ε>0 and ε⋅2nl2<1\varepsilon \cdot 2^{nl^2} < 1ε⋅2nl2<1 in Q\mathbb QQ. The size lll counts decimal digits. Problem 1 is local minimality relative to the orthant, Problem 11 is unconstrained local minimality, both in the Euclidean topology. Lemma 2 is stated for integer symmetric DDD (as §4 of the paper says, "as before … symmetric"), with LLL Schrijver's encoding size, since the paper does not define "the size of DDD"; the "optimum is 000 or ≤−2−L\le -2^{-L}≤−2−L" is stated as a disjunction without an infimum. The milestones on f2,f4,f5f_2, f_4, f_5f2​,f4​,f5​ over PPP assume n≥1n \ge 1n≥1, which the paper assumes tacitly; the goal needs no such hypothesis.

Not formalized: membership in NP (Lemma 1), the polynomial-time computability of MMM and its encoding size, the NP-completeness of subset sum (cited by the paper from Garey–Johnson), Theorem 4, and any of the words "NP-complete" or "NP-hard". The platform's complexity layer (Turing machines over bitstrings) has no subset sum problem and no encoding of rational matrices. The matrix MMM has rational entries; a positive integer multiple of it is the integer matrix of Theorem 3, has the same answer to every question, and the rescaling is not formalized. The §3 standing assumption "D is not PSD" is not imposed; the constructed matrix can be PSD and the equivalence holds regardless.

The goal is about the explicit matrix MMM, whose entries are given in the definitions; it is not about "some matrix whose quadratic form is f5f_5f5​", and the constants δ\deltaδ and ε\varepsilonε are the paper's explicit bounds, not "sufficiently large" or "for some ε\varepsilonε". A formalization that quantifies existentially over the matrix or the precision would be trivially true and is ruled out.

Contributions welcome: proofs of the matrix identity and the homogeneity arguments (milestones 6–9), a proof of Lemma 2 (which needs a Cramer/Hadamard bound on basic solutions of the linear complementarity system (9)), and a correct proof of the f1↔f2f_1 \leftrightarrow f_2f1​↔f2​ step. The copositivity definitions and milestones 7–9 are reusable for any later work on copositive programming.

Selected references

  • K. G. Murty and S. N. Kabadi, Some NP-complete problems in quadratic and nonlinear programming, Mathematical Programming 39 (1987) 117–129. https://doi.org/10.1007/BF02592948
  • M. R. Garey and D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-Completeness, W. H. Freeman, 1979 (subset sum, problem [SP13]).
  • A. Schrijver, Theory of Linear and Integer Programming, Wiley, 1986 (encoding sizes, §2.1).
16 thms5 active usersReviewed
🏆Completed
Convex OptimizationOptimizationProbability·Captain: mikedeng1

Worst-Case Value-At-Risk and Robust Portfolio Optimization: A Conic Programming Approach 1: Exact Worst-Case VaR under Known Mean and Covariance and Its SDP RepresentationsResearch Paper

Motivation

Value-at-Risk (VaR) is the standard regulatory measure of downside risk of a portfolio: the loss level that is exceeded only with a prescribed small probability ε\varepsilonε. Computing it requires the full distribution of asset returns, which is rarely known. In practice one estimates a mean vector and a covariance matrix and then assumes a Gaussian distribution, which understates the probability of large losses when returns are heavy-tailed or skewed.

El Ghaoui, Oks and Oustry (Oper. Res. 51(4), 2003) replace the distributional assumption by a worst case: the VaR is computed against every distribution consistent with the known moments. For known mean and covariance they obtain an exact closed form and several semidefinite (SDP) representations of this worst-case VaR. The SDP forms are what make the approach extend to moment uncertainty (moments only known to lie in a set, §2.2 of the paper) and to robust portfolio optimization. The equivalence between the probabilistic statement and the closed form is also a multivariate one-sided Chebyshev bound, related to Bertsimas and Popescu (SIAM J. Optim. 15(3), 2005; working paper 2000).

Setting

There are nnn assets. Their returns over one period form a random vector x∈Rnx \in \mathbb R^nx∈Rn, and a portfolio w∈Rnw \in \mathbb R^nw∈Rn earns r(w,x)=w⊤xr(w,x) = w^\top xr(w,x)=w⊤x. The paper restricts www to an admissible set that does not contain 000; only w≠0w \neq 0w=0 is used.

The distribution of xxx is unknown except for its mean x^∈Rn\hat x \in \mathbb R^nx^∈Rn and covariance matrix Γ\GammaΓ, with Γ≻0\Gamma \succ 0Γ≻0 (positive definite). Let P\mathcal PP be the set of all probability distributions on Rn\mathbb R^nRn with these two moments. For a loss level γ\gammaγ, the loss set is S={x∣γ≤−x⊤w}\mathcal S = \{x \mid \gamma \le -x^\top w\}S={x∣γ≤−x⊤w}. The worst-case VaR at level ε\varepsilonε is (Eq. (4))

VP(w)=min⁡{γ  :  sup⁡P∈PP(S)≤ε}.V_{\mathcal P}(w) = \min\Big\{\gamma \;:\; \sup_{P\in\mathcal P} P(\mathcal S) \le \varepsilon\Big\}.VP​(w)=min{γ:P∈Psup​P(S)≤ε}.

Further notation: κ(ε)=(1−ε)/ε\kappa(\varepsilon) = \sqrt{(1-\varepsilon)/\varepsilon}κ(ε)=(1−ε)/ε​ (Eq. (8)); for symmetric matrices, A⪰BA \succeq BA⪰B means A−BA - BA−B is positive semidefinite and ⟨A,B⟩=Tr⁡(AB)\langle A, B\rangle = \operatorname{Tr}(AB)⟨A,B⟩=Tr(AB). The second-moment matrix is (Eq. (6))

Σ=[Sx^x^⊤1],S=Γ+x^x^⊤.\Sigma = \begin{bmatrix} S & \hat x \\ \hat x^\top & 1\end{bmatrix}, \qquad S = \Gamma + \hat x\hat x^\top.Σ=[Sx^⊤​x^1​],S=Γ+x^x^⊤.

Formalization targets

Goal: Theorem 1 (pp. 545–546)

For Γ≻0\Gamma \succ 0Γ≻0, w≠0w \neq 0w=0, ε∈(0,1)\varepsilon \in (0,1)ε∈(0,1) and γ∈R\gamma \in \mathbb Rγ∈R, the following five propositions are equivalent:

  1. sup⁡P∈PP{γ≤−w⊤x}≤ε\sup_{P \in \mathcal P} P\{\gamma \le -w^\top x\} \le \varepsilonsupP∈P​P{γ≤−w⊤x}≤ε;
  2. κ(ε) ∥Γ1/2w∥2−x^⊤w≤γ\kappa(\varepsilon)\,\|\Gamma^{1/2} w\|_2 - \hat x^\top w \le \gammaκ(ε)∥Γ1/2w∥2​−x^⊤w≤γ;
  3. there are a symmetric MMM and τ∈R\tau \in \mathbb Rτ∈R with ⟨M,Σ⟩≤τε\langle M, \Sigma\rangle \le \tau\varepsilon⟨M,Σ⟩≤τε, M⪰0M \succeq 0M⪰0, τ≥0\tau \ge 0τ≥0, and M+[0ww⊤−τ+2γ]⪰0M + \begin{bmatrix} 0 & w\\ w^\top & -\tau + 2\gamma\end{bmatrix} \succeq 0M+[0w⊤​w−τ+2γ​]⪰0;
  4. every xxx with [Γx−x^(x−x^)⊤κ(ε)2]⪰0\begin{bmatrix}\Gamma & x - \hat x\\ (x-\hat x)^\top & \kappa(\varepsilon)^2\end{bmatrix} \succeq 0[Γ(x−x^)⊤​x−x^κ(ε)2​]⪰0 satisfies −x⊤w≤γ-x^\top w \le \gamma−x⊤w≤γ;
  5. there are a symmetric Λ\LambdaΛ and v∈Rv \in \mathbb Rv∈R with ⟨Λ,Γ⟩+κ(ε)2v−x^⊤w≤γ\langle \Lambda, \Gamma\rangle + \kappa(\varepsilon)^2 v - \hat x^\top w \le \gamma⟨Λ,Γ⟩+κ(ε)2v−x^⊤w≤γ and [Λw/2w⊤/2v]⪰0\begin{bmatrix}\Lambda & w/2\\ w^\top/2 & v\end{bmatrix} \succeq 0[Λw⊤/2​w/2v​]⪰0.

In particular

VP(w)=κ(ε) ∥Γ1/2w∥2−x^⊤w.V_{\mathcal P}(w) = \kappa(\varepsilon)\,\|\Gamma^{1/2}w\|_2 - \hat x^\top w.VP​(w)=κ(ε)∥Γ1/2w∥2​−x^⊤w.

Milestones (the steps of the paper's proof)

  • Condition C.1 (l(x)=[x⊤ 1]M[x⊤ 1]⊤≥0l(x) = [x^\top\,1] M [x^\top\,1]^\top \ge 0l(x)=[x⊤1]M[x⊤1]⊤≥0 for all xxx) is equivalent to M⪰0M \succeq 0M⪰0 (p. 546).
  • Conditions C.1 and C.2 are equivalent to the existence of τ≥0\tau \ge 0τ≥0 with M⪰0M \succeq 0M⪰0 and M+[0τwτw⊤−1+2τγ]⪰0M + \begin{bmatrix} 0 & \tau w\\ \tau w^\top & -1+2\tau\gamma\end{bmatrix} \succeq 0M+[0τw⊤​τw−1+2τγ​]⪰0 (p. 546).
  • The worst-case probability sup⁡P∈PP(S)\sup_{P\in\mathcal P} P(\mathcal S)supP∈P​P(S) equals the value of the SDP inf⁡⟨M,Σ⟩\inf \langle M, \Sigma\rangleinf⟨M,Σ⟩ under the constraints above (Eq. (14), pp. 546–547).
  • The Schur-complement reduction (19)–(20) of the constraints of the dual problem (18) (p. 547).
  • The closed form of ϕ(y)\phi(y)ϕ(y) and its maximum at y=εy = \varepsilony=ε (p. 547).
  • Condition (10) describes the ellipsoid {x∣(x−x^)⊤Γ−1(x−x^)≤κ(ε)2}\{x \mid (x-\hat x)^\top\Gamma^{-1}(x-\hat x) \le \kappa(\varepsilon)^2\}{x∣(x−x^)⊤Γ−1(x−x^)≤κ(ε)2}, and the maximal loss −x⊤w-x^\top w−x⊤w over it is κ(ε)w⊤Γw−x^⊤w\kappa(\varepsilon)\sqrt{w^\top\Gamma w} - \hat x^\top wκ(ε)w⊤Γw​−x^⊤w (p. 546).

Significance

The result. Proposition 2 turns the worst-case VaR into a second-order cone function of www, so minimizing it over a polytope of portfolios is a second-order cone program (Eq. (12)). The SDP forms 3 and 5 are the basis of the paper's §2.2–§3: they extend, with the moments only known to lie in a convex set, to a single SDP whose value is the worst-case VaR over that set. Proposition 4 gives a deterministic reading: the worst-case VaR is the largest loss when the return vector is only known to lie in an ellipsoid, which connects distributional robustness to robust optimization with ellipsoidal uncertainty.

Formalizing it. The result is proved in the paper, with two imported steps: strong duality for the moment problem (Smith 1995; Bonnans and Shapiro 2000) and a Slater-type strong duality for the one-constraint quadratic condition. No machine-checked version is known. A formal proof would supply these steps with explicit hypotheses and would produce a Lean statement of the multivariate one-sided Chebyshev (Cantelli) bound with tightness over the full moment class.

Difficulty

The matrix equivalences (2 ⇔ 4 ⇔ 5 and 2 ⇔ 3) are Schur complements and finite-dimensional SDP duality. The difficulty is Proposition 1. The upper bound (Cantelli's inequality for w⊤xw^\top xw⊤x) handles one direction, but the converse requires tightness: for every γ\gammaγ below the closed form, a distribution on Rn\mathbb R^nRn with exactly the prescribed mean and full covariance matrix Γ\GammaΓ that puts probability more than ε\varepsilonε on the loss set. A scalar extremal distribution for w⊤xw^\top xw⊤x does not by itself have the right covariance in the other directions, and a Gaussian does not reach the bound. The paper's route through the moment problem instead needs strong duality between a supremum over measures and an infimum over matrices, which is where the positive definiteness of Σ\SigmaΣ enters.

Formalization scope

  • Vectors live in EuclideanSpace ℝ (Fin n); x⊤wx^\top wx⊤w is the inner product, and matrices are Matrix (Fin n) (Fin n) ℝ. Matrices of size n+1n+1n+1 are indexed by Fin n ⊕ Fin 1 and built with Matrix.fromBlocks (the helper bordered A v c is [[A,v],[v⊤,c]][[A, v],[v^\top, c]][[A,v],[v⊤,c]]). A⪰0A \succeq 0A⪰0 is PosSemidef, Γ≻0\Gamma \succ 0Γ≻0 is PosDef, ⟨A,B⟩\langle A, B\rangle⟨A,B⟩ is (A * B).trace, and ∥Γ1/2w∥2\|\Gamma^{1/2}w\|_2∥Γ1/2w∥2​ is written w⊤Γw\sqrt{w^\top\Gamma w}w⊤Γw​.
  • The class P\mathcal PP (HasMeanCov) contains every Borel probability measure on Rn\mathbb R^nRn whose coordinates are square-integrable, with mean x^\hat xx^ and centred covariance Γ\GammaΓ. It is not restricted to densities or to Gaussians: the Gaussian class gives a different constant, −Φ−1(ε)-\Phi^{-1}(\varepsilon)−Φ−1(ε).
  • Sup, inf and max: "sup⁡P∈PP(S)≤ε\sup_{P\in\mathcal P}P(\mathcal S) \le \varepsilonsupP∈P​P(S)≤ε" is stated as "P(S)≤εP(\mathcal S) \le \varepsilonP(S)≤ε for every P∈PP \in \mathcal PP∈P". The worst-case probability SDP is stated as IsLUB/IsGLB of one real number (no attainment is claimed). The maxima over vvv, over y∈[ε,1]y \in [\varepsilon,1]y∈[ε,1] and over the ellipsoid are IsGreatest.
  • Corrections to the printed statement. The paper prints ε∈(0,1]\varepsilon \in (0,1]ε∈(0,1]; at ε=1\varepsilon = 1ε=1 Proposition 1 holds for every γ\gammaγ while Propositions 2–5 require γ≥−x^⊤w\gamma \ge -\hat x^\top wγ≥−x^⊤w, so the goal assumes 0<ε<10 < \varepsilon < 10<ε<1. The goal also assumes w≠0w \neq 0w=0, the paper's standing assumption; with w=0w = 0w=0, γ=0\gamma = 0γ=0 Proposition 1 fails and Proposition 2 holds. Milestones that remain true at ε=1\varepsilon = 1ε=1 keep ε≤1\varepsilon \le 1ε≤1.
  • A goal that omits Proposition 1 would only be matrix algebra and is not this theorem. The five-way equivalence must be proved with the probabilistic statement included.
  • Useful infrastructure, reusable beyond this mission: the homogenization lemma for quadratic functions, the S-lemma with one affine constraint, the Schur-complement criteria for bordered PSD matrices, and duality for the moment problem. Proofs of any milestone, and of lemmas building a distribution with prescribed mean and covariance, are welcome.

Selected references

  • L. El Ghaoui, M. Oks, F. Oustry, Worst-Case Value-at-Risk and Robust Portfolio Optimization: A Conic Programming Approach, Operations Research 51(4):543–556, 2003. https://doi.org/10.1287/opre.51.4.543.16101
  • D. Bertsimas, I. Popescu, Optimal Inequalities in Probability Theory: A Convex Optimization Approach, SIAM J. Optim. 15(3):780–804, 2005. https://doi.org/10.1137/S1052623401399903
  • J. E. Smith, Generalized Chebychev Inequalities: Theory and Applications in Decision Analysis, Operations Research 43(5):807–825, 1995. https://doi.org/10.1287/opre.43.5.807
  • J. F. Bonnans, A. Shapiro, Perturbation Analysis of Optimization Problems, Springer, 2000. https://doi.org/10.1007/978-1-4612-1394-9
  • L. Vandenberghe, S. Boyd, K. Comanor, Generalized Chebyshev Bounds via Semidefinite Programming, SIAM Review 49(1):52–64, 2007. https://doi.org/10.1137/S0036144504440543
8 thms5 active usersReviewed
🏆Completed
Linear OptimizationNumber TheoryOptimization·Captain: mikedeng1

An Application of Simultaneous Diophantine Approximation in Combinatorial Optimization: A Small Integral Objective with the Same Optimal Solutions and Dual BasesResearch Paper

Motivation

An algorithm for linear programming is strongly polynomial if the number of arithmetic operations it performs is bounded by a polynomial in the dimension of the problem alone (the number of variables and constraints), independently of the bit lengths of the numbers in the input. Many combinatorial optimization problems are linear programs over polyhedra of the form P={x∈Rn:Ax≤b}P = \{x \in \mathbb{R}^n : Ax \le b\}P={x∈Rn:Ax≤b} whose constraint matrix AAA has entries 0,+1,−10, +1, -10,+1,−1, but whose objective vector www is an arbitrary rational weight vector. Polynomial-time algorithms for such problems (for instance the ellipsoid-based algorithms of Grötschel, Lovász and Schrijver for maximum-weight cliques in perfect graphs, submodular flows, and matroid polyhedra) have running times that depend on the length of www.

Frank and Tardos (Combinatorica 1987) remove this dependence once and for all: they replace www by an integral objective w~\tilde ww~ whose entries have O(n3)O(n^3)O(n3) bits and which has exactly the same optimal solutions and the same optimal dual bases as www over every such polyhedron. Any algorithm that is polynomial in nnn and in the length of the objective then becomes strongly polynomial. The tool is simultaneous Diophantine approximation, used through the lattice-basis-reduction algorithm of Lenstra, Lenstra and Lovász (Math. Ann. 1982). The technique extends Tardos's strongly polynomial algorithm for linear programs with small constraint matrices (Oper. Res. 1986), which applies only to explicitly given programs.

Setting

For x∈Rnx \in \mathbb{R}^nx∈Rn write ∥x∥∞=max⁡j∣x(j)∣\|x\|_\infty = \max_j |x(j)|∥x∥∞​=maxj​∣x(j)∣ and ∥x∥1=∑j∣x(j)∣\|x\|_1 = \sum_j |x(j)|∥x∥1​=∑j​∣x(j)∣; sign⁡\operatorname{sign}sign takes the values −1,0,+1-1, 0, +1−1,0,+1.

Decomposition. Fix a positive integer NNN. A decomposition of w∈Rnw \in \mathbb{R}^nw∈Rn is an expression

w=∑i=1kλivi,λi>0, vi∈Zn.w = \sum_{i=1}^k \lambda_i v_i, \qquad \lambda_i > 0,\ v_i \in \mathbb{Z}^n.w=i=1∑k​λi​vi​,λi​>0, vi​∈Zn.

It satisfies condition (iii) if for i=2,…,ki = 2, \dots, ki=2,…,k the vector viv_ivi​ is nonzero and λi/λi−1≤1/(N∥vi∥∞)\lambda_i/\lambda_{i-1} \le 1/(N\|v_i\|_\infty)λi​/λi−1​≤1/(N∥vi​∥∞​): the coefficients decrease so quickly that each term is negligible against the previous one.

Preprocessing. Given a rational www and NNN, the paper's preprocessing algorithm finds a decomposition with k≤nk \le nk≤n, condition (iii), and the size bound (ii)' ∥vi∥∞≤2n2+nNn\|v_i\|_\infty \le 2^{n^2+n}N^n∥vi​∥∞​≤2n2+nNn, and outputs

w~=∑i=1kMk−ivi,M=2n2+nNn+1.\tilde w = \sum_{i=1}^k M^{k-i} v_i, \qquad M = 2^{n^2+n} N^{n+1}.w~=i=1∑k​Mk−ivi​,M=2n2+nNn+1.

Linear programs. Let AAA be an m×nm \times nm×n matrix with entries in {0,±1}\{0, \pm 1\}{0,±1} and b∈Rmb \in \mathbb{R}^mb∈Rm. The primal program is max⁡{wx:Ax≤b}\max\{wx : Ax \le b\}max{wx:Ax≤b} and the dual program is min⁡{yb:yA=w, y≥0}\min\{yb : yA = w,\ y \ge 0\}min{yb:yA=w, y≥0}. A point xˉ∈P\bar x \in Pxˉ∈P is www-maximal if wxˉ=max⁡(wx:x∈P)w\bar x = \max(wx : x \in P)wxˉ=max(wx:x∈P). A dual basis is a maximal set of row indices of AAA whose rows are linearly independent; it determines at most one yyy with yA=wyA = wyA=w supported on it (the basic dual solution), and it is an optimal dual basis if that yyy exists and is optimal for the dual program.

Formalization targets

Goal — Theorem 4.2 (p. 58)

For every w∈Qnw \in \mathbb{Q}^nw∈Qn, with N=(n+1)!+1N = (n+1)! + 1N=(n+1)!+1, there is w~∈Zn\tilde w \in \mathbb{Z}^nw~∈Zn with

∥w~∥∞≤24n3Nn(n+2)\|\tilde w\|_\infty \le 2^{4n^3} N^{n(n+2)}∥w~∥∞​≤24n3Nn(n+2)

such that for every 0,±10, \pm10,±1 matrix AAA with nnn columns and every bbb: (i) x∈Px \in Px∈P is www-maximal if and only if it is w~\tilde ww~-maximal; (ii) a set of rows of AAA is an optimal dual basis for www if and only if it is one for w~\tilde ww~. The vector w~\tilde ww~ depends on www only, not on AAA or bbb.

Milestones

  1. Dirichlet's theorem (p. 52): for N≥1N \ge 1N≥1 and α∈Rn\alpha \in \mathbb{R}^nα∈Rn there are p∈Znp \in \mathbb{Z}^np∈Zn and 1≤q≤Nn1 \le q \le N^n1≤q≤Nn with ∣qα(i)−p(i)∣<1/N|q\alpha(i) - p(i)| < 1/N∣qα(i)−p(i)∣<1/N for all iii.
  2. Theorem 3.1 (p. 53): every w∈Rnw \in \mathbb{R}^nw∈Rn has a decomposition with k≤nk \le nk≤n, ∥vi∥∞≤Nn\|v_i\|_\infty \le N^n∥vi​∥∞​≤Nn and condition (iii).
  3. Lemma 3.2 (pp. 54–55): under condition (iii), for integral bbb with ∥b∥1≤N−1\|b\|_1 \le N - 1∥b∥1​≤N−1, sign⁡(b⋅w)=sign⁡(b⋅vj)\operatorname{sign}(b \cdot w) = \operatorname{sign}(b \cdot v_j)sign(b⋅w)=sign(b⋅vj​) for the smallest jjj with b⋅vj≠0b \cdot v_j \ne 0b⋅vj​=0, and b⋅w=0b \cdot w = 0b⋅w=0 if there is no such jjj.
  4. Theorem 3.3 (p. 56): the preprocessed w~\tilde ww~ satisfies ∥w~∥∞≤24n3Nn(n+2)\|\tilde w\|_\infty \le 2^{4n^3}N^{n(n+2)}∥w~∥∞​≤24n3Nn(n+2) and sign⁡(w⋅b)=sign⁡(w~⋅b)\operatorname{sign}(w \cdot b) = \operatorname{sign}(\tilde w \cdot b)sign(w⋅b)=sign(w~⋅b) for all integral bbb with ∥b∥1≤N−1\|b\|_1 \le N-1∥b∥1​≤N−1.
  5. The case N=n+1N = n+1N=n+1 (p. 55): an integral w~\tilde ww~ with ∥w~∥∞≤24n3(n+1)n(n+2)\|\tilde w\|_\infty \le 2^{4n^3}(n+1)^{n(n+2)}∥w~∥∞​≤24n3(n+1)n(n+2) and w~(X)≤w~(Y)  ⟺  w(X)≤w(Y)\tilde w(X) \le \tilde w(Y) \iff w(X) \le w(Y)w~(X)≤w~(Y)⟺w(X)≤w(Y) for all subsets X,YX, YX,Y of coordinates.
  6. Lemma 4.1 (i) (p. 57): if sign⁡(w′⋅h)=sign⁡(w′′⋅h)\operatorname{sign}(w' \cdot h) = \operatorname{sign}(w'' \cdot h)sign(w′⋅h)=sign(w′′⋅h) for all integral hhh with ∥h∥1≤(n+1)!\|h\|_1 \le (n+1)!∥h∥1​≤(n+1)!, then w′w'w′ and w′′w''w′′ have the same maximizers over {Ax≤b}\{Ax \le b\}{Ax≤b} for every 0,±10, \pm10,±1 matrix AAA.
  7. Lemma 4.1 (ii) (p. 57): under the same hypothesis, a dual basis is optimal for w′w'w′ if and only if it is optimal for w′′w''w′′.

Significance

The result gives a general reduction: whenever a class of polyhedra with 0,±10, \pm10,±1 constraint matrices admits an optimization algorithm that is polynomial in nnn and in the length of the objective, it admits a strongly polynomial one. The paper applies this to maximum-weight cliques in perfect graphs, optimization over submodular flow polyhedra, and matroid polyhedra membership, and its Section 5 applies the same rounding to the integer programming algorithms of Lenstra and Kannan. The subset-sum corollary (milestone 5) is independently useful: every rational weight function on a finite set can be replaced by an integral one with O(n3)O(n^3)O(n3)-bit entries that orders all subset sums identically.

All statements of this mission have been proved on paper since 1987. None is formalized on Prove2Me, and Mathlib contains only the one-dimensional Dirichlet approximation theorem. The mission produces a machine-checked version of the exact statements, with the explicit constants of the paper; the complexity claims (operation counts, strong polynomiality) are not part of it.

Difficulty

The goal combines two independent parts. The number-theoretic part (milestones 1–5) needs a multidimensional Dirichlet theorem, an induction producing the decomposition, and exact inequality chains with the constants 2n2+nNn2^{n^2+n}N^n2n2+nNn and 24n3Nn(n+2)2^{4n^3}N^{n(n+2)}24n3Nn(n+2). The linear-programming part (milestones 6–7) needs bounds on the entries of inverses of nonsingular 0,±10, \pm10,±1 submatrices, the existence of optimal dual solutions supported on a dual basis, LP duality and complementary slackness. The obvious first idea, scaling www to an integer vector by a common denominator, preserves every sign but gives no bound on ∥w~∥∞\|\tilde w\|_\infty∥w~∥∞​ in terms of nnn; the bound is the content of the theorem. Likewise, rounding each coordinate of www separately to a fixed precision does not preserve the sign of w⋅bw \cdot bw⋅b when w⋅bw \cdot bw⋅b is tiny but nonzero.

Formalization scope

Vectors are functions on Fin n: the input www is rational (Fin n → ℚ) in the goal, in Theorem 3.3 and in the subset-sum corollary, as in the algorithm's input line; it is real in Theorem 3.1, Lemma 3.2 and Lemma 4.1, as on the page. Integral vectors are Fin n → ℤ, and AAA is a Matrix (Fin m) (Fin n) ℤ with every entry in {−1,0,1}\{-1, 0, 1\}{−1,0,1}, cast to R\mathbb{R}R; b∈Rmb \in \mathbb{R}^mb∈Rm is unrestricted. Decompositions are indexed by i∈{1,…,k}⊆Ni \in \{1, \dots, k\} \subseteq \mathbb{N}i∈{1,…,k}⊆N as in the paper. ∥b∥1\|b\|_1∥b∥1​ is always the explicit sum ∑j∣b(j)∣\sum_j |b(j)|∑j​∣b(j)∣, compared with N−1N - 1N−1 in Z\mathbb{Z}Z; ∥v∥∞\|v\|_\infty∥v∥∞​ of an integer vector is a natural number (supNorm). Sign equality uses SignType.sign and includes the zero case. Condition (iii) is stated multiplicatively together with vi≠0v_i \ne 0vi​=0, which the paper's quotient presupposes; without vi≠0v_i \ne 0vi​=0 Lemma 3.2 fails. An optimal dual basis is a maximal linearly independent set of row indices together with an optimal dual solution supported on it.

Two formalizations would make the goal trivial and are excluded: dropping the bound on ∥w~∥∞\|\tilde w\|_\infty∥w~∥∞​ (a multiple of www then works), and letting w~\tilde ww~ depend on AAA and bbb (the goal states ∃w~\exists \tilde w∃w~ before ∀A,b\forall A, b∀A,b). The 0,±10, \pm10,±1 assumption on AAA is part of every Section 4 statement.

A complete development needs a multidimensional pigeonhole argument, determinant and adjugate bounds for 0,±10, \pm 10,±1 matrices, and basic LP duality (strong duality, complementary slackness, basic optimal dual solutions); the last two are reusable across linear-programming missions. Proofs of individual milestones, reusable lemmas on LP duality, and alternative proofs of Dirichlet's theorem are all welcome.

Selected references

  • A. Frank and É. Tardos, An application of simultaneous diophantine approximation in combinatorial optimization, Combinatorica 7(1) (1987) 49–65. https://doi.org/10.1007/BF02579200
  • A. K. Lenstra, H. W. Lenstra Jr. and L. Lovász, Factoring polynomials with rational coefficients, Math. Ann. 261 (1982) 515–534. https://doi.org/10.1007/BF01457454
  • É. Tardos, A strongly polynomial algorithm to solve combinatorial linear programs, Operations Research 34(2) (1986) 250–256. https://doi.org/10.1287/opre.34.2.250
  • M. Grötschel, L. Lovász and A. Schrijver, The ellipsoid method and its consequences in combinatorial optimization, Combinatorica 1 (1981) 169–197. https://doi.org/10.1007/BF02579273
  • J. W. S. Cassels, An Introduction to the Theory of Numbers (title as printed in the paper's reference [2]), Springer, Berlin, 1971; cited in the paper as [2, Sect. 1.10] for Dirichlet's theorem.
11 thms5 active usersReviewed
🏆Completed
CombinatoricsTheoretical Computer Science·Captain: mikedeng1

Competitive Paging Algorithms IV: An Algorithm Competitive against Several Others Exists iff the Reciprocal Ratios Sum to at Most 1Research Paper

Motivation

Paging is the problem of managing a fast memory that holds kkk pages out of nnn: when a requested page is not in fast memory (a page fault), some resident page must be evicted, and the cost of an algorithm is its number of faults. Practitioners have many eviction rules. Least-recently-used (LRU) performs well on real workloads but can be kkk times worse than the optimal off-line schedule; the randomized marking algorithm of the same paper is 2Hk2H_k2Hk​-competitive and so has better worst-case guarantees. Fiat, Karp, Luby, McGeoch, Sleator and Young asked in 1991 whether one on-line algorithm can combine the advantages of several given ones, and answered the question exactly: the attainable combinations of ratios are characterized by one inequality (arXiv:cs/0205038, §6).

The question of combining on-line algorithms has since become a theme of its own: combining heuristics with worst-case-safe algorithms, and, more recently, combining machine-learned predictions with robust fallbacks, both ask for the same kind of guarantee against several reference algorithms at once.

Setting

A type (k,n)(k,n)(k,n) consists of kkk servers and a finite set MMM of nnn vertices with the uniform metric: two distinct vertices are at distance 111. This is paging: vertices are pages, the vertices covered by servers are the pages in fast memory, and a server move is a page fault.

A deterministic on-line algorithm AAA of type (k,n)(k,n)(k,n) has an initial configuration of its kkk servers and, after each request r∈Mr\in Mr∈M, moves servers so that some server covers rrr; its configuration after a request sequence depends only on that sequence. Its cost CA(σ)C_A(\sigma)CA​(σ) on a request sequence σ\sigmaσ is the total distance its servers travel, i.e. the number of server moves.

For algorithms AAA and BBB of the same type and a constant ccc, AAA is ccc-competitive against BBB if there is a constant aaa such that for every request sequence σ\sigmaσ

CA(σ)≤c⋅CB(σ)+a.C_A(\sigma)\le c\cdot C_B(\sigma)+a .CA​(σ)≤c⋅CB​(σ)+a.

A sequence c∗=(c(1),…,c(m))c^*=(c(1),\dots,c(m))c∗=(c(1),…,c(m)) of positive reals is realizable if for every type (k,n)(k,n)(k,n) and every mmm deterministic on-line algorithms B(1),…,B(m)B(1),\dots,B(m)B(1),…,B(m) of that type there is a deterministic on-line algorithm AAA of the same type that is c(i)c(i)c(i)-competitive against B(i)B(i)B(i) for every iii.

Formalization targets

Goal: Theorem 6

For m≥1m\ge1m≥1 and positive reals c(1),…,c(m)c(1),\dots,c(m)c(1),…,c(m),

c∗ is realizable  ⟺  ∑1≤i≤m1c(i)≤1.c^*\ \text{is realizable}\iff \sum_{1\le i\le m}\frac1{c(i)}\le 1 .c∗ is realizable⟺1≤i≤m∑​c(i)1​≤1.

Milestones

In the order of the paper's proof:

  1. Punishments are paid for. If AAA punishes BBB at a time step (an AAA-interval on a vertex vvv ends at that step and contains the end of a BBB-interval on vvv that began no later), then BBB has moved a server; the number of such steps is at most CB(σ)C_B(\sigma)CB​(σ).
  2. A fault leaves room to punish. If ∣SA∣=k|S_A|=k∣SA​∣=k, ∣SB∣≤k|S_B|\le k∣SB​∣≤k, x∈SBx\in S_Bx∈SB​ and x∉SAx\notin S_Ax∈/SA​, then some u∈SAu\in S_Au∈SA​ is not in SBS_BSB​.
  3. The greedy quota claim. If ∑i1/c(i)≤1\sum_i 1/c(i)\le 1∑i​1/c(i)≤1 and each unit of cost punishes the B(i)B(i)B(i) minimizing c(i)(PUN(i)+1)c(i)(\mathrm{PUN}(i)+1)c(i)(PUN(i)+1) (other algorithms may be punished incidentally), then after cost rrr every B(i)B(i)B(i) has been punished at least ⌊r/c(i)⌋\lfloor r/c(i)\rfloor⌊r/c(i)⌋ times.
  4. Shuttle algorithms. With 2m−12m-12m−1 servers on 2m2m2m vertices there are mmm algorithms, each keeping all vertices outside its own pair covered, no two of which move at the same step; in particular their total cost on any σ\sigmaσ is at most ∣σ∣|\sigma|∣σ∣.
  5. A forcing adversary. With 2m−12m-12m−1 servers on 2m2m2m vertices every algorithm can be forced to move at each of NNN steps, so CA(τ(N))≥NC_A(\tau(N))\ge NCA​(τ(N))≥N.

Significance

The result. Theorem 6 is an exact characterization, not a bound: the region of simultaneously attainable ratios against arbitrary deterministic paging algorithms is {c:∑1/c(i)≤1}\{c:\sum 1/c(i)\le 1\}{c:∑1/c(i)≤1}. For example, any two paging algorithms can be combined into one that is 222-competitive against each, and no better symmetric pair is possible in general. Combined with Theorem 7 of the same paper (not part of this mission), the same region is attainable against randomized algorithms, which is how LRU's practical behaviour and the marking algorithm's 2Hk2H_k2Hk​ worst-case guarantee can be obtained within constant factors by one algorithm.

Formalizing it. The theorem has been proved since 1991; no machine-checked proof is known. A formal proof produces a reusable notion of competitiveness of one on-line algorithm against another, built on the published KServer_model definitions, and a formal account of the scheduling fact at the core of the sufficiency proof.

Difficulty

Sufficiency looks like an averaging argument, but the combined algorithm cannot simulate the B(i)B(i)B(i) and follow one of them: switching between their configurations costs up to kkk per switch, which no additive constant absorbs. The accounting has to charge each of AAA's faults to a specific move of a specific B(i)B(i)B(i), and the charge must be injective; the paper's claim that CB(σ)C_B(\sigma)CB​(σ) is at least the number of punishments is where this happens, and it depends on how server intervals are matched. The allocation of faults to algorithms is then a deadline-scheduling problem whose feasibility is exactly ∑1/c(i)≤1\sum 1/c(i)\le 1∑1/c(i)≤1, and the floor functions make the counting delicate at the boundary. The paper's own definition of punishment only counts intervals that start with a move, so the first kkk faults of AAA (servers on their initial vertices) need separate treatment; they are absorbed by the additive constant.

Necessity needs the right family of hard instances: the mmm algorithms must never move at the same step, which pins the type to (2m−1,2m)(2m-1,2m)(2m−1,2m).

Formalization scope

The Lean development works in the namespace CompetitivePaging.Combining and imports the published KServer_model definitions: KServer.OnlineAlgorithm k M (a configuration map from request prefixes to Fin k → M with a serving condition) and OnlineAlgorithm.cost. Committed conventions:

  • a type (k,n)(k,n)(k,n) is any k : ℕ and any finite M : Type with a metric in which distinct points are at distance 111; realizability quantifies over all of them, never over one fixed type;
  • servers are labelled; each algorithm has its own initial configuration, and the additive constant aaa is chosen before the request sequence;
  • c(i)>0c(i)>0c(i)>0 and m≥1m\ge1m≥1 are hypotheses of the goal, as in the paper; without positivity, 1/0=01/0=01/0=0 in Lean would make a zero ratio free;
  • time ttt is the step processing the ttt-th request; the paper's PUN\mathrm{PUN}PUN counts time steps.

Trivializing encodings are ruled out: realizability is not stated for a single fixed type, the metric is not the metric of Fin n, and the competitive constant is not allowed to depend on the request sequence.

A complete proof needs the construction of the punishing algorithm as a KServer.OnlineAlgorithm (a lazy, injective algorithm whose moves depend on the prefix and on the B(i)B(i)B(i)'s configurations), the injective charging argument, the scheduling lemma, and the explicit shuttle algorithms. The scheduling lemma and the charging lemma are independent of paging and reusable. Proofs of any milestone are welcome, as are alternative statements of the sufficiency construction.

Selected references

  • A. Fiat, R. M. Karp, M. Luby, L. A. McGeoch, D. D. Sleator, N. E. Young, Competitive Paging Algorithms, J. Algorithms 12(4):685–699, 1991. doi:10.1016/0196-6774(91)90041-V; preprint arXiv:cs/0205038.
  • D. D. Sleator, R. E. Tarjan, Amortized efficiency of list update and paging rules, Comm. ACM 28(2):202–208, 1985. doi:10.1145/2786.2793
  • M. S. Manasse, L. A. McGeoch, D. D. Sleator, Competitive algorithms for server problems, J. Algorithms 11(2):208–230, 1990. doi:10.1016/0196-6774(90)90003-W
9 thms5 active usersReviewed
🏆Completed
CombinatoricsGraph TheoryLinear Optimization+1·Captain: mikedeng1

Theoretical Improvements in Algorithmic Efficiency for Network Flow Problems 3: Capacity Scaling for the Hitchcock ProblemResearch Paper

Motivation

The Hitchcock transportation problem asks how to ship a commodity from mmm supply points to nnn demand points at minimum total cost. It was posed by Hitchcock in 1941 and is one of the founding problems of linear programming and network optimization; it is solved routinely in logistics, and its structure (a bipartite network with supplies, demands and per-unit costs) recurs in assignment, optimal transport and matching.

The classical algorithms for it, the Ford–Fulkerson primal–dual method among them, augment flow one path at a time. With integral data their number of augmentations is bounded only by the total supply ∑iai\sum_i a_i∑i​ai​, which is exponential in the number of binary digits used to write the data. Edmonds and Karp, Theoretical Improvements in Algorithmic Efficiency for Network Flow Problems (J. ACM 19(2), 1972, doi:10.1145/321694.321699), introduced capacity scaling: solve a coarse version of the problem first, then refine one binary digit at a time. Their Theorem 9 (p. 260) bounds the total number of augmentations by a quantity proportional to max⁡(m,n)\max(m,n)max(m,n) times the number of bits of the data, which made the transportation problem, and through standard reductions the minimum-cost flow problem, one of the first network problems with a polynomial-time ("good") algorithm in the sense of Edmonds.

Timeline. Hitchcock (1941) posed the problem; Ford and Fulkerson (1956–1962) gave the primal–dual labeling method and the optimality conditions by node potentials; Edmonds and Karp (1972) gave the scaling method and the bound formalized here. Strongly polynomial algorithms, independent of the size of the numbers, came later (Tardos 1985; Orlin 1988).

Setting

The network of Figure 1 (p. 259) has a source sss, a sink ttt, supply nodes s1,…,sms_1,\dots,s_ms1​,…,sm​ and demand nodes t1,…,tnt_1,\dots,t_nt1​,…,tn​, with m,n≥1m,n\ge 1m,n≥1. Its arcs are (s,si)(s,s_i)(s,si​) with capacity aia_iai​ and cost 000; (si,tj)(s_i,t_j)(si​,tj​) with capacity +∞+\infty+∞ and cost dij≥0d_{ij}\ge 0dij​≥0; (tj,t)(t_j,t)(tj​,t) with capacity bjb_jbj​ and cost 000; and the return arc (t,s)(t,s)(t,s) with capacity +∞+\infty+∞ and cost 000. The supplies aia_iai​ and demands bjb_jbj​ are positive integers with ∑iai=∑jbj=:B\sum_i a_i=\sum_j b_j=:B∑i​ai​=∑j​bj​=:B.

A flow assigns a nonnegative number to every arc, at most the capacity, with inflow equal to outflow at every node. Write f0i=f(s,si)f_{0i}=f(s,s_i)f0i​=f(s,si​), fij=f(si,tj)f_{ij}=f(s_i,t_j)fij​=f(si​,tj​), fj0=f(tj,t)f_{j0}=f(t_j,t)fj0​=f(tj​,t); the value of fff is f(t,s)f(t,s)f(t,s), and a maximum flow is one of largest value. Its cost is ∑i,jdijfij\sum_{i,j} d_{ij} f_{ij}∑i,j​dij​fij​; a flow is extreme if no flow of the same value is cheaper. A flow is pseudo-extreme if there are real ui,vju_i, v_jui​,vj​ with ui−vj+dij≥0u_i-v_j+d_{ij}\ge 0ui​−vj​+dij​≥0 for all i,ji,ji,j and fij=0f_{ij}=0fij​=0 whenever ui−vj+dij>0u_i-v_j+d_{ij}>0ui​−vj​+dij​>0.

An augmenting path relative to fff is a sequence of distinct nodes from sss to ttt in which each step either follows an arc with spare capacity or traverses backwards an arc carrying positive flow; augmenting pushes the minimum spare amount ε\varepsilonε along it and raises f(t,s)f(t,s)f(t,s) by ε\varepsilonε.

For p≥0p\ge 0p≥0, Problem ppp has the same network and costs, with capacities ⌊ai/2p⌋\lfloor a_i/2^p\rfloor⌊ai​/2p⌋ and ⌊bj/2p⌋\lfloor b_j/2^p\rfloor⌊bj​/2p⌋. Choose lll with every ai,bj<2la_i,b_j<2^lai​,bj​<2l. The scaling method solves Problems l−1,l−2,…,0l-1,l-2,\dots,0l−1,l−2,…,0 in turn. Each phase performs augmentations keeping every flow pseudo-extreme, until no augmenting path is left. Problem l−1l-1l−1 starts from the zero flow, and Problem p−1p-1p−1 starts from twice the final flow of Problem ppp.

Formalization targets

Goal: Theorem 9

For every run of the scaling method, the total number ∑p<lKp\sum_{p<l} K_p∑p<l​Kp​ of flow augmentations satisfies

∑p=0l−1Kp  ≤  max⁡(m,n)(2+⌊log⁡2∑i=1maimax⁡(m,n)⌋).\sum_{p=0}^{l-1} K_p \;\le\; \max(m,n)\left(2+\left\lfloor \log_2\frac{\sum_{i=1}^m a_i}{\max(m,n)}\right\rfloor\right).p=0∑l−1​Kp​≤max(m,n)(2+⌊log2​max(m,n)∑i=1m​ai​​⌋).

The bound holds for every lll admissible for the data and every choice of costs, and is stated with the paper's constant exactly.

Milestones

  1. §1.1: augmentation preserves feasibility and raises the value by ε>0\varepsilon>0ε>0; a flow is maximum iff no augmenting path exists.
  2. Theorem 8: a maximum flow is extreme iff there are potentials u0,…,umu_0,\dots,u_mu0​,…,um​, v0,…,vnv_0,\dots,v_nv0​,…,vn​ with (5a)–(5f).
  3. §2.2: a pseudo-extreme maximum flow is extreme.
  4. Lemma 3: if fff is pseudo-extreme in Problem ppp, then 2f2f2f is pseudo-extreme in Problem p−1p-1p−1.
  5. The maximum-flow value of Problem ppp is fp∗=min⁡(∑i⌊ai/2p⌋,∑j⌊bj/2p⌋)f_p^*=\min\big(\sum_i\lfloor a_i/2^p\rfloor,\sum_j\lfloor b_j/2^p\rfloor\big)fp∗​=min(∑i​⌊ai​/2p⌋,∑j​⌊bj​/2p⌋).
  6. Eq. (6): ∑pKp≤f0∗−∑p=1l−1fp∗\sum_p K_p\le f_0^*-\sum_{p=1}^{l-1} f_p^*∑p​Kp​≤f0∗​−∑p=1l−1​fp∗​.
  7. fp∗≥max⁡(0, B/2p−max⁡(m,n))f_p^*\ge\max\big(0,\,B/2^p-\max(m,n)\big)fp∗​≥max(0,B/2p−max(m,n)).

Significance

The result. Theorem 9 shows that scaling reduces the number of augmentations from order BBB to order max⁡(m,n)log⁡2(B/max⁡(m,n))\max(m,n)\log_2(B/\max(m,n))max(m,n)log2​(B/max(m,n)), which is roughly the length of the binary encoding of the data. Combined with the O(mn)O(mn)O(mn) cost of one augmentation it gives a polynomial-time algorithm for the transportation problem; through the reduction of minimum-cost flow to transportation (p. 261) it gives one for minimum-cost flow. Capacity and cost scaling became standard techniques in network optimization and in combinatorial optimization generally. Theorem 8 and the pseudo-extreme criterion are the optimality certificates for transportation, a special case of linear-programming complementary slackness.

Formalizing it. The theorem has been proved since 1972. This mission produces a machine-checked version of the bound, of the exact counting argument (eq. (6)) and of the arithmetic estimate that turns it into the stated constant, together with the potential-based optimality conditions for the transportation network. To our knowledge no machine-checked bound on the number of augmentations of a flow algorithm exists on the platform.

Difficulty

The obvious argument bounds the number of augmentations by the increase in flow value, since each augmentation raises the value by a positive integer. Applied to Problem 0 directly this gives only BBB. The scaling bound needs three things that the naive count does not supply. First, doubling the final flow of Problem ppp must give a feasible, still pseudo-extreme, starting flow for Problem p−1p-1p−1 (Lemma 3). Second, the gap between that start and the optimum of Problem p−1p-1p−1 must be small, which requires the exact maximum-flow value fp∗f_p^*fp∗​ of each scaled problem. Third, the telescoping sum of the gaps must be estimated against log⁡2(B/max⁡(m,n))\log_2(B/\max(m,n))log2​(B/max(m,n)) with the floors handled exactly. Integrality of every intermediate flow is not assumed; it has to be carried along the run from the integral capacities and the zero start.

Formalization scope

Everything lives in the namespace EdmondsKarp.Scaling. Nodes form an inductive type (s, t, src i, dst j). A flow is a structure with components f0, fx, fz, ret for the four arc families, real valued; the infinite capacities are encoded by the absence of an upper bound. IsMaxFlow is a predicate comparing values with every flow, not a supremum. Problem ppp uses natural-number division for ⌊ai/2p⌋\lfloor a_i/2^p\rfloor⌊ai​/2p⌋. Augmenting paths are lists of distinct nodes from s to t whose consecutive pairs have positive residual amount (resCap, valued in WithTop ℝ); they never use the return arc.

A run of the scaling method (IsScalingRun) is a family of phases F p 0,…,F p (K p)F\,p\,0,\dots,F\,p\,(K\,p)Fp0,…,Fp(Kp) for p<lp<lp<l. It starts from 000 in Problem l−1l-1l−1, restarts from 2F p (K p)2F\,p\,(K\,p)2Fp(Kp) in Problem p−1p-1p−1, and advances by one augmentation per step. Every flow is pseudo-extreme, and each phase ends with no augmenting path left. The paper's path-selection rule (minimum weight for the modified reduced costs Δˉ\bar\DeltaΔˉ) is abstracted to this invariant, which the paper states for it, so every run of the paper's method is covered.

The goal compares the count, cast to Z\mathbb{Z}Z, with max⁡(m,n) (2+⌊log⁡2(B/max⁡(m,n))⌋)\max(m,n)\,(2+\lfloor\log_2(B/\max(m,n))\rfloor)max(m,n)(2+⌊log2​(B/max(m,n))⌋), using Real.logb 2 and Int.floor. The constant is the printed one; neither O(⋅)O(\cdot)O(⋅) nor a weaker constant is acceptable. Positivity of all ai,bja_i,b_jai​,bj​ is a hypothesis, because without it the printed bound is false (for m=5m=5m=5, n=1n=1n=1, a=(1,0,0,0,0)a=(1,0,0,0,0)a=(1,0,0,0,0), b=(1)b=(1)b=(1) one augmentation is needed and the bound is negative). A formalization in which runs could be empty or never reach a maximum flow would trivialize the goal; the run predicate forbids this, and it is satisfiable (for instance with m=n=1m=n=1m=n=1, a=b=(1)a=b=(1)a=b=(1), l=1l=1l=1 and one augmentation).

A complete development needs max-flow/min-cut for the bipartite network, integrality of flows along a run, the exact value of fp∗f_p^*fp∗​, the telescoping identity and floor/logarithm estimates. LP duality or complementary slackness is needed only for Theorem 8. The augmenting-path and max-flow lemmas are reusable for other bipartite flow problems. Contributions welcome: proofs of any milestone, and a formalization of the paper's exact Δˉ\bar\DeltaΔˉ path rule showing that it satisfies the invariant.

Selected references

  • J. Edmonds, R. M. Karp, Theoretical Improvements in Algorithmic Efficiency for Network Flow Problems, Journal of the ACM 19(2):248–264, 1972. https://doi.org/10.1145/321694.321699
  • F. L. Hitchcock, The Distribution of a Product from Several Sources to Numerous Localities, Journal of Mathematics and Physics 20:224–230, 1941. https://doi.org/10.1002/sapm1941201224
  • L. R. Ford, D. R. Fulkerson, Flows in Networks, Princeton University Press, 1962. https://doi.org/10.1515/9781400875184
  • É. Tardos, A strongly polynomial minimum cost circulation algorithm, Combinatorica 5:247–255, 1985. https://doi.org/10.1007/BF02579369
  • J. B. Orlin, A faster strongly polynomial minimum cost flow algorithm, Proc. STOC 1988, 377–387. https://doi.org/10.1145/62212.62249
12 thms5 active usersReviewed
🏆Completed
OptimizationProbability·Captain: mikedeng1

On Properties of Stochastic Inventory Systems I: Using the EOQ Order Quantity in the Stochastic (Q, r) Model Raises Costs by at Most 1/8Research Paper

Motivation

The economic order quantity (EOQ) is the most widely used formula in inventory management. It assumes that demand is a deterministic constant stream. Real demand is random, and the model that accounts for this, the continuous-review (Q,r)(Q, r)(Q,r) policy with stochastic demand, has no closed-form optimum: for decades its optimal parameters were computed numerically, one instance at a time, which gave little insight into how the stochastic system behaves. Practitioners nevertheless kept using the EOQ quantity in stochastic systems and observed that the cost penalty was small (Wagner, O'Hagan and Lundh 1965; Naddor 1975; Archibald and Silver 1978), without an analytical explanation.

Zheng (Management Science 38(1), 1992) supplied that explanation. By minimising the average cost first over the reorder point and then over the order quantity, he obtained two simple optimality equations and compared the stochastic model with the EOQ model under the same cost structure. One of the results is the goal of this mission: for every leadtime-demand distribution, using the EOQ order quantity in the stochastic system raises the average cost by at most one eighth. The paper extends Federgruen and Zheng (1988), who treated the discrete-demand version of the cost function.

Setting

A single item faces demand at rate λ>0\lambda > 0λ>0. Orders are delivered after a fixed leadtime L>0L > 0L>0, and stockouts are backordered. Each order costs a fixed K>0K > 0K>0. Inventory is held at cost rate h>0h > 0h>0 per unit and backorders are penalised at cost rate p>0p > 0p>0 per unit. Let D≥0D \ge 0D≥0 be the demand during a leadtime, with mean E(D)=λLE(D) = \lambda LE(D)=λL. The newsvendor cost

G(y)=E[h(y−D)++p(D−y)+]G(y) = E\big[h(y - D)^+ + p(D - y)^+\big]G(y)=E[h(y−D)++p(D−y)+]

is the rate at which expected inventory costs accrue at time t+Lt + Lt+L when the inventory position at time ttt is yyy. It is convex, and it is assumed, as in the paper, to attain its minimum at a unique point y0y^0y0.

A (Q,r)(Q, r)(Q,r) policy orders QQQ units whenever the inventory position falls to the reorder point rrr. Its long-run average cost is

c(Q,r)=λK+∫rr+QG(y) dyQ.(1)c(Q, r) = \frac{\lambda K + \int_r^{r+Q} G(y)\,dy}{Q}. \qquad (1)c(Q,r)=QλK+∫rr+Q​G(y)dy​.(1)

For a fixed Q>0Q > 0Q>0 let r(Q)r(Q)r(Q) be an optimal reorder point, and set

H(Q)=G(r(Q)) (Q>0),H(0)=G(y0),C(Q)=c(Q,r(Q)),A(Q)=QH(Q)−∫0QH(y) dy.H(Q) = G(r(Q)) \ (Q > 0),\quad H(0) = G(y^0),\quad C(Q) = c(Q, r(Q)),\quad A(Q) = Q H(Q) - \int_0^Q H(y)\,dy .H(Q)=G(r(Q)) (Q>0),H(0)=G(y0),C(Q)=c(Q,r(Q)),A(Q)=QH(Q)−∫0Q​H(y)dy.

C(Q)C(Q)C(Q) is the average cost when the reorder point is chosen optimally for QQQ; an order quantity Q∗>0Q^* > 0Q∗>0 minimising CCC over Q>0Q > 0Q>0 is the optimal order quantity, and C∗=C(Q∗)C^* = C(Q^*)C∗=C(Q∗) is the optimal cost.

The EOQ model is the special case in which the leadtime demand is the constant λL\lambda LλL. Its cost rate is Gd(y)=h(y−λL)++p(λL−y)+G_d(y) = h(y - \lambda L)^+ + p(\lambda L - y)^+Gd​(y)=h(y−λL)++p(λL−y)+, and its optimal order quantity is

Qd∗=2λK(h+p)hp.Q^*_d = \sqrt{\frac{2\lambda K(h+p)}{hp}} .Qd∗​=hp2λK(h+p)​​.

The subscript ddd marks every object of the EOQ model (rdr_drd​, HdH_dHd​, AdA_dAd​).

Formalization targets

Goal: Theorem 5

R=C(Qd∗)−C∗C∗  ≤  18−12(12−Qd∗Q∗)2  ≤  18.R = \frac{C(Q^*_d) - C^*}{C^*} \;\le\; \frac18 - \frac12\left(\frac12 - \frac{Q^*_d}{Q^*}\right)^2 \;\le\; \frac18 .R=C∗C(Qd∗​)−C∗​≤81​−21​(21​−Q∗Qd∗​​)2≤81​.

C(Qd∗)C(Q^*_d)C(Qd∗​) is the stochastic cost at the EOQ quantity with the reorder point re-optimised for it. The bound holds for every leadtime-demand distribution and every value of the parameters.

Milestones

In the order the goal's proof uses them:

  • Lemma 1 (joint convexity of ccc), Lemma 2 (r=r(Q)  ⟺  G(r)=G(r+Q)r = r(Q) \iff G(r) = G(r+Q)r=r(Q)⟺G(r)=G(r+Q)), Lemma 3 (properties of r(Q)r(Q)r(Q)), Corollary 1 (G(r(Q))≤max⁡(G(r),G(r+Q))G(r(Q)) \le \max(G(r), G(r+Q))G(r(Q))≤max(G(r),G(r+Q)));
  • Eq. (7) (C(Q)=(λK+∫0QH)/QC(Q) = (\lambda K + \int_0^Q H)/QC(Q)=(λK+∫0Q​H)/Q), Lemma 4 (HHH increasing, convex, asymptotic slope hp/(h+p)hp/(h+p)hp/(h+p)), Lemma 5 (CCC convex), Eq. (8) (H(Q∗)=C(Q∗)H(Q^*) = C(Q^*)H(Q∗)=C(Q∗)), Theorem 1 ((Q,r)(Q, r)(Q,r) optimal iff c(Q,r)=G(r)=G(r+Q)c(Q,r) = G(r) = G(r+Q)c(Q,r)=G(r)=G(r+Q)), Lemma 6 (AAA increasing convex, Q=Q∗  ⟺  A(Q)=λKQ = Q^* \iff A(Q) = \lambda KQ=Q∗⟺A(Q)=λK, comparative statics in KKK);
  • Eqs. (18), (20) (the EOQ model: Hd(Q)=hpQ/(h+p)H_d(Q) = hpQ/(h+p)Hd​(Q)=hpQ/(h+p) and the formula for Qd∗Q^*_dQd∗​), Eq. (22) (Gd≤GG_d \le GGd​≤G), Lemma 7 (H0≤Hd≤HH_0 \le H_d \le HH0​≤Hd​≤H, A≤AdA \le A_dA≤Ad​), and the first inequality of Theorem 2, Qd∗≤Q∗Q^*_d \le Q^*Qd∗​≤Q∗.

Significance

The theorem is a distribution-free worst-case guarantee for the most common heuristic in inventory practice. It says that the EOQ formula, which needs only the mean demand rate and three cost parameters, loses at most 12.5%12.5\%12.5% against the true optimum, and that the loss is smaller when Qd∗/Q∗Q^*_d/Q^*Qd∗​/Q∗ is close to 12\frac1221​ or to 111. Combined with the paper's Theorem 2 (the gap Q∗−Qd∗Q^* - Q^*_dQ∗−Qd∗​ is bounded as KKK grows), it implies that the relative loss vanishes as the fixed ordering cost grows. The milestones along the way (the optimality conditions of Theorem 1, the monotonicity of the optimal reorder point, the comparison of HHH with its EOQ counterpart) are the standard structural facts about continuous (Q,r)(Q, r)(Q,r) systems and are reused throughout the inventory literature.

The result is proved in the paper. No machine-checked version of it, or of the (Q,r)(Q, r)(Q,r) optimality conditions for the continuous cost (1), is known to exist. The platform has related but different formalizations: the discrete cost function with integer QQQ (InventoryControl_rqDiscrete), the (R,Q)(R, Q)(R,Q) cost under normal demand (InventoryControl_rq), and the EOQ without backorders (InventoryControl_eoq). A complete development here provides the continuous (Q,r)(Q, r)(Q,r) machinery for an arbitrary leadtime-demand distribution.

Difficulty

The paper's proofs differentiate r(Q)r(Q)r(Q) and H(Q)H(Q)H(Q) twice (Eqs. (4), (5)), which presupposes a leadtime demand with a smooth density. The formalization does not assume one, so that discrete demand, such as the Poisson demand of the paper's own numerical study, is covered. Every step that the paper takes through derivatives, in particular the convexity of HHH and the slope bound H′≤hp/(h+p)H' \le hp/(h+p)H′≤hp/(h+p), has to be established by other means: through one-sided derivatives or chord arguments for the convex function GGG, whose kinks are where the derivative-based argument breaks. The definition of r(Q)r(Q)r(Q) as a minimiser also means its existence and uniqueness must be proved before any property of HHH, CCC or AAA can be used.

Formalization scope

  • The model is a probability measure μ\muμ on R\mathbb{R}R (the law of DDD), concentrated on [0,∞)[0,\infty)[0,∞), integrable, with mean λL\lambda LλL; GGG is the integral of hmax⁡(y−x,0)+pmax⁡(x−y,0)h\max(y-x,0) + p\max(x-y,0)hmax(y−x,0)+pmax(x−y,0) against μ\muμ. The standing assumptions are bundled in IsQRModel: λ,L,h,p>0\lambda, L, h, p > 0λ,L,h,p>0, the conditions on μ\muμ, and the unique minimiser of GGG (paper, p. 90). K>0K > 0K>0 is a separate hypothesis. No density is assumed.
  • ccc, r(Q)r(Q)r(Q), y0y^0y0, HHH, H0H_0H0​, CCC, AAA and optimality of an order quantity are defined for an arbitrary cost rate GGG and applied both to the newsvendor cost and to GdG_dGd​; the EOQ objects rdr_drd​, HdH_dHd​, AdA_dAd​ are these definitions at GdG_dGd​, and Eqs. (18), (20) are theorems.
  • r(Q)r(Q)r(Q) is a chosen minimiser of c(Q,⋅)c(Q,\cdot)c(Q,⋅) (never defined by G(r)=G(r+Q)G(r) = G(r+Q)G(r)=G(r+Q), which is Lemma 2). H(0):=G(y0)H(0) := G(y^0)H(0):=G(y0); right-continuity of HHH at 000 is part of the Lemma 4 milestone. Order quantities range over (0,∞)(0,\infty)(0,∞) for ccc and CCC and over [0,∞)[0,\infty)[0,∞) for HHH, H0H_0H0​, AAA.
  • Q∗Q^*Q∗ in the goal is any Q>0Q > 0Q>0 with C(Q)≤C(Q′)C(Q) \le C(Q')C(Q)≤C(Q′) for all Q′>0Q' > 0Q′>0; Lemma 6 asserts that exactly one exists, so the goal is not vacuous. Qd∗Q^*_dQd∗​ is the explicit square-root formula.
  • Readings of informal words: "increasing" in Lemmas 4 and 6 means strictly increasing on [0,∞)[0,\infty)[0,∞); "Q∗Q^*Q∗ increasing, r∗r^*r∗ decreasing in KKK" means strictly; "asymptotic slope hp/(h+p)hp/(h+p)hp/(h+p)" means that every chord of HHH on [0,∞)[0,\infty)[0,∞) has slope at most hp/(h+p)hp/(h+p)hp/(h+p) and H(Q)/Q→hp/(h+p)H(Q)/Q \to hp/(h+p)H(Q)/Q→hp/(h+p); Lemma 3 part 3 is stated as strict monotonicity of r(Q)r(Q)r(Q) and r(Q)+Qr(Q) + Qr(Q)+Q, and its derivative clause −1<r′(Q)<0-1 < r'(Q) < 0−1<r′(Q)<0 is omitted because rrr need not be differentiable without a density; "the optimal order quantity" means existence and uniqueness; Lemma 7 is stated for Q≥0Q \ge 0Q≥0.
  • A trivializing formalization is ruled out: C(Qd∗)C(Q^*_d)C(Qd∗​) is the stochastic cost with the reorder point re-optimised in the stochastic model (not the EOQ reorder point rd∗r^*_drd∗​), and no positivity of C∗C^*C∗ is assumed (it follows from the model).
  • Out of scope: the discrete cost (2), the §4 numerical study, and the unnumbered remarks after Theorem 5.
  • Needed infrastructure: interval integrals of convex functions, partial minimisation of jointly convex functions, Jensen's inequality for μ\muμ, and one-sided derivatives of convex functions. The generic (Q,r)(Q, r)(Q,r) machinery (optimality conditions for arbitrary convex GGG) is reusable for other continuous-review models. Proofs of any milestone, and alternative proofs that avoid the paper's differentiability assumptions, are welcome.

Selected references

  • Yu-Sheng Zheng, On Properties of Stochastic Inventory Systems, Management Science 38(1):87–103, 1992. https://doi.org/10.1287/mnsc.38.1.87
  • Awi Federgruen and Yu-Sheng Zheng, An Efficient Algorithm for Computing an Optimal (r, Q) Policy in Continuous Review Stochastic Inventory Systems, Operations Research 40(4):808–813, 1992. https://doi.org/10.1287/opre.40.4.808
  • Paul H. Zipkin, Inventory Service-Level Measures: Convexity and Approximation, Management Science 32(8):975–981, 1986. https://doi.org/10.1287/mnsc.32.8.975
  • George Hadley and Thomson M. Whitin, Analysis of Inventory Systems, Prentice-Hall, 1963.
  • Daniel P. Heyman and Matthew J. Sobel, Stochastic Models in Operations Research, Vol. II, McGraw-Hill, 1984.
18 thms5 active usersReviewed
PreviousPage 1 of 19Next

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