Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Convex Optimization

556 missions · 337 completed

Missions

Open219Completed337All556
🏆Completed
Linear algebraOptimization·Captain: mikedeng1

Guaranteed Minimum-Rank Solutions of Linear Matrix Equations via Nuclear Norm Minimization 1: If δ_5r < 1/10, Nuclear Norm Minimization Recovers Every Matrix of Rank at Most r ExactlyResearch Paper

Motivation

Many problems in system identification, collaborative filtering, low-dimensional embedding and model reduction ask for the simplest matrix consistent with a set of linear observations, where "simplest" means "of least rank". Given a linear map A:Rm×n→Rp\mathcal A:\mathbb R^{m\times n}\to\mathbb R^pA:Rm×n→Rp and a vector b∈Rpb\in\mathbb R^pb∈Rp, the affine rank minimization problem is

min⁡X rank⁡(X)s.t.A(X)=b.\min_X\ \operatorname{rank}(X)\quad\text{s.t.}\quad \mathcal A(X)=b .Xmin​ rank(X)s.t.A(X)=b.

This problem is NP-hard in general: it contains the problem of finding the sparsest solution of a linear system as the special case of diagonal matrices. A standard heuristic, popularized in control by Fazel, Hindi and Boyd, replaces the rank by the nuclear norm ∥X∥∗\|X\|_*∥X∥∗​, the sum of the singular values, which is the convex envelope of the rank on the unit ball of the operator norm. The resulting problem is a semidefinite program and can be solved efficiently.

Recht, Fazel and Parrilo (arXiv:0706.4138, SIAM Review 2010) gave the first general conditions under which this heuristic provably returns the minimum-rank solution. Their argument transfers the compressed sensing theory of Candès and Tao (Decoding by linear programming, 2005) and Candès, Romberg and Tao from sparse vectors and the ℓ1\ell_1ℓ1​ norm to low-rank matrices and the nuclear norm. This mission formalizes the paper's deterministic recovery theorem (Section 3).

Setting

Matrices are real m×nm\times nm×n matrices. For matrices X,YX,YX,Y of the same size, ⟨X,Y⟩=Tr⁡(X⊤Y)=∑i,jXijYij\langle X,Y\rangle=\operatorname{Tr}(X^{\top}Y)=\sum_{i,j}X_{ij}Y_{ij}⟨X,Y⟩=Tr(X⊤Y)=∑i,j​Xij​Yij​ is the trace inner product. With σ1(X)≥σ2(X)≥⋯≥0\sigma_1(X)\ge\sigma_2(X)\ge\dots\ge0σ1​(X)≥σ2​(X)≥⋯≥0 the singular values of XXX, the three norms used are the operator norm ∥X∥=σ1(X)\|X\|=\sigma_1(X)∥X∥=σ1​(X), the Frobenius norm ∥X∥F=⟨X,X⟩=(∑iσi(X)2)1/2\|X\|_F=\sqrt{\langle X,X\rangle}=(\sum_i\sigma_i(X)^2)^{1/2}∥X∥F​=⟨X,X⟩​=(∑i​σi​(X)2)1/2, and the nuclear norm ∥X∥∗=∑iσi(X)\|X\|_*=\sum_i\sigma_i(X)∥X∥∗​=∑i​σi​(X).

A linear map A:Rm×n→Rp\mathcal A:\mathbb R^{m\times n}\to\mathbb R^pA:Rm×n→Rp is given by ppp measurement matrices A1,…,ApA_1,\dots,A_pA1​,…,Ap​ through A(X)i=⟨Ai,X⟩\mathcal A(X)_i=\langle A_i,X\rangleA(X)i​=⟨Ai​,X⟩; ∥A(X)∥\|\mathcal A(X)\|∥A(X)∥ is the Euclidean norm of the vector A(X)∈Rp\mathcal A(X)\in\mathbb R^pA(X)∈Rp.

For an integer rrr, the rrr-restricted isometry constant δr(A)\delta_r(\mathcal A)δr​(A) (Definition 3.1) is the smallest δ≥0\delta\ge0δ≥0 with

(1−δ) ∥X∥F≤∥A(X)∥≤(1+δ) ∥X∥Ffor every X with rank⁡X≤r.(1-\delta)\,\|X\|_F\le\|\mathcal A(X)\|\le(1+\delta)\,\|X\|_F\qquad\text{for every } X \text{ with } \operatorname{rank}X\le r .(1−δ)∥X∥F​≤∥A(X)∥≤(1+δ)∥X∥F​for every X with rankX≤r.

Fix a matrix X0X_0X0​ of rank at most rrr, put b=A(X0)b=\mathcal A(X_0)b=A(X0​), and consider the nuclear norm minimization problem

X∗:=arg⁡min⁡X ∥X∥∗s.t.A(X)=b.(3.1)X^*:=\arg\min_X\ \|X\|_*\quad\text{s.t.}\quad\mathcal A(X)=b. \tag{3.1}X∗:=argXmin​ ∥X∥∗​s.t.A(X)=b.(3.1)

Formalization targets

Goal: Theorem 3.3

If r≥1r\ge1r≥1 and δ5r(A)<110\delta_{5r}(\mathcal A)<\tfrac1{10}δ5r​(A)<101​, then X∗=X0X^*=X_0X∗=X0​; precisely,

∀X∈Rm×n:A(X)=A(X0)  and  ∥X∥∗≤∥X0∥∗ ⟹ X=X0.\forall X\in\mathbb R^{m\times n}:\quad \mathcal A(X)=\mathcal A(X_0)\ \text{ and }\ \|X\|_*\le\|X_0\|_*\ \Longrightarrow\ X=X_0 .∀X∈Rm×n:A(X)=A(X0​)  and  ∥X∥∗​≤∥X0​∥∗​ ⟹ X=X0​.

The statement holds for every linear map, every m,n,pm,n,pm,n,p and every X0X_0X0​ of rank at most rrr. The constant 1/101/101/10 is the paper's; the paper notes (p. 14) that its derivation is chosen for simplicity and is not optimal.

Milestones, in the paper's order

  1. Theorem 3.2 (p. 12): if δ2r<1\delta_{2r}<1δ2r​<1, then X0X_0X0​ is the only matrix of rank at most rrr with A(X)=b\mathcal A(X)=bA(X)=b.
  2. (2.1) (p. 6): ∥X∥≤∥X∥F≤∥X∥∗≤r ∥X∥F≤r ∥X∥\|X\|\le\|X\|_F\le\|X\|_*\le\sqrt r\,\|X\|_F\le r\,\|X\|∥X∥≤∥X∥F​≤∥X∥∗​≤r​∥X∥F​≤r∥X∥ whenever rank⁡X≤r\operatorname{rank}X\le rrankX≤r.
  3. Lemma 2.3 (p. 9): if AB⊤=0AB^{\top}=0AB⊤=0 and A⊤B=0A^{\top}B=0A⊤B=0, then ∥A+B∥∗=∥A∥∗+∥B∥∗\|A+B\|_*=\|A\|_*+\|B\|_*∥A+B∥∗​=∥A∥∗​+∥B∥∗​.
  4. Lemma 3.4 (pp. 12–13): every BBB splits as B=B1+B2B=B_1+B_2B=B1​+B2​ with rank⁡B1≤2rank⁡A\operatorname{rank}B_1\le2\operatorname{rank}ArankB1​≤2rankA, AB2⊤=0AB_2^{\top}=0AB2⊤​=0, A⊤B2=0A^{\top}B_2=0A⊤B2​=0 and ⟨B1,B2⟩=0\langle B_1,B_2\rangle=0⟨B1​,B2​⟩=0.
  5. (3.3)–(3.4) (p. 13): for the error R=R0+RcR=R_0+R_cR=R0​+Rc​ of a minimizer, ∥Rc∥∗≤∥R0∥∗\|R_c\|_*\le\|R_0\|_*∥Rc​∥∗​≤∥R0​∥∗​.
  6. (3.5)–(3.6) (p. 13): a matrix splits into pairwise orthogonal pieces of rank at most 3r3r3r whose Frobenius norms, from the second piece on, sum to at most ∥M∥∗/3r\|M\|_*/\sqrt{3r}∥M∥∗​/3r​.
  7. Monotonicity (p. 12): δr≤δr′\delta_r\le\delta_{r'}δr​≤δr′​ for r≤r′r\le r'r≤r′.
  8. (3.7) (p. 14): ∥A(R)∥≥((1−δ5r)−911(1+δ3r))∥R0∥F\|\mathcal A(R)\|\ge\big((1-\delta_{5r})-\tfrac9{11}(1+\delta_{3r})\big)\|R_0\|_F∥A(R)∥≥((1−δ5r​)−119​(1+δ3r​))∥R0​∥F​, with a positive factor whenever 9δ3r+11δ5r<29\delta_{3r}+11\delta_{5r}<29δ3r​+11δ5r​<2.

Significance

Theorem 3.3 is a deterministic certificate: it separates the question "does nuclear norm minimization recover low-rank matrices?" into a property of the measurement map alone, with an absolute constant independent of mmm, nnn, rrr and ppp. Section 4 of the same paper then shows that random maps with i.i.d. Gaussian or Bernoulli entries satisfy δ5r<1/10\delta_{5r}<1/10δ5r​<1/10 with high probability once ppp is of order r(m+n)log⁡(mn)r(m+n)\log(mn)r(m+n)log(mn), so a matrix with mnmnmn entries is determined by far fewer measurements than entries and is found by a semidefinite program.

The theorem is proved in the paper, and the sparse-vector analogue has been formalized on this platform (HighDimProb.SparseRecovery.rip_implies_exact_recovery, from Vershynin's textbook; CandesTao.Decoding.decoding_by_lp). The matrix version is not formalized. A machine-checked proof needs the basic theory of singular values for rectangular real matrices (the norm comparisons (2.1), additivity of the nuclear norm, the triangle inequality for the nuclear norm, and block decompositions via the singular value decomposition), most of which Mathlib lacks in this form. That infrastructure is reusable for every nuclear-norm result on the platform.

Difficulty

For sparse vectors the analogous proof splits the error vector by its support, and every step is coordinatewise. For matrices there is no common basis: the error RRR and the target X0X_0X0​ have different singular vectors, and the restricted isometry inequality controls only matrices of low rank. The first obstacle is therefore to split RRR into a piece of rank at most 2rank⁡X02\operatorname{rank}X_02rankX0​ and a piece whose row and column spaces are orthogonal to those of X0X_0X0​, so that the nuclear norm is additive. The second is that the triangle inequality, additivity and the norm chain (2.1) for the nuclear norm are themselves nontrivial statements about singular values. Applying the restricted isometry inequality directly to RRR fails, because RRR need not have low rank.

Formalization scope

  • Matrices are Matrix (Fin m) (Fin n) ℝ; rank is Matrix.rank; transpose is Xᵀ. The norms and the inner product are opNorm, frobeniusNorm, nuclearNorm and traceInner of the published module HighDimStat_MatrixRank_Core, which defines the nuclear norm as the sum of the square roots of the eigenvalues of X⊤XX^{\top}XX⊤X.
  • The map A\mathcal AA is given by Xs : Fin p → Matrix (Fin m) (Fin n) ℝ and evaluated by observationOp; measNorm Xs X is ∥A(X)∥\|\mathcal A(X)\|∥A(X)∥.
  • ripConst Xs r is the infimum of the admissible δ≥0\delta\ge0δ≥0; the set is nonempty and closed, so the infimum is attained. It is defined for every rrr, not only 1≤r≤m1\le r\le m1≤r≤m, since the goal uses δ5r\delta_{5r}δ5r​. The paper's normalization m≤nm\le nm≤n is not assumed.
  • The goal assumes rank⁡X0≤r\operatorname{rank}X_0\le rrankX0​≤r rather than =r=r=r (equivalent by monotonicity of δ\deltaδ). Its conclusion quantifies over all feasible XXX with ∥X∥∗≤∥X0∥∗\|X\|_*\le\|X_0\|_*∥X∥∗​≤∥X0​∥∗​, so it does not depend on a choice of arg min. A formalization that fixes some minimizer unrelated to bbb, or only asserts the existence of a minimizer equal to X0X_0X0​, would be trivial and is excluded.
  • Milestone (3.5)–(3.6) is stated existentially, listing the properties of the singular value blocks that the proof uses, because Mathlib has no ordered rectangular singular value decomposition. Milestone (3.7) makes explicit the orthogonality ⟨R0,R1⟩=0\langle R_0,R_1\rangle=0⟨R0​,R1​⟩=0 that the paper uses silently.

Welcome contributions: a rectangular SVD with ordered singular values, the triangle inequality and duality for nuclearNorm, and the attainment and monotonicity lemmas for ripConst.

Selected references

  • B. Recht, M. Fazel, P. A. Parrilo, Guaranteed Minimum-Rank Solutions of Linear Matrix Equations via Nuclear Norm Minimization, SIAM Review 52(3), 471–501, 2010. https://doi.org/10.1137/070697835 ; preprint arXiv:0706.4138v1. https://arxiv.org/abs/0706.4138
  • E. J. Candès, T. Tao, Decoding by Linear Programming, IEEE Trans. Inform. Theory 51(12), 2005. https://doi.org/10.1109/TIT.2005.858979
  • E. J. Candès, J. Romberg, T. Tao, Stable Signal Recovery from Incomplete and Inaccurate Measurements, Comm. Pure Appl. Math. 59(8), 2006. https://doi.org/10.1002/cpa.20124
  • M. Fazel, Matrix Rank Minimization with Applications, PhD thesis, Stanford University, 2002.
  • R. Vershynin, High-Dimensional Probability, Cambridge University Press, 2018, §10.5. https://doi.org/10.1017/9781108231596
11 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Convex Quadratic and Semidefinite Programming Relaxations in Scheduling I: Randomized Rounding of the Convex Quadratic Relaxation (CQP′) Is Within 3/2 for R | | Σ wⱼCⱼResearch Paper

Motivation

Scheduling jobs on unrelated parallel machines to minimize the total weighted completion time, the problem written R ∣ ∣∑wjCjR\,|\,|\sum w_jC_jR∣∣∑wj​Cj​ in the three-field notation, is one of the basic NP-hard models of machine scheduling. Each job may take a different time on each machine, as when heterogeneous processors, plants or crews serve the same pool of tasks, and the objective rewards finishing important jobs early. For a single machine the problem is solved exactly by Smith's ratio rule (Smith, 1956). With several unrelated machines the problem is strongly NP-hard and the question is how close to the optimum a polynomial-time algorithm can come.

Timeline of the guarantees for R ∣ ∣∑wjCjR\,|\,|\sum w_jC_jR∣∣∑wj​Cj​:

  • Lenstra, Shmoys and Tardos (1990) gave an LP-based 2-approximation for the makespan on unrelated machines; their assignment variables aija_{ij}aij​ are the ones used here.
  • Hall, Schulz, Shmoys and Wein (1997) gave constant-factor approximations for ∑wjCj\sum w_jC_j∑wj​Cj​ on unrelated machines via time-indexed and interval-indexed LP relaxations.
  • Schulz and Skutella (conference version 1999, journal 2002) obtained 3/2+ε3/2+\varepsilon3/2+ε by randomized rounding of a time-indexed LP.
  • Skutella (J. ACM 2001), the paper of this mission, gave a convex quadratic relaxation in assignment variables alone and a 3/23/23/2-approximation by randomized rounding, with a short analysis.
  • Bansal, Srinivasan and Svensson (2016) improved 3/23/23/2 to 3/2−ε3/2-\varepsilon3/2−ε for a small constant ε>0\varepsilon>0ε>0; later work lowered the constant further.

Setting

There are nnn jobs j∈Jj\in Jj∈J and mmm machines iii. Job jjj has a weight wj≥0w_j\ge 0wj​≥0 and a processing time pij>0p_{ij}>0pij​>0 on machine iii. A schedule assigns each job to one machine and orders the jobs on every machine; the completion time CjC_jCj​ of a job is the time at which it finishes when each machine works without idle time.

For a fixed assignment, Smith's ratio rule orders each machine optimally. Fix for each machine iii the total order j≺ikj\prec_i kj≺i​k iff wj/pij>wk/pikw_j/p_{ij}>w_k/p_{ik}wj​/pij​>wk​/pik​, ties broken by index. Under an assignment σ\sigmaσ the completion time of jjj is

Cj(σ)=pσ(j)j+∑k≺σ(j)j, σ(k)=σ(j)pσ(j)k,C_j(\sigma)=p_{\sigma(j)j}+\sum_{k\prec_{\sigma(j)}j,\ \sigma(k)=\sigma(j)}p_{\sigma(j)k},Cj​(σ)=pσ(j)j​+k≺σ(j)​j, σ(k)=σ(j)∑​pσ(j)k​,

and the problem is to minimize val(σ)=∑jwjCj(σ)\mathrm{val}(\sigma)=\sum_jw_jC_j(\sigma)val(σ)=∑j​wj​Cj​(σ) over all assignments.

With aij∈{0,1}a_{ij}\in\{0,1\}aij​∈{0,1} indicating that jjj runs on iii, the problem is the integer quadratic program (IQP) with objective

ZQP(a)=cTa+12aTDa,cij=wjpij,Z_{QP}(a)=c^Ta+\tfrac12a^TDa,\qquad c_{ij}=w_jp_{ij},ZQP​(a)=cTa+21​aTDa,cij​=wj​pij​,

where DDD is symmetric with entry wjpikw_jp_{ik}wj​pik​ at ((i,j),(i,k))((i,j),(i,k))((i,j),(i,k)) for k≺ijk\prec_ijk≺i​j and zero across machines and on the diagonal. Relaxing aij∈{0,1}a_{ij}\in\{0,1\}aij​∈{0,1} to a≥0a\ge 0a≥0 with ∑iaij=1\sum_ia_{ij}=1∑i​aij​=1 gives (QP). Raising the diagonal gives the convex program (CQP), with objective ZCQP(a)=12cTa+12aT(D+diag⁡(c))aZ_{CQP}(a)=\tfrac12c^Ta+\tfrac12a^T(D+\operatorname{diag}(c))aZCQP​(a)=21​cTa+21​aT(D+diag(c))a. Adding the lower bound cTac^TacTa gives (CQP′):

min⁡Zs.t.∑iaij=1,  a≥0,  Z≥ZCQP(a),  Z≥cTa.\min Z\quad\text{s.t.}\quad \textstyle\sum_ia_{ij}=1,\ \ a\ge 0,\ \ Z\ge Z_{CQP}(a),\ \ Z\ge c^Ta .minZs.t.∑i​aij​=1,  a≥0,  Z≥ZCQP​(a),  Z≥cTa.

Randomized rounding of a fractional aˉ\bar aaˉ sends job jjj to machine iii with probability aˉij\bar a_{ij}aˉij​, the choices being pairwise independent across jobs, and then orders every machine by ≺i\prec_i≺i​.

Formalization targets

Goal: (CQP′) is a relaxation, and rounding loses at most 3/2

For every instance with p>0p>0p>0, w≥0w\ge 0w≥0:

∀σ: (aσ, val(σ)) is feasible for (CQP′),\forall\sigma:\ (a^\sigma,\ \mathrm{val}(\sigma))\ \text{is feasible for (CQP′)},∀σ: (aσ, val(σ)) is feasible for (CQP′), ∀(aˉ,Z) feasible for (CQP′):E[∑jwjCj]≤32Z.\forall(\bar a,Z)\ \text{feasible for (CQP′)}:\quad \mathbb E\Bigl[\sum_jw_jC_j\Bigr]\le\tfrac32 Z .∀(aˉ,Z) feasible for (CQP′):E[j∑​wj​Cj​]≤23​Z.

The first part makes ZCQP′∗Z^*_{CQP'}ZCQP′∗​ a lower bound on the optimum. The second is Lemma 2.8. Together they are Corollary 2.9 and the value guarantee of the 3/23/23/2-approximation.

Milestones

In attack order:

  • Lemma 2.2: E[Cj]=∑i(Pr⁡[j↦i]pij+∑k≺ijPr⁡[j,k↦i]pik)\mathbb E[C_j]=\sum_i(\Pr[j\mapsto i]p_{ij}+\sum_{k\prec_ij}\Pr[j,k\mapsto i]p_{ik})E[Cj​]=∑i​(Pr[j↦i]pij​+∑k≺i​j​Pr[j,k↦i]pik​) for any random assignment.
  • Theorem 2.1: rounding a feasible aˉ\bar aaˉ has expected value exactly ZQP(aˉ)Z_{QP}(\bar a)ZQP​(aˉ).
  • Corollary 2.3: (IQP) and (QP) have the same optimum.
  • The positive semidefiniteness of D+diag⁡(c)D+\operatorname{diag}(c)D+diag(c) and Lemma 2.4: a↦(1−γ)cTa+12aT(D+2γdiag⁡(c))aa\mapsto(1-\gamma)c^Ta+\tfrac12a^T(D+2\gamma\operatorname{diag}(c))aa↦(1−γ)cTa+21​aT(D+2γdiag(c))a is convex for all instances iff γ≥12\gamma\ge\tfrac12γ≥21​.
  • The identity ZQP=ZCQP+12(cTa−aTdiag⁡(c)a)Z_{QP}=Z_{CQP}+\tfrac12(c^Ta-a^T\operatorname{diag}(c)a)ZQP​=ZCQP​+21​(cTa−aTdiag(c)a) and Theorem 2.6 a), the factor 222 for (CQP).
  • Lemma 2.8, the integrality step of Theorem 2.10, and Corollary 2.11, the bound (1+cTaˉ/(2Z))Z(1+c^T\bar a/(2Z))Z(1+cTaˉ/(2Z))Z.

Significance

The result gives a 3/23/23/2-approximation for R ∣ ∣∑wjCjR\,|\,|\sum w_jC_jR∣∣∑wj​Cj​ from a relaxation with only mnmnmn variables, without time indexing, so its size does not depend on the processing times. The same convexification, adapted to time slots, yields the factor 2 with release dates (§3 of the paper). The equality of Theorem 2.1 makes the analysis exact: the loss of rounding is exactly the gap between ZQPZ_{QP}ZQP​ and the convex objective. The relaxation also bounds the power of preemption (§4), and for identical machines it connects scheduling to Max-kkk-Cut (§6).

All these results are proved in the paper; none is known to be formalized. A formal development adds:

  • a checked model of Smith-sequenced assignment schedules;
  • the expectation calculus for pairwise independent rounding;
  • the positive-semidefiniteness argument of Lemma 2.4;
  • a precise statement of what the 3/23/23/2 guarantee says when complexity is set aside.

Difficulty

Two steps resist the obvious approach.

Positive semidefiniteness. DDD alone is indefinite: two jobs with unit data give the block (0110)\left(\begin{smallmatrix}0&1\\1&0\end{smallmatrix}\right)(01​10​). Positive semidefiniteness of D+diag⁡(c)D+\operatorname{diag}(c)D+diag(c) holds only because the jobs on each machine are ordered by Smith's ratio. A generic matrix argument that ignores this ordering fails, and the "only if" half of Lemma 2.4 needs a specific family of instances.

Exact expectations under pairwise independence. Theorem 2.1 is an equality that uses only the one- and two-job marginals. A proof that silently assumes full independence of the choices proves a different statement. A proof that drops the product condition on pairs is false: with correlated choices the expected value differs from ZQPZ_{QP}ZQP​.

Formalization scope

Jobs and machines are Fin n and Fin m; vectors in Rmn\mathbb R^{mn}Rmn are functions on Fin m × Fin n and DDD is a Matrix over that type. The order ≺i\prec_i≺i​ is cross-multiplied (wjpik>wkpijw_jp_{ik}>w_kp_{ij}wj​pik​>wk​pij​, or equality and j<kj<kj<k), which equals the page's ratio definition because p>0p>0p>0.

Standing assumptions of p. 2 are hypotheses of every theorem: pij>0p_{ij}>0pij​>0 and wj≥0w_j\ge0wj​≥0. Hypotheses added relative to the page:

  • Corollary 2.11 assumes Z>0Z>0Z>0, which its fraction presupposes;
  • the integrality step of Theorem 2.10 assumes integral ppp and www, as the page's proof does.

Optimum. The scheduling optimum Z∗Z^*Z∗ is the minimum of val\mathrm{val}val over assignments, by Smith's rule (p. 7, cited by the paper, not reproved). "Within a factor α\alphaα of the optimum" is stated as a bound against the value of every assignment, so no optimum is presupposed.

Rounding. Randomized rounding is any nonnegative weight μ\muμ of total mass 1 on assignments, with Pr⁡μ[j↦i]=aˉij\Pr_\mu[j\mapsto i]=\bar a_{ij}Prμ​[j↦i]=aˉij​ and Pr⁡μ[j↦i, k↦h]=aˉijaˉhk\Pr_\mu[j\mapsto i,\,k\mapsto h]=\bar a_{ij}\bar a_{hk}Prμ​[j↦i,k↦h]=aˉij​aˉhk​ for j≠kj\ne kj=k. The product weight satisfies this.

Not formalized. Polynomial running time, solvability of (CQP′) within additive error ε\varepsilonε (ellipsoid method), and derandomization by conditional probabilities. Theorem 2.10 is formalized as the existence of an outcome in the support of the rounding with the 3/23/23/2 guarantee.

Trivializing formalization ruled out. A bound E≤32Z\mathbb E\le\tfrac32ZE≤23​Z for an arbitrary number ZZZ says nothing about schedules. The goal therefore also states that every schedule is feasible for (CQP′) at its own value, so ZZZ is a genuine lower bound on the optimum.

Contributions welcome. A complete development needs:

  • linearity of expectation over a finite weight on assignments;
  • the computation of Lemma 2.2;
  • a positive-semidefiniteness criterion via principal minors or a direct sum-of-squares decomposition of aT(D+diag⁡(c))aa^T(D+\operatorname{diag}(c))aaT(D+diag(c))a;
  • convexity of quadratic forms with PSD matrices.

The rounding calculus and the PSD lemma are reusable for §§3–4 of the same paper. Alternative proofs of Lemma 2.4 are welcome.

Selected references

  • M. Skutella, Convex quadratic and semidefinite programming relaxations in scheduling, Journal of the ACM 48(2), 2001. https://doi.org/10.1145/375827.375840
  • W. E. Smith, Various optimizers for single-stage production, Naval Research Logistics Quarterly 3, 1956. https://doi.org/10.1002/nav.3800030106
  • J. K. Lenstra, D. B. Shmoys, É. Tardos, Approximation algorithms for scheduling unrelated parallel machines, Mathematical Programming 46, 1990. https://doi.org/10.1007/BF01585745
  • L. A. Hall, A. S. Schulz, D. B. Shmoys, J. Wein, Scheduling to minimize average completion time: off-line and on-line approximation algorithms, Mathematics of Operations Research 22(3), 1997. https://doi.org/10.1287/moor.22.3.513
  • A. S. Schulz, M. Skutella, Scheduling unrelated machines by randomized rounding, SIAM Journal on Discrete Mathematics 15(4), 2002. https://doi.org/10.1137/S0895480199357078
  • N. Bansal, A. Srinivasan, O. Svensson, Lift-and-round to improve weighted completion time on unrelated machines, STOC 2016. https://doi.org/10.1145/2897518.2897572
12 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Semidefinite Programming 2: If Every Step Lowers the Potential φ by δ > 0, Then After k ≥ (ν√n log(1/ε) + ψ(x⁽⁰⁾, Z⁽⁰⁾))/δ Steps the Duality Gap Is at Most ε Times Its Initial ValueResearch Paper

Motivation

Semidefinite programs optimize a linear objective while requiring an affine matrix to be positive semidefinite. They include familiar linear and quadratic optimization models and arise in engineering and combinatorial optimization. Vandenberghe and Boyd's survey develops their duality theory and describes interior point methods that work with primal and dual matrices simultaneously. The question in this mission is quantitative: if a method lowers a particular potential by a fixed amount at each step, how quickly does its primal-dual objective gap shrink? Vandenberghe and Boyd, pp. 49, 76–77.

The paper uses the potential to combine two kinds of progress. One term records the size of the duality gap; another records how far the current matrices are from a central pair. Decreasing the gap alone does not ensure the matrices remain well positioned for the next step, so the potential accounts for both quantities. Theorem 5.1 turns a per-step decrease in this scalar into an explicit bound on the gap after kkk steps. The theorem concerns any sequence meeting that decrease condition; it does not prescribe a particular search direction or step-selection algorithm. Vandenberghe and Boyd, pp. 76–77.

Setting

Fix a vector c∈Rmc\in\mathbb R^mc∈Rm and symmetric real n×nn\times nn×n matrices F0,F1,…,FmF_0,F_1,\ldots,F_mF0​,F1​,…,Fm​. For x∈Rmx\in\mathbb R^mx∈Rm, define the affine matrix

F(x)=F0+∑i=1mxiFi.F(x)=F_0+\sum_{i=1}^{m}x_iF_i.F(x)=F0​+i=1∑m​xi​Fi​.

The primal problem minimizes cTxc^TxcTx subject to F(x)⪰0F(x)\succeq0F(x)⪰0. A dual-feasible matrix ZZZ satisfies Z⪰0Z\succeq0Z⪰0 and Tr⁡(FiZ)=ci\operatorname{Tr}(F_iZ)=c_iTr(Fi​Z)=ci​ for every i=1,…,mi=1,\ldots,mi=1,…,m. Here ⪰0\succeq0⪰0 means positive semidefinite; ≻0\succ0≻0 means positive definite. The pair (x,Z)(x,Z)(x,Z) is strictly feasible if both F(x)≻0F(x)\succ0F(x)≻0 and Z≻0Z\succ0Z≻0, with the dual equations still satisfied. Section 4 also assumes that F1,…,FmF_1,\ldots,F_mF1​,…,Fm​ are linearly independent. Vandenberghe and Boyd, pp. 49, 63, 70.

For a feasible pair, the duality gap is the difference between the primal objective cTxc^TxcTx and the dual objective −Tr⁡(F0Z)-\operatorname{Tr}(F_0Z)−Tr(F0​Z). Equation (32) identifies it as

η=cTx+Tr⁡(F0Z)=Tr⁡(F(x)Z).\eta=c^Tx+\operatorname{Tr}(F_0Z)=\operatorname{Tr}(F(x)Z).η=cTx+Tr(F0​Z)=Tr(F(x)Z).

For a strictly feasible pair, define the deviation from centrality and the potential by

ψ(x,Z)=−log⁡det⁡(F(x)Z)+nlog⁡η−nlog⁡n,\psi(x,Z)=-\log\det(F(x)Z)+n\log\eta-n\log n,ψ(x,Z)=−logdet(F(x)Z)+nlogη−nlogn, φ(x,Z)=νn log⁡η+ψ(x,Z),ν≥1.\varphi(x,Z)=\nu\sqrt n\,\log\eta+\psi(x,Z),\qquad \nu\ge1.φ(x,Z)=νn​logη+ψ(x,Z),ν≥1.

The logarithm is natural. The matrix size nnn determines the n\sqrt nn​ factor; it is distinct from the number mmm of decision variables. These are the explicit formulas on p. 76, where the paper also expresses ψ\psiψ through a central pair. Vandenberghe and Boyd, pp. 64, 75–76.

Formalization targets

The first milestones establish the gap identity, the expanded determinant formula for φ\varphiφ, and nonnegativity of ψ\psiψ with its stated equality condition. The final milestone bounds the gap by the potential:

η≤exp⁡ ⁣(φ(x,Z)νn).\eta\le\exp\!\left(\frac{\varphi(x,Z)}{\nu\sqrt n}\right).η≤exp(νn​φ(x,Z)​).

For the goal, let (x(j),Z(j))(x^{(j)},Z^{(j)})(x(j),Z(j)), j=0,…,kj=0,\ldots,kj=0,…,k, be strictly feasible pairs and suppose a fixed δ>0\delta>0δ>0 gives the decrease stated in equation (56) at every step j<kj<kj<k:

φ(x(j+1),Z(j+1))≤φ(x(j),Z(j))−δ.\varphi(x^{(j+1)},Z^{(j+1)})\le\varphi(x^{(j)},Z^{(j)})-\delta.φ(x(j+1),Z(j+1))≤φ(x(j),Z(j))−δ.

The goal theorem, Theorem 5.1, says that for 0<ε<10<\varepsilon<10<ε<1 and

k≥νnlog⁡(1/ε)+ψ(x(0),Z(0))δ,k\ge\frac{\nu\sqrt n\log(1/\varepsilon)+\psi(x^{(0)},Z^{(0)})}{\delta},k≥δνn​log(1/ε)+ψ(x(0),Z(0))​,

one has the boundary-correct gap estimate

Tr⁡(F(x(k))Z(k))≤εTr⁡(F(x(0))Z(0)).\operatorname{Tr}(F(x^{(k)})Z^{(k)})\le\varepsilon\operatorname{Tr}(F(x^{(0)})Z^{(0)}).Tr(F(x(k))Z(k))≤εTr(F(x(0))Z(0)).

The paper prints a strict inequality in the last display. Its stated non-strict threshold permits equality, as explained under Formalization scope. Vandenberghe and Boyd, p. 77, (56) and Theorem 5.1.

Significance

The theorem converts a local numerical guarantee into a global bound on an optimization certificate. Because the gap is the difference between primal and dual objectives, shrinking it gives a quantitative measure of progress toward optimality for every strictly feasible iterate. The expression records the dependence on matrix size, desired relative gap, starting deviation, and guaranteed potential decrease. It leaves the mechanism that achieves the decrease open, so different potential reduction methods can use the same conclusion. Vandenberghe and Boyd, pp. 64, 76–77.

The target here is a machine-checked statement and proof of this known 1996 result, together with its four supporting facts. The draft declarations compile as statements; their proofs remain open. A complete development would make the determinant, trace, positive-definiteness, and sequence reasoning reusable for other matrix optimization arguments. It would also record the boundary correction precisely rather than carrying forward a strict sign that fails at equality.

Difficulty

The substantive matrix claim is ψ(x,Z)≥0\psi(x,Z)\ge0ψ(x,Z)≥0. The product F(x)ZF(x)ZF(x)Z need not be symmetric, even though both factors are positive definite, so directly applying a result about symmetric matrix eigenvalues to the product is not automatic. The nonnegativity and its equality case must respect the positivity and determinant conventions used by the explicit formula. The later exponential bound and iteration statement depend on those facts and on keeping each logarithm in its positive domain. Vandenberghe and Boyd, p. 76.

Formalization scope

Lean uses Fin m for the mmm variable matrices, indexed from zero, with F0F_0F0​ as a separate argument; Fin n indexes matrix rows and columns. Matrix.IsHermitian represents real symmetry. Matrix.PosSemidef and Matrix.PosDef represent the paper's matrix inequalities ⪰0\succeq0⪰0 and ≻0\succ0≻0, including symmetry. The matrix size satisfies n≥1n\ge1n≥1. Traces, determinants, natural logarithms, and n\sqrt nn​ are the corresponding Mathlib operations. All statements involving ψ\psiψ or φ\varphiφ require strict feasibility, so the real logarithm's default value on nonpositive inputs cannot decide a theorem. The paper's linearly independent F1,…,FmF_1,\ldots,F_mF1​,…,Fm​ are an explicit hypothesis on the Section 4 and 5 statements. Vandenberghe and Boyd, pp. 49, 70, 76–77.

The definition of ψ\psiψ uses the explicit second formula on p. 76. The central pair in the preceding formula is not represented; its existence is introduced on p. 75 without a proof there. The p. 76 prose describes ψ≥0\psi\ge0ψ≥0 for feasible pairs, but its finite real logarithmic formula and the potential reduction iterates use strictly feasible pairs. The milestone states that domain explicitly. In Theorem 5.1 strict feasibility is assumed for the iterates j=0,…,kj=0,\ldots,kj=0,…,k and equation (56) for the steps j<kj<kj<k only, so the statement covers a method that stops after kkk steps. The fixed δ\deltaδ is positive, and ν≥1\nu\ge1ν≥1 and 0<ε<10<\varepsilon<10<ε<1 are explicit.

The paper's strict conclusion is false at its own inclusive threshold. Take m=n=1m=n=1m=n=1, F0=0F_0=0F0​=0, F1=c=Z(j)=1F_1=c=Z^{(j)}=1F1​=c=Z(j)=1, x(j)=e−jx^{(j)}=e^{-j}x(j)=e−j, ν=δ=1\nu=\delta=1ν=δ=1, and ε=e−1\varepsilon=e^{-1}ε=e−1. Then ψ=0\psi=0ψ=0, each decrease is exactly one, and at k=1k=1k=1 the gap equals ε\varepsilonε times its initial value. The goal therefore uses ≤\le≤, the strongest statement valid at the printed threshold. This correction is recorded in the theorem's description and moderation notes. Vandenberghe and Boyd, p. 77, Theorem 5.1.

A complete proof needs Mathlib's matrix order, determinant and trace identities, logarithm and exponential facts, and an arithmetic-geometric mean statement for positive eigenvalues. Matrix lemmas and the deviation inequality are welcome contributions alongside the final sequence bound. The definitions preserve the paper's full potential and feasible domain; replacing ψ\psiψ by zero or dropping the n\sqrt nn​ factor would change the target.

Selected references

  • Lieven Vandenberghe and Stephen Boyd, Semidefinite Programming, SIAM Review 38(1), 49–95, 1996. DOI: 10.1137/1038003.
9 thms3 active usersReviewed
🏆Completed
Optimization·Captain: mikedeng1

Primal-dual subgradient methods for convex problems 1: Dual Averaging Keeps the Gap Below β_{k+1}D + (1/2σ)Σλᵢ²‖gᵢ‖²_*/βᵢ and Its Iterates BoundedResearch Paper

Motivation

Subgradient methods are the basic tool for minimizing a nonsmooth convex function when only a black-box oracle returning one subgradient per query is available. In the classical method the new subgradient enters the iterate with a weight that decreases over time, so information collected late is counted less than information collected early, and the method has no natural certificate of its own accuracy.

Yu. Nesterov's paper Primal-dual subgradient methods for convex problems (Math. Program. 120 (2009) 221–259; first circulated as a CORE discussion paper, March 2002, revised September 2005) introduces Dual Averaging (DA): the method accumulates all past subgradients with nondecreasing weights in the dual space and maps the aggregate back to the feasible set through a strongly convex prox-function. One analysis, Theorem 1 of the paper, gives at once an upper bound on a primal-dual gap, a bound on the iterates that holds even on unbounded feasible sets, and a bound on the averaged subgradients. From it the paper derives rates for minimization over simple sets, problems with functional constraints, saddle points, variational inequalities, and stochastic optimization. Dual Averaging later became a standard method in online learning and regularized stochastic optimization (e.g. L. Xiao, Dual averaging methods for regularized stochastic learning and online optimization, JMLR 11 (2010)).

Setting

Let EEE be a finite-dimensional real vector space with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥, and E∗E^*E∗ its dual. The value of s∈E∗s \in E^*s∈E∗ at x∈Ex \in Ex∈E is ⟨s,x⟩\langle s, x\rangle⟨s,x⟩, and the dual norm is ∥s∥∗=max⁡{⟨s,x⟩:∥x∥≤1}\|s\|_* = \max\{\langle s, x\rangle : \|x\| \le 1\}∥s∥∗​=max{⟨s,x⟩:∥x∥≤1}. Balls are Br(x)={y:∥y−x∥≤r}B_r(x) = \{y : \|y - x\| \le r\}Br​(x)={y:∥y−x∥≤r}.

Let Q⊆EQ \subseteq EQ⊆E be closed and convex. A prox-function of QQQ is a function ddd, continuous on QQQ, that is strongly convex on QQQ with convexity parameter σ>0\sigma > 0σ>0:

d(αx+(1−α)y)≤αd(x)+(1−α)d(y)−12σα(1−α)∥x−y∥2,x,y∈Q, α∈[0,1].d(\alpha x + (1-\alpha)y) \le \alpha d(x) + (1-\alpha) d(y) - \tfrac12\sigma\alpha(1-\alpha)\|x - y\|^2, \qquad x, y \in Q,\ \alpha\in[0,1].d(αx+(1−α)y)≤αd(x)+(1−α)d(y)−21​σα(1−α)∥x−y∥2,x,y∈Q, α∈[0,1].

The prox-center x0∈Qx_0 \in Qx0​∈Q minimizes ddd on QQQ, and d(x0)=0d(x_0) = 0d(x0​)=0. Two examples: the Euclidean norm with d(x)=12∥x−x0∥22d(x) = \frac12\|x - x_0\|_2^2d(x)=21​∥x−x0​∥22​, and the ℓ1\ell_1ℓ1​ norm on the simplex with the entropy d(x)=ln⁡n+∑ix(i)ln⁡x(i)d(x) = \ln n + \sum_i x^{(i)}\ln x^{(i)}d(x)=lnn+∑i​x(i)lnx(i).

For D≥0D \ge 0D≥0 and β>0\beta > 0β>0 set FD={x∈Q:d(x)≤D}F_D = \{x \in Q : d(x) \le D\}FD​={x∈Q:d(x)≤D} and

ξD(s)=max⁡x∈FD⟨s,x−x0⟩,Vβ(s)=max⁡x∈Q{⟨s,x−x0⟩−βd(x)},\xi_D(s) = \max_{x\in F_D}\langle s, x - x_0\rangle, \qquad V_\beta(s) = \max_{x\in Q}\{\langle s, x - x_0\rangle - \beta d(x)\},ξD​(s)=x∈FD​max​⟨s,x−x0​⟩,Vβ​(s)=x∈Qmax​{⟨s,x−x0​⟩−βd(x)},

and let πβ(s)=arg⁡min⁡x∈Q{−⟨s,x⟩+βd(x)}\pi_\beta(s) = \arg\min_{x\in Q}\{-\langle s, x\rangle + \beta d(x)\}πβ​(s)=argminx∈Q​{−⟨s,x⟩+βd(x)}.

Given sequences xi∈Ex_i \in Exi​∈E, gi∈E∗g_i \in E^*gi​∈E∗, λi\lambda_iλi​, write Sk=∑i=0kλiS_k = \sum_{i=0}^k \lambda_iSk​=∑i=0k​λi​, sk+1=∑i=0kλigis_{k+1} = \sum_{i=0}^k \lambda_i g_isk+1​=∑i=0k​λi​gi​ (s0=0s_0 = 0s0​=0), s^k+1=sk+1/Sk\hat s_{k+1} = s_{k+1}/S_ks^k+1​=sk+1​/Sk​, the gap function

δk(D)=max⁡x∈FD∑i=0kλi⟨gi,xi−x⟩,\delta_k(D) = \max_{x\in F_D}\sum_{i=0}^k \lambda_i\langle g_i, x_i - x\rangle,δk​(D)=x∈FD​max​i=0∑k​λi​⟨gi​,xi​−x⟩,

and the upper gap function Δk(β,D)=βD+∑i=0kλi⟨gi,xi−x0⟩+Vβ(−sk+1)\Delta_k(\beta, D) = \beta D + \sum_{i=0}^k \lambda_i\langle g_i, x_i - x_0\rangle + V_\beta(-s_{k+1})Δk​(β,D)=βD+∑i=0k​λi​⟨gi​,xi​−x0​⟩+Vβ​(−sk+1​).

The DA-scheme (2.14) starts at x0x_0x0​ with s0=0s_0 = 0s0​=0 and β0>0\beta_0 > 0β0​>0; at step k≥0k \ge 0k≥0 it receives gkg_kgk​ (the oracle answer at xkx_kxk​), chooses λk>0\lambda_k > 0λk​>0 and βk+1≥βk\beta_{k+1} \ge \beta_kβk+1​≥βk​, and sets

sk+1=sk+λkgk,xk+1=πβk+1(−sk+1).s_{k+1} = s_k + \lambda_k g_k, \qquad x_{k+1} = \pi_{\beta_{k+1}}(-s_{k+1}).sk+1​=sk​+λk​gk​,xk+1​=πβk+1​​(−sk+1​).

A point x∗∈Qx^* \in Qx∗∈Q is a solution in the sense (2.8) if ⟨gi,xi−x∗⟩≥0\langle g_i, x_i - x^*\rangle \ge 0⟨gi​,xi​−x∗⟩≥0 for all iii.

Formalization targets

Goal: Theorem 1 (p. 9)

For every run of the DA-scheme, every k≥0k \ge 0k≥0 and every D≥0D \ge 0D≥0,

δk(D)≤Δk(βk+1,D)≤βk+1D+12σ∑i=0kλi2βi∥gi∥∗2;\delta_k(D) \le \Delta_k(\beta_{k+1}, D) \le \beta_{k+1} D + \frac{1}{2\sigma}\sum_{i=0}^k \frac{\lambda_i^2}{\beta_i}\|g_i\|_*^2;δk​(D)≤Δk​(βk+1​,D)≤βk+1​D+2σ1​i=0∑k​βi​λi2​​∥gi​∥∗2​;

if x∗x^*x∗ is a solution in the sense (2.8), then

12σ∥xk+1−x∗∥2≤d(x∗)+12σβk+1∑i=0kλi2βi∥gi∥∗2;\tfrac12\sigma\|x_{k+1} - x^*\|^2 \le d(x^*) + \frac{1}{2\sigma\beta_{k+1}}\sum_{i=0}^k \frac{\lambda_i^2}{\beta_i}\|g_i\|_*^2;21​σ∥xk+1​−x∗∥2≤d(x∗)+2σβk+1​1​i=0∑k​βi​λi2​​∥gi​∥∗2​;

and if moreover Br(x∗)⊆FDB_r(x^*) \subseteq F_DBr​(x∗)⊆FD​ for some r,D>0r, D > 0r,D>0, then

∥s^k+1∥∗≤1rSk[βk+1D+12σ∑i=0kλi2βi∥gi∥∗2].\|\hat s_{k+1}\|_* \le \frac{1}{r S_k}\Big[\beta_{k+1}D + \frac{1}{2\sigma}\sum_{i=0}^k \frac{\lambda_i^2}{\beta_i}\|g_i\|_*^2\Big].∥s^k+1​∥∗​≤rSk​1​[βk+1​D+2σ1​i=0∑k​βi​λi2​​∥gi​∥∗2​].

The theorem leaves the step sizes λk\lambda_kλk​ and the parameters βk\beta_kβk​ free; every rate in the paper is obtained by choosing them.

Milestones

In the order the proof uses them: Lemma 6 (unique minimizer of a strongly convex function, quadratic growth (9.5), p. 36); Lemma 1 (convexity, differentiability, ∇Vβ(s)=πβ(s)−x0\nabla V_\beta(s) = \pi_\beta(s) - x_0∇Vβ​(s)=πβ​(s)−x0​ and its 1/(βσ)1/(\beta\sigma)1/(βσ)-Lipschitz continuity, p. 7); (2.5) Vβ(s+δ)≤Vβ(s)+⟨δ,∇Vβ(s)⟩+12σβ∥δ∥∗2V_\beta(s+\delta) \le V_\beta(s) + \langle\delta, \nabla V_\beta(s)\rangle + \frac{1}{2\sigma\beta}\|\delta\|_*^2Vβ​(s+δ)≤Vβ​(s)+⟨δ,∇Vβ​(s)⟩+2σβ1​∥δ∥∗2​; (2.6) Vβ(δ)≤12σβ∥δ∥∗2V_\beta(\delta) \le \frac{1}{2\sigma\beta}\|\delta\|_*^2Vβ​(δ)≤2σβ1​∥δ∥∗2​; (2.2) monotonicity of VβV_\betaVβ​ in β\betaβ; Lemma 2 ξD(s)≤βD+Vβ(s)\xi_D(s) \le \beta D + V_\beta(s)ξD​(s)≤βD+Vβ​(s) (p. 8); (2.11) the representation δk(D)=∑iλi⟨gi,xi−x0⟩+ξD(−sk+1)\delta_k(D) = \sum_i\lambda_i\langle g_i, x_i - x_0\rangle + \xi_D(-s_{k+1})δk​(D)=∑i​λi​⟨gi​,xi​−x0​⟩+ξD​(−sk+1​); (2.13) δk(D)≤Δk(β,D)\delta_k(D) \le \Delta_k(\beta, D)δk​(D)≤Δk​(β,D); and (2.18), the telescoped estimate along the scheme (p. 10).

Significance

Theorem 1 is the single estimate behind the whole paper. With βk\beta_kβk​ growing like k\sqrt kk​ it gives the O(1/k)O(1/\sqrt k)O(1/k​) rate of Dual Averaging for nonsmooth convex minimization with simple or weighted averages (Theorems 2 and 3), and through the gap δk(D)\delta_k(D)δk​(D) it gives primal-dual certificates for saddle-point problems and variational inequalities (§§3–5) and the stochastic version (§6, the companion mission). Part 2 is the reason the method can run on unbounded feasible sets: the iterates stay in a ball around any solution. Part 3 bounds the averaged subgradients, which yields approximate dual solutions.

The result is proved in the paper. As far as a search of Mathlib and the Prove2Me catalog shows (October 2026), none of its statements is machine-checked: Mathlib has strong convexity (StrongConvexOn) and Fréchet derivatives, but no prox-functions in an arbitrary norm, no Danskin-type differentiability of a maximum, and no analysis of Dual Averaging. A formalization produces these as reusable pieces: Lemma 6 in an arbitrary finite-dimensional norm, the smoothness of VβV_\betaVβ​ (a form of the duality between strong convexity and Lipschitz gradients of the conjugate), and the definitions of the scheme and its gap functions, on which the paper's §§3–6 can then be built.

Difficulty

The bookkeeping of the proof is short; the analytic content sits in Lemma 1 and Lemma 6. Lemma 1 asserts differentiability of a function defined as a maximum over a possibly unbounded set, in an arbitrary norm, where the gradient lives in E∗∗E^{**}E∗∗ and no inner product is available to identify it with a vector. The prox-function is only continuous and strongly convex, never assumed differentiable (footnote 2, p. 5), so first-order optimality conditions for πβ\pi_\betaπβ​ are not available. Lemma 6's existence claim needs boundedness of the level sets of ddd in finite dimension; the printed argument ends with "this contradicts continuity of ddd", which does not by itself close the argument, so a complete proof has to supply the missing step. Finally, (2.18) pairs a sum from i=0i = 0i=0 with a sum from i=1i = 1i=1 and depends on x0x_0x0​ being the prox-center, so an off-by-one in the indices of the scheme changes the statement.

Formalization scope

EEE is a finite-dimensional real normed space with an arbitrary norm; E∗E^*E∗ is StrongDual ℝ E with the operator norm, which is ∥⋅∥∗\|\cdot\|_*∥⋅∥∗​, and ⟨s,x⟩\langle s, x\rangle⟨s,x⟩ is s x. No inner product is used, so the ℓ1\ell_1ℓ1​/entropy example remains an instance. The prox-function is a real function on EEE of which only its values on QQQ are used, strongly convex in Mathlib's sense StrongConvexOn Q σ d (exactly (1.8)), with σ>0\sigma > 0σ>0 (the paper's "σ≥0\sigma \ge 0σ≥0" at (1.8) is corrected by its Definition 1). The maxima ξD\xi_DξD​, VβV_\betaVβ​, δk\delta_kδk​ are real suprema, finite for D≥0D \ge 0D≥0, β>0\beta > 0β>0; every statement assumes these ranges, including Lemma 2 and (2.13), where the page writes β≥0\beta \ge 0β≥0 but V0V_0V0​ is not defined. The argmin map π\piπ is a hypothesis on a given map, not a construction, and the run of (2.14) starts at the prox-center and takes the oracle answers gkg_kgk​ as free data. Indices start at 000. Pages and equation numbers are those of the CORE discussion-paper version (September 2005) used as source, not the journal's pp. 221–259.

A trivializing formalization is ruled out: the run must set xk+1x_{k+1}xk+1​ to the argmin point πβk+1(−sk+1)\pi_{\beta_{k+1}}(-s_{k+1})πβk+1​​(−sk+1​) and π\piπ must carry its argmin property, without which the statements would be false, and the setting is satisfiable (E = ℝ, Q=RQ = ℝQ=R, d(x)=x2/2d(x) = x^2/2d(x)=x2/2, σ=1\sigma = 1σ=1, πβ(s)=s/β\pi_\beta(s) = s/\betaπβ​(s)=s/β), so the theorem is not vacuous.

Needed infrastructure: Lemma 6 in an arbitrary norm; a Danskin-type differentiability lemma for VβV_\betaVβ​; Lipschitz continuity of the argmin map; suprema manipulations for ξD\xi_DξD​, VβV_\betaVβ​, δk\delta_kδk​ under boundedness. Contributions of any of the milestones, of general lemmas on strongly convex functions in normed spaces, and of the remaining parts of Theorem 1 are welcome.

Selected references

  • Yu. Nesterov, Primal-dual subgradient methods for convex problems, Math. Program. 120 (2009) 221–259. https://doi.org/10.1007/s10107-007-0149-x
  • L. Xiao, Dual averaging methods for regularized stochastic learning and online optimization, J. Mach. Learn. Res. 11 (2010) 2543–2596. https://jmlr.org/papers/v11/xiao10a.html
  • Yu. Nesterov, Smooth minimization of non-smooth functions, Math. Program. 103 (2005) 127–152. https://doi.org/10.1007/s10107-004-0552-5
12 thms3 active usersReviewed
🏆Completed
Functional AnalysisNumerical AnalysisOperations Research+1·Captain: mikedeng1

Régularisation d'inéquations variationnelles par approximations successives II: The Proximal Regularization of a Convex Minimization Problem Is a Minimizing SequenceResearch Paper

Motivation

The proximal point algorithm replaces a hard optimization or equilibrium problem by a sequence of better-conditioned ones: from the current point xnx^nxn it solves the original problem with a quadratic penalty ∥x−xn∥2\|x-x^n\|^2∥x−xn∥2 added, and takes the solution as xn+1x^{n+1}xn+1. The method is a building block of modern convex optimization. Augmented Lagrangian methods, Douglas–Rachford and ADMM splitting, and many bundle methods are proximal point iterations applied to suitable problems (Rockafellar 1976; Eckstein–Bertsekas 1992).

The algorithm was introduced by B. Martinet in a five-page note in the Revue française d'informatique et de recherche opérationnelle in 1970 (Martinet 1970). The note treats three cases: monotone variational inequalities on a bounded convex set (§II), convex–concave min–max problems (§III), and convex minimization (§IV). This mission formalizes §IV.

Timeline.

  • 1970, Martinet: the regularization (13) for convex minimization over a closed convex set in a Hilbert space; Théorème 3 (weak cluster points are minimizers, the sequence is minimizing), stated without proof.
  • 1976, Rockafellar (SIAM J. Control Optim. 14): the proximal point algorithm for maximal monotone operators, with inexact steps and weak convergence of the whole sequence when a zero exists.
  • 1991, Güler (SIAM J. Control Optim. 29): the rate f(xn)−inf⁡f=O(1/n)f(x^n)-\inf f = O(1/n)f(xn)−inff=O(1/n) for convex minimization, and an example in which the iterates converge weakly but not strongly.

Setting

Let HHH be a real Hilbert space with inner product ⟨⋅,⋅⟩\langle\cdot,\cdot\rangle⟨⋅,⋅⟩ and norm ∥⋅∥\|\cdot\|∥⋅∥. Let C⊆HC\subseteq HC⊆H be a nonempty, closed, convex set, and let f:H→Rf:H\to\mathbb Rf:H→R be a convex, lower semicontinuous function such that, for every a∈Ra\in\mathbb Ra∈R, the sublevel set {x∈C∣f(x)≤a}\{x\in C \mid f(x)\le a\}{x∈C∣f(x)≤a} is bounded. These are the standing hypotheses of §4.1 (Lean: Standing f C). The problem is

(12)min⁡ { f(x)∣x∈C },(12)\qquad \min\,\{\,f(x)\mid x\in C\,\},(12)min{f(x)∣x∈C},

and its solution set (solSet f C) is the set of xˉ∈C\bar x\in Cxˉ∈C with f(xˉ)≤f(x)f(\bar x)\le f(x)f(xˉ)≤f(x) for all x∈Cx\in Cx∈C.

The regularization algorithm (13) starts from x0∈Cx^0\in Cx0∈C and, given xnx^nxn, takes

(13)xn+1∈C  the minimizer of  f(x)+∥x−xn∥2  over x∈C.(13)\qquad x^{n+1}\in C\ \text{ the minimizer of } \ f(x)+\|x-x^n\|^2\ \text{ over } x\in C .(13)xn+1∈C  the minimizer of  f(x)+∥x−xn∥2  over x∈C.

Lean encodes one step as IsProxStep f C xn y (y∈Cy\in Cy∈C and f(y)+∥y−xn∥2≤f(x)+∥x−xn∥2f(y)+\|y-x^n\|^2\le f(x)+\|x-x^n\|^2f(y)+∥y−xn∥2≤f(x)+∥x−xn∥2 for all x∈Cx\in Cx∈C) and a run as IsProxSeq f C x.

A point x~\tilde xx~ is a weak cluster point of (xn)(x^n)(xn) (IsWeakClusterPt) if every neighbourhood of x~\tilde xx~ in the weak topology of HHH contains xnx^nxn for infinitely many nnn. A sequence is minimizing if f(xn)→inf⁡x∈Cf(x)f(x^n)\to\inf_{x\in C} f(x)f(xn)→infx∈C​f(x).

Formalization targets

Existence for (12) and well-posedness of (13)

∃ xˉ∈C  ∀x∈C: f(xˉ)≤f(x),∀xn∈C  ∃! y∈C: y minimizes f(x)+∥x−xn∥2 over C.\exists\,\bar x\in C\ \ \forall x\in C:\ f(\bar x)\le f(x), \qquad \forall x^n\in C\ \ \exists!\,y\in C:\ y \text{ minimizes } f(x)+\|x-x^n\|^2 \text{ over } C .∃xˉ∈C  ∀x∈C: f(xˉ)≤f(x),∀xn∈C  ∃!y∈C: y minimizes f(x)+∥x−xn∥2 over C.

These are the paper's claims in §4.1 ("Ces hypothèses assurent l'existence d'une solution pour (12)") and §4.2 ("solution unique").

Goal: Théorème 3

For every sequence generated by (13),

x~ a weak cluster point of (xn) ⟹ x~∈sol⁡(12),lim⁡n→∞f(xn)=inf⁡x∈Cf(x)∈R.\tilde x \text{ a weak cluster point of } (x^n)\ \Longrightarrow\ \tilde x\in \operatorname{sol}(12), \qquad \lim_{n\to\infty} f(x^n)=\inf_{x\in C} f(x)\in\mathbb R .x~ a weak cluster point of (xn) ⟹ x~∈sol(12),n→∞lim​f(xn)=x∈Cinf​f(x)∈R.

The goal asserts no rate and no constant. It is the statement the paper makes, with both conclusions in one theorem.

Stronger: Remarque 1

If in addition fff is uniformly convex, i.e. f(ax+by)≤af(x)+bf(y)−ab φ(∥x−y∥)f(ax+by)\le af(x)+bf(y)-ab\,\varphi(\|x-y\|)f(ax+by)≤af(x)+bf(y)−abφ(∥x−y∥) for a,b≥0a,b\ge0a,b≥0, a+b=1a+b=1a+b=1, with φ(t)>0\varphi(t)>0φ(t)>0 for t>0t>0t>0, then (12) has a unique solution xˉ\bar xxˉ and ∥xn−xˉ∥→0\|x^n-\bar x\|\to0∥xn−xˉ∥→0.

Significance

The result. Théorème 3 says that the proximal iterates make progress on the objective, not only on the distance to the solution set. A user of the method can stop on a value criterion. The convergence also needs no step-size tuning, no smoothness of fff, and no bound on fff beyond the boundedness of the sublevel sets. The well-posedness of (13) is what makes the method an algorithm. Each step is a strongly convex subproblem with a unique solution, and later inexact and splitting variants rely on that.

Formalizing it. The note gives no proof of Théorème 3 ("On peut faire une démonstration directe de ce théorème") and none of Remarque 1. The mission asks for a complete machine-checked proof of the convex minimization case of the original proximal point paper. To our knowledge, none of these statements has a machine-checked proof. Mathlib has convexity, lower semicontinuity, the weak topology of a normed space and uniform convexity of functions, but no proximal point algorithm.

Difficulty

Each iterate xn+1x^{n+1}xn+1 is defined only implicitly, as the minimizer of a problem that changes with nnn. Monotonicity of f(xn)f(x^n)f(xn) follows at once from comparing xn+1x^{n+1}xn+1 with xnx^nxn. Monotonicity alone gives convergence of f(xn)f(x^n)f(xn) to some limit, but not to inf⁡Cf\inf_C finfC​f. Closing that gap needs information about the minimizers of (12) and their distance to the iterates.

The cluster-point statement is about the weak topology. A norm-continuity argument does not apply: fff is only lower semicontinuous in norm, and passing to weak limits requires the weak lower semicontinuity of convex lower semicontinuous functions. The boundedness that makes weak cluster points exist comes from the sublevel-set hypothesis, not from CCC, which may be unbounded.

For Remarque 1, the obvious argument controls φ(∥xn−xˉ∥)\varphi(\|x^n-\bar x\|)φ(∥xn−xˉ∥), and the hypothesis on φ\varphiφ is only positivity. Passing from φ(∥xn−xˉ∥)→0\varphi(\|x^n-\bar x\|)\to0φ(∥xn−xˉ∥)→0 to ∥xn−xˉ∥→0\|x^n-\bar x\|\to0∥xn−xˉ∥→0 is not immediate without a monotone modulus.

Formalization scope

All statements live in MartinetReg.ConvexMin. The conventions the formalization commits to:

  • HHH is a real complete inner product space (InnerProductSpace ℝ H, CompleteSpace H). The paper says "espace de Hilbert", and its inequalities make it real.
  • C≠∅C\neq\emptysetC=∅ is a standing hypothesis. The paper leaves it implicit, but its existence claim for (12) is false for C=∅C=\emptysetC=∅.
  • fff is real-valued, convex and lower semicontinuous on all of HHH, as printed. The constraint x∈Cx\in Cx∈C stays explicit in (12) and (13). It is not absorbed into an extended-valued indicator.
  • The penalty in (13) has weight 111, as printed, not 12\tfrac1221​.
  • The algorithm is a relation on sequences: IsProxSeq accepts any sequence with x0∈Cx^0\in Cx0∈C satisfying (13) at every step. Existence and uniqueness of the step are a separate milestone, not built into a definition by choice.
  • "Minimisante" is stated as: some real mmm is the greatest lower bound of f(C)f(C)f(C) and f(xn)→mf(x^n)\to mf(xn)→m. This avoids the junk value sInf takes on sets unbounded below. As a side effect, the theorem asserts that fff is bounded below on CCC.
  • Weak cluster points are cluster points in WeakSpace ℝ H. A norm cluster point would weaken the conclusion and is not used.
  • Remarque 1 uses Mathlib's UniformConvexOn Set.univ φ f with φ(t)>0\varphi(t)>0φ(t)>0 for t>0t>0t>0. It keeps every hypothesis of §4.1.

The goal does not assume that (12) has a solution, that fff is bounded below on CCC, or that the iterates are bounded. Each of these would remove part of the content of Théorème 3, and the first two are consequences proved as milestones.

Not formalized here: Remarque 2 (p. 158), a comment that convexity seems indispensable; and the Exemple (p. 158). The Exemple's linear system (A∗A+2I)xn+1=A∗b+2xn(A^*A+2I)x^{n+1}=A^*b+2x^n(A∗A+2I)xn+1=A∗b+2xn corresponds to f=12∥Ax−b∥2f=\tfrac12\|Ax-b\|^2f=21​∥Ax−b∥2. For the printed f=∥Ax−b∥2f=\|Ax-b\|^2f=∥Ax−b∥2, (13) gives (A∗A+I)xn+1=A∗b+xn(A^*A+I)x^{n+1}=A^*b+x^n(A∗A+I)xn+1=A∗b+xn. The variational inequality case (§II) is the companion mission I of this series.

Reusable beyond this mission: the existence of minimizers of convex lower semicontinuous functions with bounded sublevel sets on closed convex subsets of a Hilbert space, and the weak lower semicontinuity it rests on. Contributions of these general lemmas, and of strong-convexity facts for x↦f(x)+∥x−xn∥2x\mapsto f(x)+\|x-x^n\|^2x↦f(x)+∥x−xn∥2, are welcome.

Selected references

  • B. Martinet, Brève communication. Régularisation d'inéquations variationnelles par approximations successives, Revue française d'informatique et de recherche opérationnelle, série rouge, 4(R-3), 154–158, 1970. https://doi.org/10.1051/m2an/197004R301541
  • R. T. Rockafellar, Monotone operators and the proximal point algorithm, SIAM Journal on Control and Optimization 14(5), 877–898, 1976. https://doi.org/10.1137/0314056
  • O. Güler, On the convergence of the proximal point algorithm for convex minimization, SIAM Journal on Control and Optimization 29(2), 403–419, 1991. https://doi.org/10.1137/0329022
  • J. Eckstein and D. P. Bertsekas, On the Douglas–Rachford splitting method and the proximal point algorithm for maximal monotone operators, Mathematical Programming 55, 293–318, 1992. https://doi.org/10.1007/BF01581204
  • J. L. Lions and G. Stampacchia, Variational inequalities, Communications on Pure and Applied Mathematics 20, 493–519, 1967. https://doi.org/10.1002/cpa.3160200302
6 thms3 active usersReviewed
🏆Completed
Discrete GeometryFunctional AnalysisLinear algebra·Captain: mikedeng1

The Geometry of Graphs and Some of Its Algorithmic Applications 2: Euclidean Distortion ≤ c iff Σ_{q>0} q·d² + c²·Σ_{q<0} q·d² ≤ 0 for Every PSD Q with Q·1 = 0Research Paper

Why Euclidean distortion matters

Many algorithms for graphs and finite metric spaces begin by placing the points in a geometric space and then working with the geometry. Euclidean space is the most convenient target: distances there are controlled by inner products, so the question "where should the points go?" becomes a question about matrices. Linial, London and Rabinovich (Combinatorica 15 (1995)) made this viewpoint systematic and drew algorithmic consequences from it, among them the approximate multicommodity max-flow/min-cut theorem treated in a companion mission.

A finite metric space rarely embeds in Euclidean space without changing some distances. The natural measure of the damage is the distortion, and the least distortion c2(X)c_2(X)c2​(X) of a space XXX is a basic invariant in metric geometry and in the analysis of approximation algorithms. Section 3.1 of the paper (pp. 221–225) shows that c2(X)c_2(X)c2​(X) is the value of a semidefinite program, so that it can be approximated in polynomial time, and Corollary 3.5 turns the dual of that program into a complete list of certificates that bound c2(X)c_2(X)c2​(X) from below.

Timeline. The isometric case (c=1c=1c=1) is classical: Schoenberg (1935) and Young–Householder (1938) characterised the finite metric spaces that embed isometrically in Euclidean space by positive semidefiniteness of an associated matrix; the paper cites this as its Remark 3.7. Bourgain (1985) proved that every nnn-point metric space embeds in Euclidean space with distortion O(log⁡n)O(\log n)O(logn). Linial, London and Rabinovich (1995) gave the semidefinite characterisation of c2(X)c_2(X)c2​(X) for every ccc (Corollary 3.5) and showed that the O(log⁡n)O(\log n)O(logn) bound is tight for constant-degree expanders.

Setting

Let XXX be a finite set of nnn points and d:X×X→Rd : X\times X\to\mathbb{R}d:X×X→R a semi-metric: d≥0d \ge 0d≥0, d(x,x)=0d(x,x)=0d(x,x)=0, ddd is symmetric and satisfies the triangle inequality. Distinct points may be at distance zero, as the paper allows. Write di,j=d(i,j)d_{i,j}=d(i,j)di,j​=d(i,j).

For c≥1c \ge 1c≥1, the space (X,d)(X,d)(X,d) embeds in a Euclidean space with distortion at most ccc if there are m∈Nm\in\mathbb{N}m∈N and φ:X→Rm\varphi : X\to\mathbb{R}^mφ:X→Rm with

∥φ(x)−φ(y)∥≤d(x,y)≤c ∥φ(x)−φ(y)∥(x,y∈X),\|\varphi(x)-\varphi(y)\| \le d(x,y) \le c\,\|\varphi(x)-\varphi(y)\| \qquad (x,y\in X),∥φ(x)−φ(y)∥≤d(x,y)≤c∥φ(x)−φ(y)∥(x,y∈X),

where ∥⋅∥\|\cdot\|∥⋅∥ is the Euclidean norm (Definition 2.1, p. 218). The Lean predicate is EmbedsEuclidean d c.

PSD=PSDnPSD = PSD_nPSD=PSDn​ is the cone of real symmetric positive semidefinite matrices indexed by XXX. For a matrix Q=(qi,j)Q=(q_{i,j})Q=(qi,j​), the condition Q⋅1⃗=0⃗Q\cdot\vec 1=\vec 0Q⋅1=0 says that every row of QQQ sums to zero. The trace pairing of two matrices is ∑i,jpi,jyi,j\sum_{i,j} p_{i,j}y_{i,j}∑i,j​pi,j​yi,j​.

Formalization targets

Goal: Corollary 3.5 (p. 224)

For a finite semi-metric space (X,d)(X,d)(X,d) and c≥1c\ge 1c≥1, (X,d)(X,d)(X,d) embeds in a Euclidean space with distortion at most ccc if and only if for every Q∈PSDQ\in PSDQ∈PSD with Q⋅1⃗=0⃗Q\cdot\vec 1=\vec 0Q⋅1=0

∑qi,j>0qi,j di,j2+c2∑qi,j<0qi,j di,j2≤0.\sum_{q_{i,j}>0} q_{i,j}\,d_{i,j}^2 + c^2\sum_{q_{i,j}<0} q_{i,j}\,d_{i,j}^2 \le 0 .qi,j​>0∑​qi,j​di,j2​+c2qi,j​<0∑​qi,j​di,j2​≤0.

The sums run over ordered pairs. The statement is exact: distortion at most ccc is attained, not approached.

Milestones, in the order the proof uses them

  1. Gram reformulation (proof of Corollary 3.5, first display, p. 224; cf. p. 221): an embedding with distortion at most ccc exists iff some A∈PSDA\in PSDA∈PSD satisfies di,j2≤ai,i+aj,j−2ai,j≤c2di,j2d_{i,j}^2 \le a_{i,i}+a_{j,j}-2a_{i,j} \le c^2 d_{i,j}^2di,j2​≤ai,i​+aj,j​−2ai,j​≤c2di,j2​ for all i,ji,ji,j.
  2. Proposition 3.6 (p. 224): a symmetric matrix PPP lies in PSDPSDPSD iff ∑i,jpi,jyi,j≥0\sum_{i,j}p_{i,j}y_{i,j}\ge 0∑i,j​pi,j​yi,j​≥0 for every Y∈PSDY\in PSDY∈PSD.
  3. Duality step (pp. 224–225): no such AAA exists iff some Q∈PSDQ\in PSDQ∈PSD together with a nonnegative combination of the inequalities Ji,j:c2di,j2≥ai,i+aj,j−2ai,j≥di,j2J_{i,j} : c^2d_{i,j}^2 \ge a_{i,i}+a_{j,j}-2a_{i,j} \ge d_{i,j}^2Ji,j​:c2di,j2​≥ai,i​+aj,j​−2ai,j​≥di,j2​ yields a contradiction, every aaa-term cancelling and a negative constant remaining.

Significance

The result. Corollary 3.5 makes the least Euclidean distortion a dual object: every positive semidefinite QQQ with zero row sums is a certificate that c2(X)≥(∑q>0q d2/∑q<0∣q∣ d2)1/2c_2(X) \ge \big(\sum_{q>0} q\,d^2 / \sum_{q<0}|q|\,d^2\big)^{1/2}c2​(X)≥(∑q>0​qd2/∑q<0​∣q∣d2)1/2, and the corollary says that the best such certificate is exact. Lower bounds on distortion in later work, for expanders, hypercubes and other families, are proved by exhibiting such a QQQ, often a graph Laplacian. The same duality is the basis of the semidefinite relaxations used for sparsest cut and related problems.

Formalizing it. The result is proved in the literature, but nothing of it is machine-checked. A formal development produces three reusable pieces: the Gram-matrix description of Euclidean point configurations up to distortion, self-duality of the positive semidefinite cone under the trace pairing (not in Mathlib), and a theorem of alternatives for a specific semidefinite feasibility problem, where no constraint qualification can be assumed for free.

Difficulty

The direction from an embedding to the inequalities is short. The difficulty is the converse. "By convex programming duality" is not automatic for semidefinite systems: theorems of alternatives for cone programs can fail when the image of the cone under the relevant linear map is not closed, so the step that turns "no feasible AAA" into an explicit certificate QQQ needs an argument specific to this system. A second subtlety is that the left side asks for an embedding with distortion exactly at most ccc; a separation argument that only produces embeddings with distortion c+εc+\varepsilonc+ε for every ε>0\varepsilon>0ε>0 does not prove the statement.

Formalization scope

  • Points are an arbitrary finite type X (Fintype, DecidableEq); n=∣X∣n=|X|n=∣X∣ is not otherwise used. The semi-metric is a function d : X → X → ℝ with the axioms bundled in IsPseudometric.
  • The target space is EuclideanSpace ℝ (Fin m) with m existentially quantified. Distortion is the contractive form of Definition 2.1 with both inequalities; with only one of them the zero map or a large scaling would make every space embed, so that reading is ruled out.
  • PSDPSDPSD is Matrix.PosSemidef (symmetric by definition); Q⋅1⃗=0⃗Q\cdot\vec1=\vec0Q⋅1=0 is Q.mulVec (fun _ => 1) = 0. Both hypotheses on QQQ are needed: without zero row sums the all-ones matrix, and without semidefiniteness J−nIJ - nIJ−nI, would violate the inequality for every space with two points at positive distance.
  • The paper's hypothesis c≥1c\ge 1c≥1 is kept.
  • Proposition 3.6 adds the hypothesis that PPP is symmetric, implicit in "belongs to PSDnPSD_nPSDn​".
  • The duality step is stated as an explicit theorem of alternatives: an identity of linear forms in AAA plus a negative constant.
  • Out of scope. The corollary's second sentence ("this inequality holds … with c=O(log⁡n)c=O(\log n)c=O(logn)") rests on Bourgain's theorem, which the paper only cites; it is not stated. The algorithmic content of Theorem 3.2 (polynomial-time approximation of c2(X)c_2(X)c2​(X) by the ellipsoid method, dimension reduction) is not stated. Remark 3.7 and Corollary 3.8 are not stated.

Proofs of any milestone, alternative proofs of the goal, and reusable lemmas on the positive semidefinite cone are welcome.

Selected references

  • N. Linial, E. London, Y. Rabinovich, The geometry of graphs and some of its algorithmic applications, Combinatorica 15(2) (1995) 215–245. https://doi.org/10.1007/BF01200757
  • J. Bourgain, On Lipschitz embedding of finite metric spaces in Hilbert space, Israel J. Math. 52 (1985) 46–52. https://doi.org/10.1007/BF02776078
  • I. J. Schoenberg, Remarks to Maurice Fréchet's article "Sur la définition axiomatique d'une classe d'espaces distanciés vectoriellement applicables sur l'espace de Hilbert", Annals of Math. 36 (1935) 724–732. https://doi.org/10.2307/1968654
  • G. Young, A. S. Householder, Discussion of a set of points in terms of their mutual distances, Psychometrika 3 (1938) 19–22. https://doi.org/10.1007/BF02287916
6 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimization·Captain: mikedeng1

Nonlinear Proximal Point Algorithms Using Bregman Functions, with Applications to Convex Programming 3: The Nonquadratic Method of Multipliers for Linear Equality Constraints ConvergesResearch Paper

Motivation

The method of multipliers (augmented Lagrangian method) of Hestenes and Powell is one of the standard algorithms for constrained convex optimization. Each iteration minimizes the Lagrangian plus a quadratic penalty on the constraint residual, then updates the multiplier estimate. Rockafellar showed in 1976 that this method is the proximal point algorithm applied to the dual problem (Rockafellar, Math. Oper. Res. 1976), which explains its global convergence for convex programs without differentiability or constraint qualifications on the primal side.

The quadratic penalty is not the only one used in practice. Exponential and other nonquadratic penalties produce twice-differentiable augmented Lagrangians and were studied by Kort and Bertsekas and by Tseng and Bertsekas. Eckstein (Math. Oper. Res. 18(1), 1993, 202–226) gave a uniform convergence theory for such methods. He replaces the squared Euclidean distance in the proximal point algorithm by the D-function of a Bregman function hhh, proves convergence of the resulting algorithm for every maximal monotone operator (Theorem 1), and then derives nonquadratic multiplier methods by applying it to the dual of a convex program. This mission covers the linear-equality-constrained case, §4.1 and Theorem 6 of that paper.

Setting

Let f:Rn→(−∞,+∞]f : \mathbb R^n \to (-\infty, +\infty]f:Rn→(−∞,+∞] be convex and lower semicontinuous, let AAA be an m×nm \times nm×n matrix, b∈Rmb \in \mathbb R^mb∈Rm, and X⊆RnX \subseteq \mathbb R^nX⊆Rn closed and convex, with inf⁡{f(x)∣x∈X}<∞\inf\{f(x) \mid x \in X\} < \inftyinf{f(x)∣x∈X}<∞. The problem is

minimize f(x)such thatAx=b, x∈X.(7)\text{minimize } f(x) \quad\text{such that}\quad Ax = b,\ x \in X. \tag{7}minimize f(x)such thatAx=b, x∈X.(7)

Write δX\delta_XδX​ for the indicator function of XXX (000 on XXX, +∞+\infty+∞ off XXX) and fX=f+δXf_X = f + \delta_XfX​=f+δX​. The dual functional is

d(p)=inf⁡x∈X{f(x)+⟨p,Ax−b⟩},p∈Rm,d(p) = \inf_{x \in X}\bigl\{ f(x) + \langle p, Ax - b\rangle \bigr\}, \qquad p \in \mathbb R^m,d(p)=x∈Xinf​{f(x)+⟨p,Ax−b⟩},p∈Rm,

assumed not identically −∞-\infty−∞. An optimal multiplier (Lagrange multiplier) is a maximizer of ddd over Rm\mathbb R^mRm.

For an open set SSS, a Bregman function with zone SSS is a function h:Sˉ→Rh : \bar S \to \mathbb Rh:Sˉ→R that is continuously differentiable on SSS, strictly convex and continuous on Sˉ\bar SSˉ, and satisfies the level-set and limit conditions (iv)–(vi) of Definition 1 on its D-function Dh(x,y)=h(x)−h(y)−⟨∇h(y),x−y⟩D_h(x, y) = h(x) - h(y) - \langle \nabla h(y), x - y \rangleDh​(x,y)=h(x)−h(y)−⟨∇h(y),x−y⟩. Here the zone is all of Rm\mathbb R^mRm, and ∇h\nabla h∇h is assumed onto Rm\mathbb R^mRm. Let h∗(z)=sup⁡p{⟨p,z⟩−h(p)}h^*(z) = \sup_p\{\langle p, z\rangle - h(p)\}h∗(z)=supp​{⟨p,z⟩−h(p)} be the convex conjugate of hhh, and let ck>0c_k > 0ck​>0 with inf⁡kck>0\inf_k c_k > 0infk​ck​>0. The nonquadratic method of multipliers generates {(xk,pk)}\{(x^k, p^k)\}{(xk,pk)} by

xk+1∈arg min⁡x∈X{f(x)+1ck h∗(∇h(pk)+ck(Ax−b))},pk+1=∇h∗(∇h(pk)+ck(Axk+1−b)).(9)x^{k+1} \in \operatorname*{arg\,min}_{x \in X}\Bigl\{ f(x) + \tfrac{1}{c_k}\, h^*\bigl(\nabla h(p^k) + c_k(Ax - b)\bigr)\Bigr\}, \qquad p^{k+1} = \nabla h^*\bigl(\nabla h(p^k) + c_k(Ax^{k+1} - b)\bigr). \tag{9}xk+1∈x∈Xargmin​{f(x)+ck​1​h∗(∇h(pk)+ck​(Ax−b))},pk+1=∇h∗(∇h(pk)+ck​(Axk+1−b)).(9)

For h(p)=12∥p∥2h(p) = \frac12\|p\|^2h(p)=21​∥p∥2 this is the classical method of multipliers. A run of the general Bregman proximal point algorithm for an operator TTT is a sequence with 1ck(∇h(xk)−∇h(xk+1))∈T(xk+1)\frac{1}{c_k}(\nabla h(x^k) - \nabla h(x^{k+1})) \in T(x^{k+1})ck​1​(∇h(xk)−∇h(xk+1))∈T(xk+1) for all kkk.

Formalization targets

Goal: Theorem 6 (pp. 212–213)

Under the assumptions above:

∃ p⋆ optimal  ⟹  pk→some optimal multiplier, and every limit point of {xk} solves (7);\exists\, p^\star \text{ optimal} \;\Longrightarrow\; p^k \to \text{some optimal multiplier, and every limit point of } \{x^k\} \text{ solves (7)};∃p⋆ optimal⟹pk→some optimal multiplier, and every limit point of {xk} solves (7); ∄ p⋆ optimal  ⟹  {pk} is unbounded.\nexists\, p^\star \text{ optimal} \;\Longrightarrow\; \{p^k\} \text{ is unbounded}.∄p⋆ optimal⟹{pk} is unbounded.

The statement fixes no penalty: it holds for every Bregman function with zone Rm\mathbb R^mRm and surjective gradient. It makes no claim that {xk}\{x^k\}{xk} converges, which is false in general.

Milestones

  1. Theorem 1 (pp. 206–207): for a maximal monotone TTT and a Bregman function hhh with zone SSS, Sˉ⊇dom⁡T\bar S \supseteq \operatorname{dom} TSˉ⊇domT, a run of the Bregman proximal point algorithm converges to a zero of TTT when one exists, under either (C1) S⊇dom⁡T‾S \supseteq \overline{\operatorname{dom} T}S⊇domT or (C2) T=∂fT = \partial fT=∂f for a closed proper convex fff. If TTT has no zero and (C1) holds, the run is unbounded.
  2. Proof of Theorem 6, p. 213: the multipliers produced by (9) form a Bregman proximal point run on ∂(−d)\partial(-d)∂(−d),
pk+1=(∇h+ck∂(−d))−1(∇h(pk)).p^{k+1} = \bigl(\nabla h + c_k \partial(-d)\bigr)^{-1}\bigl(\nabla h(p^k)\bigr).pk+1=(∇h+ck​∂(−d))−1(∇h(pk)).
  1. Proof of Theorem 6, p. 214: if pk→p⋆p^k \to p^\starpk→p⋆ with p⋆p^\starp⋆ optimal, then Axk→bAx^k \to bAxk→b, and every limit point x∞x^\inftyx∞ of {xk}\{x^k\}{xk} satisfies Ax∞=bAx^\infty = bAx∞=b, −ATp⋆∈∂fX(x∞)-A^{\mathsf T}p^\star \in \partial f_X(x^\infty)−ATp⋆∈∂fX​(x∞), and solves (7).

An additional item states the existence clause of Theorem 6: if the row space of AAA meets ri⁡(im⁡∂(f+δX))\operatorname{ri}(\operatorname{im} \partial(f + \delta_X))ri(im∂(f+δX​)), or fff and XXX are polyhedral and the row space meets im⁡∂(f+δX)\operatorname{im} \partial(f + \delta_X)im∂(f+δX​), then (9) has an infinite run from every starting point (x0,p0)(x^0, p^0)(x0,p0).

Significance

Theorem 6 gives global convergence of a whole family of augmented Lagrangian methods at once, with the penalty chosen through hhh. For instance, Example 5 of the paper obtains the method with penalty 1rck∑i∣μi+ck(Aix−bi)∣r\frac{1}{r c_k}\sum_i |\mu_i + c_k(A_i x - b_i)|^rrck​1​∑i​∣μi​+ck​(Ai​x−bi​)∣r for any r>1r > 1r>1. Its multiplier sequence behaves exactly as the dual proximal point iterates do, and it detects dual unsolvability through divergence of {pk}\{p^k\}{pk}. Primal limit points are optimal without any assumption beyond existence of a Lagrange multiplier.

The result has a published proof (Eckstein 1993) but, to our knowledge, no machine-checked proof. Formalizing it requires a formal treatment of Bregman functions and of the Bregman proximal point algorithm (Theorem 1). It also requires the subdifferential calculus of the dual functional: conjugates, the chain rule ∂(g∘AT)\partial(g \circ A^{\mathsf T})∂(g∘AT), and the inverse relation between ∇h\nabla h∇h and ∇h∗\nabla h^*∇h∗. The milestones isolate the reduction of (9) to Theorem 1 and the primal recovery argument, each of which can be proved independently of the others.

Difficulty

The reduction step is where a direct argument fails. Showing that pk+1p^{k+1}pk+1 is a proximal point of ∂(−d)\partial(-d)∂(−d) needs the inclusion −(Axk+1−b)∈∂(−d)(pk+1)-(Ax^{k+1} - b) \in \partial(-d)(p^{k+1})−(Axk+1−b)∈∂(−d)(pk+1), where −d(p)=(fX)∗(−ATp)+⟨b,p⟩-d(p) = (f_X)^*(-A^{\mathsf T}p) + \langle b, p\rangle−d(p)=(fX​)∗(−ATp)+⟨b,p⟩ is a composition of a conjugate with a linear map. The subdifferential chain rule holds with equality only under a qualification condition. The argument must therefore use only the inclusion that holds unconditionally, together with the optimality condition for the xxx-subproblem, which needs differentiability of h∗h^*h∗ everywhere (supplied by im⁡∇h=Rm\operatorname{im} \nabla h = \mathbb R^mim∇h=Rm and strict convexity of hhh). On the primal side, {xk}\{x^k\}{xk} need not be bounded or convergent, so primal optimality can only be asserted for limit points, through closedness of the graph of ∂fX\partial f_X∂fX​. Theorem 1 itself rests on the Bregman conditions (iv)–(vi), which replace the Fejér monotonicity of the Euclidean proximal point argument.

Formalization scope

  • Rk\mathbb R^kRk is EuclideanSpace ℝ (Fin k). AAA is a continuous linear map Rn→Rm\mathbb R^n \to \mathbb R^mRn→Rm (equivalent to an m×nm \times nm×n matrix), and ATA^{\mathsf T}AT is its adjoint. Theorem 1 is stated on any finite-dimensional real inner product space.
  • Functions into (−∞,+∞](-\infty, +\infty](−∞,+∞] are EReal-valued with "never −∞-\infty−∞" as a hypothesis. ∂f\partial f∂f uses the published IsSubgradient; convexity is convexity of the epigraph (IsConvexFn). Maximal monotonicity, dom and zer are the published ThreeOpSplitting.Convergence definitions. The conjugate h∗h^*h∗ is the published fenchelConjugate, an EReal supremum.
  • (9) uses the real value of h∗h^*h∗. This is faithful because im⁡∇h=Rm\operatorname{im}\nabla h = \mathbb R^mim∇h=Rm makes h∗h^*h∗ finite everywhere. Finiteness of h∗h^*h∗ is a consequence, never a hypothesis. The arg min in (9) is a minimality predicate, not a choice function, since the minimizer need not be unique.
  • Recursion (3) is encoded through its equivalent form (4). Condition (vi) of Definition 1 is stated on the natural domain Sˉ×S\bar S \times SSˉ×S of DhD_hDh​.
  • "Limit point" means subsequential limit, and "unbounded" means the range of the sequence is not bounded. In the existence clause, ri is Mathlib's intrinsicInterior, and polyhedral sets and functions are finite intersections of closed half-spaces (for functions, of the epigraph).
  • The paper's typo "monontone" in Theorem 1 is read as "monotone".
  • The convergence claims must not be weakened to their trivial instances. A formalization that assumes {xk}\{x^k\}{xk} converges, or adds finiteness of h∗h^*h∗ or boundedness of {pk}\{p^k\}{pk} as a hypothesis, or encodes (9) with a choice function, does not state Theorem 6.
  • Reusable beyond this mission: the Bregman function structure and Theorem 1 (shared with the other missions of this series), and the dual-functional and conjugate facts for linearly constrained programs. Contributions toward the conjugate calculus (∇h∗=(∇h)−1\nabla h^* = (\nabla h)^{-1}∇h∗=(∇h)−1, the chain rule inclusion) are welcome.

Selected references

  • J. Eckstein, Nonlinear proximal point algorithms using Bregman functions, with applications to convex programming, Mathematics of Operations Research 18(1) (1993) 202–226. https://doi.org/10.1287/moor.18.1.202
  • R. T. Rockafellar, Augmented Lagrangians and applications of the proximal point algorithm in convex programming, Mathematics of Operations Research 1(2) (1976) 97–116. https://doi.org/10.1287/moor.1.2.97
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970. https://doi.org/10.1515/9781400873173
  • Y. Censor, S. A. Zenios, Proximal minimization algorithm with D-functions, Journal of Optimization Theory and Applications 73(3) (1992) 451–464. https://doi.org/10.1007/BF00940051
  • P. Tseng, D. P. Bertsekas, On the convergence of the exponential multiplier method for convex programming, Mathematical Programming 60 (1993) 1–19. https://doi.org/10.1007/BF01580598
9 thms3 active usersReviewed
🏆Completed
Functional AnalysisOptimization·Captain: mikedeng1

A Dual Algorithm for the Solution of Nonlinear Variational Problems via Finite Element Approximation 1: For 0 < ρ < 2r, the Modified Dual Algorithm Converges Strongly to (v*, Av*)Research Paper

Motivation

Many problems in mechanics and optimal control are posed as the minimization of a convex functional of the form f(Av)−⟨b,v⟩f(Av)-\langle b,v\ranglef(Av)−⟨b,v⟩, where AAA is a differential operator and fff is non-smooth: an obstacle, a friction term, a plasticity threshold. Splitting the variable, y=Avy=Avy=Av, separates the linear operator from the non-smooth function, and a Lagrange multiplier for the constraint Av−y=0Av-y=0Av−y=0 turns the problem into a sequence of two simpler ones: a linear system in vvv and a pointwise nonlinear problem in yyy. The scheme that alternates between the two and then updates the multiplier is now called the alternating direction method of multipliers (ADMM). It is one of the standard algorithms of large-scale convex optimization, statistics and imaging (Boyd, Parikh, Chu, Peleato and Eckstein, 2011).

Gabay and Mercier (IRIA report RR-126, 1975; Comput. Math. Appl., 1976) gave a convergence proof of this method in Hilbert space, for a stepsize ρ\rhoρ anywhere in (0,2r)(0,2r)(0,2r), where rrr is the penalty parameter of the augmented Lagrangian.

Timeline.

  • 1969: Hestenes and Powell introduce the augmented Lagrangian (method of multipliers).
  • 1975: Glowinski and Marrocco propose the alternating scheme for nonlinear Dirichlet problems.
  • 1975–76: Gabay and Mercier prove strong convergence of the primal iterates for 0<ρ<2r0<\rho<2r0<ρ<2r under strong monotonicity of f1′f_1'f1′​ (this mission).
  • 1983: Gabay identifies ADMM with Douglas–Rachford splitting applied to the dual.
  • 1992: Eckstein and Bertsekas extend convergence to maximal monotone operators, without strong monotonicity, for ρ=r\rho=rρ=r.

Setting

VVV and YYY are real Hilbert spaces; (⋅,⋅)(\cdot,\cdot)(⋅,⋅) and ∣⋅∣|\cdot|∣⋅∣ are the inner product and norm of YYY, ∥⋅∥\|\cdot\|∥⋅∥ the norm of VVV. A:V→YA:V\to YA:V→Y is a continuous linear operator and bbb is a continuous linear functional on VVV, with value ⟨b,v⟩\langle b,v\rangle⟨b,v⟩ at vvv. The dual of YYY is identified with YYY. The function f:Y→(−∞,+∞]f:Y\to(-\infty,+\infty]f:Y→(−∞,+∞] is a sum f=f1+f2f=f_1+f_2f=f1​+f2​ where

  1. f1:Y→Rf_1:Y\to\mathbb Rf1​:Y→R is convex and continuously differentiable, and its gradient is strongly monotone: (f1′(y)−f1′(z),y−z)≥γ∣y−z∣2(f_1'(y)-f_1'(z),y-z)\ge\gamma|y-z|^2(f1′​(y)−f1′​(z),y−z)≥γ∣y−z∣2 for some γ>0\gamma>0γ>0 (2.3);
  2. f2f_2f2​ is proper (never −∞-\infty−∞, somewhere finite), convex and lower semicontinuous;
  3. ∣Av∣2≥α2∥v∥2|Av|^2\ge\alpha^2\|v\|^2∣Av∣2≥α2∥v∥2 for some α>0\alpha>0α>0 (2.5);
  4. some Av0Av_0Av0​ lies in the interior of dom⁡f2={y:f2(y)<+∞}\operatorname{dom}f_2=\{y:f_2(y)<+\infty\}domf2​={y:f2​(y)<+∞} (qualification).

The problem is

(P)inf⁡v∈V f(Av)−⟨b,v⟩,(\mathcal P)\qquad \inf_{v\in V}\ f(Av)-\langle b,v\rangle ,(P)v∈Vinf​ f(Av)−⟨b,v⟩,

and a solution v∗v^*v∗ is a point where this value is finite and minimal. The Lagrangian and augmented Lagrangian are, for λ∈Y\lambda\in Yλ∈Y and r>0r>0r>0,

L(v,y;λ)=f(y)+(λ,Av−y)−⟨b,v⟩,Lr=L+r2∣Av−y∣2.\mathcal L(v,y;\lambda)=f(y)+(\lambda,Av-y)-\langle b,v\rangle,\qquad \mathcal L_r=\mathcal L+\frac r2|Av-y|^2 .L(v,y;λ)=f(y)+(λ,Av−y)−⟨b,v⟩,Lr​=L+2r​∣Av−y∣2.

The modified dual algorithm (3.4) starts from any (y0,λ0)∈Y×Y(y^0,\lambda^0)\in Y\times Y(y0,λ0)∈Y×Y and, for n≥0n\ge0n≥0,

  1. finds vn+1v^{n+1}vn+1 with r(Avn+1,Aw)=(ryn−λn,Aw)+⟨b,w⟩r(Av^{n+1},Aw)=(ry^n-\lambda^n,Aw)+\langle b,w\rangler(Avn+1,Aw)=(ryn−λn,Aw)+⟨b,w⟩ for all w∈Vw\in Vw∈V (minimization of Lr\mathcal L_rLr​ in vvv);
  2. finds yn+1y^{n+1}yn+1 with λn+rAvn+1−ryn+1−f1′(yn+1)∈∂f2(yn+1)\lambda^n+rAv^{n+1}-ry^{n+1}-f_1'(y^{n+1})\in\partial f_2(y^{n+1})λn+rAvn+1−ryn+1−f1′​(yn+1)∈∂f2​(yn+1) (minimization of Lr\mathcal L_rLr​ in yyy);
  3. sets λn+1=λn+ρ(Avn+1−yn+1)\lambda^{n+1}=\lambda^n+\rho(Av^{n+1}-y^{n+1})λn+1=λn+ρ(Avn+1−yn+1).

PPP denotes the orthogonal projection of YYY onto the range R(A)R(A)R(A), which is closed by (2.5).

Formalization targets

Goal: Theorem 3.1

For r>0r>0r>0 and every stepsize with

0<ρ<2r,0<\rho<2r,0<ρ<2r,

every run of the algorithm satisfies

∥vn−v∗∥→0,∣yn−Av∗∣→0,sup⁡n∣λn∣<∞,\|v^n-v^*\|\to0,\qquad |y^n-Av^*|\to0,\qquad \sup_n|\lambda^n|<\infty,∥vn−v∗∥→0,∣yn−Av∗∣→0,nsup​∣λn∣<∞,

where v∗v^*v∗ is the unique solution of (P)(\mathcal P)(P). The multipliers need not converge.

Milestones

  1. Proposition 2.1: (P)(\mathcal P)(P) has a unique solution.
  2. Theorem 2.1: a saddle point (v∗,y∗;λ∗)(v^*,y^*;\lambda^*)(v∗,y∗;λ∗) of L\mathcal LL consists of the solution v∗v^*v∗, y∗=Av∗y^*=Av^*y∗=Av∗ and λ∗∈∂f(Av∗)\lambda^*\in\partial f(Av^*)λ∗∈∂f(Av∗) with A′λ∗=bA'\lambda^*=bA′λ∗=b; and a saddle point exists.
  3. Theorem 2.2: for r>0r>0r>0, Lr\mathcal L_rLr​ and L\mathcal LL have the same saddle points.
  4. (3.8)–(3.10): a saddle point is a fixed point of Steps 1–2.
  5. (3.11)–(3.12): A(vn+1−v∗)=P(yn−y∗)−1rP(λn−λ∗)A(v^{n+1}-v^*)=P(y^n-y^*)-\frac1rP(\lambda^n-\lambda^*)A(vn+1−v∗)=P(yn−y∗)−r1​P(λn−λ∗).
  6. (3.19)–(3.20): the energy estimate
γ∣yn+1−y∗∣2+(r−ρ2)∣(I−P)(yn+1−y∗)∣2+r2∣P(yn+1−y∗)∣2+12ρ∣(I−P)(λn+1−λ∗)∣2≤r2∣P(yn−y∗)∣2+12ρ∣(I−P)(λn−λ∗)∣2\gamma|y^{n+1}-y^*|^2+\Bigl(r-\frac\rho2\Bigr)|(I-P)(y^{n+1}-y^*)|^2+\frac r2|P(y^{n+1}-y^*)|^2+\frac1{2\rho}|(I-P)(\lambda^{n+1}-\lambda^*)|^2\le\frac r2|P(y^n-y^*)|^2+\frac1{2\rho}|(I-P)(\lambda^n-\lambda^*)|^2γ∣yn+1−y∗∣2+(r−2ρ​)∣(I−P)(yn+1−y∗)∣2+2r​∣P(yn+1−y∗)∣2+2ρ1​∣(I−P)(λn+1−λ∗)∣2≤2r​∣P(yn−y∗)∣2+2ρ1​∣(I−P)(λn−λ∗)∣2

and its sum over n=0,…,Nn=0,\dots,Nn=0,…,N. 7. yn→y∗y^n\to y^*yn→y∗ for 0<ρ≤2r0<\rho\le2r0<ρ≤2r. 8. (3.22)–(3.23): a contraction-plus-summable-forcing recursion for ∣P(λn−λ∗)∣2|P(\lambda^n-\lambda^*)|^2∣P(λn−λ∗)∣2, and the scalar lemma that such recursions tend to 000. 9. P(λn−λ∗)→0P(\lambda^n-\lambda^*)\to0P(λn−λ∗)→0 and vn→v∗v^n\to v^*vn→v∗ for 0<ρ<2r0<\rho<2r0<ρ<2r.

Significance

The theorem says that ADMM converges without any step-size tuning beyond ρ<2r\rho<2rρ<2r, and that the primal iterates converge in norm in infinite dimension, which is what makes the method usable for finite element discretizations of variational problems (the companion mission on internal approximations treats the discretization). It covers obstacle problems, Bingham fluids and elasto-plastic torsion, where f2f_2f2​ is an indicator or a non-differentiable norm.

The result is proved in the 1975 report. To our knowledge it has no machine-checked proof. Formalizing it adds a library-level convergence theorem for ADMM in Hilbert space with EReal\mathrm{EReal}EReal-valued convex functions, a saddle-point existence theorem for linearly constrained convex problems, and the energy estimate (3.19) as a reusable lemma. The formalization also fixes two defects of the printed text (see Formalization scope): a sign in Step 1 and a qualification hypothesis that is too weak.

Difficulty

The energy estimate (3.19) only controls the multiplier through its component in R(A)⊥R(A)^\perpR(A)⊥, and only the yyy-error through γ>0\gamma>0γ>0. The natural first idea, a Lyapunov function in ∣λn−λ∗∣2|\lambda^n-\lambda^*|^2∣λn−λ∗∣2 alone that decreases at each step, does not work for ρ≠r\rho\ne rρ=r: the component P(λn−λ∗)P(\lambda^n-\lambda^*)P(λn−λ∗) obeys a separate recursion whose contraction factor ∣1−ρ/r∣|1-\rho/r|∣1−ρ/r∣ is below one only for 0<ρ<2r0<\rho<2r0<ρ<2r, and whose forcing term must be shown summable from the yyy-estimate. The existence of a multiplier, i.e. of a saddle point, is a separate difficulty: it needs the subdifferential chain rule ∂(f∘A)=A′∂f(A ⋅)\partial(f\circ A)=A'\partial f(A\,\cdot)∂(f∘A)=A′∂f(A⋅) in infinite dimension, under a constraint qualification.

Formalization scope

Lean conventions:

  • VVV, YYY are InnerProductSpace ℝ with CompleteSpace; multipliers are elements of YYY; bbb is a StrongDual ℝ V.
  • f1:Y→Rf_1:Y\to\mathbb Rf1​:Y→R (a Gateaux-differentiable function is finite), with a gradient f₁' at every point (HasGradientAt) that is continuous; "weakly continuous on finite-dimensional subspaces" is then automatic.
  • f2:Y→f_2:Y\tof2​:Y→ EReal, with IsProperFn, IsConvexFn, IsSubgradient from the published InertialFB.IFB.ConvexAnalysis and Mathlib's LowerSemicontinuous. No subtraction in EReal occurs: the variational inequalities (3.6), (3.9) are stated as subgradient inclusions, and the Lagrangians as a real part plus f2(y)f_2(y)f2​(y).
  • A solution of (P)(\mathcal P)(P) has finite value. A run is any triple of sequences indexed by N\mathbb NN satisfying Steps 1–3 for every nnn; the start is arbitrary, and the well-posedness of the steps is not assumed or used.
  • PPP is the orthogonal projection onto the closure of R(A)R(A)R(A), equal to R(A)R(A)R(A) under (2.5).
  • Strong convergence is convergence in norm; "bounded" is Bornology.IsBounded (Set.range λ).

Corrections to the printed text, each explained in the item's statement:

  • Step 1 (3.5) and (3.8) carry +⟨b,v⟩+\langle b,v\rangle+⟨b,v⟩. The paper prints −⟨b,v⟩-\langle b,v\rangle−⟨b,v⟩ there and in Remark 1 of p. 15, which is inconsistent with L\mathcal LL and (P)(\mathcal P)(P): with the printed sign the iteration solves the problem with −b-b−b.
  • The qualification (2.4), "int⁡dom⁡f2≠∅\operatorname{int}\operatorname{dom}f_2\ne\emptysetintdomf2​=∅", is strengthened to int⁡dom⁡f2∩R(A)≠∅\operatorname{int}\operatorname{dom}f_2\cap R(A)\ne\emptysetintdomf2​∩R(A)=∅. With (2.4) alone, Theorem 2.1's saddle point need not exist and the multipliers of Theorem 3.1 need not be bounded: V=RV=\mathbb RV=R, Y=R2Y=\mathbb R^2Y=R2, Av=(v,0)Av=(v,0)Av=(v,0), f1=∣⋅∣2/2f_1=|\cdot|^2/2f1​=∣⋅∣2/2, f2f_2f2​ the indicator of the disc of centre (0,1)(0,1)(0,1) and radius 111, ⟨b,v⟩=v\langle b,v\rangle=v⟨b,v⟩=v.
  • Proposition 2.1 assumes that f2∘Af_2\circ Af2​∘A is somewhere finite, which its proof requires.

Ruled out: the solution v∗v^*v∗ is a hypothesis of the goal, so the hypotheses must not be contradictory. They are met by V=Y=RV=Y=\mathbb RV=Y=R, A=idA=\mathrm{id}A=id, f1(y)=y2/2f_1(y)=y^2/2f1​(y)=y2/2, f2=0f_2=0f2​=0, b=0b=0b=0, and a proper f2f_2f2​ excludes the degenerate reading in which every point "solves" (P)(\mathcal P)(P) with value +∞+\infty+∞.

A complete development needs: existence of minimizers of coercive convex l.s.c. functions on a Hilbert space; the subdifferential sum and chain rules under a continuity qualification; orthogonal projections onto closed ranges; and elementary facts about summable sequences. The saddle-point theory (Theorems 2.1–2.2) and the scalar lemma (3.23) are reusable beyond this mission. Proofs of any milestone are welcome, as are proofs of the goal by a different route.

Selected references

  • D. Gabay and B. Mercier, A dual algorithm for the solution of non linear variational problems via finite element approximation, IRIA Rapport de Recherche 126, 1975. https://hal.science/hal-04716124v1 ; journal version: Computers & Mathematics with Applications 2 (1976) 17–40, https://doi.org/10.1016/0898-1221(76)90003-1
  • R. Glowinski and A. Marrocco, Sur l'approximation, par éléments finis d'ordre un, et la résolution, par pénalisation-dualité, d'une classe de problèmes de Dirichlet non linéaires, RAIRO Analyse Numérique 9 (1975) 41–76. https://doi.org/10.1051/m2an/197509R200411
  • M. R. Hestenes, Multiplier and gradient methods, J. Optim. Theory Appl. 4 (1969) 303–320. https://doi.org/10.1007/BF00927673
  • I. Ekeland and R. Temam, Analyse convexe et problèmes variationnels, Dunod, 1974 (the paper's [E]).
  • J. Eckstein and D. P. Bertsekas, On the Douglas–Rachford splitting method and the proximal point algorithm for maximal monotone operators, Math. Programming 55 (1992) 293–318. https://doi.org/10.1007/BF01581204
  • S. Boyd, N. Parikh, E. Chu, B. Peleato and J. Eckstein, Distributed optimization and statistical learning via the alternating direction method of multipliers, Found. Trends Mach. Learn. 3 (2011) 1–122. https://doi.org/10.1561/2200000016
16 thms3 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability·Captain: mikedeng1

The Exact Feasibility of Randomized Solutions of Uncertain Convex Programs: Fully-Supported Problems Attain the Binomial Violation Tail ExactlyResearch Paper

Motivation

Many design problems in control, finance and engineering are convex programs whose constraints depend on an uncertain parameter δ\deltaδ: a solution must satisfy x∈Xδx\in\mathcal X_\deltax∈Xδ​ for every δ\deltaδ in a possibly infinite set Δ\DeltaΔ. Enforcing all constraints (robust optimization) is often intractable or overly conservative. The scenario approach draws NNN independent samples of δ\deltaδ, solves the convex program with those NNN constraints only, and asks how likely it is that the resulting solution violates a fresh constraint. The question matters wherever a randomized design is certified by a confidence statement, from robust control to chance-constrained portfolio selection.

Timeline.

  • Calafiore and Campi (Math. Program. 2005; IEEE TAC 2006) introduced the method and bounded the probability that the violation exceeds ε\varepsilonε by a quantity of order (Nd)(1−ε)N−d\binom Nd(1-\varepsilon)^{N-d}(dN​)(1−ε)N−d. The bound is valid but loose.
  • Campi and Garatti (SIAM J. Optim. 2008, this mission's source) proved the bound ∑i=0d−1(Ni)εi(1−ε)N−i\sum_{i=0}^{d-1}\binom Ni\varepsilon^i(1-\varepsilon)^{N-i}∑i=0d−1​(iN​)εi(1−ε)N−i for every convex problem satisfying existence and uniqueness of solutions. They showed it is attained with equality by every fully-supported problem, so it cannot be improved without further assumptions.
  • Later work extended the result to non-unique solutions, constraint removal, and non-convex decisions (Campi and Garatti, Introduction to the Scenario Approach, SIAM 2018).

Setting

Let (Δ,D,P)(\Delta,\mathcal D,\mathbb P)(Δ,D,P) be a probability space, c∈Rdc\in\mathbb R^dc∈Rd with d≥1d\ge1d≥1, and let X⊆Rd\mathcal X\subseteq\mathbb R^dX⊆Rd and Xδ⊆Rd\mathcal X_\delta\subseteq\mathbb R^dXδ​⊆Rd (δ∈Δ\delta\in\Deltaδ∈Δ) be convex closed sets. The violation probability of a point xxx is

V(x)=P{δ∈Δ: x∉Xδ}.V(x)=\mathbb P\{\delta\in\Delta:\ x\notin\mathcal X_\delta\}.V(x)=P{δ∈Δ: x∈/Xδ​}.

For a multi-extraction (δ(1),…,δ(m))∈Δm(\delta^{(1)},\dots,\delta^{(m)})\in\Delta^m(δ(1),…,δ(m))∈Δm, the program PmP_mPm​ minimises c⊤xc^\top xc⊤x over x∈X∩⋂i=1mXδ(i)x\in\mathcal X\cap\bigcap_{i=1}^m\mathcal X_{\delta^{(i)}}x∈X∩⋂i=1m​Xδ(i)​. It is assumed that every PmP_mPm​ has a unique solution xm∗x^*_mxm∗​. A constraint δ(r)\delta^{(r)}δ(r) is a support constraint of PmP_mPm​ if its removal changes the solution. A convex PmP_mPm​ has at most ddd support constraints (Proposition 2.2). The problem is fully-supported if, for every m≥dm\ge dm≥d, the program PmP_mPm​ built from mmm independent samples has exactly ddd support constraints with Pm\mathbb P^mPm-probability one.

Two further objects carry the argument. For I⊆{1,…,m}\mathcal I\subseteq\{1,\dots,m\}I⊆{1,…,m} of cardinality ddd, SIS_{\mathcal I}SI​ is the set of multi-extractions whose support constraints have exactly the indexes in I\mathcal II. The violation law is

F(α)=Pd{V(xd∗)≤α},F(\alpha)=\mathbb P^d\{V(x^*_d)\le\alpha\},F(α)=Pd{V(xd∗​)≤α},

the distribution of the violation of the solution built from ddd samples.

Formalization targets

Goal: Theorem 2.4, equation (2.3)

For a fully-supported problem, every N≥dN\ge dN≥d and every ε∈[0,1]\varepsilon\in[0,1]ε∈[0,1],

PN{V(xN∗)>ε}=∑i=0d−1(Ni)εi(1−ε)N−i.\mathbb P^N\{V(x^*_N)>\varepsilon\}=\sum_{i=0}^{d-1}\binom Ni\varepsilon^i(1-\varepsilon)^{N-i}.PN{V(xN∗​)>ε}=i=0∑d−1​(iN​)εi(1−ε)N−i.

Milestones (PART 1 of §3)

  • Proposition 2.2: at most ddd support constraints.
  • SIˉ⊆S~IˉS_{\bar{\mathcal I}}\subseteq\widetilde S_{\bar{\mathcal I}}SIˉ​⊆SIˉ​ for Iˉ={1,…,d}\bar{\mathcal I}=\{1,\dots,d\}Iˉ={1,…,d}, where S~Iˉ\widetilde S_{\bar{\mathcal I}}SIˉ​ is the set where δ(d+1),…,δ(m)\delta^{(d+1)},\dots,\delta^{(m)}δ(d+1),…,δ(m) are not violated by the solution generated by δ(1),…,δ(d)\delta^{(1)},\dots,\delta^{(d)}δ(1),…,δ(d); and S~Iˉ⊆SIˉ\widetilde S_{\bar{\mathcal I}}\subseteq S_{\bar{\mathcal I}}SIˉ​⊆SIˉ​ up to a probability-zero set.
  • (3.3): Pm{SI}=∫01(1−α)m−dF(dα)\mathbb P^m\{S_{\mathcal I}\}=\int_0^1(1-\alpha)^{m-d}F(\mathrm d\alpha)Pm{SI​}=∫01​(1−α)m−dF(dα) for every I\mathcal II of cardinality ddd.
  • (3.4): (md)∫01(1−α)m−dF(dα)=1\binom md\int_0^1(1-\alpha)^{m-d}F(\mathrm d\alpha)=1(dm​)∫01​(1−α)m−dF(dα)=1 for all m≥dm\ge dm≥d.
  • Moment uniqueness: F(α)=αdF(\alpha)=\alpha^dF(α)=αd is the only distribution on [0,1][0,1][0,1] satisfying (3.4).
  • (3.2): F(α)=αdF(\alpha)=\alpha^dF(α)=αd.
  • Partition chain: PN{V(xN∗)>ε}=(Nd)∫(ε,1](1−α)N−dF(dα)\mathbb P^N\{V(x^*_N)>\varepsilon\}=\binom Nd\int_{(\varepsilon,1]}(1-\alpha)^{N-d}F(\mathrm d\alpha)PN{V(xN∗​)>ε}=(dN​)∫(ε,1]​(1−α)N−dF(dα).
  • Integration by parts: (Nd)∫ε1(1−α)N−d d αd−1 dα=∑i=0d−1(Ni)εi(1−ε)N−i\binom Nd\int_\varepsilon^1(1-\alpha)^{N-d}\,d\,\alpha^{d-1}\,\mathrm d\alpha=\sum_{i=0}^{d-1}\binom Ni\varepsilon^i(1-\varepsilon)^{N-i}(dN​)∫ε1​(1−α)N−ddαd−1dα=∑i=0d−1​(iN​)εi(1−ε)N−i.

Significance

The result. Equation (2.3) shows that the scenario bound (2.2) is tight: no bound that depends only on NNN, ddd and ε\varepsilonε can be smaller, because a fully-supported problem attains it. The distribution of V(xN∗)V(x^*_N)V(xN∗​) is then a Beta law, PN{V(xN∗)≤ε}\mathbb P^N\{V(x^*_N)\le\varepsilon\}PN{V(xN∗​)≤ε} being the probability that a Binomial(N,ε)\mathrm{Binomial}(N,\varepsilon)Binomial(N,ε) variable is at least ddd, the same for every fully-supported problem. This is what fixes the sample sizes used in practice: NNN is chosen so that the binomial tail is below a confidence level β\betaβ. Fact (3.2), that V(xd∗)V(x^*_d)V(xd∗​) has distribution function αd\alpha^dαd whatever the problem, is a distribution-free statement of independent interest.

Formalizing it. The result is proved in the source. As far as is known it has no machine-checked proof. The goal statement is already posed on the platform, and this mission supplies the paper's proof structure as milestones. Two milestones are reusable outside the scenario approach: the uniqueness of a distribution on [0,1][0,1][0,1] given the moments ∫(1−α)k dF=1/(d+kd)\int(1-\alpha)^k\,\mathrm dF=1/\binom{d+k}d∫(1−α)kdF=1/(dd+k​), and the incomplete-beta identity for binomial tails.

Difficulty

The obvious route would compute the law of V(xN∗)V(x^*_N)V(xN∗​) directly, but it depends on the geometry of the constraints. The paper never computes it. It obtains the law of V(xd∗)V(x^*_d)V(xd∗​) only implicitly, through the infinite family of identities (3.4), and recovers it by a uniqueness theorem for moment problems. Two points need care. First, full support holds only almost surely: duplicated samples, for instance, produce programs with fewer than ddd support constraints, so every set identity holds only up to null sets. Second, the claim that removing a non-support constraint keeps the first ddd constraints as the only support constraints uses Proposition 2.2. Two identical non-support constraints show that a constraint can become a support constraint after another is removed, unless the count is bounded by ddd.

Formalization scope

Goal. The goal is the already-posed platform statement ScenarioApproach.Generalization.violation_tail_eq_binomial_sum_of_fullySupported (theorem id cffaa932-832c-42ca-9e81-1848ffab7e34), referenced as it stands and not restated. Proposition 2.2 is the platform statement card_support_constraints_le_dim (f70e8aa3-…). This mission adds the PART 1 steps as milestones under ScenarioExact.PartOne.

Representation. Decisions are vectors in EuclideanSpace ℝ (Fin d). A multi-extraction is ω : Fin m → Δ, with 0-based indexes, so Iˉ\bar{\mathcal I}Iˉ is {i:i<d}\{i : i<d\}{i:i<d} and "δ(d+1),…,δ(m)\delta^{(d+1)},\dots,\delta^{(m)}δ(d+1),…,δ(m)" are the indexes j≥dj\ge dj≥d. Pm\mathbb P^mPm is Measure.pi (fun _ : Fin m => P). VVV, the feasible set, solutions, support constraints and full support are the published definitions violation, feasibleSet, IsSolution, IsSupportConstraint and FullySupported. A support constraint is one whose removal admits a feasible point of strictly smaller cost, which under uniqueness is the paper's "its removal changes the solution". Full support is almost sure, not pointwise.

Hypotheses made explicit. Assumption 1 is entered as existence and uniqueness of the solution for every number of constraints and every sample, together with a family of solution maps θs k, each assumed to solve PkP_kPk​ and to be measurable. Under uniqueness, θs N is the goal's solution map. The paper's "measurability ... is assumed for granted" (p. 4) is replaced by joint measurability of {(x,δ):x∈Xδ}\{(x,\delta):x\in\mathcal X_\delta\}{(x,δ):x∈Xδ​} and measurability of the solution maps, the same two hypotheses as the goal. No set SIS_{\mathcal I}SI​ is assumed measurable. The nonempty-interior clause of Assumption 1 is unused in PART 1 and is not assumed, so the milestones compose with the goal.

Conventions. FFF is the push-forward measure violationLaw on R\mathbb RR, with F(α)F(\alpha)F(α) = violationLaw … (Set.Iic α). Integrals against FFF are lower Lebesgue integrals of nonnegative integrands, as extended nonnegative reals: over [0,1][0,1][0,1] for ∫01\int_0^1∫01​, and over (ε,1](\varepsilon,1](ε,1] for ∫ε1\int_\varepsilon^1∫ε1​ in the partition chain, since that integral comes from the event V>εV>\varepsilonV>ε. The integration-by-parts identity is a real interval integral. Ranges are 1≤d1\le d1≤d, d≤md\le md≤m, d≤Nd\le Nd≤N and 0≤ε≤10\le\varepsilon\le10≤ε≤1.

Ruled out. A pointwise "exactly ddd support constraints for every sample" would be unsatisfiable for many problems (repeated samples) and would trivialise the probabilistic content, so it is not used. Assuming measurability of the event {V(xN∗)>ε}\{V(x^*_N)>\varepsilon\}{V(xN∗​)>ε} or of SIS_{\mathcal I}SI​, or the identity Pm{SI}=Pm{S~I}\mathbb P^m\{S_{\mathcal I}\}=\mathbb P^m\{\widetilde S_{\mathcal I}\}Pm{SI​}=Pm{SI​}, as a hypothesis would assume part of the conclusion, so none of these is a hypothesis.

Infrastructure. A complete development needs: the support-constraint count (Proposition 2.2, a Helly-type argument), invariance of product measures under coordinate permutations, the change-of-variables formula for push-forward measures, the Hausdorff moment uniqueness theorem on [0,1][0,1][0,1], and the binomial–incomplete-beta identity. The last two are general results, and contributions of them are welcome independently.

Selected references

  • M. C. Campi, S. Garatti, The exact feasibility of randomized solutions of uncertain convex programs, SIAM J. Optim. 19(3) (2008) 1211–1230. https://doi.org/10.1137/07069821X
  • G. Calafiore, M. C. Campi, Uncertain convex programs: randomized solutions and confidence levels, Math. Program. 102 (2005) 25–46. https://doi.org/10.1007/s10107-003-0499-y
  • G. Calafiore, M. C. Campi, The scenario approach to robust control design, IEEE Trans. Automat. Control 51(5) (2006) 742–753. https://doi.org/10.1109/TAC.2006.875041
  • M. C. Campi, S. Garatti, Introduction to the Scenario Approach, SIAM, 2018. https://doi.org/10.1137/1.9781611975444
  • A. N. Shiryaev, Probability, 2nd ed., Springer, 1996, Chapter II, §12. https://doi.org/10.1007/978-1-4757-2539-1
14 thms3 active usersReviewed
🏆Completed
CombinatoricsOptimizationProbability·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity XVII: Goemans–Williamson Rounding of the MAXCUT SDP Relaxation Has Expected Value at Least 0.878 Times the Maximum CutTextbook

Motivation

MAXCUT asks for a partition of the vertices of a weighted graph into two sets that maximizes the total weight of the edges between them. It is one of Karp's original NP-hard problems, so no polynomial-time exact algorithm is expected, and the natural question is how close a polynomial-time algorithm can come to the optimum. Sampling a uniformly random partition already achieves, in expectation, half of the optimal value. For two decades this factor 1/21/21/2 was essentially the best known.

Goemans and Williamson (J. ACM 42(6), 1995) replaced the combinatorial problem by a semidefinite relaxation, solvable in polynomial time by interior point methods, and rounded its solution with a random Gaussian hyperplane. They proved that the resulting cut has expected weight at least 0.8780.8780.878 times the maximum. The technique founded the use of semidefinite programming in approximation algorithms. Khot, Kindler, Mossel and O'Donnell (SIAM J. Comput. 37(1), 2007) showed that, assuming the Unique Games Conjecture, no polynomial-time algorithm achieves a better constant. Nesterov (Optim. Methods Softw. 9, 1998) extended the rounding analysis to maximizing any positive semidefinite quadratic form over the hypercube, with the constant 2/π2/\pi2/π.

This mission formalizes the presentation of these results in §6.6 of S. Bubeck, Convex Optimization: Algorithms and Complexity (arXiv:1405.4980v2), pp. 343–347.

Setting

Let n≥0n\ge 0n≥0 and let A∈Rn×nA\in\mathbb R^{n\times n}A∈Rn×n be a symmetric matrix with non-negative entries; Ai,jA_{i,j}Ai,j​ is the weight between points iii and jjj. The graph Laplacian is L=D−AL=D-AL=D−A, where DDD is the diagonal matrix with entries ∑j=1nAi,j\sum_{j=1}^n A_{i,j}∑j=1n​Ai,j​. For x∈{−1,1}nx\in\{-1,1\}^nx∈{−1,1}n the vector xxx encodes a partition, and MAXCUT is (6.7)

max⁡x∈{−1,1}nx⊤Lx.\max_{x\in\{-1,1\}^n} x^\top L x .x∈{−1,1}nmax​x⊤Lx.

Write ⟨M,X⟩=Tr⁡(M⊤X)\langle M,X\rangle=\operatorname{Tr}(M^\top X)⟨M,X⟩=Tr(M⊤X) for the Frobenius inner product and S+n\mathbb S^n_+S+n​ for the symmetric positive semidefinite matrices. Since x⊤Lx=⟨L,xx⊤⟩x^\top Lx=\langle L,xx^\top\ranglex⊤Lx=⟨L,xx⊤⟩ and xx⊤∈S+nxx^\top\in\mathbb S^n_+xx⊤∈S+n​ has unit diagonal, MAXCUT is bounded above by the SDP relaxation

max⁡{⟨L,X⟩:X∈S+n, Xi,i=1, i∈[n]}.\max\bigl\{\langle L,X\rangle : X\in\mathbb S^n_+,\ X_{i,i}=1,\ i\in[n]\bigr\}.max{⟨L,X⟩:X∈S+n​, Xi,i​=1, i∈[n]}.

A solution Σ\SigmaΣ of the relaxation is any feasible matrix attaining this maximum. The rounding draws ξ∼N(0,Σ)\xi\sim\mathcal N(0,\Sigma)ξ∼N(0,Σ), a centered Gaussian vector with covariance Σ\SigmaΣ, and outputs ζ=sign⁡(ξ)∈{−1,1}n\zeta=\operatorname{sign}(\xi)\in\{-1,1\}^nζ=sign(ξ)∈{−1,1}n coordinatewise.

Formalization targets

Goal: Theorem 6.11 (Goemans–Williamson)

For AAA symmetric with non-negative entries, L=D−AL=D-AL=D−A, Σ\SigmaΣ any solution of the relaxation, ξ∼N(0,Σ)\xi\sim\mathcal N(0,\Sigma)ξ∼N(0,Σ) and ζ=sign⁡(ξ)\zeta=\operatorname{sign}(\xi)ζ=sign(ξ):

E ζ⊤Lζ ≥ 0.878max⁡x∈{−1,1}nx⊤Lx.\mathbb E\,\zeta^\top L\zeta\ \ge\ 0.878\max_{x\in\{-1,1\}^n}x^\top Lx.Eζ⊤Lζ ≥ 0.878x∈{−1,1}nmax​x⊤Lx.

Milestones

  1. Bounded entries. If Σ∈S+n\Sigma\in\mathbb S^n_+Σ∈S+n​ and Σi,i=1\Sigma_{i,i}=1Σi,i​=1, then ∣Σi,j∣≤1|\Sigma_{i,j}|\le 1∣Σi,j​∣≤1 (remark in the proof of Lemma 6.12).
  2. Lemma 6.12 (Sheppard's formula). If ξ∼N(0,Σ)\xi\sim\mathcal N(0,\Sigma)ξ∼N(0,Σ) with Σi,i=1\Sigma_{i,i}=1Σi,i​=1 and ζ=sign⁡(ξ)\zeta=\operatorname{sign}(\xi)ζ=sign(ξ), then E ζiζj=2πarcsin⁡(Σi,j)\mathbb E\,\zeta_i\zeta_j=\frac{2}{\pi}\arcsin(\Sigma_{i,j})Eζi​ζj​=π2​arcsin(Σi,j​).
  3. Inequality (6.8). 1−2πarcsin⁡(t)≥0.878(1−t)1-\frac{2}{\pi}\arcsin(t)\ge 0.878(1-t)1−π2​arcsin(t)≥0.878(1−t) for all t∈[−1,1]t\in[-1,1]t∈[−1,1].
  4. Relaxation inequality. max⁡xx⊤Lx=max⁡x⟨L,xx⊤⟩≤⟨L,Σ⟩\max_{x}x^\top Lx=\max_x\langle L,xx^\top\rangle\le\langle L,\Sigma\ranglemaxx​x⊤Lx=maxx​⟨L,xx⊤⟩≤⟨L,Σ⟩ for every solution Σ\SigmaΣ.

The separately stated Laplacian identity on p. 346 is also included as a theorem item: if Xi,i=1X_{i,i}=1Xi,i​=1 for all iii, then ⟨L,X⟩=∑i,jAi,j(1−Xi,j)\langle L,X\rangle=\sum_{i,j}A_{i,j}(1-X_{i,j})⟨L,X⟩=∑i,j​Ai,j​(1−Xi,j​); for x∈{−1,1}nx\in\{-1,1\}^nx∈{−1,1}n, x⊤Lx=∑i,jAi,j(1−xixj)x^\top Lx=\sum_{i,j}A_{i,j}(1-x_ix_j)x⊤Lx=∑i,j​Ai,j​(1−xi​xj​).

Companion: Theorem 6.13 (Nesterov)

For B∈S+nB\in\mathbb S^n_+B∈S+n​, Σ\SigmaΣ a solution of max⁡{⟨B,X⟩:X∈S+n, Xi,i=1}\max\{\langle B,X\rangle : X\in\mathbb S^n_+,\ X_{i,i}=1\}max{⟨B,X⟩:X∈S+n​, Xi,i​=1}, ξ∼N(0,Σ)\xi\sim\mathcal N(0,\Sigma)ξ∼N(0,Σ) and ζ=sign⁡(ξ)\zeta=\operatorname{sign}(\xi)ζ=sign(ξ):

E ζ⊤Bζ ≥ 2πmax⁡x∈{−1,1}nx⊤Bx.\mathbb E\,\zeta^\top B\zeta\ \ge\ \frac{2}{\pi}\max_{x\in\{-1,1\}^n}x^\top Bx.Eζ⊤Bζ ≥ π2​x∈{−1,1}nmax​x⊤Bx.

Significance

The result. Theorem 6.11 is a polynomial-time randomized 0.8780.8780.878-approximation for MAXCUT: the relaxation is a semidefinite program, and sampling a Gaussian vector and taking signs is cheap. Repeated sampling turns the bound in expectation into a cut of value close to 0.8780.8780.878 times the optimum with high probability. The same scheme of relaxation followed by randomized rounding underlies approximation algorithms for MAX-2SAT, correlation clustering and quadratic programs over the hypercube, and Nesterov's Theorem 6.13 is the version for an arbitrary positive semidefinite objective.

Formalizing it. Both theorems were proved long ago. To our knowledge neither has a machine-checked proof in Mathlib. The platform has related statements from other books, in different forms: Grothendieck's identity for a standard Gaussian and two unit vectors, and the relaxation guarantee with a Grothendieck constant. This mission states the textbook's results for a Gaussian with a possibly singular covariance matrix, which is the form the rounding uses. A complete development needs Sheppard's formula for a degenerate bivariate Gaussian, an elementary but careful real-variable inequality, and a link between Mathlib's multivariate Gaussian and Gram factorizations of Σ\SigmaΣ. All three are reusable.

Difficulty

The algebra (the Laplacian identity and milestone 4) is routine. The probabilistic core is Lemma 6.12. The textbook argument reduces it to the probability that a uniformly random direction separates two unit vectors, which is "a quick picture" on paper. In Lean this requires showing that the pair (ξi,ξj)(\xi_i,\xi_j)(ξi​,ξj​) has the law of (⟨Vi,ε⟩,⟨Vj,ε⟩)(\langle V_i,\varepsilon\rangle,\langle V_j,\varepsilon\rangle)(⟨Vi​,ε⟩,⟨Vj​,ε⟩) for a standard Gaussian ε\varepsilonε, and then computing an angular measure in the plane, including the degenerate cases Σi,j=±1\Sigma_{i,j}=\pm1Σi,j​=±1, where the pair is supported on a line. A density-based argument fails there, because N(0,Σ)\mathcal N(0,\Sigma)N(0,Σ) has no density when Σ\SigmaΣ is singular, and singular solutions of the relaxation occur (for instance Σ=xx⊤\Sigma=xx^\topΣ=xx⊤). Inequality (6.8) is a statement about a transcendental function on a closed interval with a tight constant (0.8780.8780.878 against the true minimum ≈0.87856\approx0.87856≈0.87856), so crude estimates do not suffice near the minimizer t≈−0.689t\approx-0.689t≈−0.689.

Formalization scope

  • Matrices are Matrix (Fin n) (Fin n) ℝ, vectors Fin n → ℝ. S+n\mathbb S^n_+S+n​ is Matrix.PosSemidef, which includes symmetry, and ⟨M,X⟩\langle M,X\rangle⟨M,X⟩ is trace (Mᵀ * X).
  • N(0,Σ)\mathcal N(0,\Sigma)N(0,Σ) is Mathlib's ProbabilityTheory.multivariateGaussian 0 Σ on EuclideanSpace ℝ (Fin n), defined for every positive semidefinite Σ\SigmaΣ, singular ones included. Expectations are Bochner integrals against it, and each theorem also asserts integrability of its (bounded) integrand.
  • The sign is {−1,1}\{-1,1\}{−1,1}-valued: sign⁡(r)=1\operatorname{sign}(r)=1sign(r)=1 for r≥0r\ge0r≥0 and −1-1−1 for r<0r<0r<0. Mathlib's Real.sign would give sign⁡(0)=0\operatorname{sign}(0)=0sign(0)=0, which takes ζ\zetaζ out of {−1,1}n\{-1,1\}^n{−1,1}n; the two agree almost surely because Σi,i=1\Sigma_{i,i}=1Σi,i​=1.
  • The maximum over the hypercube is a finite maximum (Finset.sup') over the 2n2^n2n Boolean vectors read as ±1\pm1±1 vectors, so it is never a junk value. "The solution" of the relaxation means any maximizer, and maximizers exist since the feasible set is compact and contains the identity.
  • Standing hypotheses: in Theorem 6.11, AAA symmetric with non-negative entries (the book's MAXCUT setting); in Lemma 6.12, Σ\SigmaΣ positive semidefinite (implicit in "ξ∼N(0,Σ)\xi\sim\mathcal N(0,\Sigma)ξ∼N(0,Σ)"); in Theorem 6.13, BBB positive semidefinite. The identities of milestones 4 and 5 hold for every real matrix AAA and are stated without hypotheses on AAA.
  • Ruled out: tying ξ\xiξ's law to anything other than Σ\SigmaΣ, or dropping optimality of Σ\SigmaΣ, would make the goal false or vacuous; here the law is exactly N(0,Σ)\mathcal N(0,\Sigma)N(0,Σ) and Σ\SigmaΣ is a maximizer.
  • Welcome contributions: Sheppard's formula in Mathlib's multivariate Gaussian language, a proof of (6.8), and the Schur product theorem (A,B⪰0⇒A∘B⪰0A,B\succeq0\Rightarrow A\circ B\succeq0A,B⪰0⇒A∘B⪰0) used in Theorem 6.13.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980v2
  • M. X. Goemans, D. P. Williamson, Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming, J. ACM 42(6):1115–1145, 1995. doi:10.1145/227683.227684
  • Yu. Nesterov, Semidefinite relaxation and nonconvex quadratic optimization, Optim. Methods Softw. 9(1–3):141–160, 1998. doi:10.1080/10556789808805690
  • S. Khot, G. Kindler, E. Mossel, R. O'Donnell, Optimal inapproximability results for MAX-CUT and other 2-variable CSPs?, SIAM J. Comput. 37(1):319–357, 2007. doi:10.1137/S0097539705447372
  • W. F. Sheppard, On the application of the theory of error to cases of normal distribution and normal correlation, Phil. Trans. R. Soc. A 192:101–167, 1899. doi:10.1098/rsta.1899.0003
6 thms3 active usersReviewed
🏆Completed
Machine LearningOptimizationProbability·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity XVI: Random Coordinate Descent RCD(γ) on a Strongly Convex Coordinate-Smooth Function Has Rate (1 − 1/κ_γ)^tTextbook

Motivation

When a problem has millions of variables, even one full gradient can be too expensive to compute, while a single partial derivative ∂f/∂xi\partial f/\partial x_i∂f/∂xi​ is often cheap: in regularized regression, support vector machines and many structured problems, updating one coordinate costs a small fraction of a full gradient step. Coordinate descent methods exploit this by moving along one coordinate at a time. They are among the oldest optimization schemes and were for a long time analysed only for cyclic orders and only asymptotically.

Nesterov (2012) showed that choosing the coordinate at random, with probabilities depending on the coordinate-wise smoothness constants, gives global, non-asymptotic rates that can beat full gradient descent in total work. This mission formalizes that analysis as presented in §6.4 of S. Bubeck, Convex Optimization: Algorithms and Complexity (arXiv:1405.4980v2), pp. 338–342, and in particular its linear rate for strongly convex functions (Theorem 6.8).

Setting

Let f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R be differentiable, write ∇if(x)=∂f∂xi(x)\nabla_i f(x)=\frac{\partial f}{\partial x_i}(x)∇i​f(x)=∂xi​∂f​(x) and let eie_iei​ be the iii-th standard basis vector. The function is directionally smooth with constants β1,…,βn>0\beta_1,\dots,\beta_n>0β1​,…,βn​>0 if

∣∇if(x+uei)−∇if(x)∣≤βi∣u∣for all i∈[n], x∈Rn, u∈R,|\nabla_i f(x+ue_i)-\nabla_i f(x)|\le\beta_i|u|\qquad\text{for all } i\in[n],\ x\in\mathbb R^n,\ u\in\mathbb R,∣∇i​f(x+uei​)−∇i​f(x)∣≤βi​∣u∣for all i∈[n], x∈Rn, u∈R,

equivalently, each one-variable restriction u↦f(x+uei)u\mapsto f(x+ue_i)u↦f(x+uei​) is βi\beta_iβi​-smooth.

For a real exponent ccc, the weighted norms are

∥x∥[c]=∑iβicxi2,∥x∥[c]∗=∑iβi−cxi2.\|x\|_{[c]}=\sqrt{\textstyle\sum_{i}\beta_i^{c}x_i^2},\qquad \|x\|^*_{[c]}=\sqrt{\textstyle\sum_{i}\beta_i^{-c}x_i^2}.∥x∥[c]​=∑i​βic​xi2​​,∥x∥[c]∗​=∑i​βi−c​xi2​​.

For α>0\alpha>0α>0, fff is α\alphaα-strongly convex w.r.t. a norm ∥⋅∥\|\cdot\|∥⋅∥ if f(x)−f(y)≤∇f(x)⊤(x−y)−α2∥x−y∥2f(x)-f(y)\le\nabla f(x)^\top(x-y)-\frac{\alpha}{2}\|x-y\|^2f(x)−f(y)≤∇f(x)⊤(x−y)−2α​∥x−y∥2 for all x,yx,yx,y. The point x∗x^*x∗ is a minimizer of fff.

For γ≥0\gamma\ge0γ≥0, RCD(γ\gammaγ) starts at x1∈Rnx_1\in\mathbb R^nx1​∈Rn and iterates

xs+1=xs−1βis∇isf(xs) eis,x_{s+1}=x_s-\frac{1}{\beta_{i_s}}\nabla_{i_s}f(x_s)\,e_{i_s},xs+1​=xs​−βis​​1​∇is​​f(xs​)eis​​,

where i1,i2,…i_1,i_2,\dotsi1​,i2​,… are drawn independently from pγ(i)=βiγ/∑jβjγp_\gamma(i)=\beta_i^\gamma/\sum_{j}\beta_j^\gammapγ​(i)=βiγ​/∑j​βjγ​. The case γ=0\gamma=0γ=0 is uniform sampling; γ=1\gamma=1γ=1 samples proportionally to βi\beta_iβi​.

Formalization targets

Goal: Theorem 6.8 (p. 341)

Let γ≥0\gamma\ge0γ≥0, let fff be α\alphaα-strongly convex w.r.t. ∥⋅∥[1−γ]\|\cdot\|_{[1-\gamma]}∥⋅∥[1−γ]​ and directionally smooth with constants βi\beta_iβi​, and let κγ=∑iβiγ/α\kappa_\gamma=\sum_i\beta_i^\gamma/\alphaκγ​=∑i​βiγ​/α. Then for every t≥0t\ge0t≥0

Ef(xt+1)−f(x∗)≤(1−1κγ)t(f(x1)−f(x∗)).\mathbb E f(x_{t+1})-f(x^*)\le\Big(1-\frac{1}{\kappa_\gamma}\Big)^t\big(f(x_1)-f(x^*)\big).Ef(xt+1​)−f(x∗)≤(1−κγ​1​)t(f(x1​)−f(x∗)).

Milestones

  1. Lemma 6.9 (p. 341): for fff α\alphaα-strongly convex w.r.t. any norm, f(x)−f(x∗)≤12α∥∇f(x)∥∗2f(x)-f(x^*)\le\frac{1}{2\alpha}\|\nabla f(x)\|_*^2f(x)−f(x∗)≤2α1​∥∇f(x)∥∗2​.
  2. One coordinate step (p. 340): f(x−1βi∇if(x)ei)−f(x)≤−12βi(∇if(x))2f\big(x-\frac{1}{\beta_i}\nabla_i f(x)e_i\big)-f(x)\le-\frac{1}{2\beta_i}(\nabla_i f(x))^2f(x−βi​1​∇i​f(x)ei​)−f(x)≤−2βi​1​(∇i​f(x))2.
  3. Expected decrease (p. 340): Eisf(xs+1)−f(xs)≤−12∑iβiγ(∥∇f(xs)∥[1−γ]∗)2\mathbb E_{i_s}f(x_{s+1})-f(x_s)\le-\frac{1}{2\sum_i\beta_i^\gamma}\big(\|\nabla f(x_s)\|^*_{[1-\gamma]}\big)^2Eis​​f(xs+1​)−f(xs​)≤−2∑i​βiγ​1​(∥∇f(xs​)∥[1−γ]∗​)2.
  4. Lemma 6.9 in the weighted norm (p. 342): (∥∇f(x)∥[1−γ]∗)2≥2α(f(x)−f(x∗))\big(\|\nabla f(x)\|^*_{[1-\gamma]}\big)^2\ge2\alpha(f(x)-f(x^*))(∥∇f(x)∥[1−γ]∗​)2≥2α(f(x)−f(x∗)).
  5. Contraction (pp. 341–342): one step multiplies the expected gap by at most 1−1/κγ1-1/\kappa_\gamma1−1/κγ​.

Companion: Theorem 6.7 (pp. 339–340)

For fff convex and directionally smooth, and t≥2t\ge2t≥2,

Ef(xt)−f(x∗)≤2R1−γ2(x1)∑iβiγt−1,R1−γ(x1)=sup⁡f(x)≤f(x1)∥x−x∗∥[1−γ].\mathbb E f(x_t)-f(x^*)\le\frac{2R_{1-\gamma}^2(x_1)\sum_i\beta_i^\gamma}{t-1},\qquad R_{1-\gamma}(x_1)=\sup_{f(x)\le f(x_1)}\|x-x^*\|_{[1-\gamma]}.Ef(xt​)−f(x∗)≤t−12R1−γ2​(x1​)∑i​βiγ​​,R1−γ​(x1​)=f(x)≤f(x1​)sup​∥x−x∗∥[1−γ]​.

Significance

Theorem 6.8 says random coordinate descent converges linearly, with a rate governed by ∑iβiγ/α\sum_i\beta_i^\gamma/\alpha∑i​βiγ​/α instead of the global smoothness constant. For γ=1\gamma=1γ=1, directional smoothness implies fff is β\betaβ-smooth with β≤∑iβi\beta\le\sum_i\beta_iβ≤∑i​βi​, so for functions whose global smoothness constant is of the order of ∑iβi\sum_i\beta_i∑i​βi​, RCD(1) attains the accuracy of gradient descent after the same number of iterations (book, p. 340, comparing Theorem 6.7 with Theorem 3.3), while each iteration touches a single coordinate. The same per-step inequalities underlie later accelerated and parallel coordinate methods.

These results are proved in the literature (Nesterov 2012; Bubeck 2015). Their contribution here is a machine-checked version. As far as a search of the Prove2Me catalogue shows, no coordinate descent rate of this kind has been formalized there; a Euclidean-norm special case of Lemma 6.9 exists on the platform as a separate result, but not the arbitrary-norm lemma or the weighted-norm instance used here.

Difficulty

The main obstacle is bookkeeping of the randomness: the per-step inequality holds for each fixed iterate, while the theorem is about the expectation over the whole sequence of draws i1,…,iti_1,\dots,i_ti1​,…,it​, so the pointwise contraction has to be passed through the tower of conditional expectations. In the strongly convex case this is linear and exact; for Theorem 6.7 the recursion on δs=Ef(xs)−f(x∗)\delta_s=\mathbb Ef(x_s)-f(x^*)δs​=Ef(xs​)−f(x∗) is quadratic, and since δs\delta_sδs​ is an expectation while the gradient norm at xsx_sxs​ is random, the pointwise inequality does not transfer to δs\delta_sδs​ verbatim. A second point is geometric: strong convexity, the dual norm and the sampling distribution must use matching weights (βi1−γ\beta_i^{1-\gamma}βi1−γ​ against βiγ\beta_i^{\gamma}βiγ​), and a mismatch silently changes the constant.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n). The gradient is an explicit map ggg with HasGradientAt f (g x) x, so ∇if(x)=g(x)i\nabla_i f(x)=g(x)_i∇i​f(x)=g(x)i​. Lemma 6.9 is stated for a finite-dimensional real normed space with the Fréchet derivative and the operator norm as the dual norm.
  • Powers βic\beta_i^cβic​ are real powers. The theorems assume n≥1n\ge1n≥1, α>0\alpha>0α>0 and βi>0\beta_i>0βi​>0, which the book uses implicitly; γ≥0\gamma\ge0γ≥0 is the book's.
  • RCD(γ) is a deterministic function of the drawn coordinates, and the expectation over ttt independent draws from pγp_\gammapγ​ is the finite sum ∑(i1,…,it)∈[n]t∏spγ(is) F(i1,…,it)\sum_{(i_1,\dots,i_t)\in[n]^t}\prod_s p_\gamma(i_s)\,F(i_1,\dots,i_t)∑(i1​,…,it​)∈[n]t​∏s​pγ​(is​)F(i1​,…,it​). No measure theory or integrability conventions are involved.
  • The minimizer x∗x^*x∗ is assumed to exist, as the book does throughout; its uniqueness, which the book assumes "only for sake of notation", is not used.
  • In Theorem 6.7 the supremum R1−γ(x1)R_{1-\gamma}(x_1)R1−γ​(x1​) is passed as any real upper bound RRR on the sublevel set, which is equivalent when the supremum is finite and avoids Lean's value 000 for an unbounded supremum.
  • Directional smoothness is required at every xxx and uuu, and pγp_\gammapγ​ is fixed by the βi\beta_iβi​; neither is weakened to hold only along the iterates, which would change the theorem.

A complete development needs the one-dimensional descent lemma (3.5), weighted Cauchy–Schwarz for the dual pair ∥⋅∥[c],∥⋅∥[c]∗\|\cdot\|_{[c]},\|\cdot\|^*_{[c]}∥⋅∥[c]​,∥⋅∥[c]∗​, and a decomposition of the finite expectation over [n]t+1[n]^{t+1}[n]t+1 into the last draw and the first ttt. The weighted-norm and finite-expectation lemmas are reusable for other randomized coordinate and sampling methods. Proofs of the milestones and of either theorem are welcome.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980v2, §6.4, pp. 338–342.
  • Yu. Nesterov, Efficiency of coordinate descent methods on huge-scale optimization problems, SIAM Journal on Optimization 22(2):341–362, 2012. doi:10.1137/100802001
  • P. Richtárik and M. Takáč, Parallel coordinate descent methods for big data optimization, Mathematical Programming 156:433–484, 2016. arXiv:1212.0873
7 thms3 active usersReviewed
🏆Completed
Machine LearningOptimizationProbability·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity XV: SVRG with η = 1/(10β) and k = 20κ Contracts the Expected Optimality Gap by 0.9 per EpochTextbook

Motivation

Many optimization problems in machine learning minimize an average of losses, one loss for each observation. A full gradient step examines every observation, while a stochastic gradient step examines one. The latter is cheaper per step, but its sampled gradient can remain noisy even near the optimum. Section 6.3 of Bubeck's monograph studies stochastic variance reduced gradient descent (SVRG), which periodically computes a full gradient at an anchor point and uses it to correct subsequent sampled gradients. The question for this mission is whether that correction gives a geometric reduction of the expected objective gap at the constants printed in Theorem 6.5.

Bubeck places this method alongside full gradient descent and stochastic gradient descent for finite sums. The section records that earlier stochastic average gradient and dual coordinate ascent methods attain a gradient-computation cost of order (m+κ)log⁡(1/ε)(m+\kappa)\log(1/\varepsilon)(m+κ)log(1/ε) for the same regime, where mmm is the number of components and κ\kappaκ is a condition number. The target here is the precise SVRG convergence statement in the book, rather than a comparison of implementation costs. The source's discussion on pp. 334–336 gives the context and the algorithm.

Setting

Let f1,…,fm:Rn→Rf_1,\ldots,f_m:\mathbb R^n\to\mathbb Rf1​,…,fm​:Rn→R be differentiable convex functions, with m≥1m\ge1m≥1, and define the finite-sum objective and its gradient by

f(x)=1m∑i=1mfi(x),G(x)=1m∑i=1m∇fi(x).f(x)=\frac1m\sum_{i=1}^m f_i(x),\qquad G(x)=\frac1m\sum_{i=1}^m \nabla f_i(x).f(x)=m1​i=1∑m​fi​(x),G(x)=m1​i=1∑m​∇fi​(x).

Each component is β\betaβ-smooth when its gradient is β\betaβ-Lipschitz in the Euclidean norm: ∥∇fi(x)−∇fi(z)∥2≤β∥x−z∥2\|\nabla f_i(x)-\nabla f_i(z)\|_2\le\beta\|x-z\|_2∥∇fi​(x)−∇fi​(z)∥2​≤β∥x−z∥2​ for all x,zx,zx,z. The average fff is α\alphaα-strongly convex, meaning that for all x,zx,zx,z it lies at least α2∥z−x∥22\frac\alpha2\|z-x\|_2^22α​∥z−x∥22​ above its first-order affine approximation at xxx. The constants α\alphaα and β\betaβ are positive, x∗x^*x∗ minimizes fff over Rn\mathbb R^nRn, and κ=β/α\kappa=\beta/\alphaκ=β/α.

An epoch begins at an anchor yyy. Its first inner iterate is x1=yx_1=yx1​=y. For t=1,…,kt=1,\ldots,kt=1,…,k, draw iti_tit​ uniformly from {1,…,m}\{1,\ldots,m\}{1,…,m}, independently across steps and epochs, and update

xt+1=xt−η(∇fit(xt)−∇fit(y)+G(y)).x_{t+1}=x_t-\eta\bigl(\nabla f_{i_t}(x_t)-\nabla f_{i_t}(y)+G(y)\bigr).xt+1​=xt​−η(∇fit​​(xt​)−∇fit​​(y)+G(y)).

The next anchor is the average y+=k−1∑t=1kxty^+=k^{-1}\sum_{t=1}^k x_ty+=k−1∑t=1k​xt​. In particular, this average uses x1x_1x1​ through xkx_kxk​, while the last updated point xk+1x_{k+1}xk+1​ is excluded. Starting from an arbitrary y(1)y^{(1)}y(1) and repeating the epoch produces y(s+1)y^{(s+1)}y(s+1). The expectation of f(y(s+1))f(y^{(s+1)})f(y(s+1)) is over all sksksk sampled indices in the first sss epochs.

Formalization targets

Goal: geometric contraction across epochs

Theorem 6.5 sets η=1/(10β)\eta=1/(10\beta)η=1/(10β) and k=20κk=20\kappak=20κ and asserts, for every s≥1s\ge1s≥1,

Ef(y(s+1))−f(x∗)≤0.9s(f(y(1))−f(x∗)).\mathbb E f(y^{(s+1)})-f(x^*) \le 0.9^s\bigl(f(y^{(1)})-f(x^*)\bigr).Ef(y(s+1))−f(x∗)≤0.9s(f(y(1))−f(x∗)).

The epoch length is a count, so the statement takes k∈Nk\in\mathbb Nk∈N and explicitly requires k=20β/αk=20\beta/\alphak=20β/α. The goal uses exactly the book's step size, epoch length, and contraction factor.

Milestones: second moments and a single epoch

Lemma 6.4 bounds Ei∥∇fi(x)−∇fi(x∗)∥22\mathbb E_i\|\nabla f_i(x)-\nabla f_i(x^*)\|_2^2Ei​∥∇fi​(x)−∇fi​(x∗)∥22​ by 2β(f(x)−f(x∗))2\beta(f(x)-f(x^*))2β(f(x)−f(x∗)). Equation (6.3) bounds the second moment of the corrected sampled direction by the objective gaps at the current point and the anchor. Equation (6.2), the unbiased-direction display, and the one-step display express how that direction changes squared distance to x∗x^*x∗. The later display on p. 338 bounds one epoch for any positive step size with 2βη<12\beta\eta<12βη<1. Finally, equation (6.1) substitutes the stated constants to obtain the factor 0.90.90.9 for one epoch. These seven source claims form the milestone list in reading order.

Significance

The theorem gives an explicit accuracy guarantee after a specified number of epochs: an initial gap DDD falls below 0.9sD0.9^sD0.9sD in expectation. Because each epoch uses a full gradient at its anchor as well as sampled component gradients, the result makes clear which quantity contracts and which operations are counted. It is a concrete linear-rate statement for a method whose individual stochastic gradients need not approach zero at the optimum. Bubeck, §6.3 discusses this issue when introducing the correction term.

The mathematical result is already proved in the monograph. The remaining task is to produce machine-checked proofs of its precise finite-sum model, the single-index estimates, the epoch inequality, and the full repeated-epoch guarantee. The mission drafts those statements and definitions; no proof is claimed for the open theorem items. The finite uniform-average representation and the separation between a conditional one-step average and the full multi-epoch average can be reused in other finite-sum stochastic algorithms.

Difficulty

The sampled component gradient ∇fit(xt)\nabla f_{i_t}(x_t)∇fit​​(xt​) need not be small when xtx_txt​ is near x∗x^*x∗, so a bound using only its norm does not yield the desired fixed-step contraction. The correction −∇fit(y)+G(y)-\nabla f_{i_t}(y)+G(y)−∇fit​​(y)+G(y) has mean zero relative to the full gradient at the current iterate, but its second moment still depends on both xtx_txt​ and yyy. The proof must control those two gaps while respecting the fact that xtx_txt​ depends on earlier samples. A single-index estimate with xtx_txt​ held fixed and an expectation over complete sample histories are different statements; confusing them would make the goal weaker or false.

Formalization scope

The carrier is EuclideanSpace ℝ (Fin n) with its usual inner product and norm. The Fin m components and every sample array are finite. A real-valued uniform average is an ordinary finite sum divided by the number of arrays, and m≥1m\ge1m≥1 and k≥1k\ge1k≥1 prevent an empty average. Independent uniform sampling is represented by averaging over every function from step positions to component indices. The multi-epoch sample space has one such block for every epoch. There are no integrals or measurability side conditions.

The component assumptions include differentiability with an explicit gradient map, convexity on all of Rn\mathbb R^nRn, and the book's gradient-Lipschitz version of smoothness. Strong convexity is imposed on the average objective alone, using the published OnlineConvexOpt.ConvexBasics.StronglyConvexOn definition on the whole space. The book's standing notation assumes a minimizing x∗x^*x∗ exists; this is explicit. Positivity of α\alphaα and β\betaβ, and integrality of 20β/α20\beta/\alpha20β/α, make the displayed divisions and epoch length meaningful. The general epoch bound also requires 0<η0<\eta0<η and 2βη<12\beta\eta<12βη<1. Dimension zero is allowed: the theorem remains a statement about the unique point of R0\mathbb R^0R0 and its zero objective gap.

The direction always contains the sampled difference ∇fit(xt)−∇fit(y)\nabla f_{i_t}(x_t)-\nabla f_{i_t}(y)∇fit​​(xt​)−∇fit​​(y) and the full anchor gradient G(y)G(y)G(y). Replacing that direction with G(xt)G(x_t)G(xt​) would define gradient descent and would not satisfy this mission's algorithm. Contributions are welcome for the finite averaging identities, the component-gradient estimate, the conditional one-step calculation, the epoch inequality, and the induction across epochs.

Selected references

  • Sébastien Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4), 2015, pp. 231–358. arXiv:1405.4980v2
  • Rie Johnson and Tong Zhang, Accelerating Stochastic Gradient Descent using Predictive Variance Reduction, Advances in Neural Information Processing Systems 26 (NIPS), 2013 (the origin of SVRG, cited by Bubeck on p. 335). https://proceedings.neurips.cc/paper/2013/hash/ac1dd209cbcc5e5d1c6e28598e8cbbe8-Abstract.html
10 thms3 active usersReviewed
🏆Completed
Machine LearningOptimizationProbability·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity XIV: Stochastic Mirror Descent on a β-Smooth Function with Noise σ Has Rate Rσ√(2/t) + βR²/tTextbook

Motivation

Many optimization problems in statistics and machine learning ask to minimize an expected loss f(x)=Eξ ℓ(x,ξ)f(x)=\mathbb E_\xi\,\ell(x,\xi)f(x)=Eξ​ℓ(x,ξ), or an average f(x)=1m∑i=1mfi(x)f(x)=\frac1m\sum_{i=1}^m f_i(x)f(x)=m1​∑i=1m​fi​(x) over a large data set. Exact gradients of such an fff are unavailable or too expensive, but unbiased random estimates are cheap: the gradient of the loss at one sample, or of one randomly chosen summand. The observation that first-order methods still make progress when the gradients are only correct on average goes back to Robbins and Monro (1951) and underlies stochastic gradient descent.

Chapter 6 of S. Bubeck, Convex Optimization: Algorithms and Complexity (2015), studies this setting through stochastic mirror descent (S-MD). Its Section 6.1 shows that in the non-smooth case a noisy oracle costs nothing in rate. Section 6.2 asks what smoothness buys: for a general stochastic oracle it cannot buy acceleration, but Theorem 6.3, whose proof the book takes from Dekel, Gilad-Bachrach, Shamir and Xiao (2012), shows that the rate splits into a noise term of order 1/t1/\sqrt t1/t​ and a smoothness term of order 1/t1/t1/t. The book uses it to justify mini-batch SGD. This mission is the fourteenth of a series that formalizes the section capstones of the book.

Setting

Let EEE be a finite-dimensional real vector space with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥. Gradients are linear forms ggg on EEE, the value of ggg at vvv is written g⊤vg^\top vg⊤v, and the dual norm is ∥g∥∗=sup⁡∥v∥≤1g⊤v\|g\|_*=\sup_{\|v\|\le1}g^\top v∥g∥∗​=sup∥v∥≤1​g⊤v. Let X⊆E\mathcal X\subseteq EX⊆E be compact and convex.

A mirror map is a function Φ\PhiΦ on an open convex set D\mathcal DD with X⊆D‾\mathcal X\subseteq\overline{\mathcal D}X⊆D and X∩D≠∅\mathcal X\cap\mathcal D\ne\emptysetX∩D=∅. It is strictly convex and differentiable on D\mathcal DD, its gradient ∇Φ\nabla\Phi∇Φ takes every value, and ∥∇Φ(x)∥∗→∞\|\nabla\Phi(x)\|_*\to\infty∥∇Φ(x)∥∗​→∞ as xxx approaches the boundary of D\mathcal DD. Its Bregman divergence is DΦ(x,y)=Φ(x)−Φ(y)−∇Φ(y)⊤(x−y)D_\Phi(x,y)=\Phi(x)-\Phi(y)-\nabla\Phi(y)^\top(x-y)DΦ​(x,y)=Φ(x)−Φ(y)−∇Φ(y)⊤(x−y). The map is 1-strongly convex on X∩D\mathcal X\cap\mathcal DX∩D if DΦ(y,x)≥12∥x−y∥2D_\Phi(y,x)\ge\frac12\|x-y\|^2DΦ​(y,x)≥21​∥x−y∥2 there. A function fff is β\betaβ-smooth on X\mathcal XX if ∥∇f(x)−∇f(y)∥∗≤β∥x−y∥\|\nabla f(x)-\nabla f(y)\|_*\le\beta\|x-y\|∥∇f(x)−∇f(y)∥∗​≤β∥x−y∥ for x,y∈Xx,y\in\mathcal Xx,y∈X.

A stochastic oracle returns, at a query point xxx, a random linear form g~(x)\tilde g(x)g~​(x). When the query point is itself random, the book requires the conditional expectation given the query point, E(g~(x)∣x)\mathbb E(\tilde g(x)\mid x)E(g~​(x)∣x), to be a subgradient of fff at xxx. In the smooth case it requires E(g~(x)∣x)=∇f(x)\mathbb E(\tilde g(x)\mid x)=\nabla f(x)E(g~​(x)∣x)=∇f(x) together with the variance bound E(∥g~(x)−∇f(x)∥∗2∣x)≤σ2\mathbb E(\|\tilde g(x)-\nabla f(x)\|_*^2\mid x)\le\sigma^2E(∥g~​(x)−∇f(x)∥∗2​∣x)≤σ2.

S-MD with step γ\gammaγ starts at x1∈argmin⁡X∩DΦx_1\in\operatorname{argmin}_{\mathcal X\cap\mathcal D}\Phix1​∈argminX∩D​Φ and, writing g~s=g~(xs)\tilde g_s=\tilde g(x_s)g~​s​=g~​(xs​), iterates

xs+1∈argmin⁡x∈X∩D γ g~s⊤x+DΦ(x,xs).x_{s+1}\in\operatorname*{argmin}_{x\in\mathcal X\cap\mathcal D}\ \gamma\,\tilde g_s^\top x+D_\Phi(x,x_s).xs+1​∈x∈X∩Dargmin​ γg~​s⊤​x+DΦ​(x,xs​).

Let R2≥sup⁡x∈X∩DΦ(x)−Φ(x1)R^2\ge\sup_{x\in\mathcal X\cap\mathcal D}\Phi(x)-\Phi(x_1)R2≥supx∈X∩D​Φ(x)−Φ(x1​), and let x∗x^*x∗ minimize fff on X\mathcal XX.

Formalization targets

Goal: Theorem 6.3

Let fff be convex and β\betaβ-smooth, and let the oracle have variance at most σ2\sigma^2σ2. Then for every t≥1t\ge1t≥1, S-MD with step 1/(β+1/η)1/(\beta+1/\eta)1/(β+1/η) and η=Rσ2/t\eta=\frac R\sigma\sqrt{2/t}η=σR​2/t​ satisfies

E f(1t∑s=1txs+1)−f(x∗)≤Rσ2t+βR2t.\mathbb E\,f\Big(\frac1t\sum_{s=1}^t x_{s+1}\Big)-f(x^*)\le R\sigma\sqrt{\frac2t}+\frac{\beta R^2}{t}.Ef(t1​s=1∑t​xs+1​)−f(x∗)≤Rσt2​​+tβR2​.

Milestones (the proof's four displays)

For points xs,xs+1∈X∩Dx_s,x_{s+1}\in\mathcal X\cap\mathcal Dxs​,xs+1​∈X∩D and η>0\eta>0η>0, the smoothness step is

f(xs+1)−f(xs)≤g~s⊤(xs+1−xs)+η2∥∇f(xs)−g~s∥∗2+(β+1/η)DΦ(xs+1,xs).f(x_{s+1})-f(x_s)\le\tilde g_s^\top(x_{s+1}-x_s)+\tfrac\eta2\|\nabla f(x_s)-\tilde g_s\|_*^2+(\beta+1/\eta)D_\Phi(x_{s+1},x_s).f(xs+1​)−f(xs​)≤g~​s⊤​(xs+1​−xs​)+2η​∥∇f(xs​)−g~​s​∥∗2​+(β+1/η)DΦ​(xs+1​,xs​).

If xs+1x_{s+1}xs+1​ is the S-MD step, the mirror step is

1β+1/ηg~s⊤(xs+1−x∗)≤DΦ(x∗,xs)−DΦ(x∗,xs+1)−DΦ(xs+1,xs).\tfrac{1}{\beta+1/\eta}\tilde g_s^\top(x_{s+1}-x^*)\le D_\Phi(x^*,x_s)-D_\Phi(x^*,x_{s+1})-D_\Phi(x_{s+1},x_s).β+1/η1​g~​s⊤​(xs+1​−x∗)≤DΦ​(x∗,xs​)−DΦ​(x∗,xs+1​)−DΦ​(xs+1​,xs​).

Combining the two gives a pathwise bound on f(xs+1)f(x_{s+1})f(xs+1​) with the cross term (g~s−∇f(xs))⊤(x∗−xs)(\tilde g_s-\nabla f(x_s))^\top(x^*-x_s)(g~​s​−∇f(xs​))⊤(x∗−xs​). Taking expectations gives the expected one-step bound

Ef(xs+1)−f(x∗)≤(β+1/η) E(DΦ(x∗,xs)−DΦ(x∗,xs+1))+ησ22.\mathbb Ef(x_{s+1})-f(x^*)\le(\beta+1/\eta)\,\mathbb E\big(D_\Phi(x^*,x_s)-D_\Phi(x^*,x_{s+1})\big)+\frac{\eta\sigma^2}{2}.Ef(xs+1​)−f(x∗)≤(β+1/η)E(DΦ​(x∗,xs​)−DΦ​(x∗,xs+1​))+2ησ2​.

Companion: Theorem 6.1 and (4.10)

For a convex fff with E(∥g~(x)∥∗2∣x)≤B2\mathbb E(\|\tilde g(x)\|_*^2\mid x)\le B^2E(∥g~​(x)∥∗2​∣x)≤B2, S-MD with η=RB2/t\eta=\frac RB\sqrt{2/t}η=BR​2/t​ satisfies

E f(1t∑s=1txs)−min⁡Xf≤RB2/t.\mathbb E\,f\Big(\frac1t\sum_{s=1}^tx_s\Big)-\min_{\mathcal X}f\le RB\sqrt{2/t}.Ef(t1​s=1∑t​xs​)−Xmin​f≤RB2/t​.

This rests on the deterministic regret bound (4.10) of mirror descent along arbitrary vectors gsg_sgs​:

∑s≤tgs⊤(xs−x)≤R2η+η2ρ∑s≤t∥gs∥∗2.\sum_{s\le t}g_s^\top(x_s-x)\le\frac{R^2}{\eta}+\frac{\eta}{2\rho}\sum_{s\le t}\|g_s\|_*^2.s≤t∑​gs⊤​(xs​−x)≤ηR2​+2ρη​s≤t∑​∥gs​∥∗2​.

Significance

Theorem 6.3 says exactly how much smoothness helps under noise. As σ→0\sigma\to0σ→0 it recovers the βR2/t\beta R^2/tβR2/t rate of deterministic smooth optimization. For large ttt the noise term Rσ2/tR\sigma\sqrt{2/t}Rσ2/t​ dominates; the book notes, citing Tsybakov (2003), that smoothness brings no acceleration for a general stochastic oracle. Averaging mmm independent oracle answers divides the variance by mmm, so the theorem quantifies the benefit of mini-batches: the noise term shrinks by m\sqrt mm​ while the smoothness term is unchanged. Theorem 6.1 is the matching non-smooth statement and the template for stochastic subgradient methods in any norm.

These are classical, proved results. None of them is known to be formalized in Lean, and the platform has no stochastic mirror descent statement. Its stochastic gradient items cover the Euclidean strongly convex case and the non-convex gradient-norm case. This mission adds a reusable stochastic-oracle layer in an arbitrary norm, with conditional expectations given random query points, on top of the mirror-map layer of Chapter 4.

Difficulty

The deterministic steps are short manipulations of Bregman divergences. The difficulty is in the passage to expectations. The query point xsx_sxs​ is random, so unbiasedness enters only through the conditional expectation given xsx_sxs​. Making the cross term vanish requires pulling the σ(xs)\sigma(x_s)σ(xs​)-measurable vector x∗−xsx^*-x_sx∗−xs​ out of a conditional expectation of a dual-valued random variable. Every expectation also has to exist. When ∇Φ\nabla\Phi∇Φ blows up at the boundary of D\mathcal DD, the Bregman terms DΦ(x∗,xs)D_\Phi(x^*,x_s)DΦ​(x∗,xs​) are not bounded a priori, and their integrability has to be derived from the recursion. A further obstacle is that the minimizer x∗x^*x∗ may lie on the boundary of D\mathcal DD, where Φ\PhiΦ is not part of the book's data. Treating E\mathbb EE informally, or assuming x∗∈Dx^*\in\mathcal Dx∗∈D, skips exactly these points.

Formalization scope

  • Spaces and gradients. EEE is a finite-dimensional real normed space. Gradients are explicit maps Φ' f' : E → (E →L[ℝ] ℝ), g⊤vg^\top vg⊤v is g v, and ∥⋅∥∗\|\cdot\|_*∥⋅∥∗​ is the operator norm. β\betaβ-smoothness is stated with derivatives relative to X\mathcal XX. Φ\PhiΦ is a total function, constrained only by the mirror-map axioms on D\mathcal DD.
  • Runs and oracle. S-MD is a run predicate. For every outcome, x1x_1x1​ minimizes Φ\PhiΦ on X∩D\mathcal X\cap\mathcal DX∩D, and xs+1x_{s+1}xs+1​ is some minimizer of the step objective. The oracle is a predicate on the random sequences (xs,g~s)(x_s,\tilde g_s)(xs​,g~​s​): each xsx_sxs​ is measurable, and the conditional expectations are taken given σ(xs)\sigma(x_s)σ(xs​). Every conditioned quantity is integrable.
  • Conclusions. Every bound on an expectation also asserts integrability. Without it, the Lean integral of a non-integrable function is 000 and the bound could hold trivially.
  • Standing assumptions. The book's R2=sup⁡(Φ−Φ(x1))R^2=\sup(\Phi-\Phi(x_1))R2=sup(Φ−Φ(x1​)) is replaced by any upper bound R2R^2R2. The minimizer x∗∈Xx^*\in\mathcal Xx∗∈X exists (p. 242). X\mathcal XX is compact and convex (Chapter 4), and convex functions are closed (p. 236).
  • Positivity side conditions. R,σ,B>0R,\sigma,B>0R,σ,B>0 and t≥1t\ge1t≥1 make the step sizes and bounds defined, and β≥0\beta\ge0β≥0.

A variance hypothesis stated only at deterministic points would not control the random iterates, and is not used. Run predicates that let xs+1x_{s+1}xs+1​ be an arbitrary point of X∩D\mathcal X\cap\mathcal DX∩D would make the theorems false, and are not used either.

A complete development needs: first-order optimality over a convex set, the three-point identity of Bregman divergences, the descent lemma in an arbitrary norm, and continuity of the gradient of a differentiable convex function. On the probability side it needs pull-out and conditional Jensen properties for dual-valued conditional expectations. The probability layer is reusable for every stochastic first-order method in the book, including SVRG and random coordinate descent. Proofs of the milestones are welcome, and so are general lemmas about conditional expectations of continuous-linear-map-valued random variables.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980v2, https://arxiv.org/abs/1405.4980 (Chapter 6, pp. 329–333; Chapter 4, pp. 297–307).
  • O. Dekel, R. Gilad-Bachrach, O. Shamir, L. Xiao, Optimal distributed online prediction using mini-batches, Journal of Machine Learning Research 13:165–202, 2012. https://jmlr.org/papers/v13/dekel12a.html
  • H. Robbins, S. Monro, A stochastic approximation method, Annals of Mathematical Statistics 22(3):400–407, 1951. https://doi.org/10.1214/aoms/1177729586
  • A. Beck, M. Teboulle, Mirror descent and nonlinear projected subgradient methods for convex optimization, Operations Research Letters 31(3):167–175, 2003. https://doi.org/10.1016/S0167-6377(02)00231-6
  • A. Nemirovski, A. Juditsky, G. Lan, A. Shapiro, Robust stochastic approximation approach to stochastic programming, SIAM Journal on Optimization 19(4):1574–1609, 2009. https://doi.org/10.1137/070704277
6 thms3 active usersReviewed
🏆Completed
Machine LearningOptimization·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity XII: Mirror Prox on a Convex β-Smooth Function Has Rate βR²/(ρt)Textbook

Motivation

First-order methods for constrained convex optimization are usually analysed in the Euclidean norm, where gradient descent and its projected and accelerated variants have well-understood rates. Many constraint sets of practical interest, such as the probability simplex, the ℓ1\ell_1ℓ1​ ball and the spectrahedron, are poorly adapted to the Euclidean geometry: the Euclidean diameter and the Euclidean Lipschitz or smoothness constants grow with the dimension. Mirror descent, due to Nemirovski and Yudin, replaces the Euclidean step by a step taken in the dual space through a mirror map Φ\PhiΦ, so that the rate depends on constants measured in a norm matched to the set. For non-smooth Lipschitz functions it attains the rate 1/t1/\sqrt t1/t​ (Theorem 4.2 of the source, the subject of the previous mission of this series).

For smooth functions, a rate of order 1/t1/t1/t is available in any geometry by an extragradient-type modification. Mirror prox was introduced by Nemirovski in 2004 (Prox-method with rate of convergence O(1/t)) for variational inequalities with Lipschitz monotone operators and convex–concave saddle-point problems. It is the basis of smoothing approaches to non-smooth optimization and of stochastic saddle-point methods. This mission formalizes the version for minimizing a single smooth convex function, Theorem 4.4 of S. Bubeck, Convex Optimization: Algorithms and Complexity (Foundations and Trends in Machine Learning, 2015), §4.5.

Setting

Fix an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥ on a finite-dimensional real space EEE. Gradients are linear functionals on EEE; for a functional ggg write g⊤vg^\top vg⊤v for its value at vvv, and ∥g∥∗=sup⁡∥v∥≤1g⊤v\|g\|_*=\sup_{\|v\|\le1}g^\top v∥g∥∗​=sup∥v∥≤1​g⊤v for the dual norm. Let X⊆E\mathcal X\subseteq EX⊆E be compact and convex.

  • The Bregman divergence of a differentiable Φ\PhiΦ is DΦ(x,y)=Φ(x)−Φ(y)−∇Φ(y)⊤(x−y)D_\Phi(x,y)=\Phi(x)-\Phi(y)-\nabla\Phi(y)^\top(x-y)DΦ​(x,y)=Φ(x)−Φ(y)−∇Φ(y)⊤(x−y).
  • Let D\mathcal DD be a convex open set with X⊆D‾\mathcal X\subseteq\overline{\mathcal D}X⊆D and X∩D≠∅\mathcal X\cap\mathcal D\ne\emptysetX∩D=∅. A mirror map on D\mathcal DD is a function Φ\PhiΦ that is strictly convex and differentiable on D\mathcal DD, whose gradient takes every value (∇Φ(D)\nabla\Phi(\mathcal D)∇Φ(D) is the whole dual space), and whose gradient norm tends to +∞+\infty+∞ at the boundary of D\mathcal DD.
  • The Bregman projection of y∈Dy\in\mathcal Dy∈D is ΠXΦ(y)=argmin⁡x∈X∩DDΦ(x,y)\Pi^\Phi_{\mathcal X}(y)=\operatorname{argmin}_{x\in\mathcal X\cap\mathcal D}D_\Phi(x,y)ΠXΦ​(y)=argminx∈X∩D​DΦ​(x,y).
  • Φ\PhiΦ is ρ\rhoρ-strongly convex on X∩D\mathcal X\cap\mathcal DX∩D if Φ(x)−Φ(y)≤∇Φ(x)⊤(x−y)−ρ2∥x−y∥2\Phi(x)-\Phi(y)\le\nabla\Phi(x)^\top(x-y)-\frac\rho2\|x-y\|^2Φ(x)−Φ(y)≤∇Φ(x)⊤(x−y)−2ρ​∥x−y∥2 there; fff is β\betaβ-smooth on X\mathcal XX if ∥∇f(x)−∇f(y)∥∗≤β∥x−y∥\|\nabla f(x)-\nabla f(y)\|_*\le\beta\|x-y\|∥∇f(x)−∇f(y)∥∗​≤β∥x−y∥ for x,y∈Xx,y\in\mathcal Xx,y∈X.

Mirror prox with step size η\etaη generates, from xtx_txt​,

∇Φ(yt+1′)=∇Φ(xt)−η∇f(xt),yt+1∈argmin⁡x∈X∩DDΦ(x,yt+1′),\nabla\Phi(y'_{t+1})=\nabla\Phi(x_t)-\eta\nabla f(x_t),\qquad y_{t+1}\in\operatorname*{argmin}_{x\in\mathcal X\cap\mathcal D}D_\Phi(x,y'_{t+1}),∇Φ(yt+1′​)=∇Φ(xt​)−η∇f(xt​),yt+1​∈x∈X∩Dargmin​DΦ​(x,yt+1′​), ∇Φ(xt+1′)=∇Φ(xt)−η∇f(yt+1),xt+1∈argmin⁡x∈X∩DDΦ(x,xt+1′).\nabla\Phi(x'_{t+1})=\nabla\Phi(x_t)-\eta\nabla f(y_{t+1}),\qquad x_{t+1}\in\operatorname*{argmin}_{x\in\mathcal X\cap\mathcal D}D_\Phi(x,x'_{t+1}).∇Φ(xt+1′​)=∇Φ(xt​)−η∇f(yt+1​),xt+1​∈x∈X∩Dargmin​DΦ​(x,xt+1′​).

The first half is a mirror descent step from xtx_txt​ to yt+1y_{t+1}yt+1​; the second restarts from xtx_txt​ with the gradient evaluated at yt+1y_{t+1}yt+1​.

Formalization targets

Goal: Theorem 4.4

With η=ρ/β\eta=\rho/\betaη=ρ/β, x1∈argmin⁡X∩DΦx_1\in\operatorname{argmin}_{\mathcal X\cap\mathcal D}\Phix1​∈argminX∩D​Φ, R2≥sup⁡x∈X∩DΦ(x)−Φ(x1)R^2\ge\sup_{x\in\mathcal X\cap\mathcal D}\Phi(x)-\Phi(x_1)R2≥supx∈X∩D​Φ(x)−Φ(x1​), fff convex and β\betaβ-smooth and x∗x^*x∗ a minimizer of fff on X\mathcal XX, for every t≥1t\ge1t≥1

f(1t∑s=1tys+1)−f(x∗)≤βR2ρt.f\Bigl(\frac1t\sum_{s=1}^t y_{s+1}\Bigr)-f(x^*)\le\frac{\beta R^2}{\rho t}.f(t1​s=1∑t​ys+1​)−f(x∗)≤ρtβR2​.

Milestones

  1. Lemma 4.1 (Bregman projections): (∇Φ(ΠXΦ(y))−∇Φ(y))⊤(ΠXΦ(y)−x)≤0(\nabla\Phi(\Pi^\Phi_{\mathcal X}(y))-\nabla\Phi(y))^\top(\Pi^\Phi_{\mathcal X}(y)-x)\le0(∇Φ(ΠXΦ​(y))−∇Φ(y))⊤(ΠXΦ​(y)−x)≤0 and DΦ(x,ΠXΦ(y))+DΦ(ΠXΦ(y),y)≤DΦ(x,y)D_\Phi(x,\Pi^\Phi_{\mathcal X}(y))+D_\Phi(\Pi^\Phi_{\mathcal X}(y),y)\le D_\Phi(x,y)DΦ​(x,ΠXΦ​(y))+DΦ​(ΠXΦ​(y),y)≤DΦ​(x,y) for x∈X∩Dx\in\mathcal X\cap\mathcal Dx∈X∩D, y∈Dy\in\mathcal Dy∈D.
  2. First term: η∇f(yt+1)⊤(xt+1−x)≤DΦ(x,xt)−DΦ(x,xt+1)−DΦ(xt+1,xt)\eta\nabla f(y_{t+1})^\top(x_{t+1}-x)\le D_\Phi(x,x_t)-D_\Phi(x,x_{t+1})-D_\Phi(x_{t+1},x_t)η∇f(yt+1​)⊤(xt+1​−x)≤DΦ​(x,xt​)−DΦ​(x,xt+1​)−DΦ​(xt+1​,xt​).
  3. Second term, (4.9): η∇f(xt)⊤(yt+1−xt+1)≤DΦ(xt+1,xt)−ρ2∥xt+1−yt+1∥2−ρ2∥yt+1−xt∥2\eta\nabla f(x_t)^\top(y_{t+1}-x_{t+1})\le D_\Phi(x_{t+1},x_t)-\frac\rho2\|x_{t+1}-y_{t+1}\|^2-\frac\rho2\|y_{t+1}-x_t\|^2η∇f(xt​)⊤(yt+1​−xt+1​)≤DΦ​(xt+1​,xt​)−2ρ​∥xt+1​−yt+1​∥2−2ρ​∥yt+1​−xt​∥2.
  4. Third term: (∇f(yt+1)−∇f(xt))⊤(yt+1−xt+1)≤β2∥yt+1−xt∥2+β2∥yt+1−xt+1∥2(\nabla f(y_{t+1})-\nabla f(x_t))^\top(y_{t+1}-x_{t+1})\le\frac\beta2\|y_{t+1}-x_t\|^2+\frac\beta2\|y_{t+1}-x_{t+1}\|^2(∇f(yt+1​)−∇f(xt​))⊤(yt+1​−xt+1​)≤2β​∥yt+1​−xt​∥2+2β​∥yt+1​−xt+1​∥2.
  5. Per-step bound: f(yt+1)−f(x)≤(DΦ(x,xt)−DΦ(x,xt+1))/ηf(y_{t+1})-f(x)\le\bigl(D_\Phi(x,x_t)-D_\Phi(x,x_{t+1})\bigr)/\etaf(yt+1​)−f(x)≤(DΦ​(x,xt​)−DΦ​(x,xt+1​))/η for x∈X∩Dx\in\mathcal X\cap\mathcal Dx∈X∩D.

The three-point identity (4.1), (∇f(x)−∇f(y))⊤(x−z)=Df(x,y)+Df(z,x)−Df(z,y)(\nabla f(x)-\nabla f(y))^\top(x-z)=D_f(x,y)+D_f(z,x)-D_f(z,y)(∇f(x)−∇f(y))⊤(x−z)=Df​(x,y)+Df​(z,x)−Df​(z,y), is already posed on the platform as BeckTeboulleMD.EMDA.lemma_4_1 and is included by reference.

Significance

Theorem 4.4 shows that the 1/t1/t1/t rate of gradient descent on smooth functions survives in non-Euclidean geometries, with the dimension entering only through R2/ρR^2/\rhoR2/ρ. With the negative entropy on the simplex, R2/ρR^2/\rhoR2/ρ is of order log⁡n\log nlogn for the ℓ1\ell_1ℓ1​ norm, against a polynomial dependence for Euclidean methods. Beyond this single-function version, the same three-term argument is the core of the analysis of mirror prox for monotone variational inequalities and saddle-point problems (§4.6 and §5.2 of the source), where it gives the 1/t1/t1/t rate for smooth convex–concave games.

The result is proved in the source and in Nemirovski's paper. As far as this mission is aware it has no machine-checked proof; Mathlib has no Bregman divergences, mirror maps or mirror-descent-type algorithms. A formal proof would supply reusable infrastructure: the Bregman projection lemma (Lemma 4.1) and the three-point identity are used by every mirror-descent analysis, including the stochastic and online variants later in the source.

Difficulty

The obvious argument for mirror descent bounds f(xt)−f(x)f(x_t)-f(x)f(xt​)−f(x) by ∇f(xt)⊤(xt−x)\nabla f(x_t)^\top(x_t-x)∇f(xt​)⊤(xt​−x) and leaves a stability term of size η2∥∇f∥∗2\eta^2\|\nabla f\|_*^2η2∥∇f∥∗2​, which yields only 1/t1/\sqrt t1/t​. Smoothness has to be used to cancel that term, and a single gradient step does not do so in a general norm. Mirror prox evaluates the gradient at the extrapolated point yt+1y_{t+1}yt+1​; the analysis must show that the error created by using ∇f(xt)\nabla f(x_t)∇f(xt​) for the first step is paid for by the strong convexity of Φ\PhiΦ, which requires splitting ∇f(yt+1)⊤(yt+1−x)\nabla f(y_{t+1})^\top(y_{t+1}-x)∇f(yt+1​)⊤(yt+1​−x) into three terms and bounding each with matching constants.

In Lean the difficulty is in the infrastructure: first-order optimality of a Bregman projection over X∩D\mathcal X\cap\mathcal DX∩D, which need not be closed; the passage from x∈X∩Dx\in\mathcal X\cap\mathcal Dx∈X∩D to a minimizer x∗x^*x∗ that may lie on the boundary of D\mathcal DD; and Jensen's inequality for the average of the ys+1y_{s+1}ys+1​.

Formalization scope

  • EEE is a finite-dimensional real normed space. Gradients are continuous linear functionals E →L[ℝ] ℝ given by explicit maps Φ' and f'; the dual norm is the operator norm. Φ' is the Fréchet derivative of Φ\PhiΦ at each point of D\mathcal DD; f' is the derivative of fff relative to X\mathcal XX at each point of X\mathcal XX.
  • The mirror map definition keeps all three properties of §4.1, including surjectivity of the gradient and divergence at each frontier point of D\mathcal DD.
  • Projections and runs are relations: every admissible argmin choice is covered; no choice function is used. The run is indexed from t=1t=1t=1; index 000 is unused.
  • Standing and implicit hypotheses: X\mathcal XX compact convex; a minimizer x∗∈Xx^*\in\mathcal Xx∗∈X exists (the source's standing assumption); ρ>0\rho>0ρ>0 and β>0\beta>0β>0 (so that η=ρ/β\eta=\rho/\betaη=ρ/β and the division by ρt\rho tρt are meaningful); x1∈argmin⁡X∩DΦx_1\in\operatorname{argmin}_{\mathcal X\cap\mathcal D}\Phix1​∈argminX∩D​Φ (unspecified in §4.5, taken as in mirror descent, §4.2).
  • RRR is any real with Φ−Φ(x1)≤R2\Phi-\Phi(x_1)\le R^2Φ−Φ(x1​)≤R2 on X∩D\mathcal X\cap\mathcal DX∩D. The source's R2=sup⁡R^2=\supR2=sup is the case where the supremum is finite; when it is infinite, the source's bound is void.
  • A run in which the second step started from yt+1y_{t+1}yt+1​, or projected yt+1′y'_{t+1}yt+1′​ again, would be mirror descent, for which the claimed rate is false; the formal run follows the four equations of the source exactly. The average is over the extrapolated points ys+1y_{s+1}ys+1​, s=1,…,ts=1,\dots,ts=1,…,t.

Contributions welcome: proofs of Lemma 4.1 and the three-term bounds, which are reusable for the stochastic mirror descent and saddle-point missions of this series, and the final telescoping and limit argument.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. https://arxiv.org/abs/1405.4980v2
  • A. Nemirovski, Prox-method with rate of convergence O(1/t) for variational inequalities with Lipschitz continuous monotone operators and smooth convex-concave saddle point problems, SIAM Journal on Optimization 15(1):229–251, 2004. https://doi.org/10.1137/S1052623403425629
  • A. Beck and M. Teboulle, Mirror descent and nonlinear projected subgradient methods for convex optimization, Operations Research Letters 31(3):167–175, 2003. https://doi.org/10.1016/S0167-6377(02)00231-6
  • A. Nemirovski and D. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983.
8 thms3 active usersReviewed
🏆Completed
Machine LearningOptimization·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity XI: Mirror Descent with a ρ-Strongly Convex Mirror Map Has Rate RL√(2/(ρt))Textbook

Motivation

The projected subgradient method of Chapter 3 measures distances in the Euclidean norm, and its rate RL/tRL/\sqrt tRL/t​ depends on the geometry only through a Euclidean radius RRR and a Euclidean bound LLL on the subgradients. For many constraint sets that occur in practice this is the wrong geometry. On the probability simplex Δn\Delta_nΔn​ with subgradients bounded in ℓ∞\ell_\inftyℓ∞​, as for linear losses with bounded coefficients, the Euclidean constants make RLRLRL grow like n\sqrt nn​, while the problem itself is nearly dimension-free.

Mirror descent, introduced by Nemirovski and Yudin (1983), repairs this. The gradient step is taken in the dual space, after mapping the current point through the gradient of a strictly convex mirror map Φ\PhiΦ, and feasibility is restored by a projection in the Bregman divergence of Φ\PhiΦ rather than in the Euclidean distance. Beck and Teboulle (2003, doi:10.1016/S0167-6377(02)00231-6) recast it as a nonlinear projected subgradient method and showed that with the negative entropy on the simplex its rate is O(Llog⁡n/t)O(L\sqrt{\log n/t})O(Llogn/t​). Nesterov (2009, doi:10.1007/s10107-007-0149-x) introduced dual averaging, a lazy variant that averages the subgradients in the dual space and maps back only when a primal point is needed. Both methods underlie online learning (exponential weights is mirror descent with the entropy), stochastic optimization, and saddle-point methods such as mirror prox.

This mission is the eleventh of a series formalizing S. Bubeck, Convex Optimization: Algorithms and Complexity (Foundations and Trends in Machine Learning, 2015, arXiv:1405.4980). It covers the preamble of Chapter 4, Sections 4.1 and 4.2, and Section 4.4.

Setting

Let EEE be a finite-dimensional real vector space (the book's Rn\mathbb R^nRn) with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥. A linear functional ggg on EEE acts on xxx by g⊤xg^\top xg⊤x and has dual norm ∥g∥∗=sup⁡∥x∥≤1g⊤x\|g\|_*=\sup_{\|x\|\le1}g^\top x∥g∥∗​=sup∥x∥≤1​g⊤x. Let X⊆E\mathcal X\subseteq EX⊆E be compact and convex.

Let D⊆E\mathcal D\subseteq ED⊆E be a convex open set with X⊆D‾\mathcal X\subseteq\overline{\mathcal D}X⊆D and X∩D≠∅\mathcal X\cap\mathcal D\neq\emptysetX∩D=∅. A function Φ:D→R\Phi:\mathcal D\to\mathbb RΦ:D→R is a mirror map if it is strictly convex and differentiable, its gradient takes every value in the dual space, and ∥∇Φ(x)∥→+∞\|\nabla\Phi(x)\|\to+\infty∥∇Φ(x)∥→+∞ as xxx tends to the boundary of D\mathcal DD. Its Bregman divergence is

DΦ(x,y)=Φ(x)−Φ(y)−∇Φ(y)⊤(x−y),D_\Phi(x,y)=\Phi(x)-\Phi(y)-\nabla\Phi(y)^\top(x-y),DΦ​(x,y)=Φ(x)−Φ(y)−∇Φ(y)⊤(x−y),

and the Bregman projection of y∈Dy\in\mathcal Dy∈D is ΠXΦ(y)=argmin⁡x∈X∩DDΦ(x,y)\Pi^\Phi_{\mathcal X}(y)=\operatorname{argmin}_{x\in\mathcal X\cap\mathcal D}D_\Phi(x,y)ΠXΦ​(y)=argminx∈X∩D​DΦ​(x,y). The mirror map is ρ\rhoρ-strongly convex on X∩D\mathcal X\cap\mathcal DX∩D if Φ(x)−Φ(y)≤∇Φ(x)⊤(x−y)−ρ2∥x−y∥2\Phi(x)-\Phi(y)\le\nabla\Phi(x)^\top(x-y)-\frac\rho2\|x-y\|^2Φ(x)−Φ(y)≤∇Φ(x)⊤(x−y)−2ρ​∥x−y∥2 for all x,y∈X∩Dx,y\in\mathcal X\cap\mathcal Dx,y∈X∩D.

Let fff be convex on X\mathcal XX with a minimizer x∗∈Xx^*\in\mathcal Xx∗∈X. A linear functional ggg is a subgradient of fff at xxx if f(x)−f(y)≤g⊤(x−y)f(x)-f(y)\le g^\top(x-y)f(x)−f(y)≤g⊤(x−y) for all y∈Xy\in\mathcal Xy∈X, and fff is LLL-Lipschitz if the subgradients satisfy ∥g∥∗≤L\|g\|_*\le L∥g∥∗​≤L.

Mirror descent with step η\etaη starts at x1∈argmin⁡X∩DΦx_1\in\operatorname{argmin}_{\mathcal X\cap\mathcal D}\Phix1​∈argminX∩D​Φ and, for t≥1t\ge1t≥1, picks gt∈∂f(xt)g_t\in\partial f(x_t)gt​∈∂f(xt​) and

∇Φ(yt+1)=∇Φ(xt)−ηgt,yt+1∈D,xt+1=ΠXΦ(yt+1).(4.2–4.3)\nabla\Phi(y_{t+1})=\nabla\Phi(x_t)-\eta g_t,\quad y_{t+1}\in\mathcal D,\qquad x_{t+1}=\Pi^\Phi_{\mathcal X}(y_{t+1}).\tag{4.2–4.3}∇Φ(yt+1​)=∇Φ(xt​)−ηgt​,yt+1​∈D,xt+1​=ΠXΦ​(yt+1​).(4.2–4.3)

Dual averaging instead sets xt∈argmin⁡x∈X∩Dη∑s=1t−1gs⊤x+Φ(x)x_t\in\operatorname{argmin}_{x\in\mathcal X\cap\mathcal D}\eta\sum_{s=1}^{t-1}g_s^\top x+\Phi(x)xt​∈argminx∈X∩D​η∑s=1t−1​gs⊤​x+Φ(x) (4.6). Let R2R^2R2 bound Φ(x)−Φ(x1)\Phi(x)-\Phi(x_1)Φ(x)−Φ(x1​) over X∩D\mathcal X\cap\mathcal DX∩D.

Formalization targets

Goal: Theorem 4.2

With η=RL2ρt\eta=\frac RL\sqrt{\frac{2\rho}{t}}η=LR​t2ρ​​, every run of mirror descent satisfies

f(1t∑s=1txs)−f(x∗)≤RL2ρt.f\Big(\frac1t\sum_{s=1}^t x_s\Big)-f(x^*)\le RL\sqrt{\frac{2}{\rho t}}.f(t1​s=1∑t​xs​)−f(x∗)≤RLρt2​​.

Milestones

  1. The three-point identity (4.1): (∇f(x)−∇f(y))⊤(x−z)=Df(x,y)+Df(z,x)−Df(z,y)(\nabla f(x)-\nabla f(y))^\top(x-z)=D_f(x,y)+D_f(z,x)-D_f(z,y)(∇f(x)−∇f(y))⊤(x−z)=Df​(x,y)+Df​(z,x)−Df​(z,y).
  2. Lemma 4.1: for x∈X∩Dx\in\mathcal X\cap\mathcal Dx∈X∩D and y∈Dy\in\mathcal Dy∈D, DΦ(x,ΠXΦ(y))+DΦ(ΠXΦ(y),y)≤DΦ(x,y)D_\Phi(x,\Pi^\Phi_{\mathcal X}(y))+D_\Phi(\Pi^\Phi_{\mathcal X}(y),y)\le D_\Phi(x,y)DΦ​(x,ΠXΦ​(y))+DΦ​(ΠXΦ​(y),y)≤DΦ​(x,y), together with the first-order inequality that implies it.
  3. The per-step inequality: f(xs)−f(x)≤1η(DΦ(x,xs)+DΦ(xs,ys+1)−DΦ(x,xs+1)−DΦ(xs+1,ys+1))f(x_s)-f(x)\le\frac1\eta\big(D_\Phi(x,x_s)+D_\Phi(x_s,y_{s+1})-D_\Phi(x,x_{s+1})-D_\Phi(x_{s+1},y_{s+1})\big)f(xs​)−f(x)≤η1​(DΦ​(x,xs​)+DΦ​(xs​,ys+1​)−DΦ​(x,xs+1​)−DΦ​(xs+1​,ys+1​)).
  4. The stability term: DΦ(xs,ys+1)−DΦ(xs+1,ys+1)≤(ηL)2/(2ρ)D_\Phi(x_s,y_{s+1})-D_\Phi(x_{s+1},y_{s+1})\le(\eta L)^2/(2\rho)DΦ​(xs​,ys+1​)−DΦ​(xs+1​,ys+1​)≤(ηL)2/(2ρ).
  5. The summed bound: ∑s=1t(f(xs)−f(x))≤DΦ(x,x1)/η+ηL2t/(2ρ)\sum_{s=1}^t(f(x_s)-f(x))\le D_\Phi(x,x_1)/\eta+\eta L^2t/(2\rho)∑s=1t​(f(xs​)−f(x))≤DΦ​(x,x1​)/η+ηL2t/(2ρ).

Companion: Theorem 4.3

With η=RLρ2t\eta=\frac RL\sqrt{\frac{\rho}{2t}}η=LR​2tρ​​, dual averaging satisfies f(1t∑s=1txs)−f(x∗)≤2RL2ρtf\big(\frac1t\sum_{s=1}^tx_s\big)-f(x^*)\le2RL\sqrt{\frac2{\rho t}}f(t1​∑s=1t​xs​)−f(x∗)≤2RLρt2​​, with the two displays (4.7) and (4.8) of its proof as supporting items.

Significance

Theorem 4.2 is the basic rate of non-Euclidean first-order optimization. With the Euclidean mirror map Φ=12∥⋅∥22\Phi=\frac12\|\cdot\|_2^2Φ=21​∥⋅∥22​ it recovers the projected subgradient rate of Chapter 3; with the negative entropy on the simplex, which is 111-strongly convex for ℓ1\ell_1ℓ1​ by Pinsker's inequality and has R2=log⁡nR^2=\log nR2=logn, it gives L∞2log⁡n/tL_\infty\sqrt{2\log n/t}L∞​2logn/t​, so the dependence on the dimension becomes logarithmic. The same analysis, with fff replaced by a sequence of losses, is the regret bound of online mirror descent, and its per-step and stability inequalities are reused for stochastic mirror descent and mirror prox in later chapters of the book.

The results are classical and fully proved in the book. What this mission adds is a machine-checked version in a general finite-dimensional normed space, with gradients as linear functionals and the dual norm as the operator norm, for an arbitrary mirror map on an arbitrary open domain. On Prove2Me the three-point identity (4.1) is already posed, as Lemma 4.1 of the Beck–Teboulle formalization, and is reused here; a regret bound for online mirror descent with Legendre functions is proved in another library, but it is not this theorem and does not cover a domain D\mathcal DD distinct from the whole space or a Bregman projection onto X∩D\mathcal X\cap\mathcal DX∩D.

Difficulty

The algebra of the proof is short. The difficulty lies at the boundary of D\mathcal DD. The minimizer x∗x^*x∗ may lie on ∂D\partial\mathcal D∂D, where Φ\PhiΦ and ∇Φ\nabla\Phi∇Φ are not defined; this is the typical case for the entropy on the simplex, where x∗x^*x∗ is often a vertex. The per-step bound holds only for comparison points x∈X∩Dx\in\mathcal X\cap\mathcal Dx∈X∩D, so the bound at x∗x^*x∗ has to be recovered from points of X∩D\mathcal X\cap\mathcal DX∩D, where no regularity of fff beyond convexity on X\mathcal XX is available. Lemma 4.1 needs the first-order optimality condition of the Bregman projection over the convex set X∩D\mathcal X\cap\mathcal DX∩D, which is not closed. In the non-Euclidean setting the gradient step cannot be written in the primal space at all: the update (4.2) is an equation between linear functionals, and the norm and dual norm must be kept apart throughout.

Formalization scope

  • The space is a finite-dimensional real normed space E with an arbitrary norm; gradients and subgradients are elements of E →L[ℝ] ℝ, the dual norm is the operator norm, and ∇Φ\nabla\Phi∇Φ is an explicit map Φ' with HasFDerivAt Φ (Φ' x) x on D\mathcal DD.
  • The mirror map carries all three properties (i)–(iii) of the book; the standing setting (X\mathcal XX compact convex, X⊆D‾\mathcal X\subseteq\overline{\mathcal D}X⊆D, X∩D≠∅\mathcal X\cap\mathcal D\neq\emptysetX∩D=∅) is a single predicate.
  • Runs are predicates over the first ttt steps, quantified universally: any subgradient, any yt+1y_{t+1}yt+1​ solving (4.2), any minimizer. A run whose next iterate were an arbitrary point of X∩D\mathcal X\cap\mathcal DX∩D, rather than the Bregman projection, would make the theorem false; the projection is part of the run.
  • Sequences are indexed from 111; t≥1t\ge1t≥1, ρ>0\rho>0ρ>0, L>0L>0L>0, R>0R>0R>0 and η>0\eta>0η>0 are explicit, since the step and the bound divide by them.
  • R2R^2R2 is any upper bound of sup⁡X∩DΦ−Φ(x1)\sup_{\mathcal X\cap\mathcal D}\Phi-\Phi(x_1)supX∩D​Φ−Φ(x1​) (the book's RRR is the least one); when the supremum is infinite the hypotheses cannot be met, as on the page.
  • "fff is LLL-Lipschitz" is assumed for the subgradients the run uses. Subgradients relative to X\mathcal XX are unbounded at boundary points of X\mathcal XX, so the literal "every subgradient at every point" would make the hypothesis unsatisfiable.
  • The definitions (Bregman divergence, mirror map, Bregman projection, the two runs) are reusable by the later chapters on mirror prox and stochastic mirror descent. Proofs of any milestone, and of the general facts they need (nonnegativity of Bregman divergences, first-order optimality over a convex set that is not closed), are welcome.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980
  • A. Nemirovski and D. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983 (book; no DOI).
  • A. Beck and M. Teboulle, Mirror descent and nonlinear projected subgradient methods for convex optimization, Operations Research Letters 31(3):167–175, 2003. doi:10.1016/S0167-6377(02)00231-6
  • Y. Nesterov, Primal-dual subgradient methods for convex problems, Mathematical Programming 120(1):221–259, 2009. doi:10.1007/s10107-007-0149-x
7 thms3 active usersReviewed
🏆Completed
Machine LearningOptimization·Captain: mikedeng1

Convex Optimization: Algorithms and Complexity IX: Nesterov's Accelerated Gradient Descent on a Convex β-Smooth Function Has Rate 2β‖x₁ − x*‖²/t²Textbook

Motivation

Minimizing a convex function f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R whose gradient is Lipschitz is the basic problem of first-order optimization, and it is the regime in which most large-scale methods of machine learning, signal processing and operations research are analysed. The natural method, gradient descent, reaches accuracy ε\varepsilonε after O(1/ε)O(1/\varepsilon)O(1/ε) gradient evaluations. In 1983 Nesterov showed that a method using the same oracle, but combining the current and the previous iterate, reaches accuracy ε\varepsilonε after only O(1/ε)O(1/\sqrt\varepsilon)O(1/ε​) evaluations, and that no method using only gradient information can do better by more than a constant factor. This accelerated gradient descent and its proximal variants (FISTA) are now the default fast first-order methods for smooth and composite convex problems.

This mission formalizes the accelerated rate as presented in S. Bubeck, Convex Optimization: Algorithms and Complexity (Foundations and Trends in Machine Learning, 2015; arXiv:1405.4980v2), §3.7.2, Theorem 3.19, whose proof follows Beck and Teboulle (2009).

Timeline.

  • 1983: Nesterov introduces the accelerated method with rate O(1/t2)O(1/t^2)O(1/t2) for convex functions with Lipschitz gradient (Soviet Math. Dokl. 27).
  • 1983: Nemirovski and Yudin's black-box lower bounds show that Ω(1/t2)\Omega(1/t^2)Ω(1/t2) is the best possible rate for this class (Theorem 3.14 of the book gives 3β∥x1−x∗∥2/(32(t+1)2)3\beta\|x_1-x^*\|^2/(32(t+1)^2)3β∥x1​−x∗∥2/(32(t+1)2)).
  • 2009: Beck and Teboulle's FISTA extends the method, with the same step sequence λt\lambda_tλt​, to composite problems with a simple nonsmooth term (SIAM J. Imaging Sci. 2(1)).
  • 2008: Tseng gives a unified treatment with simpler step sizes (manuscript).

Setting

Let Rn\mathbb R^nRn carry the Euclidean inner product x⊤yx^\top yx⊤y and norm ∥⋅∥\|\cdot\|∥⋅∥. A differentiable function f:Rn→Rf:\mathbb R^n\to\mathbb Rf:Rn→R is β-smooth if its gradient is β\betaβ-Lipschitz:

∥∇f(x)−∇f(y)∥≤β∥x−y∥(x,y∈Rn).\|\nabla f(x)-\nabla f(y)\|\le\beta\|x-y\|\qquad(x,y\in\mathbb R^n).∥∇f(x)−∇f(y)∥≤β∥x−y∥(x,y∈Rn).

Assume fff is convex and β\betaβ-smooth with β>0\beta>0β>0, and let x∗x^*x∗ be a minimizer of fff.

Define the step sequences λ0=0\lambda_0=0λ0​=0,

λt=1+1+4λt−122(t≥1),γt=1−λtλt+1.\lambda_t=\frac{1+\sqrt{1+4\lambda_{t-1}^2}}{2}\quad(t\ge1),\qquad\gamma_t=\frac{1-\lambda_t}{\lambda_{t+1}}.λt​=21+1+4λt−12​​​(t≥1),γt​=λt+1​1−λt​​.

Then λ1=1\lambda_1=1λ1​=1, λt≥1\lambda_t\ge1λt​≥1 for t≥1t\ge1t≥1, and γt≤0\gamma_t\le0γt​≤0. Nesterov's accelerated gradient descent for the smooth case starts from an arbitrary point x1=y1x_1=y_1x1​=y1​ and sets, for t≥1t\ge1t≥1,

yt+1=xt−1β∇f(xt),xt+1=(1−γt) yt+1+γt yt.y_{t+1}=x_t-\frac1\beta\nabla f(x_t),\qquad x_{t+1}=(1-\gamma_t)\,y_{t+1}+\gamma_t\,y_t.yt+1​=xt​−β1​∇f(xt​),xt+1​=(1−γt​)yt+1​+γt​yt​.

The primary sequence (yt)(y_t)(yt​) consists of gradient steps of length 1/β1/\beta1/β; the sequence (xt)(x_t)(xt​), at which the gradient is queried, moves past yt+1y_{t+1}yt+1​ away from yty_tyt​ (since γt≤0\gamma_t\le0γt​≤0). Write δt=f(yt)−f(x∗)\delta_t=f(y_t)-f(x^*)δt​=f(yt​)−f(x∗) for the optimality gap.

Formalization targets

Goal: Theorem 3.19

For every run of the method and every t≥1t\ge1t≥1,

f(yt)−f(x∗)≤2β∥x1−x∗∥2t2.f(y_t)-f(x^*)\le\frac{2\beta\|x_1-x^*\|^2}{t^2}.f(yt​)−f(x∗)≤t22β∥x1​−x∗∥2​.

The constant 222 and the exponent 222 are those printed in the book.

Milestones

In the order of the book's proof (pp. 294–295):

  1. Lemma 3.6, unconstrained (p. 270): f(x−1β∇f(x))−f(y)≤∇f(x)⊤(x−y)−12β∥∇f(x)∥2f(x-\tfrac1\beta\nabla f(x))-f(y)\le\nabla f(x)^\top(x-y)-\tfrac1{2\beta}\|\nabla f(x)\|^2f(x−β1​∇f(x))−f(y)≤∇f(x)⊤(x−y)−2β1​∥∇f(x)∥2 for all x,yx,yx,y.
  2. (3.23): f(ys+1)−f(ys)≤β(xs−ys+1)⊤(xs−ys)−β2∥xs−ys+1∥2f(y_{s+1})-f(y_s)\le\beta(x_s-y_{s+1})^\top(x_s-y_s)-\tfrac\beta2\|x_s-y_{s+1}\|^2f(ys+1​)−f(ys​)≤β(xs​−ys+1​)⊤(xs​−ys​)−2β​∥xs​−ys+1​∥2.
  3. (3.24): f(ys+1)−f(x∗)≤β(xs−ys+1)⊤(xs−x∗)−β2∥xs−ys+1∥2f(y_{s+1})-f(x^*)\le\beta(x_s-y_{s+1})^\top(x_s-x^*)-\tfrac\beta2\|x_s-y_{s+1}\|^2f(ys+1​)−f(x∗)≤β(xs​−ys+1​)⊤(xs​−x∗)−2β​∥xs​−ys+1​∥2.
  4. The λ identity: λs−12=λs2−λs\lambda_{s-1}^2=\lambda_s^2-\lambda_sλs−12​=λs2​−λs​ for s≥1s\ge1s≥1.
  5. (3.25): λs2δs+1−λs−12δs≤β2(∥λsxs−(λs−1)ys−x∗∥2−∥λsys+1−(λs−1)ys−x∗∥2)\lambda_s^2\delta_{s+1}-\lambda_{s-1}^2\delta_s\le\tfrac\beta2\bigl(\|\lambda_sx_s-(\lambda_s-1)y_s-x^*\|^2-\|\lambda_sy_{s+1}-(\lambda_s-1)y_s-x^*\|^2\bigr)λs2​δs+1​−λs−12​δs​≤2β​(∥λs​xs​−(λs​−1)ys​−x∗∥2−∥λs​ys+1​−(λs​−1)ys​−x∗∥2).
  6. (3.26): λs+1xs+1−(λs+1−1)ys+1=λsys+1−(λs−1)ys\lambda_{s+1}x_{s+1}-(\lambda_{s+1}-1)y_{s+1}=\lambda_sy_{s+1}-(\lambda_s-1)y_sλs+1​xs+1​−(λs+1​−1)ys+1​=λs​ys+1​−(λs​−1)ys​.
  7. Telescoped bound: δt≤β2λt−12∥u1∥2\delta_t\le\frac{\beta}{2\lambda_{t-1}^2}\|u_1\|^2δt​≤2λt−12​β​∥u1​∥2 for t≥2t\ge2t≥2, with u1=λ1x1−(λ1−1)y1−x∗u_1=\lambda_1x_1-(\lambda_1-1)y_1-x^*u1​=λ1​x1​−(λ1​−1)y1​−x∗.
  8. Growth of λ: λt−1≥t/2\lambda_{t-1}\ge t/2λt−1​≥t/2 for t≥2t\ge2t≥2.

Significance

The result. Theorem 3.19 is the upper half of the statement that first-order methods on smooth convex functions have complexity Θ(β∥x1−x∗∥2/ε)\Theta(\sqrt{\beta\|x_1-x^*\|^2/\varepsilon})Θ(β∥x1​−x∗∥2/ε​): together with the black-box lower bound of Theorem 3.14 it shows that the accelerated method is optimal up to a constant factor, while plain gradient descent (Theorem 3.3, rate 2β∥x1−x∗∥2/(t−1)2\beta\|x_1-x^*\|^2/(t-1)2β∥x1​−x∗∥2/(t−1)) is not. The same potential-function argument, with the gradient step replaced by a proximal step, yields the rate of FISTA for composite objectives, and the identity λs−12=λs2−λs\lambda_{s-1}^2=\lambda_s^2-\lambda_sλs−12​=λs2​−λs​ is the algebraic core of most later analyses of accelerated and momentum methods.

Formalizing it. The theorem is classical and fully proved on paper. What this mission adds is a machine-checked proof of the O(1/t2)O(1/t^2)O(1/t2) rate for the exact step sequence of the book, with every intermediate inequality of the proof stated separately so that each can be closed and reused. A Lean development of accelerated gradient descent with this rate is not, to our knowledge, in Mathlib.

Difficulty

The rate does not follow from monotone decrease of f(yt)f(y_t)f(yt​), which is the engine of the analysis of plain gradient descent: the accelerated iterates are not monotone, and no single-step inequality on δt\delta_tδt​ alone gives 1/t21/t^21/t2. The proof instead tracks a weighted potential λs−12δs+β2∥us∥2\lambda_{s-1}^2\delta_s+\frac\beta2\|u_s\|^2λs−12​δs​+2β​∥us​∥2 and needs three exact algebraic coincidences: the identity λs−12=λs2−λs\lambda_{s-1}^2=\lambda_s^2-\lambda_sλs−12​=λs2​−λs​, the completion of a square 2a⊤b−∥a∥2=∥b∥2−∥b−a∥22a^\top b-\|a\|^2=\|b\|^2-\|b-a\|^22a⊤b−∥a∥2=∥b∥2−∥b−a∥2, and the rewriting (3.26) of the update rule, which makes consecutive potentials match exactly. In Lean the work is in this bookkeeping (vector identities in an inner-product space, a real recursion with square roots, and a telescoping sum indexed from 111), not in any deep analytic fact.

Formalization scope

  • Rn\mathbb R^nRn is EuclideanSpace ℝ (Fin n); x⊤yx^\top yx⊤y is ⟪x, y⟫_ℝ.
  • The gradient is an explicit map ggg with HasGradientAt f (g x) x for every xxx; β-smoothness is the Lipschitz bound on ggg (not the quadratic upper bound (3.4), which is a consequence). Convexity is ConvexOn ℝ Set.univ f.
  • λ\lambdaλ is a real sequence defined by recursion on N\mathbb NN with λ0=0\lambda_0=0λ0​=0; γt=(1−λt)/λt+1\gamma_t=(1-\lambda_t)/\lambda_{t+1}γt​=(1−λt​)/λt+1​ never divides by zero because λt+1≥1\lambda_{t+1}\ge1λt+1​≥1.
  • A run is a predicate on two sequences x,y:N→Rnx,y:\mathbb N\to\mathbb R^nx,y:N→Rn, indexed from 111 as in the book; index 000 is unconstrained. Every theorem quantifies over all runs.
  • Standing assumptions: x∗x^*x∗ is a minimizer of fff (book, p. 242); β>0\beta>0β>0 (implicit in the step 1/β1/\beta1/β) is a stated hypothesis.
  • The page prints the update as xt+1=(1−γs)yt+1+γtytx_{t+1}=(1-\gamma_s)y_{t+1}+\gamma_ty_txt+1​=(1−γs​)yt+1​+γt​yt​; the formalization uses γt\gamma_tγt​ in both places, as the proof's (3.26) requires. A run predicate with a fixed coefficient γs\gamma_sγs​ would describe a different (non-accelerated) method and is ruled out.
  • The goal is stated for all t≥1t\ge1t≥1, including t=1t=1t=1, which the printed proof does not cover but which follows from (3.4). The growth bound λt−1≥t/2\lambda_{t-1}\ge t/2λt−1​≥t/2 is stated for t≥2t\ge2t≥2, since λ0=0\lambda_0=0λ0​=0. The telescoping display prints δs2\delta_s^2δs2​ for δs\delta_sδs​; the formalization uses δs\delta_sδs​.

Contributions of every kind are welcome: proofs of the λ facts and of (3.26) are pure algebra; (3.23)–(3.25) need the descent lemma for β-smooth functions and first-order convexity, both of which are reusable well beyond this mission.

Selected references

  • S. Bubeck, Convex Optimization: Algorithms and Complexity, Foundations and Trends in Machine Learning 8(3–4):231–358, 2015. arXiv:1405.4980
  • Y. Nesterov, A method of solving a convex programming problem with convergence rate O(1/k²), Soviet Mathematics Doklady 27:372–376, 1983. mathnet
  • A. Beck, M. Teboulle, A fast iterative shrinkage-thresholding algorithm for linear inverse problems, SIAM J. Imaging Sciences 2(1):183–202, 2009. doi:10.1137/080716542
  • P. Tseng, On accelerated proximal gradient methods for convex-concave optimization, manuscript, 2008. pdf
  • A. Nemirovski, D. Yudin, Problem Complexity and Method Efficiency in Optimization, Wiley, 1983.
10 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Data-Driven Robust Optimization V: The Order-Statistic Box U^M Built from Marginal Samples Dominates Value at Risk with Probability at Least 1 − αResearch Paper

Motivation

Robust optimization replaces an uncertain constraint f(u~,x)≤0f(\tilde{\mathbf u},\mathbf x)\le 0f(u~,x)≤0 by the requirement that it hold for every u\mathbf uu in an uncertainty set U⊆Rd\mathcal U\subseteq\mathbb R^dU⊆Rd. The resulting problems are tractable for many sets, but the choice of U\mathcal UU decides whether the solution means anything probabilistically. Bertsimas, Gupta and Kallus (arXiv:1401.0212v2; Math. Program. 167:235–292, 2018) propose to build U\mathcal UU from data so that, with high probability over the sample, every robust-feasible decision is also feasible with probability at least 1−ϵ1-\epsilon1−ϵ under the unknown distribution P∗\mathbb P^*P∗.

This mission covers §6 of that paper, the case where the data are samples of the marginals of P∗\mathbb P^*P∗, observed separately, with no assumption that the marginals are independent. This is the situation of asynchronous measurements or records with many missing entries: the joint law cannot be learned, yet a valid uncertainty set can still be built. The set is a box whose sides are order statistics, and its guarantee rests on an elementary binomial test (David and Nagaraja, Order Statistics, §7.1) and a Value-at-Risk bound of Embrechts, Höing and Juri (Finance Stoch. 7, 2003).

Setting

Let P∗\mathbb P^*P∗ be a probability measure on Rd\mathbb R^dRd whose support lies in a known box [u^(0),u^(N+1)]={u:u^i(0)≤ui≤u^i(N+1)}[\hat{\mathbf u}^{(0)},\hat{\mathbf u}^{(N+1)}]=\{\mathbf u:\hat u^{(0)}_i\le u_i\le\hat u^{(N+1)}_i\}[u^(0),u^(N+1)]={u:u^i(0)​≤ui​≤u^i(N+1)​}. Fix a violation level 0<ϵ<10<\epsilon<10<ϵ<1 and a significance level 0<α<10<\alpha<10<α<1.

The Value at Risk of u~Tv\tilde{\mathbf u}^T\mathbf vu~Tv under a probability measure P\mathbb PP is

VaRϵP(v)=inf⁡{t:P(u~Tv≤t)≥1−ϵ},\mathrm{VaR}^{\mathbb P}_\epsilon(\mathbf v)=\inf\{t:\mathbb P(\tilde{\mathbf u}^T\mathbf v\le t)\ge1-\epsilon\},VaRϵP​(v)=inf{t:P(u~Tv≤t)≥1−ϵ},

and the support function of a set U\mathcal UU is δ∗(v∣U)=sup⁡u∈UvTu\delta^*(\mathbf v\mid\mathcal U)=\sup_{\mathbf u\in\mathcal U}\mathbf v^T\mathbf uδ∗(v∣U)=supu∈U​vTu. A set U\mathcal UU implies a probabilistic guarantee at level ϵ\epsilonϵ for P∗\mathbb P^*P∗ if for every f(u,x)f(\mathbf u,\mathbf x)f(u,x) concave in u\mathbf uu and every x∗\mathbf x^*x∗, f(u,x∗)≤0f(\mathbf u,\mathbf x^*)\le0f(u,x∗)≤0 for all u∈U\mathbf u\in\mathcal Uu∈U implies P∗(f(u~,x∗)≤0)≥1−ϵ\mathbb P^*(f(\tilde{\mathbf u},\mathbf x^*)\le0)\ge1-\epsilonP∗(f(u~,x∗)≤0)≥1−ϵ.

From a sample u^1,…,u^N\hat{\mathbf u}^1,\dots,\hat{\mathbf u}^Nu^1,…,u^N let u^i(j)\hat u^{(j)}_iu^i(j)​, 1≤j≤N1\le j\le N1≤j≤N, be the jjj-th order statistic (the jjj-th smallest value) of coordinate iii, and let u^i(0),u^i(N+1)\hat u^{(0)}_i,\hat u^{(N+1)}_iu^i(0)​,u^i(N+1)​ be the box ends. The index sss is

s=min⁡{k∈N:∑j=kN(Nj)(ϵ/d)N−j(1−ϵ/d)j≤α2d},s=N+1 if the set is empty,(26)s=\min\Big\{k\in\mathbb N:\sum_{j=k}^N\binom Nj(\epsilon/d)^{N-j}(1-\epsilon/d)^j\le\frac{\alpha}{2d}\Big\},\qquad s=N+1\text{ if the set is empty}, \tag{26}s=min{k∈N:j=k∑N​(jN​)(ϵ/d)N−j(1−ϵ/d)j≤2dα​},s=N+1 if the set is empty,(26)

and the uncertainty set is the box

UϵM={u∈Rd:u^i(N−s+1)≤ui≤u^i(s), i=1,…,d}.(28)\mathcal U^M_\epsilon=\{\mathbf u\in\mathbb R^d:\hat u^{(N-s+1)}_i\le u_i\le\hat u^{(s)}_i,\ i=1,\dots,d\}. \tag{28}UϵM​={u∈Rd:u^i(N−s+1)​≤ui​≤u^i(s)​, i=1,…,d}.(28)

The confidence region PM\mathcal P^MPM is the set of probability measures on the box with VaRϵ/dP(ei)≤u^i(s)\mathrm{VaR}^{\mathbb P}_{\epsilon/d}(\mathbf e_i)\le\hat u^{(s)}_iVaRϵ/dP​(ei​)≤u^i(s)​ and VaRϵ/dP(−ei)≤−u^i(N−s+1)\mathrm{VaR}^{\mathbb P}_{\epsilon/d}(-\mathbf e_i)\le-\hat u^{(N-s+1)}_iVaRϵ/dP​(−ei​)≤−u^i(N−s+1)​ for every iii.

Formalization targets

Goal: Theorem 7

If N−s+1<sN-s+1<sN−s+1<s, then with probability at least 1−α1-\alpha1−α over the sample (NNN samples of each marginal of P∗\mathbb P^*P∗, each marginal's samples i.i.d., arbitrary dependence across marginals),

δ∗(v∣UϵM)≥VaRϵP∗(v)for all v∈Rd,\delta^*(\mathbf v\mid\mathcal U^M_\epsilon)\ge\mathrm{VaR}^{\mathbb P^*}_\epsilon(\mathbf v)\qquad\text{for all }\mathbf v\in\mathbb R^d,δ∗(v∣UϵM​)≥VaRϵP∗​(v)for all v∈Rd,

and, for every sample, UϵM\mathcal U^M_\epsilonUϵM​ is nonempty, convex and compact with

δ∗(v∣UϵM)=∑i=1dmax⁡(viu^i(N−s+1), viu^i(s)).(29)\delta^*(\mathbf v\mid\mathcal U^M_\epsilon)=\sum_{i=1}^d\max\big(v_i\hat u^{(N-s+1)}_i,\,v_i\hat u^{(s)}_i\big). \tag{29}δ∗(v∣UϵM​)=i=1∑d​max(vi​u^i(N−s+1)​,vi​u^i(s)​).(29)

Milestones

  1. Positive homogeneity: VaRδP(cw)=c VaRδP(w)\mathrm{VaR}^{\mathbb P}_\delta(c\mathbf w)=c\,\mathrm{VaR}^{\mathbb P}_\delta(\mathbf w)VaRδP​(cw)=cVaRδP​(w) for c>0c>0c>0 (p. 10).
  2. Each one-sided order-statistic test is valid at level α/(2d)\alpha/(2d)α/(2d): PS∗(u^i(s)<VaRϵ/dP∗(ei))≤α/(2d)\mathbb P^*_{\mathcal S}(\hat u^{(s)}_i<\mathrm{VaR}^{\mathbb P^*}_{\epsilon/d}(\mathbf e_i))\le\alpha/(2d)PS∗​(u^i(s)​<VaRϵ/dP∗​(ei​))≤α/(2d), and the mirror bound for −ei-\mathbf e_i−ei​ with u^i(N−s+1)\hat u^{(N-s+1)}_iu^i(N−s+1)​ (pp. 20–21).
  3. Union bound: PS∗(P∗∈PM)≥1−α\mathbb P^*_{\mathcal S}(\mathbb P^*\in\mathcal P^M)\ge1-\alphaPS∗​(P∗∈PM)≥1−α (p. 21).
  4. The weak Embrechts bound VaRϵP(v)≤∑iVaRϵ/dP(viei)\mathrm{VaR}^{\mathbb P}_\epsilon(\mathbf v)\le\sum_i\mathrm{VaR}^{\mathbb P}_{\epsilon/d}(v_i\mathbf e_i)VaRϵP​(v)≤∑i​VaRϵ/dP​(vi​ei​) for every probability measure P\mathbb PP (p. 21).
  5. If N−s+1<sN-s+1<sN−s+1<s then u^i(N−s+1)≤u^i(s)\hat u^{(N-s+1)}_i\le\hat u^{(s)}_iu^i(N−s+1)​≤u^i(s)​ (p. 21).
  6. (EC.8): for P∈PM\mathbb P\in\mathcal P^MP∈PM, VaRϵP(v)≤∑vi>0viu^i(s)+∑vi≤0viu^i(N−s+1)\mathrm{VaR}^{\mathbb P}_\epsilon(\mathbf v)\le\sum_{v_i>0}v_i\hat u^{(s)}_i+\sum_{v_i\le0}v_i\hat u^{(N-s+1)}_iVaRϵP​(v)≤∑vi​>0​vi​u^i(s)​+∑vi​≤0​vi​u^i(N−s+1)​ (p. ec5).
  7. (29) as a standalone statement (p. 21).

Significance

Theorem 7 gives an uncertainty set with a finite-sample guarantee from data that carry no information on the dependence between coordinates. The set is a box, so the robust counterpart of a linear constraint is again linear, and Remark 12 of the paper notes that separation over {(v,t):δ∗(v∣UM)≤t}\{(\mathbf v,t):\delta^*(\mathbf v\mid\mathcal U^M)\le t\}{(v,t):δ∗(v∣UM)≤t} is in closed form. Unlike the other confidence regions of the paper (χ², G-test, Kolmogorov–Smirnov, bootstrap), whose coverage is asymptotic, tabulated or approximate, the test here is exact and distribution-free, so the probability statement itself is in scope.

The result is proved in the paper; to our knowledge none of it has a machine-checked proof. The mission produces a complete formal statement of Theorem 7 including the sampling probability, the binomial order-statistic test for a quantile, and the marginal Value-at-Risk bound, all of which are standard tools in nonparametric statistics and risk management that are absent from Mathlib.

Difficulty

The deterministic half, (EC.8) and (29), is short once the weak Embrechts bound is available. The work is in the probabilistic half, which the paper delegates to a textbook citation. Validity of the order-statistic test ties together facts that no library currently connects: the combinatorics of sorted tuples, the binomial law of the number of i.i.d. sample points below a threshold, the behaviour of a quantile at its left limit (the distribution function at the quantile can exceed 1−ϵ/d1-\epsilon/d1−ϵ/d, so the obvious bound uses the wrong probability), and the comparison of binomial tails across success probabilities. The lower-tail test must be handled with the index N−s+1N-s+1N−s+1 and the quantile of −u~i-\tilde u_i−u~i​, where a sign or off-by-one slip produces a false statement that still looks plausible. The boundary regime s=N+1s=N+1s=N+1, where UϵM\mathcal U^M_\epsilonUϵM​ is the a priori box, is valid only because P∗\mathbb P^*P∗ lives in that box and needs separate treatment.

Formalization scope

Rd\mathbb R^dRd is Fin d → ℝ with 0-based coordinates; vectors pair by ⬝ᵥ. Value at Risk is the published MultistageStochastic.valueAtRisk at level 1−ϵ1-\epsilon1−ϵ applied to u↦uTv\mathbf u\mapsto\mathbf u^T\mathbf vu↦uTv, and the support function is the published RobustMDP.Shared.supportFunction; both are real infima/suprema, genuine under 0<ϵ<10<\epsilon<10<ϵ<1, a probability measure, and a nonempty bounded set (the goal proves the latter). The order statistics use Mathlib's Tuple.sort; the index N−s+1N-s+1N−s+1 is N + 1 - s in natural numbers, which is the paper's value since 1≤s≤N+11\le s\le N+11≤s≤N+1.

The data are an array S : Fin N → Fin d → ℝ, S k i the kkk-th sample of marginal iii, under any probability law Q such that, for each iii, the samples S 0 i, …, S (N-1) i are i.i.d. from the iii-th marginal of P∗\mathbb P^*P∗ (IsMarginalSampleLaw). The dependence between samples of different marginals is left arbitrary, as the paper's asynchronous setting requires; i.i.d. draws of whole vectors are one admissible law. Probabilities of possibly non-measurable events are outer measures. The level ϵ\epsilonϵ is fixed: by Remark 11 the family {UϵM}\{\mathcal U^M_\epsilon\}{UϵM​} need not work for all ϵ\epsilonϵ simultaneously.

The guarantee is stated in the criterion form of Theorem 1(a) of the paper: δ∗(v∣UϵM)≥VaRϵP∗(v)\delta^*(\mathbf v\mid\mathcal U^M_\epsilon)\ge\mathrm{VaR}^{\mathbb P^*}_\epsilon(\mathbf v)δ∗(v∣UϵM​)≥VaRϵP∗​(v) for all v\mathbf vv, together with nonemptiness, convexity and compactness of UϵM\mathcal U^M_\epsilonUϵM​. Theorem 1 (mission I of this series) shows that for such sets this criterion is equivalent to implying a probabilistic guarantee. The coverage of the test is proved, not assumed: there is no hypothesis that P∗∈PM\mathbb P^*\in\mathcal P^MP∗∈PM. A formalization in which the support function is evaluated on an empty or unbounded set, where the library value is 0, would make the criterion trivial; the nonemptiness and compactness conjunct of the goal rules it out.

Standing assumptions: d≥1d\ge1d≥1, 0<ϵ<10<\epsilon<10<ϵ<1, 0<α<10<\alpha<10<α<1, u^(0)≤u^(N+1)\hat{\mathbf u}^{(0)}\le\hat{\mathbf u}^{(N+1)}u^(0)≤u^(N+1), P∗\mathbb P^*P∗ a probability measure with P∗\mathbb P^*P∗-null complement of the box, and Theorem 7's hypothesis N−s+1<sN-s+1<sN−s+1<s. The page prints the second condition of PM\mathcal P^MPM as "VaRϵ/dPi≥u^i(N−s+1)\mathrm{VaR}^{\mathbb P_i}_{\epsilon/d}\ge\hat u^{(N-s+1)}_iVaRϵ/dPi​​≥u^i(N−s+1)​"; the formal region uses the lower-tail condition VaRϵ/d(−ei)≤−u^i(N−s+1)\mathrm{VaR}_{\epsilon/d}(-\mathbf e_i)\le-\hat u^{(N-s+1)}_iVaRϵ/d​(−ei​)≤−u^i(N−s+1)​ that the hypothesis, its rejection rule and the proof use. (EC.8) is stated with "≤\le≤" for each P∈PM\mathbb P\in\mathcal P^MP∈PM; the page's middle equality is not claimed.

Reusable infrastructure welcome beyond this mission: order statistics of tuples and the binomial law of threshold counts for i.i.d. samples; monotonicity of binomial tails in the success probability; the left-limit property of quantiles; the Embrechts-type subadditivity bound for Value at Risk.

Selected references

  • D. Bertsimas, V. Gupta, N. Kallus, Data-Driven Robust Optimization, arXiv:1401.0212v2, 2014; Math. Program. 167:235–292, 2018. https://arxiv.org/abs/1401.0212
  • H. A. David, H. N. Nagaraja, Order Statistics, Wiley (cited by the paper as 1970; third edition 2003), §7.1, distribution-free confidence intervals for quantiles. https://doi.org/10.1002/0471722162
  • P. Embrechts, A. Höing, A. Juri, Using copulae to bound the Value-at-Risk for functions of dependent risks, Finance and Stochastics 7:145–167, 2003. https://doi.org/10.1007/s007800200085
11 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Data-Driven Robust Optimization IV: The Forward–Backward Deviation Set U^FB Has a Closed-Form Support Function That Bounds the Worst-Case Value at RiskResearch Paper

Motivation

A robust linear constraint u⊤v≤tu^\top v \le tu⊤v≤t with uuu ranging over an uncertainty set U⊆Rd\mathcal U\subseteq\mathbb R^dU⊆Rd is tractable whenever the support function δ∗(v∣U)=sup⁡u∈Uu⊤v\delta^*(v\mid\mathcal U)=\sup_{u\in\mathcal U}u^\top vδ∗(v∣U)=supu∈U​u⊤v is. Robust optimization gains a probabilistic meaning when U\mathcal UU is chosen so that every robustly feasible decision also satisfies the constraint with probability at least 1−ε1-\varepsilon1−ε under the true distribution P∗\mathbb P^*P∗ of the uncertain parameter u~\tilde uu~. Bertsimas, Gupta and Kallus (arXiv:1401.0212v2; Math. Program. 167, 2018) build such sets from data: a statistical hypothesis test yields a confidence region P\mathcal PP of distributions, and the uncertainty set is any convex set whose support function dominates the worst-case Value at Risk over P\mathcal PP.

Section 5.2 of the paper applies this schema to the forward and backward deviations of Chen, Sim and Sun (Oper. Res. 55, 2007), one-sided measures of spread that capture skewness. Chen, Sim and Sun assume the mean and deviations are known; the data-driven version replaces them by confidence intervals and must work out the worst case over those intervals. The result is the set UεFB\mathcal U^{FB}_\varepsilonUεFB​ of Theorem 6, whose support function has a closed form.

Setting

The uncertain parameter u~\tilde uu~ takes values in Rd\mathbb R^dRd and P\mathbb PP is its law. For ε∈(0,1)\varepsilon\in(0,1)ε∈(0,1) and v∈Rdv\in\mathbb R^dv∈Rd, the Value at Risk is

VaRεP(v)=inf⁡{t:P(u~⊤v≤t)≥1−ε}.\mathrm{VaR}^{\mathbb P}_\varepsilon(v)=\inf\{t:\mathbb P(\tilde u^\top v\le t)\ge1-\varepsilon\}.VaRεP​(v)=inf{t:P(u~⊤v≤t)≥1−ε}.

For a probability measure Pi\mathbb P_iPi​ on R\mathbb RR with mean μi\mu_iμi​, the forward deviation and the backward deviation are

σf(Pi)=sup⁡x>0−2μix+2x2log⁡EPi[exu~i],σb(Pi)=sup⁡x>02μix+2x2log⁡EPi[e−xu~i].\sigma_f(\mathbb P_i)=\sup_{x>0}\sqrt{-\tfrac{2\mu_i}{x}+\tfrac{2}{x^2}\log\mathbb E^{\mathbb P_i}[e^{x\tilde u_i}]},\qquad\sigma_b(\mathbb P_i)=\sup_{x>0}\sqrt{\tfrac{2\mu_i}{x}+\tfrac{2}{x^2}\log\mathbb E^{\mathbb P_i}[e^{-x\tilde u_i}]}.σf​(Pi​)=x>0sup​−x2μi​​+x22​logEPi​[exu~i​]​,σb​(Pi​)=x>0sup​x2μi​​+x22​logEPi​[e−xu~i​]​.

From a sample, a bootstrap produces thresholds tit_iti​, σˉfi\bar\sigma_{fi}σˉfi​, σˉbi\bar\sigma_{bi}σˉbi​. With the sample mean μ^i\hat\mu_iμ^​i​ put mbi=μ^i−tim_{bi}=\hat\mu_i-t_imbi​=μ^​i​−ti​ and mfi=μ^i+tim_{fi}=\hat\mu_i+t_imfi​=μ^​i​+ti​. The confidence region PFB\mathcal P^{FB}PFB consists of the distributions of vectors with independent components u~i∼Pi\tilde u_i\sim\mathbb P_iu~i​∼Pi​, each Pi\mathbb P_iPi​ having bounded support, mean in [mbi,mfi][m_{bi},m_{fi}][mbi​,mfi​], σf(Pi)≤σˉfi\sigma_f(\mathbb P_i)\le\bar\sigma_{fi}σf​(Pi​)≤σˉfi​ and σb(Pi)≤σˉbi\sigma_b(\mathbb P_i)\le\bar\sigma_{bi}σb​(Pi​)≤σˉbi​.

The uncertainty set is

UεFB={y1+y2−y3: y2,y3∈R+d, ∑i=1d(y2i22σˉfi2+y3i22σˉbi2)≤log⁡(1/ε), mbi≤y1i≤mfi}.\mathcal U^{FB}_\varepsilon=\Big\{y_1+y_2-y_3:\ y_2,y_3\in\mathbb R^d_+,\ \sum_{i=1}^d\Big(\frac{y_{2i}^2}{2\bar\sigma_{fi}^2}+\frac{y_{3i}^2}{2\bar\sigma_{bi}^2}\Big)\le\log(1/\varepsilon),\ m_{bi}\le y_{1i}\le m_{fi}\Big\}.UεFB​={y1​+y2​−y3​: y2​,y3​∈R+d​, i=1∑d​(2σˉfi2​y2i2​​+2σˉbi2​y3i2​​)≤log(1/ε), mbi​≤y1i​≤mfi​}.

Formalization targets

Goal: Theorem 6

For mb≤mfm_b\le m_fmb​≤mf​, σˉf,σˉb>0\bar\sigma_f,\bar\sigma_b>0σˉf​,σˉb​>0 and ε∈(0,1)\varepsilon\in(0,1)ε∈(0,1), the set UεFB\mathcal U^{FB}_\varepsilonUεFB​ is nonempty, convex and compact,

δ∗(v∣UεFB)=∑i:vi≥0mfivi+∑i:vi<0mbivi+2log⁡(1/ε)(∑i:vi≥0σˉfi2vi2+∑i:vi<0σˉbi2vi2)(24)\delta^*(v\mid\mathcal U^{FB}_\varepsilon)=\sum_{i:v_i\ge0}m_{fi}v_i+\sum_{i:v_i<0}m_{bi}v_i+\sqrt{2\log(1/\varepsilon)\Big(\sum_{i:v_i\ge0}\bar\sigma_{fi}^2v_i^2+\sum_{i:v_i<0}\bar\sigma_{bi}^2v_i^2\Big)}\qquad(24)δ∗(v∣UεFB​)=i:vi​≥0∑​mfi​vi​+i:vi​<0∑​mbi​vi​+2log(1/ε)(i:vi​≥0∑​σˉfi2​vi2​+i:vi​<0∑​σˉbi2​vi2​)​(24)

for every vvv, and VaRεP(v)\mathrm{VaR}^{\mathbb P}_\varepsilon(v)VaRεP​(v) is at most the right-hand side of (24) for every P∈PFB\mathbb P\in\mathcal P^{FB}P∈PFB and every vvv.

Milestones

  1. The Chen–Sim–Sun bound (22): for independent components with known means μi\mu_iμi​ and deviations, VaRεP(v)≤∑iμivi+2log⁡(1/ε)(∑vi<0σbi2vi2+∑vi≥0σfi2vi2)\mathrm{VaR}^{\mathbb P}_\varepsilon(v)\le\sum_i\mu_iv_i+\sqrt{2\log(1/\varepsilon)(\sum_{v_i<0}\sigma_{bi}^2v_i^2+\sum_{v_i\ge0}\sigma_{fi}^2v_i^2)}VaRεP​(v)≤∑i​μi​vi​+2log(1/ε)(∑vi​<0​σbi2​vi2​+∑vi​≥0​σfi2​vi2​)​.
  2. The right-hand side of (24) is the worst case of (22) over the parameters allowed by PFB\mathcal P^{FB}PFB.
  3. Lagrangian strong duality for max⁡u∈UεFBu⊤v\max_{u\in\mathcal U^{FB}_\varepsilon}u^\top vmaxu∈UεFB​​u⊤v.
  4. The three one-dimensional sub-subproblems and their optimal values.
  5. The combined formula: δ∗\delta^*δ∗ equals a linear term plus inf⁡λ>0{λlog⁡(1/ε)+S/(2λ)}\inf_{\lambda>0}\{\lambda\log(1/\varepsilon)+S/(2\lambda)\}infλ>0​{λlog(1/ε)+S/(2λ)}.
  6. inf⁡λ>0{λL+S/(2λ)}=2LS\inf_{\lambda>0}\{\lambda L+S/(2\lambda)\}=\sqrt{2LS}infλ>0​{λL+S/(2λ)}=2LS​, attained at λ∗=S/(2L)\lambda^*=\sqrt{S/(2L)}λ∗=S/(2L)​ when S>0S>0S>0.

Companions

  • Remark 9: when (24) exceeds ttt, an explicit point of UεFB\mathcal U^{FB}_\varepsilonUεFB​ gives a violated cut u⊤v≤tu^\top v\le tu⊤v≤t.
  • Theorem 13(b): the constraint δ∗(v∣UεFB)≤t\delta^*(v\mid\mathcal U^{FB}_\varepsilon)\le tδ∗(v∣UεFB​)≤t is convex in (v,t)(v,t)(v,t) and convex in ε\varepsilonε for 0<ε<1/e0<\varepsilon<1/\sqrt e0<ε<1/e​.

Significance

Theorem 6 gives a data-driven uncertainty set for which a robust linear constraint is a second-order cone constraint, (24) being an explicit norm expression. By Theorem 1 of the paper, the domination of the worst-case Value at Risk over the region by the support function means that every robustly feasible solution satisfies a chance constraint at level ε\varepsilonε for every distribution in the region. Unlike the Chen–Sim–Sun set, which requires the true mean and deviations, UεFB\mathcal U^{FB}_\varepsilonUεFB​ needs only data and allows the mean and the support to be unknown. Theorem 13(b) supports the alternating heuristic of §9 for choosing the levels εj\varepsilon_jεj​ across several constraints.

The paper's proof is short and leans on "by inspection" and "by Lagrangian strong duality". A formal development makes each of these steps explicit, including the case where the multiplier is not attained, and corrects two printed slips (the optimal values viσˉ2/(2λ)v_i\bar\sigma^2/(2\lambda)vi​σˉ2/(2λ), which should be vi2σˉ2/(2λ)v_i^2\bar\sigma^2/(2\lambda)vi2​σˉ2/(2λ), and the bound mb≤y1≤mbm_b\le y_1\le m_bmb​≤y1​≤mb​). The Chen–Sim–Sun bound itself, a Chernoff-type tail bound under one-sided moment-generating conditions, is cited by the paper without proof. None of these results has a machine-checked proof that this mission is aware of.

Difficulty

The support function of (23) is a maximisation over a set defined by a box, two nonnegative orthants and one coupled quadratic constraint. A coordinate-wise argument does not apply directly because the quadratic budget is shared. The worst case over PFB\mathcal P^{FB}PFB is not a single distribution: the extreme mean and the extreme deviations are chosen coordinate by coordinate according to the sign of viv_ivi​. The Value at Risk bound needs independence of the components; without it (22) fails. When v=0v=0v=0 or the sign pattern makes the quadratic term vanish, the dual multiplier escapes to zero and the dual minimum is only an infimum.

Formalization scope

Vectors are Fin d → ℝ, with 0-based coordinates; u~⊤v\tilde u^\top vu~⊤v is u ⬝ᵥ v. The Value at Risk is the published MultistageStochastic.valueAtRisk at level 1−ε1-\varepsilon1−ε, and the support function is the published RobustMDP.Shared.supportFunction, a real supremum; the goal includes nonemptiness and compactness of UεFB\mathcal U^{FB}_\varepsilonUεFB​, so the supremum is a true maximum and cannot hold through the value 000 of an empty or unbounded set.

The statement is formalized in the criterion form: VaRεP(v)≤δ∗(v∣UεFB)\mathrm{VaR}^{\mathbb P}_\varepsilon(v)\le\delta^*(v\mid\mathcal U^{FB}_\varepsilon)VaRεP​(v)≤δ∗(v∣UεFB​) for all vvv and every P\mathbb PP in the region. By Theorem 1 (mission I of this series), for a nonempty convex compact set this criterion is equivalent to the probabilistic guarantee. The page's "with probability 1−α1-\alpha1−α with respect to the sample" is the coverage of the bootstrap confidence region, which the paper itself treats as approximate; it is not formalized.

Conventions and added hypotheses:

  • σˉfi,σˉbi>0\bar\sigma_{fi},\bar\sigma_{bi}>0σˉfi​,σˉbi​>0, so that the denominators of (23) are genuine; with σˉ=0\bar\sigma=0σˉ=0 Lean's x/0=0x/0=0x/0=0 would leave y2y_2y2​ unconstrained instead of forcing y2=0y_2=0y2​=0.
  • mb≤mfm_b\le m_fmb​≤mf​, which holds because ti≥0t_i\ge0ti​≥0.
  • The region is built from a product measure (independence) of probability measures with bounded support. These are the hypotheses of Theorem 6 on P∗\mathbb P^*P∗ and the section's standing assumption; the page's set-builder for PFB\mathcal P^{FB}PFB omits independence. Without bounded support, the Bochner integral of a non-integrable exponential is 000 in Lean and the deviation conditions would lose their meaning.
  • "σf(Pi)≤σˉ\sigma_f(\mathbb P_i)\le\bar\sigmaσf​(Pi​)≤σˉ" is the predicate "the expression under the root is at most σˉ2\bar\sigma^2σˉ2 for every x>0x>0x>0", which is equivalent and avoids an unbounded supremum.
  • Dual minimisations over λ≥0\lambda\ge0λ≥0 are infima over λ>0\lambda>0λ>0, stated with IsGLB.

A trivializing formalization is ruled out: a region without independence would make the goal false, a region without the probability and bounded-support conditions would let junk integrals satisfy the deviation predicates, and a support function of an empty set would make (24) a statement about 000.

The development needs a Chernoff argument for products of measures, finite-dimensional Lagrangian duality for one convex quadratic constraint (or a direct Cauchy–Schwarz argument), and compactness of the set (23). The definitions file is self-contained and reusable for other forward/backward-deviation sets. Proofs of any milestone, and of the Chen–Sim–Sun bound as a standalone tail inequality, are welcome.

Selected references

  • D. Bertsimas, V. Gupta, N. Kallus, Data-Driven Robust Optimization, arXiv:1401.0212v2, 2014; Math. Program. 167:235–292, 2018. https://arxiv.org/abs/1401.0212
  • X. Chen, M. Sim, P. Sun, A Robust Optimization Perspective on Stochastic Programming, Operations Research 55(6):1058–1071, 2007. https://doi.org/10.1287/opre.1070.0441
12 thms3 active usersReviewed
🏆Completed
Operations ResearchProbabilityStatistics·Captain: mikedeng1

Data-Driven Robust Optimization III: For Independent Marginals, the Kolmogorov–Smirnov Set U^I Has Support Function (19) and Bounds the Worst-Case Value at RiskResearch Paper

Motivation

A robust linear constraint f(u,x)≤0f(\mathbf u,\mathbf x)\le 0f(u,x)≤0 for all u∈U\mathbf u\in\mathcal Uu∈U replaces an uncertain parameter u~\tilde{\mathbf u}u~ by a deterministic uncertainty set U⊆Rd\mathcal U\subseteq\mathbb R^dU⊆Rd. Bertsimas, Gupta and Kallus (arXiv:1401.0212v2; Math. Program. 167, 2018) build such sets directly from data. Their requirement is a probabilistic guarantee: every robust-feasible decision should satisfy the constraint with probability at least 1−ϵ1-\epsilon1−ϵ under the true distribution P∗\mathbb P^*P∗, and this should hold with probability at least 1−α1-\alpha1−α over the sample. The construction runs a statistical hypothesis test, takes its confidence region of distributions, and turns the worst-case Value at Risk over that region into a set.

This mission covers the case where P∗\mathbb P^*P∗ may be continuous but its ddd coordinates are known to be independent and supported in a known box (§5.1 of the paper). The test is the classical Kolmogorov–Smirnov (KS) goodness-of-fit test, applied separately to each marginal. The result is a convex set UϵI\mathcal U^I_\epsilonUϵI​ whose support function has a one-dimensional closed form, (19). The set is representable with exponential cones, and a line search over a single multiplier separates over it (Remarks 6–7).

Setting

Let d≥0d\ge 0d≥0 and N≥1N\ge 1N≥1 (the sample size). For each coordinate iii we are given points u^i(0)<u^i(1)<⋯<u^i(N)<u^i(N+1)\hat u^{(0)}_i<\hat u^{(1)}_i<\cdots<\hat u^{(N)}_i<\hat u^{(N+1)}_iu^i(0)​<u^i(1)​<⋯<u^i(N)​<u^i(N+1)​. The interval [u^i(0),u^i(N+1)][\hat u^{(0)}_i,\hat u^{(N+1)}_i][u^i(0)​,u^i(N+1)​] is the known box containing the support, and u^i(1),…,u^i(N)\hat u^{(1)}_i,\dots,\hat u^{(N)}_iu^i(1)​,…,u^i(N)​ are the order statistics of the iii-th coordinates of the data. Let Γ=ΓKS∈(0,1)\Gamma=\Gamma^{KS}\in(0,1)Γ=ΓKS∈(0,1) be the KS threshold and 0<ϵ<10<\epsilon<10<ϵ<1.

  • The Value at Risk of P\mathbb PP in direction v\mathbf vv is VaRϵP(v)=inf⁡{t:P(u~Tv≤t)≥1−ϵ}\mathrm{VaR}^{\mathbb P}_\epsilon(\mathbf v)=\inf\{t:\mathbb P(\tilde{\mathbf u}^{\mathsf T}\mathbf v\le t)\ge 1-\epsilon\}VaRϵP​(v)=inf{t:P(u~Tv≤t)≥1−ϵ}.
  • The support function of a set is δ∗(v∣U)=sup⁡u∈UvTu\delta^*(\mathbf v\mid\mathcal U)=\sup_{\mathbf u\in\mathcal U}\mathbf v^{\mathsf T}\mathbf uδ∗(v∣U)=supu∈U​vTu.
  • The KS region PiKS\mathcal P^{KS}_iPiKS​ is the set of Borel probability measures Pi\mathbb P_iPi​ on [u^i(0),u^i(N+1)][\hat u^{(0)}_i,\hat u^{(N+1)}_i][u^i(0)​,u^i(N+1)​] with Pi(u~i≤u^i(j))≥j/N−Γ\mathbb P_i(\tilde u_i\le\hat u^{(j)}_i)\ge j/N-\GammaPi​(u~i​≤u^i(j)​)≥j/N−Γ and Pi(u~i<u^i(j))≤(j−1)/N+Γ\mathbb P_i(\tilde u_i<\hat u^{(j)}_i)\le (j-1)/N+\GammaPi​(u~i​<u^i(j)​)≤(j−1)/N+Γ for j=1,…,Nj=1,\dots,Nj=1,…,N.
  • The independent region PI\mathcal P^IPI is the set of product measures ∏iPi\prod_i\mathbb P_i∏i​Pi​ with Pi∈PiKS\mathbb P_i\in\mathcal P^{KS}_iPi​∈PiKS​.
  • The vectors qL(Γ),qR(Γ)∈ΔN+2q^L(\Gamma),q^R(\Gamma)\in\Delta_{N+2}qL(Γ),qR(Γ)∈ΔN+2​ of (17) are the two boundary distributions of the KS band. With k=⌊N(1−Γ)⌋k=\lfloor N(1-\Gamma)\rfloork=⌊N(1−Γ)⌋, qLq^LqL puts mass Γ\GammaΓ at j=0j=0j=0, mass 1/N1/N1/N at j=1,…,kj=1,\dots,kj=1,…,k, and mass 1−Γ−k/N1-\Gamma-k/N1−Γ−k/N at j=k+1j=k+1j=k+1. Its mirror image is qjR=qN+1−jLq^R_j=q^L_{N+1-j}qjR​=qN+1−jL​.
  • The relative entropy is D(q,p)=∑jqjlog⁡(qj/pj)D(\mathbf q,\mathbf p)=\sum_jq_j\log(q_j/p_j)D(q,p)=∑j​qj​log(qj​/pj​).
  • The uncertainty set (18) is
UϵI={u:∃ θi∈[0,1], qi∈ΔN+2, ∑j=0N+1u^i(j)qji=ui, ∑i=1dD(qi,θiqL+(1−θi)qR)≤log⁡(1/ϵ)}.\mathcal U^I_\epsilon=\Big\{\mathbf u:\exists\,\theta_i\in[0,1],\ \mathbf q^i\in\Delta_{N+2},\ \sum_{j=0}^{N+1}\hat u^{(j)}_iq^i_j=u_i,\ \sum_{i=1}^dD\big(\mathbf q^i,\theta_i\mathbf q^L+(1-\theta_i)\mathbf q^R\big)\le\log(1/\epsilon)\Big\}.UϵI​={u:∃θi​∈[0,1], qi∈ΔN+2​, j=0∑N+1​u^i(j)​qji​=ui​, i=1∑d​D(qi,θi​qL+(1−θi​)qR)≤log(1/ϵ)}.

Formalization targets

Goal: Theorem 5 (deterministic content)

For every v∈Rd\mathbf v\in\mathbb R^dv∈Rd:

UϵI is nonempty, convex and compact,VaRϵP(v)≤δ∗(v∣UϵI)  ∀ P∈PI,\mathcal U^I_\epsilon\ \text{is nonempty, convex and compact},\qquad \mathrm{VaR}^{\mathbb P}_\epsilon(\mathbf v)\le\delta^*(\mathbf v\mid\mathcal U^I_\epsilon)\ \ \forall\,\mathbb P\in\mathcal P^I,UϵI​ is nonempty, convex and compact,VaRϵP​(v)≤δ∗(v∣UϵI​)  ∀P∈PI, δ∗(v∣UϵI)=inf⁡λ>0{λlog⁡(1/ϵ)+λ∑i=1dlog⁡[max⁡(∑jqjLeviu^i(j)/λ,∑jqjReviu^i(j)/λ)]}.(19)\delta^*(\mathbf v\mid\mathcal U^I_\epsilon)=\inf_{\lambda>0}\Big\{\lambda\log(1/\epsilon)+\lambda\sum_{i=1}^d\log\Big[\max\Big(\sum_{j}q^L_je^{v_i\hat u^{(j)}_i/\lambda},\sum_jq^R_je^{v_i\hat u^{(j)}_i/\lambda}\Big)\Big]\Big\}.\tag{19}δ∗(v∣UϵI​)=λ>0inf​{λlog(1/ϵ)+λi=1∑d​log[max(j∑​qjL​evi​u^i(j)​/λ,j∑​qjR​evi​u^i(j)​/λ)]}.(19)

Milestones, in attack order

  1. The Nemirovski–Shapiro bound VaRϵP(v)≤λlog⁡(1/ϵ)+λ∑ilog⁡EPi[eviu~i/λ]\mathrm{VaR}^{\mathbb P}_\epsilon(\mathbf v)\le\lambda\log(1/\epsilon)+\lambda\sum_i\log\mathbb E^{\mathbb P_i}[e^{v_i\tilde u_i/\lambda}]VaRϵP​(v)≤λlog(1/ϵ)+λ∑i​logEPi​[evi​u~i​/λ] for independent, compactly supported marginals.
  2. The boundary laws qLq^LqL, qRq^RqR belong to PiKS\mathcal P^{KS}_iPiKS​.
  3. Theorem EC.2: for monotone ggg, sup⁡PiKSE[g(u~i)]=max⁡(∑jqjLg(u^i(j)),∑jqjRg(u^i(j)))\sup_{\mathcal P^{KS}_i}\mathbb E[g(\tilde u_i)]=\max(\sum_jq^L_jg(\hat u^{(j)}_i),\sum_jq^R_jg(\hat u^{(j)}_i))supPiKS​​E[g(u~i​)]=max(∑j​qjL​g(u^i(j)​),∑j​qjR​g(u^i(j)​)).
  4. (16) combined with EC.2: the Value at Risk over PI\mathcal P^IPI is at most the expression in (19), for every λ>0\lambda>0λ>0.
  5. The Lagrangian dual of max⁡{vTu:u∈UϵI}\max\{\mathbf v^{\mathsf T}\mathbf u:\mathbf u\in\mathcal U^I_\epsilon\}max{vTu:u∈UϵI​}.
  6. (EC.6): max⁡q∈Δ{cTq−D(q,p)}=log⁡∑jpjecj\max_{\mathbf q\in\Delta}\{\mathbf c^{\mathsf T}\mathbf q-D(\mathbf q,\mathbf p)\}=\log\sum_jp_je^{c_j}maxq∈Δ​{cTq−D(q,p)}=log∑j​pj​ecj​.
  7. (EC.7): the linear optimization over θi∈[0,1]\theta_i\in[0,1]θi​∈[0,1] is solved at an endpoint.

Significance

Theorem 5 gives a data-driven uncertainty set for continuous distributions with independent components. Its guarantee is finite-sample, not asymptotic, and its support function costs one line search over λ\lambdaλ to evaluate. Theorem 1 of the paper shows that VaR≤δ∗\mathrm{VaR}\le\delta^*VaR≤δ∗ for all v\mathbf vv is equivalent to the probabilistic guarantee for nonempty convex compact sets. So the goal certifies that every robust-feasible solution of a constraint concave in u\mathbf uu satisfies the chance constraint for every distribution the KS tests cannot reject. Theorem EC.2 is a reusable fact about KS bands: monotone expectations are extremized at the band's two boundary distributions.

The result is proved in the paper, but none of it has been formalized. A formal development would supply:

  • worst-case expectations over a KS confidence band;
  • the finite Gibbs variational identity with possibly vanishing reference masses;
  • a Chernoff-type Value-at-Risk bound for product measures;
  • a strong-duality statement for an entropy-constrained convex program.

Difficulty

The obvious route to the VaR bound is a union bound over coordinates. It loses a factor of ddd in ϵ\epsilonϵ, which is why the paper uses exponential moments and independence instead. The KS region is infinite dimensional, so the inner supremum of (16) is not a finite linear program. Reducing it to the boundary distributions needs the monotonicity of u↦eviu/λu\mapsto e^{v_iu/\lambda}u↦evi​u/λ, and a measure-level comparison of distribution functions against the band. The support-function identity needs strong duality for a jointly convex divergence constraint. The duality holds because θi↦θiqL+(1−θi)qR\theta_i\mapsto\theta_i\mathbf q^L+(1-\theta_i)\mathbf q^Rθi​↦θi​qL+(1−θi​)qR is affine and DDD is jointly convex. The reference vector can have zero entries (when N(1−Γ)N(1-\Gamma)N(1−Γ) is an integer, or in the middle of the band), so the Gibbs step must handle vanishing masses.

Formalization scope

  • Data and conventions. Coordinates are Fin d. The points are uhat : Fin d → Fin (N + 2) → ℝ with the page's indices j=0,…,N+1j=0,\dots,N+1j=0,…,N+1, and the KS constraints run over j : Fin N, which is the page's j−1j-1j−1. The order statistics are data. They are ordered, u^i(0)≤u^i(1)≤⋯≤u^i(N+1)\hat u^{(0)}_i\le\hat u^{(1)}_i\le\dots\le\hat u^{(N+1)}_iu^i(0)​≤u^i(1)​≤⋯≤u^i(N+1)​ (Monotone (uhat i)), as order statistics of a sample in the box are; ties are allowed.
  • Standing assumptions. N≥1N\ge1N≥1, 0<Γ<10<\Gamma<10<Γ<1 and 0<ϵ<10<\epsilon<10<ϵ<1.
  • Regions. Measures in PiKS\mathcal P^{KS}_iPiKS​ are probability measures on R\mathbb RR carried by the box, and PI\mathcal P^IPI consists of the Measure.pi products of such measures, so independence is built in.
  • Relative entropy. DDD carries an explicit finiteness predicate (qj>0⇒pj>0q_j>0\Rightarrow p_j>0qj​>0⇒pj​>0), so Lean's log 0 = 0 cannot make an infinite divergence finite.
  • Published definitions. Value at Risk is the published MultistageStochastic.valueAtRisk at level 1−ϵ1-\epsilon1−ϵ, and δ∗\delta^*δ∗ is the published RobustMDP.Shared.supportFunction, a real sSup. The goal proves UϵI\mathcal U^I_\epsilonUϵI​ nonempty and compact, so δ∗\delta^*δ∗ is never the junk value 000 of an empty or unbounded set.
  • Infima and the multiplier. Infima over λ\lambdaλ are over λ>0\lambda>0λ>0 and stated with IsGLB. The page's λ≥0\lambda\ge0λ≥0 gives the same value.
  • Criterion form of the guarantee. The guarantee is stated as VaRϵP(v)≤δ∗(v∣UϵI)\mathrm{VaR}^{\mathbb P}_\epsilon(\mathbf v)\le\delta^*(\mathbf v\mid\mathcal U^I_\epsilon)VaRϵP​(v)≤δ∗(v∣UϵI​) for all P∈PI\mathbb P\in\mathcal P^IP∈PI. By Theorem 1 (mission I of this series), this criterion is equivalent to the probabilistic guarantee for nonempty convex compact sets.
  • Coverage of the test. The statement "with probability at least 1−α1-\alpha1−α over the sample" is the coverage of PI\mathcal P^IPI. It rests on the distribution-free law of the KS statistic (tables) and on combining ddd tests at level 1−1−αd1-\sqrt[d]{1-\alpha}1−d1−α​. This part is cited, not formalized.
  • Ruled out. The VaR inequality is never checked against a δ∗\delta^*δ∗ that sSup collapses to 000, and the divergence budget is never relaxed by unguarded logarithms.

Contributions are welcome on any milestone. Milestones 1, 3 and 6 are independent of each other and of the rest; the goal follows from milestones 1–7 together with the convex-analytic facts about UϵI\mathcal U^I_\epsilonUϵI​.

Selected references

  • D. Bertsimas, V. Gupta, N. Kallus, Data-Driven Robust Optimization, arXiv:1401.0212v2, 2014; Math. Program. 167:235–292, 2018. https://arxiv.org/abs/1401.0212
  • A. Nemirovski, A. Shapiro, Convex approximations of chance constrained programs, SIAM J. Optim. 17(4):969–996, 2006. https://doi.org/10.1137/050622328
  • M. A. Stephens, EDF statistics for goodness of fit and some comparisons, J. Amer. Statist. Assoc. 69(347):730–737, 1974. https://doi.org/10.1080/01621459.1974.10480196
  • S. Boyd, L. Vandenberghe, Convex Optimization, Cambridge University Press, 2004. https://web.stanford.edu/~boyd/cvxbook/
11 thms3 active usersReviewed
🏆Completed
Operations ResearchStatistics·Captain: mikedeng1

Conditional Logit Analysis of Qualitative Choice Behavior 3: The Conditional Logit Likelihood Has a Maximum Exactly When No Direction Makes Every Observed Choice Weakly BestResearch Paper

Motivation

The conditional logit model is the workhorse of discrete choice analysis in transportation, marketing, labour and industrial organization. McFadden's 1974 chapter derived it from a theory of population choice behaviour and showed how to estimate it by maximum likelihood; this line of work was recognized by his 2000 Nobel Prize in Economic Sciences, awarded for theory and methods of discrete choice analysis. Every applied logit estimation rests on a basic question: does the maximum likelihood estimate exist for the sample at hand? In small samples it may not. When one alternative is always chosen whenever it is available, the likelihood keeps increasing as a parameter tends to infinity, and numerical optimizers report diverging coefficients. This failure is known in the binary case as complete or quasi-complete separation. McFadden's Lemma 3 gives the exact condition, for the multinomial conditional logit model with general alternative sets, under which a maximizer exists.

Timeline. Berkson (1951, 1955) popularized binomial logit; multinomial versions were developed by Gurland (1960), Bloch (1967), Rassam (1971), McFadden (1968) and Theil (1969, 1970). McFadden (1974) stated the existence criterion for the conditional logit likelihood (Lemma 3) together with a quadratic-programming test for it (Lemma 4). Albert and Anderson (1984) later classified separation patterns for binary and multinomial logistic regression, and Haberman (1974) treated existence for log-linear models.

Setting

A choice experiment has N≥1N \ge 1N≥1 trials. Trial nnn offers an alternative set of JnJ_nJn​ alternatives, indexed i=1,…,Jni = 1,\dots,J_ni=1,…,Jn​, each described by an attribute vector zin∈RKz_{in} \in \mathbb{R}^Kzin​∈RK (the values of KKK specified functions of the individual's and the alternative's characteristics). Trial nnn is repeated Rn≥1R_n \ge 1Rn​≥1 times, and alternative iii is chosen SinS_{in}Sin​ times, so Rn=∑jSjnR_n = \sum_{j} S_{jn}Rn​=∑j​Sjn​.

For a parameter θ∈RK\theta \in \mathbb{R}^Kθ∈RK, with zinθz_{in}\thetazin​θ the inner product, the selection probabilities are

Pin(θ)=ezinθ∑j=1Jnezjnθ(16)P_{in}(\theta) = \frac{e^{z_{in}\theta}}{\sum_{j=1}^{J_n} e^{z_{jn}\theta}} \qquad (16)Pin​(θ)=∑j=1Jn​​ezjn​θezin​θ​(16)

and the log-likelihood of the sample is

L(θ)=C−∑n=1N∑i=1JnSinlog⁡∑j=1Jne(zjn−zin)θ,C=∑n=1N[log⁡Rn!−∑j=1Jnlog⁡Sjn!].(18)L(\theta) = C - \sum_{n=1}^N \sum_{i=1}^{J_n} S_{in} \log \sum_{j=1}^{J_n} e^{(z_{jn} - z_{in})\theta}, \qquad C = \sum_{n=1}^N \Big[\log R_n! - \sum_{j=1}^{J_n}\log S_{jn}!\Big]. \qquad (18)L(θ)=C−n=1∑N​i=1∑Jn​​Sin​logj=1∑Jn​​e(zjn​−zin​)θ,C=n=1∑N​[logRn​!−j=1∑Jn​​logSjn​!].(18)

Write zˉn(θ)=∑izinPin(θ)\bar z_n(\theta) = \sum_i z_{in}P_{in}(\theta)zˉn​(θ)=∑i​zin​Pin​(θ) for the probability-weighted mean attribute vector of trial nnn.

Axiom 5 (Full Rank). The (∑nJn)×K\big(\sum_n J_n\big)\times K(∑n​Jn​)×K matrix with rows zin−zˉnz_{in} - \bar z_nzin​−zˉn​ has rank KKK.

Axiom 6. There is no nonzero γ∈RK\gamma \in \mathbb{R}^Kγ∈RK with Sin(zjn−zin)γ≤0S_{in}(z_{jn} - z_{in})\gamma \le 0Sin​(zjn​−zin​)γ≤0 for all i,j=1,…,Jni, j = 1,\dots,J_ni,j=1,…,Jn​ and n=1,…,Nn = 1,\dots,Nn=1,…,N. Equivalently, no nonzero direction makes every observed choice weakly best in its alternative set.

Formalization targets

Goal: Lemma 3

Under Axiom 5,

(∃ θ^∈RK, ∀θ, L(θ)≤L(θ^))  ⟺  Axiom 6.\big(\exists\, \hat\theta \in \mathbb{R}^K,\ \forall \theta,\ L(\theta) \le L(\hat\theta)\big) \iff \text{Axiom 6}.(∃θ^∈RK, ∀θ, L(θ)≤L(θ^))⟺Axiom 6.

Milestones

  1. Equation (19): the gradient ∂L/∂θ=∑n∑j(Sjn−RnPjn)zjn\partial L/\partial\theta = \sum_n \sum_j (S_{jn} - R_nP_{jn}) z_{jn}∂L/∂θ=∑n​∑j​(Sjn​−Rn​Pjn​)zjn​.
  2. Equation (20): the Hessian ∂2L/∂θ ∂θ′=−∑nRn∑j(zjn−zˉn)′Pjn(zjn−zˉn)\partial^2L/\partial\theta\,\partial\theta' = -\sum_n R_n \sum_j (z_{jn} - \bar z_n)'P_{jn}(z_{jn} - \bar z_n)∂2L/∂θ∂θ′=−∑n​Rn​∑j​(zjn​−zˉn​)′Pjn​(zjn​−zˉn​).
  3. LLL is concave, and every critical point is a global maximizer.
  4. A Hessian that is nonsingular everywhere makes LLL strictly concave with at most one maximizer.
  5. Axiom 5 holds at θ\thetaθ if and only if the Hessian at θ\thetaθ is negative definite.
  6. Necessity: under Axiom 5, a maximizer forces Axiom 6.
  7. Equation (21): under Axiom 6, b(γ)=max⁡nmax⁡i,jSin(zjn−zin)γb(\gamma) = \max_n \max_{i,j} S_{in}(z_{jn}-z_{in})\gammab(γ)=maxn​maxi,j​Sin​(zjn​−zin​)γ has a positive lower bound b∗b^*b∗ on the unit sphere.
  8. The bound L(θ)−C≤−b∗∣θ∣L(\theta) - C \le -b^*|\theta|L(θ)−C≤−b∗∣θ∣ for all θ\thetaθ.
  9. Sufficiency: Axiom 6 gives a maximizer.

Significance

Lemma 3 tells the practitioner when the conditional logit maximum likelihood estimate exists, before any numerical optimization is attempted. It is a linear-inequality condition on the data alone, so it can be checked by linear or quadratic programming (Lemma 4 of the same paper). The existence of the estimator is also the first step of McFadden's asymptotic theory: Lemma 5 shows that Axiom 6 holds with probability tending to one, and Lemma 6, consistency and asymptotic normality, concerns the estimator whose existence Lemma 3 characterizes. The concavity and Hessian formulas (19)–(20) are the basis of the Newton–Raphson computation of the estimator and of its asymptotic covariance matrix.

The result has been proved since 1974 and is classical. To our knowledge it has no machine-checked proof; Mathlib has no statement about the existence of logit or softmax-regression maximum likelihood estimates. Formalizing it produces a verified existence criterion for the multinomial logit likelihood, verified gradient and Hessian formulas for log-sum-exp likelihoods with repeated observations, and a verified link between full column rank and strict concavity.

Difficulty

The likelihood is concave, and concave functions on RK\mathbb{R}^KRK need not attain their supremum. Concavity alone therefore gives nothing, and existence must come from a growth condition. The obvious approach, "the likelihood is bounded above by CCC, hence attains its maximum", fails: LLL is bounded but can approach its supremum only at infinity, which is exactly the separation case. Sufficiency needs a quantitative rate at which LLL decreases, uniform over all directions; a direction-by-direction argument does not suffice. Necessity requires strict concavity, which is where Axiom 5 and the requirement that every trial be observed enter. A trial with Rn=0R_n = 0Rn​=0 can supply the rank of Axiom 5 while contributing nothing to LLL, so with such a trial necessity fails. The calculus part, (19)–(20), involves differentiating sums of log-sum-exp terms over dependent index types and identifying the result with a weighted covariance operator.

Formalization scope

  • Representation. RK\mathbb{R}^KRK is EuclideanSpace ℝ (Fin K), so ∣θ∣=(θ′θ)1/2|\theta| = (\theta'\theta)^{1/2}∣θ∣=(θ′θ)1/2 is the Euclidean norm and zθz\thetazθ is the inner product ⟪z, θ⟫. Trials are Fin N, alternatives of trial nnn are Fin (J n), and the counts SinS_{in}Sin​ are natural numbers.
  • Data structure. The structure Data K bundles NNN, JJJ, zzz, SSS and the standing assumptions N≥1N \ge 1N≥1 and Rn=∑iSin≥1R_n = \sum_i S_{in} \ge 1Rn​=∑i​Sin​≥1 for every trial; these make the trial and alternative index sets nonempty.
  • Axioms 1–4 are built in. The model is the logit form (16) with vvv linear in θ\thetaθ (Axiom 4), so "Suppose Axioms 1–5 hold" becomes "Data plus Axiom 5".
  • Axiom 5 is read at every θ\thetaθ. The row space of the matrix does not depend on θ\thetaθ.
  • Hessian. The Hessian is the Fréchet derivative of the gradient vector field (19), as a continuous linear map.
  • The maximizer is global over all of RK\mathbb{R}^KRK. Neither a local maximizer nor "L(θ^)≥L(0)L(\hat\theta) \ge L(0)L(θ^)≥L(0)" is acceptable as the goal; that would make it trivial.
  • Infrastructure. Gradients and Hessians of log-sum-exp with dependent finite index types; positive definiteness from full column rank; attainment of the maximum of a coercive continuous function on a finite-dimensional space. The calculus lemmas are reusable for any multinomial logit or softmax likelihood. Missions 4 and 5 of this series reuse the same model. Contributions of general log-sum-exp lemmas, independent of this mission's definitions, are welcome.

Selected references

  • D. McFadden, Conditional logit analysis of qualitative choice behavior, in P. Zarembka (ed.), Frontiers in Econometrics, Academic Press, New York, 1974, pp. 105–142. https://eml.berkeley.edu/reprints/mcfadden/zarembka.pdf
  • A. Albert and J. A. Anderson, On the existence of maximum likelihood estimates in logistic regression models, Biometrika 71(1), 1984, pp. 1–10. https://doi.org/10.1093/biomet/71.1.1
  • S. J. Haberman, The Analysis of Frequency Data, University of Chicago Press, 1974.
  • J. Berkson, Maximum likelihood and minimum χ² estimates of the logistic function, Journal of the American Statistical Association 50, 1955, pp. 130–162. https://doi.org/10.1080/01621459.1955.10501255
12 thms3 active usersReviewed
🏆Completed
Numerical AnalysisOptimization·Captain: mikedeng1

The Relaxation Method of Finding the Common Point of Convex Sets and Its Application to the Solution of Problems in Convex Programming 2: Under Remotest-Set Control Every Limit Point Is CommonResearch Paper

Motivation

Many problems in optimization, image reconstruction and statistics reduce to the convex feasibility problem: given closed convex sets AiA_iAi​, i∈Ii\in Ii∈I, find a point of their intersection R=⋂i∈IAiR=\bigcap_{i\in I}A_iR=⋂i∈I​Ai​. A classical approach is the relaxation method: from the current point, move to the nearest point of one of the sets, and repeat. For Euclidean distance and half-spaces this is the method of Agmon and of Motzkin and Schoenberg (1954); for hyperplanes it is Kaczmarz's method.

L. M. Bregman's 1967 paper replaced the Euclidean distance by an abstract function D(x,y)D(x,y)D(x,y) satisfying six conditions. The resulting D-projections include what are now called Bregman projections, and the paper is the origin of the Bregman divergence D(x,y)=f(x)−f(y)−⟨∇f(y),x−y⟩D(x,y)=f(x)-f(y)-\langle\nabla f(y),x-y\rangleD(x,y)=f(x)−f(y)−⟨∇f(y),x−y⟩, used today in mirror descent, entropy maximization and the theory of row-action methods (Censor and Zenios, 1997).

The paper proves convergence for two rules for choosing which set to project onto. This mission covers the second one, Theorem 2: always project onto the set that is farthest from the current point in the sense of DDD (the "remotest-set" or maximal-distance control).

Setting

Let XXX be a real linear topological space and (Ai)i∈I(A_i)_{i\in I}(Ai​)i∈I​ a family of closed convex subsets of XXX; the index set III is arbitrary and may be infinite. Let S⊆XS\subseteq XS⊆X be convex with S∩R≠∅S\cap R\ne\emptysetS∩R=∅, and let D:S×S→RD:S\times S\to\mathbb RD:S×S→R satisfy:

  • (I) D(x,y)≥0D(x,y)\ge0D(x,y)≥0, with equality if and only if x=yx=yx=y;
  • (II) for every iii and y∈Sy\in Sy∈S there is a point Piy∈Ai∩SP_iy\in A_i\cap SPi​y∈Ai​∩S minimizing D(⋅,y)D(\cdot,y)D(⋅,y) over Ai∩SA_i\cap SAi​∩S, the D-projection of yyy onto AiA_iAi​;
  • (III) z↦D(z,y)−D(z,Piy)z\mapsto D(z,y)-D(z,P_iy)z↦D(z,y)−D(z,Pi​y) is convex on Ai∩SA_i\cap SAi​∩S;
  • (IV) D(y+tz,y)/t→0D(y+tz,y)/t\to0D(y+tz,y)/t→0 as t→0t\to0t→0;
  • (V) for each z∈R∩Sz\in R\cap Sz∈R∩S and real LLL, the set {x∈S:D(z,x)≤L}\{x\in S: D(z,x)\le L\}{x∈S:D(z,x)≤L} is compact;
  • (VI) if D(xn,yn)→0D(x^n,y^n)\to0D(xn,yn)→0, yn→y∗∈S‾y^n\to y^*\in\overline Syn→y∗∈S, and {xn}\{x^n\}{xn} lies in a compact set, then xn→y∗x^n\to y^*xn→y∗.

A relaxation sequence starts at x0∈Sx^0\in Sx0∈S and sets xn+1=Pinxnx^{n+1}=P_{i_n}x^nxn+1=Pin​​xn; the sequence of indices (in)(i_n)(in​) is the control. The control is remotest-set if at every step ini_nin​ realizes

max⁡j∈I min⁡x∈AjD(x,xn)=max⁡j∈ID(Pjxn,xn).\max_{j\in I}\ \min_{x\in A_j}D(x,x^n)=\max_{j\in I}D(P_jx^n,x^n).j∈Imax​ x∈Aj​min​D(x,xn)=j∈Imax​D(Pj​xn,xn).

In the Lean development these objects are DConditions A S D P (conditions I–IV and VI), CondV S D ((⋂ j, A j) ∩ S) (condition V), IsRelaxSeq S P i x (in the series' shared namespace BregmanRelax.Cyclic) and IsRemotestControl D P i x (in BregmanRelax.Remotest).

Formalization targets

Goal: Theorem 2 (p. 203)

For every remotest-set control and every relaxation sequence it generates, every limiting point is a common point:

xnk→x∗ ⟹ x∗∈⋂i∈IAi.x^{n_k}\to x^*\ \Longrightarrow\ x^*\in\bigcap_{i\in I}A_i .xnk​→x∗ ⟹ x∗∈i∈I⋂​Ai​.

Milestones

  • Lemma 1 (pp. 201–202): for z∈Ai∩Sz\in A_i\cap Sz∈Ai​∩S and y∈Sy\in Sy∈S, D(Piy,y)≤D(z,y)−D(z,Piy)D(P_iy,y)\le D(z,y)-D(z,P_iy)D(Pi​y,y)≤D(z,y)−D(z,Pi​y).
  • Lemma 2 (p. 202), for any control: (1) the iterates lie in a compact set; (2) lim⁡nD(z,xn)\lim_n D(z,x^n)limn​D(z,xn) exists for each z∈R∩Sz\in R\cap Sz∈R∩S; (3) D(xn+1,xn)→0D(x^{n+1},x^n)\to0D(xn+1,xn)→0.

Significance

Theorem 2 is the first convergence result for greedy (most-violated-constraint) selection in projection methods with a non-Euclidean distance. Unlike the cyclic Theorem 1 of the same paper, it applies to infinite families of sets, which covers semi-infinite systems of convex inequalities. Lemma 1, the generalized Pythagorean inequality, is the basic estimate for Bregman projections and recurs throughout mirror-descent and row-action analyses; Lemma 2 records the Fejér-type monotonicity of the iterates with respect to DDD.

The results are classical and proved in the paper. To our knowledge they are not formalized in Lean or another proof assistant at this level of generality. The mission produces a machine-checked version of the abstract D-projection framework, with the conditions stated so that the Bregman divergence of §2 of the paper, and the Euclidean distance, are instances.

Difficulty

The obvious argument for Euclidean projections uses Fejér monotonicity and the fact that a bounded sequence in Rp\mathbb R^pRp has convergent subsequences. Here neither the triangle inequality nor symmetry of DDD is available, and XXX need not be normed or finite-dimensional. The remotest-set rule controls only the D-distance D(Pjxn,xn)D(P_jx^n,x^n)D(Pj​xn,xn) from the iterate to each projection, in that argument order; turning "these distances tend to zero along a subsequence" into "the limit lies in every AjA_jAj​" requires the interplay of conditions V and VI, and it must hold uniformly over a possibly infinite index set.

Formalization scope

Conventions committed to in Lean:

  • The D-projection is a fixed map P:I→X→XP:I\to X\to XP:I→X→X; condition II says PiyP_iyPi​y is a minimizer over Ai∩SA_i\cap SAi​∩S. The paper's misprint in II ("min⁡z∈Ai∩SD(z,x)\min_{z\in A_i\cap S}D(z,x)minz∈Ai​∩S​D(z,x)", "i∈Ti\in Ti∈T") is read as min⁡D(z,y)\min D(z,y)minD(z,y), i∈Ii\in Ii∈I.
  • Condition IV is assumed only as a vanishing right derivative at y∈Sy\in Sy∈S in directions w−yw-yw−y with w∈Sw\in Sw∈S. The paper's IV implies this, so the theorems are at least as strong as the paper's.
  • "Compact" in V, VI and Lemma 2 (1) is sequential compactness (the proofs extract convergent subsequences); "the set of elements of {xn}\{x^n\}{xn} is compact" means all xnx^nxn lie in one sequentially compact set.
  • "Limiting point" is the limit of a subsequence xφ(k)x^{\varphi(k)}xφ(k) with φ\varphiφ strictly increasing.
  • The paper assumes that max⁡imin⁡x∈AiD(x,y)\max_i\min_{x\in A_i}D(x,y)maxi​minx∈Ai​​D(x,y) exists for each y∈Sy\in Sy∈S, so that a remotest-set control exists. The goal is stated for every control with the maximizing property, which covers every choice of maximizer; the existence assumption is therefore not a hypothesis.
  • The index type is arbitrary: no finiteness is assumed. No Hausdorff assumption on XXX is made.
  • DDD is a total function X→X→RX\to X\to\mathbb RX→X→R, but every condition and every statement only evaluates it on S×SS\times SS×S.

A trivializing formalization is ruled out: the hypotheses are jointly satisfiable with a genuine run (in R\mathbb RR with D(x,y)=(x−y)2D(x,y)=(x-y)^2D(x,y)=(x−y)2, A0=[0,1]A_0=[0,1]A0​=[0,1], A1=[1,2]A_1=[1,2]A1​=[1,2], and x0=3x^0=3x0=3), checked locally without sorry, so neither the goal nor the lemmas holds vacuously.

A complete development needs subsequence extraction from sequentially compact sets, one-sided limits of difference quotients, and monotone convergence of real sequences — all available in Mathlib. The D-projection framework, Lemma 1 and Lemma 2 are shared with the cyclic-control mission of the same paper and are reusable for any Bregman-projection algorithm. Proofs of the lemmas, of Theorem 2, and of the instance showing the Euclidean distance satisfies conditions I–VI are welcome.

Selected references

  • L. M. Bregman, The relaxation method of finding the common point of convex sets and its application to the solution of problems in convex programming, USSR Computational Mathematics and Mathematical Physics 7(3), 200–217, 1967. https://doi.org/10.1016/0041-5553(67)90040-7
  • T. S. Motzkin and I. J. Schoenberg, The relaxation method for linear inequalities, Canadian Journal of Mathematics 6, 393–404, 1954. https://doi.org/10.4153/CJM-1954-038-x
  • S. Agmon, The relaxation method for linear inequalities, Canadian Journal of Mathematics 6, 382–392, 1954. https://doi.org/10.4153/CJM-1954-037-2
  • Y. Censor and S. A. Zenios, Parallel Optimization: Theory, Algorithms, and Applications, Oxford University Press, 1997, ISBN 978-0-19-510062-4.
7 thms3 active usersReviewed
🏆Completed
Machine LearningOptimizationProbability+1·Captain: mikedeng1

Variance-based Regularization with Convex Objectives IV: Fast Rates for Approximate Robust Minimizers under a Growth ConditionResearch Paper

Motivation

In stochastic optimization and statistical learning one chooses a parameter θ\thetaθ from a set Θ⊆Rd\Theta\subseteq\mathbb R^dΘ⊆Rd to make the risk R(θ)=EP[ℓ(θ;X)]R(\theta)=\mathbb E_P[\ell(\theta;X)]R(θ)=EP​[ℓ(θ;X)] small, having seen only a sample X1,…,XnX_1,\dots,X_nX1​,…,Xn​ from PPP. Generalization bounds suggest trading empirical risk against its standard deviation, but the variance-penalized objective is non-convex even for convex losses. Duchi and Namkoong (arXiv:1610.02581v3) replace it by the robustly regularized risk, the worst-case expected loss over a χ2\chi^2χ2-divergence ball around the empirical distribution. This objective is convex whenever ℓ\ellℓ is, and it agrees with the variance-penalized objective up to a small error.

When the risk has curvature near its minimizers, empirical risk minimization attains rates faster than 1/n1/\sqrt n1/n​ (Bartlett, Bousquet and Mendelson 2005; Shapiro, Dentcheva and Ruszczyński 2009). Section 4.1 of the paper asks whether minimizers of the robust risk, which carry an extra variance-dependent penalty of order ρ/n\sqrt{\rho/n}ρ/n​, keep these fast rates. Its Theorem 5 answers yes, and does so for approximate minimizers, which is what iterative solvers return.

Setting

A loss ℓ:Rd×X→R\ell:\mathbb R^d\times\mathcal X\to\mathbb Rℓ:Rd×X→R is fixed, with ℓ(⋅;x)\ell(\cdot;x)ℓ(⋅;x) convex and LLL-Lipschitz on a convex set Θ\ThetaΘ for every xxx, and ℓ(θ;⋅)\ell(\theta;\cdot)ℓ(θ;⋅) integrable. The risk is R(θ)=EP[ℓ(θ;X)]R(\theta)=\mathbb E_P[\ell(\theta;X)]R(θ)=EP​[ℓ(θ;X)].

For a radius ρ≥0\rho\ge0ρ≥0, the χ2\chi^2χ2 ball around the empirical distribution P^n\widehat P_nPn​ is the set of weight vectors

Pn={p∈R+n:12∥np−1∥22≤ρ, ⟨1,p⟩=1},\mathcal P_n=\Big\{p\in\mathbb R^n_+:\tfrac12\|np-\mathbf 1\|_2^2\le\rho,\ \langle\mathbf 1,p\rangle=1\Big\},Pn​={p∈R+n​:21​∥np−1∥22​≤ρ, ⟨1,p⟩=1},

and the robust risk is Rn(θ,Pn)=sup⁡p∈Pn∑ipi ℓ(θ;Xi)R_n(\theta,\mathcal P_n)=\sup_{p\in\mathcal P_n}\sum_i p_i\,\ell(\theta;X_i)Rn​(θ,Pn​)=supp∈Pn​​∑i​pi​ℓ(θ;Xi​).

For ϵ≥0\epsilon\ge0ϵ≥0 the ϵ\epsilonϵ-suboptimal sets of the risk and of the robust risk are

S⋆ϵ={θ∈Θ:R(θ)≤inf⁡ΘR+ϵ},S^⋆ϵ={θ∈Θ:Rn(θ,Pn)≤inf⁡ΘRn(⋅,Pn)+ϵ},S_\star^\epsilon=\{\theta\in\Theta:R(\theta)\le\inf_\Theta R+\epsilon\},\qquad\widehat S_\star^\epsilon=\{\theta\in\Theta:R_n(\theta,\mathcal P_n)\le\inf_\Theta R_n(\cdot,\mathcal P_n)+\epsilon\},S⋆ϵ​={θ∈Θ:R(θ)≤Θinf​R+ϵ},S⋆ϵ​={θ∈Θ:Rn​(θ,Pn​)≤Θinf​Rn​(⋅,Pn​)+ϵ},

with S⋆=S⋆0S_\star=S_\star^0S⋆​=S⋆0​ the solution set and πS⋆\pi_{S_\star}πS⋆​​ the Euclidean projection onto it. The risk satisfies a growth condition of order γ>1\gamma>1γ>1 if, for some λ>0\lambda>0λ>0 and r>0r>0r>0,

R(θ)−inf⁡ΘR ≥ λ dist(θ,S⋆)γwhenever dist(θ,S⋆)≤r.(26)R(\theta)-\inf_\Theta R\ \ge\ \lambda\,\mathrm{dist}(\theta,S_\star)^\gamma\quad\text{whenever }\mathrm{dist}(\theta,S_\star)\le r.\tag{26}R(θ)−Θinf​R ≥ λdist(θ,S⋆​)γwhenever dist(θ,S⋆​)≤r.(26)

The complexity of the problem enters through the localized class {x↦ℓ(θ;x)−ℓ(πS⋆(θ);x):θ∈A}\{x\mapsto\ell(\theta;x)-\ell(\pi_{S_\star}(\theta);x):\theta\in A\}{x↦ℓ(θ;x)−ℓ(πS⋆​​(θ);x):θ∈A} and its empirical Rademacher complexity Rn(A)=Eε[sup⁡θ∈A1n∑iεi(ℓ(θ;Xi)−ℓ(πS⋆(θ);Xi))]\mathfrak R_n(A)=\mathbb E_\varepsilon\big[\sup_{\theta\in A}\frac1n\sum_i\varepsilon_i(\ell(\theta;X_i)-\ell(\pi_{S_\star}(\theta);X_i))\big]Rn​(A)=Eε​[supθ∈A​n1​∑i​εi​(ℓ(θ;Xi​)−ℓ(πS⋆​​(θ);Xi​))], with independent uniform signs εi∈{±1}\varepsilon_i\in\{\pm1\}εi​∈{±1}.

Formalization targets

Goal: Theorem 5 (p. 19)

For t>0t>0t>0, ρ≥0\rho\ge0ρ≥0, and 0<ϵ≤12λrγ0<\epsilon\le\frac12\lambda r^\gamma0<ϵ≤21​λrγ satisfying

ϵ≥(28γLγλ)1γ−1(ρn)γ2(γ−1)andϵ2≥2 E[Rn(S⋆2ϵ)]+L(2ϵλ)1γ2tn,(27)\epsilon\ge\Big(2\frac{8^\gamma L^\gamma}{\lambda}\Big)^{\frac1{\gamma-1}}\Big(\frac\rho n\Big)^{\frac\gamma{2(\gamma-1)}}\quad\text{and}\quad\frac\epsilon2\ge2\,\mathbb E[\mathfrak R_n(S_\star^{2\epsilon})]+L\Big(\frac{2\epsilon}\lambda\Big)^{\frac1\gamma}\sqrt{\frac{2t}n},\tag{27}ϵ≥(2λ8γLγ​)γ−11​(nρ​)2(γ−1)γ​and2ϵ​≥2E[Rn​(S⋆2ϵ​)]+L(λ2ϵ​)γ1​n2t​​,(27) P(S^⋆ϵ⊂S⋆2ϵ) ≥ 1−e−t.\mathbb P\big(\widehat S_\star^\epsilon\subset S_\star^{2\epsilon}\big)\ \ge\ 1-e^{-t}.P(S⋆ϵ​⊂S⋆2ϵ​) ≥ 1−e−t.

Milestones, in attack order

  1. Localization (p. 44). Under (26), S⋆2ϵS_\star^{2\epsilon}S⋆2ϵ​ lies in {θ∈Θ:dist(θ,S⋆)≤(2ϵ/λ)1/γ}\{\theta\in\Theta:\mathrm{dist}(\theta,S_\star)\le(2\epsilon/\lambda)^{1/\gamma}\}{θ∈Θ:dist(θ,S⋆​)≤(2ϵ/λ)1/γ}.
  2. Theorem 1, upper half of (10) (p. 7). sup⁡p∈Pn⟨p,z⟩−zˉ≤2ρsn2/n\sup_{p\in\mathcal P_n}\langle p,z\rangle-\bar z\le\sqrt{2\rho s_n^2/n}supp∈Pn​​⟨p,z⟩−zˉ≤2ρsn2​/n​ for every z∈Rnz\in\mathbb R^nz∈Rn.
  3. Claim E.1 (p. 44). If S^⋆ϵ⊄S⋆2ϵ\widehat S_\star^\epsilon\not\subset S_\star^{2\epsilon}S⋆ϵ​⊂S⋆2ϵ​, the localized deviation Δn\Delta_nΔn​ plus a variance term reaches ϵ\epsilonϵ somewhere on S⋆2ϵS_\star^{2\epsilon}S⋆2ϵ​.
  4. Display (43) (p. 45). P(S^⋆ϵ⊄S⋆2ϵ)≤P(sup⁡S⋆2ϵΔn≥ϵ/2)\mathbb P(\widehat S_\star^\epsilon\not\subset S_\star^{2\epsilon})\le\mathbb P(\sup_{S_\star^{2\epsilon}}\Delta_n\ge\epsilon/2)P(S⋆ϵ​⊂S⋆2ϵ​)≤P(supS⋆2ϵ​​Δn​≥ϵ/2).
  5. Concentration (p. 45). P(sup⁡S⋆2ϵΔn≥2E[Rn(S⋆2ϵ)]+u)≤exp⁡(−nu22L2(λ2ϵ)2/γ)\mathbb P(\sup_{S_\star^{2\epsilon}}\Delta_n\ge2\mathbb E[\mathfrak R_n(S_\star^{2\epsilon})]+u)\le\exp(-\frac{nu^2}{2L^2}(\frac\lambda{2\epsilon})^{2/\gamma})P(supS⋆2ϵ​​Δn​≥2E[Rn​(S⋆2ϵ​)]+u)≤exp(−2L2nu2​(2ϵλ​)2/γ).

Significance

The theorem says that the variance penalty implicit in the robust objective does not cost the fast rates available under curvature. The ρ\rhoρ-dependent condition in (27) is of order (ρ/n)γ/(2(γ−1))(\rho/n)^{\gamma/(2(\gamma-1))}(ρ/n)γ/(2(γ−1)), which for quadratic growth (γ=2\gamma=2γ=2) is ρ/n\rho/nρ/n, the same order as the localized complexity term in typical parametric problems. Corollary 4.1 of the paper derives explicit rates of order dnlog⁡nd+tn+ρn\frac dn\log\frac nd+\frac tn+\frac\rho nnd​logdn​+nt​+nρ​ from it for a unique minimizer. The result applies to ϵ\epsilonϵ-approximate minimizers, so it covers the output of the stochastic-gradient methods used to solve the robust problem.

The result is proved in the paper (Appendix E). None of it is formalized: no statement about growth conditions, localized deviations of a robust objective, or fast rates for robust minimizers is on Prove2Me. A formal proof would check the printed constants, settle the boundary case ϵ=0\epsilon=0ϵ=0 (see below), and produce a localization lemma and a reduction from approximate robust minimizers to empirical processes that apply to other estimators.

Difficulty

The obvious argument fails at two points. First, a uniform deviation bound over all of Θ\ThetaΘ gives only the 1/n1/\sqrt n1/n​ rate: the speed-up comes from localizing to S⋆2ϵS_\star^{2\epsilon}S⋆2ϵ​, which requires transferring the growth condition, assumed only within distance rrr of S⋆S_\starS⋆​, to every 2ϵ2\epsilon2ϵ-suboptimal point by convexity. Second, the robust risk is not an empirical average, so standard comparisons between empirical and population minimizers do not apply. Claim E.1 handles this by moving along the segment from a bad approximate minimizer to its projection, which needs the projection to be preserved along that segment (a normal-cone property of πS⋆\pi_{S_\star}πS⋆​​) and the risk to be continuous there. The robust–empirical gap is then controlled by the variance expansion of Theorem 1. The concentration step needs a bounded-differences inequality for a supremum over an uncountable class, together with symmetrization; neither is in Mathlib in this form.

Formalization scope

Parameters live in EuclideanSpace ℝ (Fin d), so norms, distances and projections are Euclidean. The sample is the coordinate process of the product measure P⊗nP^{\otimes n}P⊗n on Fin n → X, n≥1n\ge1n≥1, and probabilities are measures of sample sets (the outer measure for a set that is not measurable). The χ2\chi^2χ2 ball is the weight-vector form (8). The suboptimal sets are written without infima (R(θ)≤R(θ′)+ϵR(\theta)\le R(\theta')+\epsilonR(θ)≤R(θ′)+ϵ for all θ′∈Θ\theta'\in\Thetaθ′∈Θ). Each supremum "sup⁡≥c\sup\ge csup≥c" is written as "for every δ>0\delta>0δ>0 some θ\thetaθ reaches c−δc-\deltac−δ", so no statement relies on the default value of a real supremum. The Rademacher complexity is the published UnderstandingML.rademacher, and its expectation over the sample is assumed integrable, so that it is the true expectation and not the default value 000 of a Bochner integral. Lipschitz continuity is required on Θ\ThetaΘ, as printed.

Corrections and presuppositions:

  • ϵ>0\epsilon>0ϵ>0. The paper prints 0≤ϵ0\le\epsilon0≤ϵ. At ϵ=0\epsilon=0ϵ=0, ρ=0\rho=0ρ=0, both conditions of (27) hold, yet for ℓ(θ;x)=12(θ−x)2\ell(\theta;x)=\frac12(\theta-x)^2ℓ(θ;x)=21​(θ−x)2 on Θ=[−1,1]\Theta=[-1,1]Θ=[−1,1] with XXX uniform on [−12,12][-\frac12,\frac12][−21​,21​] the robust minimizer is the sample mean, which is almost surely not in S⋆={0}S_\star=\{0\}S⋆​={0}. The proof divides by ϵ\epsilonϵ (p. 45). The goal is stated for ϵ>0\epsilon>0ϵ>0.
  • S⋆S_\starS⋆​ nonempty and closed are assumed. The projection πS⋆\pi_{S_\star}πS⋆​​ presupposes them, and Appendix E calls S⋆S_\starS⋆​ closed.
  • Only the upper half of Theorem 1's (10) is stated; it needs no boundedness of the values.

The constant (2⋅8γLγ/λ)1/(γ−1)\big(2\cdot8^\gamma L^\gamma/\lambda\big)^{1/(\gamma-1)}(2⋅8γLγ/λ)1/(γ−1) is the printed one; the proof uses a smaller one, which the printed condition implies. The hypotheses ϵ>0\epsilon>0ϵ>0, γ>1\gamma>1γ>1 and λ>0\lambda>0λ>0 make every power well defined. A formalization that assumed (26) vacuously, took ϵ=0\epsilon=0ϵ=0, or let the Rademacher term be a non-integrable Bochner integral would trivialize the goal; the statements rule these out.

Infrastructure: Euclidean projection onto closed convex sets and its normal-cone characterization (partly in Mathlib), convexity of integral functionals, McDiarmid's bounded-differences inequality, and symmetrization for suprema of empirical processes. The concentration tools and the localization lemma can be reused beyond this mission. Contributions toward McDiarmid's inequality and symmetrization are especially welcome.

Selected references

  • J. C. Duchi and H. Namkoong, Variance-based regularization with convex objectives, arXiv:1610.02581v3, 2017. https://arxiv.org/abs/1610.02581
  • P. L. Bartlett, O. Bousquet and S. Mendelson, Local Rademacher complexities, Annals of Statistics 33(4), 2005. https://doi.org/10.1214/009053605000000282
  • S. Boucheron, G. Lugosi and P. Massart, Concentration Inequalities: A Nonasymptotic Theory of Independence, Oxford University Press, 2013. https://doi.org/10.1093/acprof:oso/9780199535255.001.0001
  • A. Shapiro, D. Dentcheva and A. Ruszczyński, Lectures on Stochastic Programming: Modeling and Theory, SIAM, 2009. https://doi.org/10.1137/1.9780898718751
  • A. Maurer and M. Pontil, Empirical Bernstein bounds and sample variance penalization, COLT, 2009. https://arxiv.org/abs/0907.3740
12 thms3 active usersReviewed
🏆Completed
Numerical AnalysisOptimization·Captain: mikedeng1

The Relaxation Method of Finding the Common Point of Convex Sets and Its Application to the Solution of Problems in Convex Programming 1: Under Cyclic Control Every Limit Point Is a Common PointResearch Paper

Motivation

Many problems in optimization and numerical analysis reduce to finding a point in the intersection of finitely many closed convex sets: solving a system of linear equations or inequalities, reconstructing an image from projections, or finding a feasible point of a convex program. The classical methods for this convex feasibility problem project the current point onto one set at a time, in Euclidean distance: Kaczmarz (1937) for linear equations, Agmon and Motzkin–Schoenberg (1954) for linear inequalities, and the cyclic projection method for general convex sets studied by Gubin, Polyak and Raik (1967).

L. M. Bregman's 1967 paper replaces the Euclidean distance by a general function D(x,y)D(x,y)D(x,y) satisfying a short list of axioms, and shows that the projection method still works. The functions D(x,y)=f(x)−f(y)−⟨∇f(y),x−y⟩D(x,y)=f(x)-f(y)-\langle\nabla f(y),x-y\rangleD(x,y)=f(x)−f(y)−⟨∇f(y),x−y⟩ built from a strictly convex fff are the ones now called Bregman divergences, and the paper is the origin of Bregman projections, of the row-action methods of Censor and collaborators, and indirectly of mirror descent. Its §2 uses the abstract result to solve convex programs with linear constraints by relaxation.

This mission formalizes §1 of the paper for the cyclic control, in which the sets are visited in a fixed round-robin order. A companion mission treats the remotest-set control of Theorem 2, and two further missions treat the convex-programming results of §2.

Setting

Let XXX be a real linear topological space and A0,…,Am−1A_0,\dots,A_{m-1}A0​,…,Am−1​ closed convex subsets of XXX, with intersection R=⋂iAiR=\bigcap_i A_iR=⋂i​Ai​. Let S⊂XS\subset XS⊂X be a convex set with S∩R≠∅S\cap R\ne\emptysetS∩R=∅, and let D:S×S→RD:S\times S\to\mathbb RD:S×S→R. The paper requires:

  • I. D(x,y)≥0D(x,y)\ge 0D(x,y)≥0, with equality if and only if x=yx=yx=y.
  • II. For every y∈Sy\in Sy∈S and every iii there is a point Piy∈Ai∩SP_iy\in A_i\cap SPi​y∈Ai​∩S minimizing D(⋅,y)D(\cdot,y)D(⋅,y) over Ai∩SA_i\cap SAi​∩S; it is the DDD-projection of yyy onto AiA_iAi​.
  • III. For every iii and y∈Sy\in Sy∈S, the function z↦D(z,y)−D(z,Piy)z\mapsto D(z,y)-D(z,P_iy)z↦D(z,y)−D(z,Pi​y) is convex on Ai∩SA_i\cap SAi​∩S.
  • IV. D(⋅,y)D(\cdot,y)D(⋅,y) has derivative 000 at the point yyy.
  • V. For every z∈R∩Sz\in R\cap Sz∈R∩S and real LLL, the sublevel set {x∈S∣D(z,x)≤L}\{x\in S\mid D(z,x)\le L\}{x∈S∣D(z,x)≤L} is compact.
  • VI. If D(xn,yn)→0D(x^n,y^n)\to 0D(xn,yn)→0, yn→y∗∈Sˉy^n\to y^*\in\bar Syn→y∗∈Sˉ, and {xn}\{x^n\}{xn} lies in a compact set, then xn→y∗x^n\to y^*xn→y∗.

The relaxation sequence with control (in)(i_n)(in​) starts at any x0∈Sx^0\in Sx0∈S and sets xn+1=Pinxnx^{n+1}=P_{i_n}x^nxn+1=Pin​​xn. Under the cyclic control in=n mod mi_n=n\bmod min​=nmodm, the sets are projected onto in the order A0,A1,…,Am−1,A0,…A_0,A_1,\dots,A_{m-1},A_0,\dotsA0​,A1​,…,Am−1​,A0​,…. A limiting point of {xn}\{x^n\}{xn} is the limit of a convergent subsequence xnkx^{n_k}xnk​.

The Lean development uses the namespace BregmanRelax.Cyclic: DConditions A S D P bundles conditions I–IV and VI together with the closedness and convexity of the sets, CondV S D Z is condition V for the points of ZZZ, IsRelaxSeq S P i x is the relaxation sequence with control iii, and cyclicControl hm is n↦n mod mn\mapsto n\bmod mn↦nmodm.

Formalization targets

Goal: Theorem 1 (p. 203)

Under conditions I–VI, with the cyclic control, every limiting point of every relaxation sequence lies in every set:

xnk→x∗⟹x∗∈⋂i=0m−1Ai.x^{n_k}\to x^* \quad\Longrightarrow\quad x^*\in\bigcap_{i=0}^{m-1}A_i .xnk​→x∗⟹x∗∈i=0⋂m−1​Ai​.

The statement is about every starting point x0∈Sx^0\in Sx0∈S and every convergent subsequence. It does not assert that the whole sequence converges.

Milestones

  1. Lemma 1 (pp. 201–202): for z∈Ai∩Sz\in A_i\cap Sz∈Ai​∩S and y∈Sy\in Sy∈S,
D(Piy,y)≤D(z,y)−D(z,Piy).D(P_iy,y)\le D(z,y)-D(z,P_iy).D(Pi​y,y)≤D(z,y)−D(z,Pi​y).
  1. Lemma 2 (2) (p. 202): for any control and any z∈R∩Sz\in R\cap Sz∈R∩S, lim⁡n→∞D(z,xn)\lim_{n\to\infty}D(z,x^n)limn→∞​D(z,xn) exists.
  2. Lemma 2 (3) (p. 202): for any control, D(xn+1,xn)→0D(x^{n+1},x^n)\to 0D(xn+1,xn)→0.
  3. Lemma 2 (1) (p. 202): for any control, {xn}\{x^n\}{xn} lies in a compact set.

Further result: Note 1, condition (1) (pp. 204–205)

For any control whose relaxation sequence has all its limiting points in RRR (the cyclic control, by Theorem 1), if in addition SSS is closed and y↦D(z1,y)−D(z2,y)y\mapsto D(z_1,y)-D(z_2,y)y↦D(z1​,y)−D(z2​,y) is continuous on SSS for all z1,z2∈R∩Sz_1,z_2\in R\cap Sz1​,z2​∈R∩S, then the relaxation sequence converges to a point of RRR.

Significance

Theorem 1 is the abstract convergence theorem behind cyclic Bregman projections. With D(x,y)=∥x−y∥2D(x,y)=\|x-y\|^2D(x,y)=∥x−y∥2 in a Hilbert space it gives the convergence of cyclic orthogonal projections onto finitely many closed convex sets in the weak topology (the paper's Example 1). With DDD given by a Bregman divergence it gives the method that the paper's §2 turns into an algorithm for convex programs with linear equality and inequality constraints, including entropy maximization. Lemma 1, the generalized Pythagorean inequality, is used throughout the later literature on Bregman projections, mirror descent and online learning.

The results are proved in the paper and are classical. To our knowledge no machine-checked version exists: Mathlib has orthogonal projections onto closed convex sets in Hilbert spaces, but no Bregman projections and no convergence theorem for cyclic projection methods. A formalization supplies an axiomatic interface (conditions I–VI) that does not depend on any particular divergence, so special cases (Euclidean distance, Kullback–Leibler divergence, Bregman divergences of Legendre functions) can be obtained by checking the conditions.

Difficulty

There is no norm and no metric: DDD is neither symmetric nor subject to a triangle inequality, and XXX is only a topological vector space. The usual Fejér-monotonicity argument for Euclidean projections, which compares distances to a fixed point of RRR, works only one way in DDD. Convergence of a subsequence xnkx^{n_k}xnk​ does not by itself say anything about the shifted subsequences xnk+1,…,xnk+m−1x^{n_k+1},\dots,x^{n_k+m-1}xnk​+1,…,xnk​+m−1, and these are needed to reach every set AiA_iAi​. That step requires condition VI together with compactness, and condition VI has a compactness premise that has to be supplied separately. Throughout, convergence is in a general topology where "compact" and "sequentially compact" may differ.

Formalization scope

The formalization commits to the following readings, each recorded in the items' Formalization Notes.

  • The projection is a map. P:ι→X→XP:\iota\to X\to XP:ι→X→X is fixed, and condition II states that PiyP_iyPi​y is a minimizer. Condition III is stated for this map.
  • Condition IV, one-sided. The paper asks for lim⁡t→0D(y+tz,y)/t=0\lim_{t\to0}D(y+tz,y)/t=0limt→0​D(y+tz,y)/t=0 for every z∈Xz\in Xz∈X. The formalization assumes only the right-hand limit in the directions w−yw-yw−y with w∈Sw\in Sw∈S, which is what the proofs use and what the paper's IV implies. Every theorem is therefore at least as strong as the paper's.
  • Compactness is sequential. "Compact" in V, VI and Lemma 2 (1) is IsSeqCompact. The set of elements of {xn}\{x^n\}{xn} being compact is read as {xn}\{x^n\}{xn} lying in a sequentially compact set.
  • Hausdorff space. The proof of Theorem 1 identifies two limits of one sequence, so T2Space X is assumed. XXX is a real topological vector space (IsTopologicalAddGroup, ContinuousSMul ℝ).
  • Limiting point means the limit of x ∘ φ for a strictly increasing φ : ℕ → ℕ.
  • Index base. The sets are indexed by Fin m with 0<m0<m0<m, and the cyclic control is n↦n mod mn\mapsto n\bmod mn↦nmodm, the paper's in=(n mod m)+1i_n=(n\bmod m)+1in​=(nmodm)+1 shifted by one.
  • Translation typos. Condition II is printed as "D(x,y)=min⁡z∈Ai∩SD(z,x)D(x,y)=\min_{z\in A_i\cap S}D(z,x)D(x,y)=minz∈Ai​∩S​D(z,x)" with "i∈Ti\in Ti∈T". The formalization reads min⁡zD(z,y)\min_z D(z,y)minz​D(z,y) and i∈Ii\in Ii∈I. In Lemma 2 (2) the faint set symbol is read as RRR, and zzz is taken in R∩SR\cap SR∩S, as in the proof.
  • Domain of DDD. DDD is a total function X → X → ℝ; every condition constrains it on S×SS\times SS×S only, and the standing assumption S∩R≠∅S\cap R\ne\emptysetS∩R=∅ is an explicit hypothesis.

A trivializing formalization is ruled out: the hypotheses are satisfiable (a sorry-free local check takes X=RX=\mathbb RX=R, D(x,y)=(x−y)2D(x,y)=(x-y)^2D(x,y)=(x−y)2, two overlapping closed intervals and the clamp projections), the conclusion concerns every limiting point of every cyclic run, and the goal neither assumes convergence nor restricts the control.

Contributions welcome: proofs of the milestones, a proof of the goal, and instances of DConditions for concrete divergences (squared Euclidean distance in finite dimension, Bregman divergences of strictly convex differentiable functions). These instances are reusable by the companion missions of this paper.

Selected references

  • L. M. Bregman, The relaxation method of finding the common point of convex sets and its application to the solution of problems in convex programming, USSR Computational Mathematics and Mathematical Physics 7(3) (1967) 200–217. https://doi.org/10.1016/0041-5553(67)90040-7
  • L. G. Gubin, B. T. Polyak, E. V. Raik, The method of projections for finding the common point of convex sets, USSR Computational Mathematics and Mathematical Physics 7(6) (1967) 1–24. https://doi.org/10.1016/0041-5553(67)90113-9
  • T. S. Motzkin, I. J. Schoenberg, The relaxation method for linear inequalities, Canadian Journal of Mathematics 6 (1954) 393–404. https://doi.org/10.4153/CJM-1954-038-x
  • Y. Censor, A. Lent, An iterative row-action method for interval convex programming, Journal of Optimization Theory and Applications 34 (1981) 321–353. https://doi.org/10.1007/BF00934676
6 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryOperations Research·Captain: mikedeng1

Consensus of Subjective Probabilities: The Pari-Mutuel Method: Equilibrium Track Probabilities Exist and Are UniqueResearch Paper

Motivation

A group of mmm individuals each hold a subjective probability distribution over the same nnn outcomes, and one wants a single distribution representing their consensus. Averaging and convolution are the obvious candidates. Eisenberg and Gale (Ann. Math. Statist. 30(1), 1959) observe that a real institution already performs such an aggregation: the pari-mutuel method of betting on horse races, in which the final "track's odds" on a horse are proportional to the total amount bet on it.

The difficulty is circular. Each bettor wants to bet where the ratio of their own probability to the track probability is largest, but the track probabilities are only known after everyone has bet. The paper asks whether track probabilities and bets compatible with both the bettors' strategies and the pari-mutuel principle exist, and whether they are determined by the data. It answers yes on both counts for the probabilities, which gives a well-defined notion of pari-mutuel consensus.

The variational problem the paper introduces, maximizing ∑ibilog⁡(utilityi)\sum_i b_i \log(\text{utility}_i)∑i​bi​log(utilityi​), is now known as the Eisenberg–Gale convex program. It is the standard tool for computing equilibria of linear Fisher markets, and the pari-mutuel market is the special case in which every bettor's utility for a horse is their subjective win probability.

Setting

There are mmm bettors B1,…,BmB_1,\dots,B_mB1​,…,Bm​ and nnn horses H1,…,HnH_1,\dots,H_nH1​,…,Hn​.

  • The subjective probability matrix P=(pij)P=(p_{ij})P=(pij​) is m×nm\times nm×n; pijp_{ij}pij​ is the probability, in the opinion of BiB_iBi​, that HjH_jHj​ wins. Each row is a probability distribution: pij≥0p_{ij}\ge 0pij​≥0 and ∑jpij=1\sum_j p_{ij}=1∑j​pij​=1.
  • Bettor BiB_iBi​ has a budget bi>0b_i>0bi​>0, with the unit of money chosen so that ∑ibi=1\sum_i b_i=1∑i​bi​=1.
  • Each column of PPP contains at least one positive entry (a horse nobody believes in can be removed).

Unknowns are Greek. πj\pi_jπj​ is the track probability of HjH_jHj​ and βij\beta_{ij}βij​ is the amount BiB_iBi​ bets on HjH_jHj​. Nonnegative πj,βij\pi_j,\beta_{ij}πj​,βij​ are equilibrium probabilities and bets when

(1) ∑j=1nβij=bi,(2) ∑i=1mβij=πj,(3) if μi=max⁡spisπs and βij>0, then μi=pijπj.\text{(1)}\ \sum_{j=1}^n\beta_{ij}=b_i,\qquad \text{(2)}\ \sum_{i=1}^m\beta_{ij}=\pi_j,\qquad \text{(3)}\ \text{if } \mu_i=\max_s\frac{p_{is}}{\pi_s}\text{ and }\beta_{ij}>0,\text{ then }\mu_i=\frac{p_{ij}}{\pi_j}.(1) j=1∑n​βij​=bi​,(2) i=1∑m​βij​=πj​,(3) if μi​=smax​πs​pis​​ and βij​>0, then μi​=πj​pij​​.

(1) is the budget relation, (2) the pari-mutuel condition, and (3) says each bettor bets only on horses that maximize the subjective expectation pij/πjp_{ij}/\pi_jpij​/πj​.

The paper's variational problem is

φ(ξ)=∑i=1mbilog⁡∑j=1npijξijonD={ξ: ξij≥0, ∑i=1mξij=1 for all j},\varphi(\xi)=\sum_{i=1}^m b_i\log\sum_{j=1}^n p_{ij}\xi_{ij}\quad\text{on}\quad D=\Big\{\xi:\ \xi_{ij}\ge0,\ \sum_{i=1}^m\xi_{ij}=1\ \text{for all } j\Big\},φ(ξ)=i=1∑m​bi​logj=1∑n​pij​ξij​onD={ξ: ξij​≥0, i=1∑m​ξij​=1 for all j},

with φ=−∞\varphi=-\inftyφ=−∞ where an inner sum vanishes. From a maximizer ξˉ\bar\xiξˉ​ it builds πj=max⁡ibipij/∑spisξˉis\pi_j=\max_i b_ip_{ij}/\sum_s p_{is}\bar\xi_{is}πj​=maxi​bi​pij​/∑s​pis​ξˉ​is​ (6) and βij=ξˉijπj\beta_{ij}=\bar\xi_{ij}\pi_jβij​=ξˉ​ij​πj​ (7). In Lean the market is PariMutuel.Consensus.Market m n, equilibrium is Market.IsEquilibrium, and φ\varphiφ, DDD, the maximizer predicate, (6) and (7) are Market.phi, D m n, Market.IsPhiMaximizer, Market.trackProb, Market.bets.

Formalization targets

Goal: existence and uniqueness of equilibrium probabilities

∃! π∈Rn  ∃ β∈Rm×n: (π,β) are equilibrium probabilities and bets.\exists!\,\pi\in\mathbb R^n\ \ \exists\,\beta\in\mathbb R^{m\times n}:\ (\pi,\beta)\ \text{are equilibrium probabilities and bets}.∃!π∈Rn  ∃β∈Rm×n: (π,β) are equilibrium probabilities and bets.

Only π\piπ is unique; the paper notes that equilibrium bets need not be.

Milestones

  1. φ\varphiφ attains its maximum on DDD at a point with every inner sum positive (p. 167).
  2. ∂φ/∂ξij=bipij/∑spisξis\partial\varphi/\partial\xi_{ij}=b_ip_{ij}/\sum_s p_{is}\xi_{is}∂φ/∂ξij​=bi​pij​/∑s​pis​ξis​ wherever the inner sums are positive (p. 167).
  3. (8): at a maximizer, ξˉij>0\bar\xi_{ij}>0ξˉ​ij​>0 implies πj=∂φ/∂ξˉij\pi_j=\partial\varphi/\partial\bar\xi_{ij}πj​=∂φ/∂ξˉ​ij​ (p. 167).
  4. Every πj\pi_jπj​ of (6) is positive (p. 167).
  5. EXISTENCE THEOREM: for every maximizer ξˉ\bar\xiξˉ​, (6)–(7) are equilibrium probabilities and bets (p. 167).
  6. Every equilibrium has πj>0\pi_j>0πj​>0 (p. 168).
  7. For two equilibria, ∑kπˉkπˉk/πk≤1\sum_k\bar\pi_k\bar\pi_k/\pi_k\le 1∑k​πˉk​πˉk​/πk​≤1 (p. 168).
  8. If π>0\pi>0π>0, πˉ≥0\bar\pi\ge0πˉ≥0, both sum to 1 and ∑kπˉk2/πk≤1\sum_k\bar\pi_k^2/\pi_k\le1∑k​πˉk2​/πk​≤1, then πˉ=π\bar\pi=\piπˉ=π (p. 168).
  9. UNIQUENESS THEOREM: equilibrium probabilities are unique (p. 168).

A further, non-milestone item states the referee's example (p. 168): with two bettors of equal budgets and two horses, if the first bettor's distribution is (12,12)(\tfrac12,\tfrac12)(21​,21​), the equilibrium probabilities are (12,12)(\tfrac12,\tfrac12)(21​,21​) whatever the second bettor believes.

Significance

The result makes pari-mutuel odds a well-defined function of the bettors' beliefs and budgets, so the consensus can be studied as a mathematical object; the referee's example shows it behaves very differently from averaging, since a single indifferent bettor can fix it. The existence proof replaces a fixed-point argument by a concave maximization, which is the origin of the Eisenberg–Gale program, later the basis of convex-programming and combinatorial algorithms for Fisher market equilibria.

The theorems are classical and fully proved in the paper. To the knowledge of this mission they have no machine-checked proof. The mission produces a formal pari-mutuel market model, the Eisenberg–Gale program with the correct treatment of log⁡0=−∞\log 0=-\inftylog0=−∞, and Lean proofs of existence and uniqueness. The platform's Market Equilibrium under Separable, Piecewise-Linear, Concave Utilities missions (Vazirani–Yannakakis) concern a related Fisher-market model with rational piecewise-linear utilities.

Difficulty

The existence statement, as the paper proves it, has two delicate points. φ\varphiφ is −∞-\infty−∞ on part of the boundary of DDD, so "continuous on a compact set" needs the extended-real reading, and a real-valued formalization must handle the boundary separately. The first-order condition (8) has to be derived from maximality on a polytope with equality constraints on columns, not from an unconstrained critical point.

For uniqueness, the natural first idea, strict concavity of φ\varphiφ, fails: φ\varphiφ is concave but not strictly concave in ξ\xiξ, and indeed equilibrium bets are not unique. Uniqueness has to be proved for the probabilities directly, for arbitrary equilibria and not only those built from a maximizer, and it needs positivity of all πj\pi_jπj​, which the paper uses without proof.

Formalization scope

  • Bettors are Fin m and horses Fin n, indexed from 0. All data are real. Every standing assumption (rows of PPP are probability vectors, no zero column, bi>0b_i>0bi​>0, ∑ibi=1\sum_i b_i=1∑i​bi​=1) is a field of Market; m≥1m\ge1m≥1 follows from ∑ibi=1\sum_ib_i=1∑i​bi​=1.
  • Condition (3) is written multiplied out: βij>0⇒pisπj≤pijπs\beta_{ij}>0\Rightarrow p_{is}\pi_j\le p_{ij}\pi_sβij​>0⇒pis​πj​≤pij​πs​ for all sss. This equals (3) when π>0\pi>0π>0 and encodes the paper's p/0=+∞p/0=+\inftyp/0=+∞ when some πs=0\pi_s=0πs​=0. Positivity of π\piπ is not part of the definition of equilibrium; it is milestone 6.
  • DDD has column sums one, as in (5).
  • φ\varphiφ is real-valued. A maximizer is a point of DDD with positive inner sums that dominates every point of DDD with positive inner sums; the excluded points have φ=−∞\varphi=-\inftyφ=−∞ on the page. The max in (6) is Finset.sup' over the nonempty set of bettors.
  • Ruled out: a version of (3) with real division (x/0=0x/0=0x/0=0) admits spurious equilibria with πs=0\pi_s=0πs​=0 and makes uniqueness false; a maximizer defined with the raw real φ\varphiφ (log⁡0=0\log0=0log0=0) changes the set of maximizers; adding π>0\pi>0π>0 or ∑jπj=1\sum_j\pi_j=1∑j​πj​=1 to the equilibrium definition weakens the goal.
  • Needed infrastructure: compactness of DDD and an argument handling the −∞-\infty−∞ boundary, one-variable derivatives of log⁡\loglog of linear forms, and the equality case of the Cauchy–Schwarz inequality. Milestones 7–9 use no analysis and can be attacked independently of 1–5. Proofs of any milestone, and reusable lemmas on the Eisenberg–Gale program, are welcome.

Selected references

  • E. Eisenberg and D. Gale, Consensus of subjective probabilities: the pari-mutuel method, The Annals of Mathematical Statistics 30(1):165–168, 1959. https://doi.org/10.1214/aoms/1177706369
  • V. V. Vazirani and M. Yannakakis, Market equilibrium under separable, piecewise-linear, concave utilities, Journal of the ACM 58(3), 2011. https://doi.org/10.1145/1970392.1970394
12 thms3 active usersReviewed
🏆Completed
Algorithmic Game TheoryMachine LearningOptimization·Captain: mikedeng1

Blackwell Approachability and No-Regret Learning are Equivalent 3: An Efficient Forecaster Whose (ℓ1, ε)-Calibration Rate Is at Most √(2/(εT))Research Paper

Calibrated forecasting

A forecaster announces, each day, a probability that it will rain; afterwards nature reveals whether it did. The forecaster is calibrated if, on the days on which it announced roughly 30%, it rained roughly 30% of the time, and likewise for every other announced value. Calibration is a minimal consistency requirement for probabilistic forecasts, used in meteorology, in the evaluation of probabilistic classifiers, and in game theory, where calibrated forecasts of the opponents' play lead to correlated equilibrium (Foster and Vohra, 1997).

Calibration is achievable even against an adversary who chooses the outcomes, provided the forecaster randomizes. Timeline:

  • 1998. Foster and Vohra construct an asymptotically calibrated randomized forecaster against an arbitrary outcome sequence.
  • 1999. Foster reduces calibration to Blackwell's approachability theorem by exhibiting, for each halfspace, a forecast that keeps the payoff inside it.
  • 2009. Mannor and Stoltz give an approachability-based calibration procedure concurrently with the paper below.
  • 2011. Abernethy, Bartlett and Hazan prove that Blackwell approachability and no-regret online linear optimization are equivalent, and use the equivalence to obtain an efficient calibrated forecaster: O(log⁡1/ε)O(\log 1/\varepsilon)O(log1/ε) time per round and calibration rate O(1/εT)O(1/\sqrt{\varepsilon T})O(1/εT​).

This mission formalizes the last result, Theorem 22 of the 2011 paper, in the explicit form given by its proof.

Setting

Fix a positive integer mmm and the grid width ε=1/m\varepsilon = 1/mε=1/m. Each round t=1,…,Tt = 1, \dots, Tt=1,…,T the forecaster chooses a probability vector wtw_twt​ in the simplex Δm+1\Delta_{m+1}Δm+1​ over the grid indices i=0,…,mi = 0, \dots, mi=0,…,m, draws it∼wti_t \sim w_tit​∼wt​ and announces pt=it/mp_t = i_t/mpt​=it​/m. Nature then reveals yt∈{0,1}y_t \in \{0, 1\}yt​∈{0,1}.

Vectors live in Rm+1\mathbb R^{m+1}Rm+1 with the Euclidean norm ∥⋅∥2\|\cdot\|_2∥⋅∥2​. The ℓ₁ norm is ∥x∥1=∑i∣xi∣\|x\|_1 = \sum_i |x_i|∥x∥1​=∑i​∣xi​∣, the ℓ₁ ball is B1(r)={y:∥y∥1≤r}B_1(r) = \{y : \|y\|_1 \le r\}B1​(r)={y:∥y∥1​≤r}, and the unit cube is B∞(1)={θ:∣θi∣≤1 for all i}B_\infty(1) = \{\theta : |\theta_i| \le 1 \text{ for all } i\}B∞​(1)={θ:∣θi​∣≤1 for all i}.

The calibration game (11) has payoff

u(w,y)=(w(0)(y−0m), w(1)(y−1m), …, w(m)(y−1))∈Rm+1.u(w, y) = \Bigl(w(0)\bigl(y - \tfrac0m\bigr),\ w(1)\bigl(y - \tfrac1m\bigr),\ \dots,\ w(m)(y - 1)\Bigr) \in \mathbb R^{m+1}.u(w,y)=(w(0)(y−m0​), w(1)(y−m1​), …, w(m)(y−1))∈Rm+1.

The (ℓ1,ε)(\ell_1, \varepsilon)(ℓ1​,ε)-calibration rate (Definition 19) of the announced forecasts is max⁡{0,∑i=0m∣1T∑t=1TI[pt=i/m](i/m−yt)∣−ε/2}\max\{0, \sum_{i=0}^m |\frac1T\sum_{t=1}^T \mathbb I[p_t = i/m](i/m - y_t)| - \varepsilon/2\}max{0,∑i=0m​∣T1​∑t=1T​I[pt​=i/m](i/m−yt​)∣−ε/2}. Replacing each indicator by its expectation wt(i)w_t(i)wt​(i) gives the rate of the forecast distributions,

CˉTε=max⁡{0, ∑i=0m∣1T∑t=1Twt(i)(im−yt)∣−ε2},\bar C^\varepsilon_T = \max\Bigl\{0,\ \sum_{i=0}^m \Bigl|\frac1T \sum_{t=1}^T w_t(i)\Bigl(\frac im - y_t\Bigr)\Bigr| - \frac\varepsilon2\Bigr\},CˉTε​=max{0, i=0∑m​​T1​t=1∑T​wt​(i)(mi​−yt​)​−2ε​},

which is max⁡{0,∥uˉT∥1−ε/2}\max\{0, \|\bar u_T\|_1 - \varepsilon/2\}max{0,∥uˉT​∥1​−ε/2} for the average payoff uˉT=1T∑tu(wt,yt)\bar u_T = \frac1T\sum_t u(w_t, y_t)uˉT​=T1​∑t​u(wt​,yt​).

The forecaster is Algorithm 5. It keeps a point θt\theta_tθt​ in the cube, starting from θ1=0\theta_1 = 0θ1​=0 with w1w_1w1​ arbitrary. After round ttt it takes a projected gradient step (Algorithm 4, online gradient descent) against the loss vector ft=−u(wt,yt)f_t = -u(w_t, y_t)ft​=−u(wt​,yt​):

θt+1=ΠB∞(1)(θt+η u(wt,yt)),\theta_{t+1} = \Pi_{B_\infty(1)}\bigl(\theta_t + \eta\, u(w_t, y_t)\bigr),θt+1​=ΠB∞​(1)​(θt​+ηu(wt​,yt​)),

where Π\PiΠ is the Euclidean projection. It then sets wt+1w_{t+1}wt+1​ to the output of the oracle Algorithm 3 on θt+1\theta_{t+1}θt+1​, which puts weight on at most two adjacent grid points where θ\thetaθ changes sign.

Formalization targets

Goal: Theorem 22 in the form (14)

For m≥1m \ge 1m≥1, T≥1T \ge 1T≥1, every outcome sequence y1,…,yT∈{0,1}y_1, \dots, y_T \in \{0, 1\}y1​,…,yT​∈{0,1} and every run of Algorithm 5 with η=(m+1)/T\eta = \sqrt{(m+1)/T}η=(m+1)/T​,

CˉTε≤2εT.\bar C^\varepsilon_T \le \sqrt{\frac{2}{\varepsilon T}}.CˉTε​≤εT2​​.

This is the bound CTε≤GD/TC^\varepsilon_T \le GD/\sqrt TCTε​≤GD/T​ of display (14) with the paper's constant G=2G = \sqrt 2G=2​.

Milestones

  1. Claim 1 (proof): min⁡∥y∥1≤ε/2∥x−y∥1=max⁡{0,−ε/2+∥x∥1}\min_{\|y\|_1 \le \varepsilon/2}\|x - y\|_1 = \max\{0, -\varepsilon/2 + \|x\|_1\}min∥y∥1​≤ε/2​∥x−y∥1​=max{0,−ε/2+∥x∥1​}.
  2. Display (13): for ∥x∥1>ε/2\|x\|_1 > \varepsilon/2∥x∥1​>ε/2, also =−ε/2−min⁡∥θ∥∞≤1⟨−x,θ⟩= -\varepsilon/2 - \min_{\|\theta\|_\infty \le 1}\langle -x, \theta\rangle=−ε/2−min∥θ∥∞​≤1​⟨−x,θ⟩.
  3. Algorithm 3: for every θ\thetaθ in the cube there is an output w∈Δm+1w \in \Delta_{m+1}w∈Δm+1​, and every output satisfies ⟨u(w,y),θ⟩≤ε/2\langle u(w, y), \theta\rangle \le \varepsilon/2⟨u(w,y),θ⟩≤ε/2 for all y∈[0,1]y \in [0, 1]y∈[0,1].
  4. Display (12): under that guarantee, max⁡{0,∥uˉT∥1−ε/2}≤1T(∑t⟨−ut,θt⟩−min⁡θ∈B∞(1)∑t⟨−ut,θ⟩)\max\{0, \|\bar u_T\|_1 - \varepsilon/2\} \le \frac1T\bigl(\sum_t \langle -u_t, \theta_t\rangle - \min_{\theta \in B_\infty(1)}\sum_t\langle -u_t, \theta\rangle\bigr)max{0,∥uˉT​∥1​−ε/2}≤T1​(∑t​⟨−ut​,θt​⟩−minθ∈B∞​(1)​∑t​⟨−ut​,θ⟩).
  5. Online gradient descent: regret at most DGTDG\sqrt TDGT​ with step η=D/(GT)\eta = D/(G\sqrt T)η=D/(GT​).
  6. Theorem 21 (response-satisfiability and approachability): for every y∈[0,1]y \in [0,1]y∈[0,1] some w∈Δm+1w \in \Delta_{m+1}w∈Δm+1​ has u(w,y)∈B1(ε/2)u(w, y) \in B_1(\varepsilon/2)u(w,y)∈B1​(ε/2); hence some algorithm choosing wtw_twt​ from y1,…,yt−1y_1, \dots, y_{t-1}y1​,…,yt−1​ drives the distance of the average payoff to B1(ε/2)B_1(\varepsilon/2)B1​(ε/2) to 000 against every outcome sequence in [0,1][0,1][0,1].

Significance

The bound shows that a forecaster with logarithmic per-round cost has calibration error vanishing at rate T−1/2T^{-1/2}T−1/2 against every outcome sequence. Earlier calibrated forecasters required solving a linear program or computing a fixed point each round. The construction is also the paper's worked instance of its general equivalence: a calibration problem, posed as approachability of an ℓ₁ ball, is solved by a no-regret learner on the dual unit cube together with a halfspace oracle.

The result is proved in the paper; no machine-checked version is known to exist. The formalization makes explicit three points the paper leaves informal: the step size, the sign of the gradient step, and the gap between the forecast distributions and the sampled forecasts. The milestones are reusable on their own: the ℓ₁/ℓ∞ duality, and the regret bound of online gradient descent for linear losses on a general closed convex set.

Difficulty

The chain (12)–(14) looks like a direct composition, but each link has content. The oracle guarantee needs a case analysis over the sign pattern of θ\thetaθ, including the degenerate case θ(i+1)=0\theta(i+1) = 0θ(i+1)=0. The reduction (12) needs the duality (13) with attained minima, and it holds only outside the ball B1(ε/2)B_1(\varepsilon/2)B1​(ε/2). The regret bound of online gradient descent needs the non-expansiveness of the Euclidean projection and a telescoping argument. The tempting shortcut of quoting "OGD has regret O(T)O(\sqrt T)O(T​)" does not give the stated constant without fixing the step size.

Formalization scope

Vectors are EuclideanSpace ℝ (Fin (m+1)), with grid index i∈{0,…,m}i \in \{0, \dots, m\}i∈{0,…,m} as Fin (m+1) and i/mi/mi/m as a real quotient; the ℓ₁ norm and the cube are written out coordinatewise. Rounds are t=1,…,Tt = 1, \dots, Tt=1,…,T. Minima over sets are stated through IsLeast or as the infimum of the image of a nonempty bounded set. Algorithm 3 is a relation that allows every sign-change index the binary search might return. The projection is any Euclidean minimizer onto the cube.

Conventions and corrections, each disclosed in the item's Formalization Note:

  • Gradient-step sign. Algorithm 4 prints θt−ηut\theta_t - \eta u_tθt​−ηut​, but the proof runs the learner on the losses ft=−utf_t = -u_tft​=−ut​ (condition 2), so the step is θt+ηut\theta_t + \eta u_tθt​+ηut​. With the printed sign the bound fails.
  • Step size. The page sets η=O(T−1/2)\eta = O(T^{-1/2})η=O(T−1/2); the goal pins η=(m+1)/T\eta = \sqrt{(m+1)/T}η=(m+1)/T​, the standard tuning with radius m+1\sqrt{m+1}m+1​ of the cube and ∥ut∥2≤1\|u_t\|_2 \le 1∥ut​∥2​≤1. The page's D=1/εD = \sqrt{1/\varepsilon}D=1/ε​ is not the cube's diameter.
  • Forecast distributions. The rate is that of the distributions wtw_twt​, the expectation of the calibration vector over the forecaster's draws (Lemma 20). The high-probability statement for the sampled forecasts is not formalized, nor is the running-time claim.
  • Other misprints. Algorithm 3's header "w↦θw \mapsto \thetaw↦θ" is θ↦w\theta \mapsto wθ↦w, and the calibration vector has m+1m + 1m+1 coordinates, not ⌊ε−1⌋\lfloor \varepsilon^{-1} \rfloor⌊ε−1⌋.
  • Added hypotheses. m≥1m \ge 1m≥1 and T≥1T \ge 1T≥1.

A trivializing formalization is ruled out. The rate is defined from Definition 19's formula, not as a distance, and the step size is pinned. A free step size would make the bound false, and an empty oracle relation would make it vacuous; milestone 3's existence clause excludes the latter.

Contributions are welcome on each milestone. The online gradient descent bound and the ℓ₁/ℓ∞ duality are independent of calibration. The published one-step inequality LogRegretOCO.OGD.one_step_inequality is included as a reference item for the regret bound.

Selected references

  • J. Abernethy, P. L. Bartlett, E. Hazan, Blackwell Approachability and No-Regret Learning are Equivalent, COLT 2011, JMLR W&CP 19, pp. 27–46, 2011. https://proceedings.mlr.press/v19/abernethy11b.html
  • D. P. Foster, R. V. Vohra, Asymptotic calibration, Biometrika 85(2), 1998. https://doi.org/10.1093/biomet/85.2.379
  • D. P. Foster, A proof of calibration via Blackwell's approachability theorem, Games and Economic Behavior 29, 1999. https://doi.org/10.1006/game.1999.0724
  • D. P. Foster, R. V. Vohra, Calibrated learning and correlated equilibrium, Games and Economic Behavior 21, 1997. https://doi.org/10.1006/game.1997.0595
  • S. Mannor, G. Stoltz, A geometric proof of calibration, Mathematics of Operations Research 35(4), 2010. https://arxiv.org/abs/0908.3576
  • M. Zinkevich, Online convex programming and generalized infinitesimal gradient ascent, ICML 2003. https://dl.acm.org/doi/10.5555/3041838.3041955
11 thms3 active usersReviewed
PreviousPage 4 of 14Next

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