Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in

Get started

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

Optimal Transport

87 missions · 22 completed

Missions

Open65Completed22All87
🏆Completed
Convex OptimizationOperations ResearchOptimization·Captain: mikedeng1

Data-Driven Distributionally Robust Optimization Using the Wasserstein Metric: Performance Guarantees and Tractable Reformulations I: Wasserstein Worst-Case Expectations as Finite Convex ProgramsResearch Paper

Motivation

A decision maker who must minimize an expected cost EP[h(x,ξ)]\mathbb E^{\mathbb P}[h(x,\xi)]EP[h(x,ξ)] rarely knows the distribution P\mathbb PP of the uncertain parameter ξ\xiξ; usually only NNN samples ξ^1,…,ξ^N\hat\xi_1,\dots,\hat\xi_Nξ^​1​,…,ξ^​N​ are available. Replacing P\mathbb PP by the empirical distribution (sample average approximation) tends to produce decisions that perform poorly out of sample when NNN is small. Distributionally robust optimization instead minimizes the worst expected cost over a set of distributions that are plausible given the data. Mohajerin Esfahani and Kuhn (arXiv:1505.05116v3, published in Mathematical Programming 171, 2018) take that set to be a ball in the Wasserstein metric around the empirical distribution. Such balls give finite-sample and asymptotic guarantees, but each evaluation of the robust objective is an optimization over infinitely many probability distributions. Section 4.1 of the paper shows that, for a large class of losses, this inner problem is a finite convex program. That result, Theorem 4.2, is the subject of this mission.

Timeline. Wasserstein ambiguity sets for portfolio selection were proposed by Pflug and Wozabal (2007); before this paper, robust problems over such sets were solved with global optimization algorithms (Pflug and Pichler 2014). Strong duality for conic linear and moment problems (Shapiro 2001) underlies the reduction. Mohajerin Esfahani and Kuhn (preprint 2015, journal 2018) proved the convex reduction for piecewise concave losses; Gao and Kleywegt (arXiv:1604.02199) and Blanchet and Murthy (arXiv:1604.01446) proved strong duality for general transport costs in 2016.

Setting

Let EEE be a finite-dimensional real vector space with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥ (the paper's Rm\mathbb R^mRm) and its Borel σ-algebra. Its dual norm is ∥z∥∗=sup⁡∥ξ∥≤1⟨z,ξ⟩\|z\|_* = \sup_{\|\xi\|\le 1}\langle z,\xi\rangle∥z∥∗​=sup∥ξ∥≤1​⟨z,ξ⟩, where ⟨z,ξ⟩\langle z,\xi\rangle⟨z,ξ⟩ is the value of the linear functional zzz at ξ\xiξ. Let Ξ⊆E\Xi\subseteq EΞ⊆E be the support set and ξ^1,…,ξ^N∈Ξ\hat\xi_1,\dots,\hat\xi_N\in\Xiξ^​1​,…,ξ^​N​∈Ξ the samples, with empirical distribution P^N=1N∑i=1Nδξ^i\widehat{\mathbb P}_N=\frac1N\sum_{i=1}^N\delta_{\hat\xi_i}PN​=N1​∑i=1N​δξ^​i​​.

The 1-Wasserstein distance between two distributions is the least transport cost ∫∥ξ−ξ′∥ Π(dξ,dξ′)\int\|\xi-\xi'\|\,\Pi(d\xi,d\xi')∫∥ξ−ξ′∥Π(dξ,dξ′) over all couplings Π\PiΠ with the given marginals. The Wasserstein ball Bε(P^N)\mathbb B_\varepsilon(\widehat{\mathbb P}_N)Bε​(PN​) is the set of probability distributions on Ξ\XiΞ within distance ε≥0\varepsilon\ge 0ε≥0 of P^N\widehat{\mathbb P}_NPN​.

The loss is a pointwise maximum ℓ(ξ)=max⁡k≤Kℓk(ξ)\ell(\xi)=\max_{k\le K}\ell_k(\xi)ℓ(ξ)=maxk≤K​ℓk​(ξ) of measurable functions ℓk:E→R‾=R∪{±∞}\ell_k:E\to\overline{\mathbb R}=\mathbb R\cup\{\pm\infty\}ℓk​:E→R=R∪{±∞}. Its expectation is EQ[ℓ]=EQ[max⁡{ℓ,0}]+EQ[min⁡{ℓ,0}]\mathbb E^{\mathbb Q}[\ell]=\mathbb E^{\mathbb Q}[\max\{\ell,0\}]+\mathbb E^{\mathbb Q}[\min\{\ell,0\}]EQ[ℓ]=EQ[max{ℓ,0}]+EQ[min{ℓ,0}] with ∞−∞=∞\infty-\infty=\infty∞−∞=∞. The worst-case expectation is

sup⁡Q∈Bε(P^N)EQ[ℓ(ξ)].(10)\sup_{\mathbb Q\in\mathbb B_\varepsilon(\widehat{\mathbb P}_N)}\mathbb E^{\mathbb Q}[\ell(\xi)].\tag{10}Q∈Bε​(PN​)sup​EQ[ℓ(ξ)].(10)

The conjugate of f:E→R‾f:E\to\overline{\mathbb R}f:E→R is f∗(z)=sup⁡ξ⟨z,ξ⟩−f(ξ)f^*(z)=\sup_\xi\langle z,\xi\rangle-f(\xi)f∗(z)=supξ​⟨z,ξ⟩−f(ξ), the characteristic function χΞ\chi_\XiχΞ​ is 000 on Ξ\XiΞ and +∞+\infty+∞ off it, and the support function is σΞ(z)=sup⁡ξ∈Ξ⟨z,ξ⟩\sigma_\Xi(z)=\sup_{\xi\in\Xi}\langle z,\xi\rangleσΞ​(z)=supξ∈Ξ​⟨z,ξ⟩. Assumption 4.1 requires Ξ\XiΞ to be convex and closed, each −ℓk-\ell_k−ℓk​ to be proper, convex and lower semicontinuous, and no ℓk\ell_kℓk​ to be identically −∞-\infty−∞ on Ξ\XiΞ.

Formalization targets

Goal: Theorem 4.2 (convex reduction)

Under Assumption 4.1, for every ε≥0\varepsilon\ge0ε≥0, (10) equals

inf⁡λ,si,zik,νik λε+1N∑i=1Nsis.t.[−ℓk]∗(zik−νik)+σΞ(νik)−⟨zik,ξ^i⟩≤si,  ∥zik∥∗≤λ∀i,k.(11)\inf_{\lambda,s_i,z_{ik},\nu_{ik}}\ \lambda\varepsilon+\frac1N\sum_{i=1}^N s_i\quad\text{s.t.}\quad [-\ell_k]^*(z_{ik}-\nu_{ik})+\sigma_\Xi(\nu_{ik})-\langle z_{ik},\hat\xi_i\rangle\le s_i,\ \ \|z_{ik}\|_*\le\lambda\quad\forall i,k.\tag{11}λ,si​,zik​,νik​inf​ λε+N1​i=1∑N​si​s.t.[−ℓk​]∗(zik​−νik​)+σΞ​(νik​)−⟨zik​,ξ^​i​⟩≤si​,  ∥zik​∥∗​≤λ∀i,k.(11)

Milestones, in the order of the paper's proof

  1. (12a)–(12c). Without any convexity, (10) is at most the value of (12c): inf⁡{λε+1N∑isi: sup⁡ξ∈Ξ(ℓ(ξ)−λ∥ξ−ξ^i∥)≤si, λ≥0}\inf\{\lambda\varepsilon+\frac1N\sum_i s_i:\ \sup_{\xi\in\Xi}(\ell(\xi)-\lambda\|\xi-\hat\xi_i\|)\le s_i,\ \lambda\ge0\}inf{λε+N1​∑i​si​: supξ∈Ξ​(ℓ(ξ)−λ∥ξ−ξ^​i​∥)≤si​, λ≥0}.
  2. Corollary 4.3. Without Assumption 4.1, (10) is at most the value of (12f), the program with constraints [−ℓk+χΞ]∗(zik)−⟨zik,ξ^i⟩≤si[-\ell_k+\chi_\Xi]^*(z_{ik})-\langle z_{ik},\hat\xi_i\rangle\le s_i[−ℓk​+χΞ​]∗(zik​)−⟨zik​,ξ^​i​⟩≤si​ and ∥zik∥∗≤λ\|z_{ik}\|_*\le\lambda∥zik​∥∗​≤λ.
  3. (12a) is an equality for ε>0\varepsilon>0ε>0 under Assumption 4.1.
  4. The case ε=0\varepsilon=0ε=0. (10) is the sample average 1N∑iℓ(ξ^i)\frac1N\sum_i\ell(\hat\xi_i)N1​∑i​ℓ(ξ^​i​), the objective of (12b) converges to it as λ→∞\lambda\to\inftyλ→∞, and (12a) is again an equality.
  5. (12e) is an equality. For each constraint, sup⁡ξ∈Ξ(ℓk(ξ)−λ∥ξ−ξ^i∥)=min⁡∥z∥∗≤λsup⁡ξ∈Ξ(ℓk(ξ)−⟨z,ξ−ξ^i⟩)\sup_{\xi\in\Xi}(\ell_k(\xi)-\lambda\|\xi-\hat\xi_i\|)=\min_{\|z\|_*\le\lambda}\sup_{\xi\in\Xi}(\ell_k(\xi)-\langle z,\xi-\hat\xi_i\rangle)supξ∈Ξ​(ℓk​(ξ)−λ∥ξ−ξ^​i​∥)=min∥z∥∗​≤λ​supξ∈Ξ​(ℓk​(ξ)−⟨z,ξ−ξ^​i​⟩).
  6. (10) equals (12f) under Assumption 4.1.
  7. (12f) equals (11) under Assumption 4.1, as optimal values.

Significance

Theorem 4.2 is what makes Wasserstein distributionally robust optimization computable. Once the worst-case expectation is a convex program in (λ,s,z,ν)(\lambda,s,z,\nu)(λ,s,z,ν), minimizing over the decision xxx becomes one larger convex program. Section 5 of the paper derives linear and conic programs from it for piecewise affine losses, uncertainty quantification and two-stage problems. Theorem 4.4 of the same paper (mission II of this series) builds worst-case distributions from the same program. Corollary 4.3 gives a conservative convex bound for losses that are not piecewise concave.

The result is proved on paper; no machine-checked proof of it is known. A formal development needs a working theory of extended-valued conjugates, support functions and inf-convolution in a normed space, Kantorovich-type couplings of an empirical measure, and a minimax theorem over a compact dual ball. Each of these is reusable well beyond this paper.

Difficulty

The weak inequality, (10) ≤\le≤ (12f), is the elementary direction: integrate a pointwise bound against a near-optimal coupling. The difficulty lies in the two equalities. Equality in (12a) is strong duality for an infinite-dimensional moment problem whose loss may take the values ±∞\pm\infty±∞ and may be unbounded on an unbounded Ξ\XiΞ. A Slater point exists only for ε>0\varepsilon>0ε>0, so ε=0\varepsilon=0ε=0 needs a separate limit argument. The equality (12f) === (11) is subtle as well. The conjugate of −ℓk+χΞ-\ell_k+\chi_\Xi−ℓk​+χΞ​ is only the closure of the inf-convolution of [−ℓk]∗[-\ell_k]^*[−ℓk​]∗ and σΞ\sigma_\XiσΞ​, so the two constraint sets differ and only the optimal values agree. The paper's sentence "cl[f]≤0[f]\le 0[f]≤0 iff f≤0f\le0f≤0" is false pointwise and cannot be formalized as written.

Formalization scope

  • Space. EEE is a finite-dimensional real normed space with its Borel σ-algebra. The pairing ⟨z,ξ⟩\langle z,\xi\rangle⟨z,ξ⟩ is application of a continuous linear functional zzz, and ∥z∥∗\|z\|_*∥z∥∗​ is the operator norm. These choices keep the paper's arbitrary norm; §5 of the paper uses the 1- and ∞-norms.
  • Extended reals. Values are in EReal. Mathlib's EReal has ⊤+⊥=⊥\top+\bot=\bot⊤+⊥=⊥, whereas the paper has ∞−∞=∞\infty-\infty=\infty∞−∞=∞, so the expectation treats an infinite positive part separately, and [−ℓk+χΞ]∗(z)[-\ell_k+\chi_\Xi]^*(z)[−ℓk​+χΞ​]∗(z) is written as sup⁡ξ∈Ξ(⟨z,ξ⟩+ℓk(ξ))\sup_{\xi\in\Xi}(\langle z,\xi\rangle+\ell_k(\xi))supξ∈Ξ​(⟨z,ξ⟩+ℓk​(ξ)), with no addition at all. The one EReal sum, [−ℓk]∗+σΞ[-\ell_k]^*+\sigma_\Xi[−ℓk​]∗+σΞ​ in (11), never meets ⊤+⊥\top+\bot⊤+⊥ under Assumption 4.1.
  • Programs. Each optimal value is an infimum over a feasibility predicate with real epigraph variables, so an infeasible program has value +∞+\infty+∞.
  • Ball. The ball is the published WassersteinDRO.Duality.ambiguitySet with p=1p=1p=1 around empiricalDistribution. Its condition Q(Ξc)=0\mathbb Q(\Xi^{\mathrm c})=0Q(Ξc)=0 encodes Q∈M(Ξ)\mathbb Q\in\mathcal M(\Xi)Q∈M(Ξ). The finite first moment is automatic at finite distance from P^N\widehat{\mathbb P}_NPN​.
  • Standing assumptions. Every statement carries N≥1N\ge1N≥1, K≥1K\ge1K≥1, ξ^i∈Ξ\hat\xi_i\in\Xiξ^​i​∈Ξ (§2, p. 5) and measurability of each ℓk\ell_kℓk​ (p. 11). The radius condition is ε≥0\varepsilon\ge0ε≥0, or ε>0\varepsilon>0ε>0 in milestone 3.
  • Assumption 4.1. Convexity of −ℓk-\ell_k−ℓk​ is stated through its real epigraph, because ConvexOn cannot take an EReal codomain.
  • Not trivializable. The statements cannot be made vacuous by an empty ball, because the samples lie in Ξ\XiΞ. They cannot be trivialized by a junk expectation either: the expectation is not guarded by integrability, so a distribution with infinite expected loss makes (10) infinite, exactly as in the paper.

Welcome contributions are reusable lemmas on EReal-valued conjugates and support functions, the decomposition of a coupling with an empirical marginal into conditional distributions, the dual-norm identity max⁡∥z∥∗≤λ⟨z,v⟩=λ∥v∥\max_{\|z\|_*\le\lambda}\langle z,v\rangle=\lambda\|v\|max∥z∥∗​≤λ​⟨z,v⟩=λ∥v∥, and a Sion-type minimax theorem.

Selected references

  • P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric: performance guarantees and tractable reformulations, arXiv:1505.05116v3, 2017; Math. Program. 171 (2018) 115–166. https://arxiv.org/abs/1505.05116v3
  • A. Shapiro, On duality theory of conic linear problems, in M. A. Goberna, M. A. López (eds.), Semi-Infinite Programming, Kluwer, 2001.
  • R. T. Rockafellar, R. J.-B. Wets, Variational Analysis, Springer, 2010 (Theorem 11.23(a), p. 493).
  • D. P. Bertsekas, Convex Optimization Theory, Athena Scientific, 2009 (Proposition 5.5.4).
  • G. Ch. Pflug, A. Pichler, Multistage Stochastic Optimization, Springer, 2014.
  • G. Ch. Pflug, D. Wozabal, Ambiguity in portfolio selection, Quantitative Finance 7 (2007) 435–442.
  • R. Gao, A. J. Kleywegt, Distributionally robust stochastic optimization with Wasserstein distance, arXiv:1604.02199, 2016. https://arxiv.org/abs/1604.02199
  • J. Blanchet, K. Murthy, Quantifying distributional model risk via optimal transport, arXiv:1604.01446, 2016. https://arxiv.org/abs/1604.01446
13 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Quantifying Distributional Model Risk via Optimal Transport 3: A Worst-Case Transport Plan Exists in a Locally Compact Normed Space under Growth Conditions on c and fResearch Paper

Motivation

In distributionally robust modelling, a baseline probability model μ\muμ on a space SSS is distrusted, and the analyst reports the largest expected loss over every model within a budget of μ\muμ. Blanchet and Murthy (arXiv:1604.01446; Math. Oper. Res. 44(2), 2019, doi:10.1287/moor.2018.0936) measure the budget with an optimal transport cost and prove strong duality for the resulting worst-case expectation on an arbitrary Polish space, with a lower semicontinuous cost and an upper semicontinuous performance function. Duality computes the worst-case value. A risk manager also wants the worst-case model: a distribution that attains the value, whose structure explains which perturbation of μ\muμ is most harmful.

Such a model need not exist. Unlike the Kantorovich problem, where the set of couplings with two fixed marginals is weakly compact, the feasible set here fixes only one marginal and is not compact in general. Section 5 of the paper gives an example on R\mathbb RR where the supremum is not attained, then gives abstract conditions under which it is (Proposition 9), and growth conditions on a locally compact normed space that imply them (Corollary 1). Related existence results in Rd\mathbb R^dRd were obtained by Gao and Kleywegt (arXiv:1604.02199, 2016) and, for empirical baselines and norm costs, by Mohajerin Esfahani and Kuhn (arXiv:1505.05116, 2018).

Setting

Let SSS be a Polish space with its Borel σ\sigmaσ-algebra, μ\muμ a probability measure on SSS, δ>0\delta>0δ>0 a budget, c:S×S→[0,∞)c:S\times S\to[0,\infty)c:S×S→[0,∞) a cost and f:S→Rf:S\to\mathbb Rf:S→R a performance function. The standing assumptions are:

  • (A1) ccc is lower semicontinuous and c(x,y)=0c(x,y)=0c(x,y)=0 iff x=yx=yx=y;
  • (A2) fff is upper semicontinuous and μ\muμ-integrable.

The primal feasible set Φμ,δ\Phi_{\mu,\delta}Φμ,δ​ consists of the probability measures π\piπ on S×SS\times SS×S with first marginal μ\muμ and ∫c dπ≤δ\int c\,d\pi\le\delta∫cdπ≤δ (transport plans out of μ\muμ of cost at most δ\deltaδ). The primal objective is I(π)=∫f(y) dπ(x,y)I(\pi)=\int f(y)\,d\pi(x,y)I(π)=∫f(y)dπ(x,y) and the primal value is I=sup⁡{I(π):π∈Φμ,δ}I=\sup\{I(\pi):\pi\in\Phi_{\mu,\delta}\}I=sup{I(π):π∈Φμ,δ​}. The dual feasible set Λc,f\Lambda_{c,f}Λc,f​ consists of pairs (λ,φ)(\lambda,\varphi)(λ,φ) with λ≥0\lambda\ge0λ≥0, φ:S→[−∞,∞]\varphi:S\to[-\infty,\infty]φ:S→[−∞,∞] universally measurable and φ(x)+λc(x,y)≥f(y)\varphi(x)+\lambda c(x,y)\ge f(y)φ(x)+λc(x,y)≥f(y) for all x,yx,yx,y. The dual objective is J(λ,φ)=λδ+∫φ dμJ(\lambda,\varphi)=\lambda\delta+\int\varphi\,d\muJ(λ,φ)=λδ+∫φdμ and the dual value is J=inf⁡J(λ,φ)J=\inf J(\lambda,\varphi)J=infJ(λ,φ). For λ≥0\lambda\ge0λ≥0 put φλ(x)=sup⁡y{f(y)−λc(x,y)}\varphi_\lambda(x)=\sup_y\{f(y)-\lambda c(x,y)\}φλ​(x)=supy​{f(y)−λc(x,y)}.

Section 5 assumes throughout that (λ∗,φλ∗)∈Λc,f(\lambda^*,\varphi_{\lambda^*})\in\Lambda_{c,f}(λ∗,φλ∗​)∈Λc,f​ is a dual optimal pair with I=J=J(λ∗,φλ∗)<∞I=J=J(\lambda^*,\varphi_{\lambda^*})<\inftyI=J=J(λ∗,φλ∗​)<∞. Write Φμ,δ′\Phi'_{\mu,\delta}Φμ,δ′​ for the plans in Φμ,δ\Phi_{\mu,\delta}Φμ,δ​ concentrated on {f(x)≤f(y)}\{f(x)\le f(y)\}{f(x)≤f(y)}.

(P-Compactness): for every ε>0\varepsilon>0ε>0 there are a compact KεK_\varepsilonKε​ with μ(Kε)>1−ε\mu(K_\varepsilon)>1-\varepsilonμ(Kε​)>1−ε and γ>0\gamma>0γ>0 such that {(x,y)∈Kε×S:f(y)−λ∗c(x,y)≥φλ∗(x)−γ}\{(x,y)\in K_\varepsilon\times S: f(y)-\lambda^*c(x,y)\ge\varphi_{\lambda^*}(x)-\gamma\}{(x,y)∈Kε​×S:f(y)−λ∗c(x,y)≥φλ∗​(x)−γ} has compact closure. (P-USC): lim sup⁡nI(πn)≤I(π∗)\limsup_n I(\pi_n)\le I(\pi^*)limsupn​I(πn​)≤I(π∗) whenever πn∈Φμ,δ′\pi_n\in\Phi'_{\mu,\delta}πn​∈Φμ,δ′​ converge weakly to π∗∈Φμ,δ\pi^*\in\Phi_{\mu,\delta}π∗∈Φμ,δ​.

On a normed space EEE: (A3) c(x,y)≥g(∥x−y∥)c(x,y)\ge g(\|x-y\|)c(x,y)≥g(∥x−y∥) for ∥x−y∥>C\|x-y\|>C∥x−y∥>C, with ggg nondecreasing and g(t)↑∞g(t)\uparrow\inftyg(t)↑∞. (A4) (f(y)−f(x))/(1+h(∥x−y∥))≤K(f(y)-f(x))/(1+h(\|x-y\|))\le K(f(y)−f(x))/(1+h(∥x−y∥))≤K for an increasing hhh with h(t)↑∞h(t)\uparrow\inftyh(t)↑∞; and for every ε>0\varepsilon>0ε>0, f(y)−f(x)≤ε(1+c(x,y))f(y)-f(x)\le\varepsilon(1+c(x,y))f(y)−f(x)≤ε(1+c(x,y)) once ∥x−y∥>Cε\|x-y\|>C_\varepsilon∥x−y∥>Cε​.

Formalization targets

Goal: Corollary 1 (p. 27)

Let EEE be a real normed space that is locally compact, and let c,fc,fc,f satisfy (A1)–(A4). Under the standing assumption, if λ∗>0\lambda^*>0λ∗>0 there is π∗∈Φμ,δ\pi^*\in\Phi_{\mu,\delta}π∗∈Φμ,δ​ with

I(π∗)=I=J=J(λ∗,φλ∗).I(\pi^*)=I=J=J(\lambda^*,\varphi_{\lambda^*}).I(π∗)=I=J=J(λ∗,φλ∗​).

Milestones

  1. Remark 4, (10)–(11) (p. 8): for π∈Φμ,δ\pi\in\Phi_{\mu,\delta}π∈Φμ,δ​, I−I(π)I-I(\pi)I−I(π) is the sum of two nonnegative gaps, ∫(φλ∗(x)−f(y)+λ∗c(x,y)) dπ\int(\varphi_{\lambda^*}(x)-f(y)+\lambda^*c(x,y))\,d\pi∫(φλ∗​(x)−f(y)+λ∗c(x,y))dπ and λ∗(δ−∫c dπ)\lambda^*(\delta-\int c\,d\pi)λ∗(δ−∫cdπ); so an ε\varepsilonε-optimal plan has both gaps at most ε\varepsilonε.
  2. Lemma 17 (p. 43): every plan in Φμ,δ\Phi_{\mu,\delta}Φμ,δ​ can be replaced by one in Φμ,δ′\Phi'_{\mu,\delta}Φμ,δ′​ with at least the same value.
  3. §5 display (p. 26): I=sup⁡{I(π):π∈Φμ,δ′}I=\sup\{I(\pi):\pi\in\Phi'_{\mu,\delta}\}I=sup{I(π):π∈Φμ,δ′​}.
  4. Proposition 9 (p. 26): on a Polish space, (P-Compactness) and (P-USC) give a primal optimizer.
  5. Corollary 1, Step 1 (p. 28): (A1)–(A4) and λ∗>0\lambda^*>0λ∗>0 give (P-Compactness).
  6. Corollary 1, Step 2 (pp. 28–29): (A1), (A2), (A4) and I<∞I<\inftyI<∞ give (P-USC):
lim sup⁡n∫f(y) dπn≤∫f(y) dπ∗.\limsup_n\int f(y)\,d\pi_n\le\int f(y)\,d\pi^*.nlimsup​∫f(y)dπn​≤∫f(y)dπ∗.

Significance

The result. An attained worst case turns duality into a structural statement. By Theorem 1(b) of the paper, an optimizer moves mass from xxx only to maximizers of f(y)−λ∗c(x,y)f(y)-\lambda^*c(x,y)f(y)−λ∗c(x,y) and, when λ∗>0\lambda^*>0λ∗>0, uses the full budget. When those maximizers are unique (Remark 8: ccc convex in yyy, fff concave) the worst-case model is unique and is the image of μ\muμ under a transport map. That map is what stress tests and robust estimators are built from. Without existence, these statements describe an object that may not be there.

Formalizing it. The paper's proofs are complete; nothing here is open. No machine-checked version of this result is known: the worst-case optimal transport literature, including the strong duality of this paper, is unformalized. The mission produces the transport objects of §2 in a form that keeps the paper's generality (Polish space, lower semicontinuous real cost, universally measurable dual variables, the ∞−∞\infty-\infty∞−∞ convention), a tightness argument for nearly optimal one-marginal plans, and an upper semicontinuity argument for unbounded upper semicontinuous integrands under uniform integrability.

Difficulty

The obvious argument takes a maximizing sequence and extracts a weak limit. Both steps fail without more structure. First, Φμ,δ\Phi_{\mu,\delta}Φμ,δ​ is not tight: only the first marginal is fixed, and a sequence may push mass to infinity at bounded cost. That is exactly what happens in Example 2 (p. 26), where λ∗=0\lambda^*=0λ∗=0 and the value 111 is approached but never reached. Tightness has to come from the dual: nearly optimal plans concentrate near maximizers of f(y)−λ∗c(x,y)f(y)-\lambda^*c(x,y)f(y)−λ∗c(x,y), and (A3)–(A4) with λ∗>0\lambda^*>0λ∗>0 confine those maximizers. Second, fff is only upper semicontinuous and unbounded, so weak convergence alone does not give lim sup⁡∫f dπn≤∫f dπ∗\limsup\int f\,d\pi_n\le\int f\,d\pi^*limsup∫fdπn​≤∫fdπ∗. A uniform integrability bound is needed, and it uses the restriction to Φμ,δ′\Phi'_{\mu,\delta}Φμ,δ′​ in an essential way. A third, Lean-specific difficulty is measure-theoretic: φλ∗\varphi_{\lambda^*}φλ∗​ is only universally measurable, and the gaps of Remark 4 are integrals against completions.

Formalization scope

All declarations sit in the namespace ModelRiskOT.PrimalOpt. Values of I(π)I(\pi)I(π), III, J(λ,φ)J(\lambda,\varphi)J(λ,φ), JJJ and φλ\varphi_\lambdaφλ​ are in EReal. I(π)I(\pi)I(π) is ∫f+(y) dπ−∫f−(y) dπ\int f^+(y)\,d\pi-\int f^-(y)\,d\pi∫f+(y)dπ−∫f−(y)dπ with lower integrals, and Mathlib's ⊤−⊤=⊥\top-\top=\bot⊤−⊤=⊥ realises the paper's reading of the supremum (footnote 2, p. 5). Integrals of nonnegative or extended-real functions are lower integrals (lintegral), never Bochner integrals. Universal measurability is the published BertsekasShreve.AnalyticSelection.IsUniversallyMeasurable. Weak convergence is the topology of ProbabilityMeasure (S × S). Measures on S×SS\times SS×S use the product σ\sigmaσ-algebra.

The following readings are fixed:

  • The standing assumption of §5 ((λ∗,φλ∗)∈Λc,f(\lambda^*,\varphi_{\lambda^*})\in\Lambda_{c,f}(λ∗,φλ∗​)∈Λc,f​, I=JI=JI=J, J=J(λ∗,φλ∗)J=J(\lambda^*,\varphi_{\lambda^*})J=J(λ∗,φλ∗​), finiteness) consists of hypotheses of Proposition 9 and Corollary 1. I=JI=JI=J is Theorem 1(a), the goal of the companion mission on strong duality, and is not assumed proved here.
  • In (P-Compactness) the constant γ\gammaγ may depend on ε\varepsilonε.
  • "Increasing" in (A4) is strict.
  • Remark 4's second conclusion in (11) is also stated as λ∗(δ−∫c dπ)≤ε\lambda^*(\delta-\int c\,d\pi)\le\varepsilonλ∗(δ−∫cdπ)≤ε, which covers λ∗=0\lambda^*=0λ∗=0.
  • Lemma 17's last inequality is stated for every plan, which is equivalent under the EReal convention.
  • Corollary 1's space is a real normed space with LocallyCompactSpace. It also carries PolishSpace, which is redundant, since a locally compact real normed space is finite-dimensional.

The goal cannot be satisfied by a junk value: III and JJJ are EReal suprema and infima, not real sSup, and the hypothesis λ∗>0\lambda^*>0λ∗>0 is kept because Example 2 shows the conclusion fails without it. A sorry-free check that c(x,y)=(x−y)2c(x,y)=(x-y)^2c(x,y)=(x−y)2, f(y)=yf(y)=yf(y)=y on R\mathbb RR satisfy (A1), (A3) and (A4) accompanies the drafts.

A complete development needs Prokhorov's theorem (in Mathlib), a Fatou lemma for weakly converging measures with a lower semicontinuous integrand, an upper semicontinuity theorem for uniformly integrable upper semicontinuous integrands, and the change of variables ∫φ(x) dπ=∫φ dμ\int\varphi(x)\,d\pi=\int\varphi\,d\mu∫φ(x)dπ=∫φdμ for universally measurable φ\varphiφ. The last three are reusable well beyond this mission. Proofs of any milestone, and these general lemmas as separate contributions, are welcome.

Selected references

  • J. Blanchet and K. Murthy, Quantifying Distributional Model Risk via Optimal Transport, Math. Oper. Res. 44(2):565–600, 2019. arXiv:1604.01446v2, doi:10.1287/moor.2018.0936
  • R. Gao and A. Kleywegt, Distributionally Robust Stochastic Optimization with Wasserstein Distance, 2016. arXiv:1604.02199
  • P. Mohajerin Esfahani and D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric, Math. Program. 171:115–166, 2018. arXiv:1505.05116
  • A. M. Zapała, Unbounded mappings and weak convergence of measures, Statist. Probab. Lett. 78(6):698–706, 2008. doi:10.1016/j.spl.2007.09.033
  • C. Villani, Optimal Transport: Old and New, Springer, 2009. doi:10.1007/978-3-540-71050-9
18 thms2 active usersReviewed
🏆Completed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Quantifying Distributional Model Risk via Optimal Transport 2: The Worst-Case Probability of a Closed Set A Equals the Baseline Probability of Its Inflation {x : c(x, A) ≤ 1/λ*}Research Paper

Motivation

A probability model μ\muμ for a risk quantity, such as the reserve process of an insurer or the path of a queue, is usually chosen for tractability or fitted to limited data, and the true law of the system is unknown. Distributional model risk asks how large a probability of interest could be if the true law were any model "close" to μ\muμ. When closeness is measured by an optimal transport cost rather than a likelihood ratio, the competing models may put mass where μ\muμ puts none, which is the situation for rare events such as ruin or buffer overflow: the event of interest often lies outside the support of the baseline.

Blanchet and Murthy (arXiv:1604.01446, Mathematics of Operations Research 44(2), 2019) prove strong duality for worst-case expectations over an optimal-transport ball on a general Polish space, with a lower semicontinuous cost. Their §2.4 specializes the duality to worst-case probabilities of a closed set and obtains a closed-form answer: the worst-case probability of AAA is the baseline probability of an inflated version of AAA. This mission formalizes that result, Theorem 3 of the paper, together with the numbered statements its proof uses.

Setting

Let SSS be a Polish space with its Borel σ\sigmaσ-algebra, P(S)P(S)P(S) its probability measures, and μ∈P(S)\mu \in P(S)μ∈P(S) the baseline. A cost c:S×S→R+c : S \times S \to \mathbb R_+c:S×S→R+​ satisfies Assumption (A1): it is nonnegative, lower semicontinuous, and c(x,y)=0c(x,y) = 0c(x,y)=0 if and only if x=yx = yx=y.

For μ1,μ2∈P(S)\mu_1, \mu_2 \in P(S)μ1​,μ2​∈P(S), a coupling of μ1\mu_1μ1​ and μ2\mu_2μ2​ is a probability measure π\piπ on S×SS \times SS×S with marginals μ1\mu_1μ1​ and μ2\mu_2μ2​; Π(μ1,μ2)\Pi(\mu_1,\mu_2)Π(μ1​,μ2​) is the set of couplings, and the optimal transport cost is

dc(μ1,μ2)=inf⁡{∫c dπ:π∈Π(μ1,μ2)}.d_c(\mu_1,\mu_2) = \inf\Big\{\int c\,d\pi : \pi \in \Pi(\mu_1,\mu_2)\Big\}.dc​(μ1​,μ2​)=inf{∫cdπ:π∈Π(μ1​,μ2​)}.

For a budget δ>0\delta > 0δ>0, the primal feasible set Φμ,δ\Phi_{\mu,\delta}Φμ,δ​ consists of the probability measures π\piπ on S×SS \times SS×S with first marginal μ\muμ and ∫c dπ≤δ\int c\,d\pi \le \delta∫cdπ≤δ.

Fix a nonempty closed set A⊆SA \subseteq SA⊆S and let c(x,A)=inf⁡{c(x,y):y∈A}c(x,A) = \inf\{c(x,y) : y \in A\}c(x,A)=inf{c(x,y):y∈A} be the cheapest cost of moving unit mass from xxx into AAA. The worst-case probability is

I=sup⁡{P(A):dc(μ,P)≤δ}.(12)I = \sup\{P(A) : d_c(\mu,P) \le \delta\}. \tag{12}I=sup{P(A):dc​(μ,P)≤δ}.(12)

Its dual is the univariate problem

inf⁡λ≥0{λδ+Eμ[(1−λc(X,A))+]},(13)\inf_{\lambda \ge 0}\Big\{\lambda\delta + E_\mu\big[(1 - \lambda c(X,A))^+\big]\Big\}, \tag{13}λ≥0inf​{λδ+Eμ​[(1−λc(X,A))+]},(13)

and for a minimizer λ∗∈[0,∞)\lambda^* \in [0,\infty)λ∗∈[0,∞) of (13) the paper defines

c‾=∫{c(x,A)<1/λ∗}c(x,A) dμ(x),c‾=∫{c(x,A)≤1/λ∗}c(x,A) dμ(x).(14)\underline c = \int_{\{c(x,A) < 1/\lambda^*\}} c(x,A)\,d\mu(x), \qquad \overline c = \int_{\{c(x,A) \le 1/\lambda^*\}} c(x,A)\,d\mu(x). \tag{14}c​=∫{c(x,A)<1/λ∗}​c(x,A)dμ(x),c=∫{c(x,A)≤1/λ∗}​c(x,A)dμ(x).(14)

Formalization targets

Goal: Theorem 3 (p. 10)

If λ∗∈[0,∞)\lambda^* \in [0,\infty)λ∗∈[0,∞) attains the infimum in (13) and c‾=c‾\underline c = \overline cc​=c, then

sup⁡{P(A):dc(μ,P)≤δ}=μ{x:c(x,A)≤1/λ∗}.(15)\sup\{P(A) : d_c(\mu,P) \le \delta\} = \mu\{x : c(x,A) \le 1/\lambda^*\}. \tag{15}sup{P(A):dc​(μ,P)≤δ}=μ{x:c(x,A)≤1/λ∗}.(15)

Milestones, in the order the proof uses them

  1. Coupling form (§2.2, p. 5, for f=1Af = 1_Af=1A​): I=sup⁡{π(S×A):π∈Φμ,δ}I = \sup\{\pi(S \times A) : \pi \in \Phi_{\mu,\delta}\}I=sup{π(S×A):π∈Φμ,δ​}.
  2. Indicator supremum (pp. 8–9): sup⁡y{1A(y)−λc(x,y)}=(1−λc(x,A))+\sup_{y}\{1_A(y) - \lambda c(x,y)\} = (1 - \lambda c(x,A))^+supy​{1A​(y)−λc(x,y)}=(1−λc(x,A))+ for λ≥0\lambda \ge 0λ≥0.
  3. (13) (p. 9): III equals the infimum in (13).
  4. Remark 4, (11) for f=1Af = 1_Af=1A​ (p. 8): an ε\varepsilonε-optimal plan πε\pi_\varepsilonπε​ satisfies ∫(φλ∗(x)−(1A(y)−λ∗c(x,y))) dπε≤ε\int(\varphi_{\lambda^*}(x) - (1_A(y) - \lambda^* c(x,y)))\,d\pi_\varepsilon \le \varepsilon∫(φλ∗​(x)−(1A​(y)−λ∗c(x,y)))dπε​≤ε and, for λ∗>0\lambda^* > 0λ∗>0, (δ−ε/λ∗)+≤∫c dπε≤δ(\delta - \varepsilon/\lambda^*)^+ \le \int c\,d\pi_\varepsilon \le \delta(δ−ε/λ∗)+≤∫cdπε​≤δ.
  5. Lemma 4 (p. 11): plans πn∈Φμ,δ\pi_n \in \Phi_{\mu,\delta}πn​∈Φμ,δ​, n>1n > 1n>1, with πn(Cn)≥1−1/n\pi_n(C_n) \ge 1 - 1/nπn​(Cn​)≥1−1/n, no cost outside the set CnC_nCn​ of §2.4.1, and πn(S×A)≥I−2/n\pi_n(S \times A) \ge I - 2/nπn​(S×A)≥I−2/n.
  6. Lemma 2 (p. 10): c‾≤δ≤c‾\underline c \le \delta \le \overline cc​≤δ≤c if λ∗>0\lambda^* > 0λ∗>0 attains (13); δ≥c‾=c‾\delta \ge \overline c = \underline cδ≥c=c​ if λ∗=0\lambda^* = 0λ∗=0 does.

Significance

Theorem 3 converts a supremum over an infinite-dimensional ball of probability measures into a single probability under the baseline: μ\muμ of the set of points that can reach AAA at cost at most 1/λ∗1/\lambda^*1/λ∗, where 1/λ∗1/\lambda^*1/λ∗ is determined by δ\deltaδ through the one-dimensional function u↦∫{c(x,A)≤u}c(x,A) dμu \mapsto \int_{\{c(x,A) \le u\}} c(x,A)\,d\muu↦∫{c(x,A)≤u}​c(x,A)dμ. For the cost c=dc = dc=d of a metric this is the baseline probability of the 1/λ∗1/\lambda^*1/λ∗-neighbourhood of AAA. The paper uses it to compute worst-case ruin probabilities for the Cramér–Lundberg model around a Brownian approximation (§3, §6.1), where SSS is a path space; the result applies there because nothing in it uses local compactness of SSS.

The result is proved in the paper. As far as the platform's corpus shows, neither it nor the strong duality behind it has been formalized. A formal development produces, beyond Theorem 3: a reusable definition of optimal transport costs with lower semicontinuous costs on Polish spaces; the coupling reformulation of the transport ball, which rests on the existence of optimal transport plans (Villani, Optimal Transport, Theorem 4.1), not in Mathlib; and an ε\varepsilonε-optimal-plan argument that avoids assuming a primal optimizer exists.

Difficulty

The heuristic derivation on pp. 9–10 constructs an optimal transport plan that moves each xxx with c(x,A)≤1/λ∗c(x,A) \le 1/\lambda^*c(x,A)≤1/λ∗ to a nearest point of AAA and leaves the others in place. It needs a nearest point to exist and to be selectable measurably, which fails for general closed AAA in a non-locally-compact space, and it needs a primal optimizer, which need not exist. Theorem 3 assumes neither, so the construction is not a proof. A second point is the boundary level c(x,A)=1/λ∗c(x,A) = 1/\lambda^*c(x,A)=1/λ∗: when μ\muμ charges it, as for atomic baselines, the identity (15) can fail (for μ\muμ a point mass at distance 111 from AAA and δ<1\delta < 1δ<1, the worst case is δ\deltaδ, not 111), and the hypothesis c‾=c‾\underline c = \overline cc​=c is exactly what excludes this. Measurability is a second obstacle: x↦c(x,A)x \mapsto c(x,A)x↦c(x,A) is an infimum of a lower semicontinuous function over AAA and in general only universally measurable, so integrals of it are taken against the completion of μ\muμ.

Formalization scope

All objects live in the namespace ModelRiskOT.WorstProb. SSS carries [TopologicalSpace S] [PolishSpace S] [MeasurableSpace S] [BorelSpace S]; μ\muμ is a Measure S with IsProbabilityMeasure; the cost is a real-valued c : S → S → ℝ with (A1) bundled as a structure (nonnegativity, lower semicontinuity on S×SS \times SS×S, and c(x,y)=0  ⟺  x=yc(x,y) = 0 \iff x = yc(x,y)=0⟺x=y). Committed conventions:

  • Values in [0,∞][0,\infty][0,∞]. dcd_cdc​, III, the objective of (13), c‾\underline cc​ and c‾\overline cc are ℝ≥0∞; integrals are lower Lebesgue integrals and the positive part (⋅)+(\cdot)^+(⋅)+ is ENNReal.ofReal. For the universally measurable functions and sets that occur, lower integrals and outer measures agree with the completion of μ\muμ, which is the paper's reading (p. 4). No Bochner integral is used.
  • The threshold 1/λ∗1/\lambda^*1/λ∗ is written in multiplied form: c(x,A)≤1/λ∗c(x,A) \le 1/\lambda^*c(x,A)≤1/λ∗ is λ∗c(x,A)≤1\lambda^* c(x,A) \le 1λ∗c(x,A)≤1, and likewise for the strict inequality and for the sets CnC_nCn​. For λ∗>0\lambda^* > 0λ∗>0 this is the printed condition; at λ∗=0\lambda^* = 0λ∗=0 it is the whole space, the paper's convention 1/0=∞1/0 = \infty1/0=∞.
  • dcd_cdc​ fixes both marginals; Φμ,δ\Phi_{\mu,\delta}Φμ,δ​ fixes only the first.
  • c(x,A)c(x,A)c(x,A) is a real infimum over the subtype AAA; every statement assumes AAA nonempty.
  • "λ∗\lambda^*λ∗ attains the infimum in (13)" is λ∗≥0\lambda^* \ge 0λ∗≥0 and g(λ∗)≤g(λ)g(\lambda^*) \le g(\lambda)g(λ∗)≤g(λ) for all λ≥0\lambda \ge 0λ≥0.
  • Inequalities X≥I−tX \ge I - tX≥I−t are written I≤X+tI \le X + tI≤X+t in [0,∞][0,\infty][0,∞]; sequences "n>1n > 1n>1" are indexed by n∈Nn \in \mathbb Nn∈N with 1<n1 < n1<n.

A formalization in which the transport ball fixes only the first marginal would contain every probability measure and give I=1I = 1I=1 for every nonempty AAA; the definitions here fix both marginals of the couplings in dcd_cdc​, and the hypothesis c‾=c‾\underline c = \overline cc​=c is kept as stated rather than replaced by continuity of u↦∫{c(x,A)≤u}c(x,A) dμu \mapsto \int_{\{c(x,A) \le u\}} c(x,A)\,d\muu↦∫{c(x,A)≤u}​c(x,A)dμ.

A complete development needs the existence of optimal couplings for lower semicontinuous costs (tightness and Prokhorov's theorem, available in Mathlib), the strong duality of the paper's Theorem 1 specialized to indicators (milestone 3; a separate mission in this series formalizes Theorem 1 in general), and universal measurability of c(⋅,A)c(\cdot,A)c(⋅,A) through projections of Borel sets. The transport-cost definitions and the coupling reformulation are reusable beyond this mission. Proofs of any milestone are welcome, as are proofs that derive (13) from the general strong duality once that is published.

Selected references

  • J. Blanchet, K. Murthy, Quantifying Distributional Model Risk via Optimal Transport, arXiv:1604.01446v2, 2017; Mathematics of Operations Research 44(2):565–600, 2019. https://arxiv.org/abs/1604.01446, https://doi.org/10.1287/moor.2018.0936
  • C. Villani, Optimal Transport: Old and New, Grundlehren der mathematischen Wissenschaften 338, Springer, 2009. https://doi.org/10.1007/978-3-540-71050-9
  • R. Gao, A. Kleywegt, Distributionally Robust Stochastic Optimization with Wasserstein Distance, arXiv:1604.02199, 2016. https://arxiv.org/abs/1604.02199
  • P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric, Mathematical Programming 171:115–166, 2018. https://doi.org/10.1007/s10107-017-1172-1
  • D. P. Bertsekas, S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978 (universal measurability, Ch. 7).
11 thms2 active usersReviewed
🏆Completed
Machine LearningOptimizationStatistics·Captain: mikedeng1

Robust Wasserstein Profile Inference and Applications to Machine Learning 2: ℓp-Regularized Logistic Regression and the Hinge-Loss SVM Are Wasserstein DRO under a Label-Preserving Transport CostResearch Paper

Motivation

Regularized logistic regression and the support vector machine (SVM) are two of the most widely used linear classifiers. Both are usually introduced as empirical risk minimization plus a norm penalty ∥β∥p\|\beta\|_p∥β∥p​ whose size is tuned by cross-validation, with the penalty justified heuristically as a guard against overfitting. Distributionally robust optimization (DRO) offers a different reading: instead of minimizing the average loss on the training sample, minimize the worst average loss over all distributions close to the empirical one. Blanchet, Kang and Murthy (arXiv:1610.05627v4; J. Appl. Probab. 56(3), 2019) show that, for a suitable notion of closeness based on optimal transport, the robust problem and the penalized problem coincide exactly. The penalty is then the price of robustness against perturbations of the predictors, and the regularization parameter becomes the radius of an uncertainty set, which the same paper later chooses by a statistical criterion (the robust Wasserstein profile).

Related earlier work: Shafieezadeh-Abadeh, Mohajerin Esfahani and Kuhn (NIPS 2015) studied Wasserstein-robust logistic regression with a metric that charges a finite price κ\kappaκ for flipping a label, and obtained regularized logistic regression only in the limit κ→∞\kappa \to \inftyκ→∞. The result formalized here is the exact statement at κ=∞\kappa = \inftyκ=∞, together with the analogous statement for the hinge loss.

Setting

Training data are pairs (X1,Y1),…,(Xn,Yn)(X_1,Y_1),\dots,(X_n,Y_n)(X1​,Y1​),…,(Xn​,Yn​) with predictors Xi∈RdX_i \in \mathbb R^dXi​∈Rd and labels Yi∈{−1,+1}Y_i \in \{-1,+1\}Yi​∈{−1,+1}, n≥1n \ge 1n≥1. Their empirical distribution is Pn=1n∑i=1nδ(Xi,Yi)P_n = \frac1n\sum_{i=1}^n \delta_{(X_i,Y_i)}Pn​=n1​∑i=1n​δ(Xi​,Yi​)​, a probability measure on Z=Rd×RZ = \mathbb R^d \times \mathbb RZ=Rd×R.

For a cost c:Z×Z→[0,∞]c : Z \times Z \to [0,\infty]c:Z×Z→[0,∞], the optimal transport cost between probability measures PPP and QQQ on ZZZ is

Dc(P,Q)=inf⁡{Eπ[c(U,W)]:π a probability measure on Z×Z, πU=P, πW=Q}.D_c(P,Q) = \inf\big\{\mathbb E_\pi[c(U,W)] : \pi \text{ a probability measure on } Z\times Z,\ \pi_U = P,\ \pi_W = Q\big\}.Dc​(P,Q)=inf{Eπ​[c(U,W)]:π a probability measure on Z×Z, πU​=P, πW​=Q}.

The cost used here is the label-preserving cost: for q∈[1,∞]q \in [1,\infty]q∈[1,∞],

Nq((x,y),(u,v))=∥x−u∥q if y=v,+∞ otherwise.N_q\big((x,y),(u,v)\big) = \|x - u\|_q \text{ if } y = v, \qquad +\infty \text{ otherwise}.Nq​((x,y),(u,v))=∥x−u∥q​ if y=v,+∞ otherwise.

Every distribution PPP with DNq(P,Pn)<∞D_{N_q}(P,P_n) < \inftyDNq​​(P,Pn​)<∞ has the same label distribution as PnP_nPn​; only the predictors are perturbed. The exponent ppp is the conjugate of qqq, 1/p+1/q=11/p + 1/q = 11/p+1/q=1.

The losses are the log-exponential loss log⁡(1+e−yβTx)\log(1 + e^{-y\beta^T x})log(1+e−yβTx) and the hinge loss (1−yβTx)+(1 - y\beta^T x)^+(1−yβTx)+, for a coefficient vector β∈Rd\beta \in \mathbb R^dβ∈Rd. The worst-case expected loss at radius δ≥0\delta \ge 0δ≥0 is sup⁡{EP[l]:DNq(P,Pn)≤δ}\sup\{\mathbb E_P[l] : D_{N_q}(P,P_n) \le \delta\}sup{EP​[l]:DNq​​(P,Pn​)≤δ}, the supremum over probability measures PPP on ZZZ.

Formalization targets

Goal: Theorem 2 (p. 11)

For every δ≥0\delta \ge 0δ≥0 and every β∈Rd\beta \in \mathbb R^dβ∈Rd,

sup⁡P: DNq(P,Pn)≤δEP[log⁡(1+e−YβTX)]=1n∑i=1nlog⁡(1+e−YiβTXi)+δ∥β∥p,\sup_{P:\ D_{N_q}(P,P_n)\le\delta} \mathbb E_P\big[\log(1 + e^{-Y\beta^T X})\big] = \frac1n\sum_{i=1}^n \log(1 + e^{-Y_i\beta^T X_i}) + \delta\|\beta\|_p,P: DNq​​(P,Pn​)≤δsup​EP​[log(1+e−YβTX)]=n1​i=1∑n​log(1+e−Yi​βTXi​)+δ∥β∥p​, sup⁡P: DNq(P,Pn)≤δEP[(1−YβTX)+]=1n∑i=1n(1−YiβTXi)++δ∥β∥p,\sup_{P:\ D_{N_q}(P,P_n)\le\delta} \mathbb E_P\big[(1 - Y\beta^T X)^+\big] = \frac1n\sum_{i=1}^n (1 - Y_i\beta^T X_i)^+ + \delta\|\beta\|_p,P: DNq​​(P,Pn​)≤δsup​EP​[(1−YβTX)+]=n1​i=1∑n​(1−Yi​βTXi​)++δ∥β∥p​,

and consequently the two identities obtained by taking inf⁡β\inf_{\beta}infβ​ on both sides, which is how the paper prints the theorem.

Milestones

  1. Proposition 1 (p. 10): strong duality, sup⁡P:Dc(P,Pn)≤δEP[l]=min⁡γ≥0{γδ+1n∑iφγ(Xi,Yi)}\sup_{P: D_c(P,P_n)\le\delta}\mathbb E_P[l] = \min_{\gamma\ge0}\{\gamma\delta + \frac1n\sum_i\varphi_\gamma(X_i,Y_i)\}supP:Dc​(P,Pn​)≤δ​EP​[l]=minγ≥0​{γδ+n1​∑i​φγ​(Xi​,Yi​)} with φγ(z0)=sup⁡z{l(z)−γc(z,z0)}\varphi_\gamma(z_0) = \sup_z\{l(z) - \gamma c(z,z_0)\}φγ​(z0​)=supz​{l(z)−γc(z,z0​)}, for a lower semicontinuous cost vanishing on the diagonal, an upper semicontinuous loss and δ>0\delta > 0δ>0.
  2. Logistic inner supremum (proof of Theorem 2, p. 30): sup⁡x{log⁡(1+e−y0βTx)−λ∥x−x0∥q}\sup_x\{\log(1+e^{-y_0\beta^T x}) - \lambda\|x - x_0\|_q\}supx​{log(1+e−y0​βTx)−λ∥x−x0​∥q​} equals the loss at x0x_0x0​ if ∥β∥p≤λ\|\beta\|_p \le \lambda∥β∥p​≤λ and +∞+\infty+∞ otherwise.
  3. Logistic outer minimisation (p. 30): the infimum over λ≥0\lambda \ge 0λ≥0 of δλ\delta\lambdaδλ plus the average of these suprema equals the regularized empirical loss.
  4. Hinge inner supremum (pp. 30–31) and 5. hinge outer minimisation (p. 31): the same two steps for the hinge loss.

Significance

The theorem identifies two standard estimators as exact solutions of a robust decision problem. Consequences: the penalty δ∥β∥p\delta\|\beta\|_pδ∥β∥p​ has a quantitative meaning (the adversary's transport budget), the regularization parameter can be chosen by the paper's robust Wasserstein profile instead of cross-validation, and the norm of the penalty is tied to the geometry of the perturbations (perturbations measured in ℓ∞\ell_\inftyℓ∞​ give an ℓ1\ell_1ℓ1​ penalty). The same identity is the input of the paper's coverage bound (Proposition 6) for ρ=1\rho = 1ρ=1.

The result is proved on paper; no machine-checked version is known. The formalization adds a precise statement of the objects involved (couplings with both marginals fixed, an infinite cost across labels, expectations of nonnegative losses with values in [0,∞][0,\infty][0,∞]), a checked version of the duality step specialised to this cost, and the treatment of boundary cases (δ=0\delta = 0δ=0, β=0\beta = 0β=0, q∈{1,∞}q \in \{1,\infty\}q∈{1,∞}) that the paper does not discuss.

Difficulty

The identities are short once Proposition 1 is available, so the weight of the mission lies in two places. First, Proposition 1 itself is a strong duality theorem for optimal transport over all probability measures on Rd+1\mathbb R^{d+1}Rd+1, with a cost that takes the value +∞+\infty+∞ and an unbounded loss, and with attainment of the dual minimum; it is quoted from Blanchet and Murthy (Math. Oper. Res. 2019) and not proved in this paper. The weak-duality inequality is routine; the reverse inequality requires constructing near-optimal distributions from the dual, which needs measurable selection of near-maximizers and does not follow from finite-dimensional convex duality. Second, the inner suprema require an exact Hölder-attainment argument for the pair of conjugate norms ℓp\ell_pℓp​ and ℓq\ell_qℓq​, including q=1q = 1q=1 and q=∞q = \inftyq=∞, and for the hinge loss a minimax exchange over α∈[0,1]\alpha \in [0,1]α∈[0,1]. Bypassing duality by a direct construction of the worst distribution is possible for the upper value but not obviously for the lower bound at the boundary λ=∥β∥p\lambda = \|\beta\|_pλ=∥β∥p​.

Formalization scope

  • Predictors are Fin d → ℝ, a data point is (Fin d → ℝ) × ℝ with the product Borel σ-algebra, and samples are indexed by Fin n with 0 < n. Labels are real numbers with the hypothesis Yi∈{−1,+1}Y_i \in \{-1,+1\}Yi​∈{−1,+1}, which Theorem 2 inherits from Example 2; the cost NqN_qNq​ is defined on all of Rd×R\mathbb R^d\times\mathbb RRd×R.
  • The ℓq\ell_qℓq​ norm is the norm of PiLp q, with q p : ℝ≥0∞ and p.HolderConjugate q; q=1q = 1q=1 and q=∞q = \inftyq=∞ are included, and no further restriction on qqq is imposed.
  • The transport cost is an infimum in [0,∞][0,\infty][0,∞] over probability measures on Z×ZZ\times ZZ×Z with both marginals fixed. Expectations are lower Lebesgue integrals of the nonnegative losses, and the worst case is a supremum in [0,∞][0,\infty][0,∞] over probability measures. The empirical distribution is the published platform definition WassersteinDRO.Regularization.empiricalDistribution.
  • Readings. The paper prints the SVM identity without inf⁡β\inf_\betainfβ​ on the right; the goal states the per-β\betaβ identities (what the proof establishes) and the identities of infima with inf⁡β\inf_\betainfβ​ on both sides. The proof's displays write the transport norm as ∥⋅∥p\|\cdot\|_p∥⋅∥p​ and the penalty as ∥β∥q\|\beta\|_q∥β∥q​, the reverse of the theorem; milestones use the theorem's convention. The logistic chain's printed indicators 1{λ>∥β∥}\mathbf 1_{\{\lambda>\|\beta\|\}}1{λ>∥β∥}​, ∞1{λ≤∥β∥}\infty\mathbf 1_{\{\lambda\le\|\beta\|\}}∞1{λ≤∥β∥}​ should read ≥\ge≥ and <<<; the stated end-to-end identity is unaffected. Proposition 1 is stated with a fixed nonnegative loss and δ>0\delta > 0δ>0.
  • A trivializing formalization is ruled out: a cost infimum over sub-probability couplings or with one marginal free, or a Bochner expectation that vanishes on non-integrable laws, would make the worst case +∞+\infty+∞ or 000; the definitions here fix both marginals, use probability measures only and integrate in [0,∞][0,\infty][0,∞]. At δ=0\delta = 0δ=0 the ball is {Pn}\{P_n\}{Pn​} and both sides reduce to the empirical loss.
  • Infrastructure needed: optimal-transport duality with extended-valued lower semicontinuous costs (reusable well beyond this mission), Hölder equality cases for PiLp, and calculus for the logistic function. Contributions to any of these are welcome, as are proofs of the inner suprema, which are independent of Proposition 1.

Selected references

  • J. Blanchet, Y. Kang, K. Murthy, Robust Wasserstein Profile Inference and Applications to Machine Learning, J. Appl. Probab. 56(3), 2019; arXiv:1610.05627v4. https://arxiv.org/abs/1610.05627
  • J. Blanchet, K. Murthy, Quantifying Distributional Model Risk via Optimal Transport, Math. Oper. Res. 44(2), 2019. https://doi.org/10.1287/moor.2018.0936
  • S. Shafieezadeh-Abadeh, P. Mohajerin Esfahani, D. Kuhn, Distributionally Robust Logistic Regression, NIPS 2015. https://arxiv.org/abs/1509.09259
12 thms2 active usersReviewed
🏆Completed
Linear OptimizationMachine LearningOperations Research+2·Captain: mikedeng1

Distributionally Robust Logistic Regression II: Worst- and Best-Case Misclassification Risks over a Wasserstein Ball Are Linear ProgramsResearch Paper

Motivation

A logistic regression model is fitted on finitely many samples, and the quantity a practitioner cares about is the misclassification risk of the fitted classifier on new data. Its empirical counterpart, the training error, is biased downwards, and classical generalization bounds give it an additive margin that depends on a complexity measure of the model class rather than on the data at hand.

Shafieezadeh-Abadeh, Mohajerin Esfahani and Kuhn (NIPS 2015) take a distributionally robust route. They surround the empirical distribution of the training data by a ball of distributions in the Wasserstein metric and, for a given weight vector, compute the largest and the smallest misclassification probability over that ball. Their Theorem 3 shows that both extremes are optimal values of explicit linear programs. Combined with a measure-concentration result for the empirical distribution in the Wasserstein metric (Fournier and Guillin, PTRF 2015), the two values bracket the true risk with a prescribed confidence. The same Wasserstein-ball construction underlies the data-driven optimization framework of Mohajerin Esfahani and Kuhn (Math. Program. 2018).

Setting

Let VVV be the feature space Rn\mathbb R^nRn with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥, and let labels take the values y∈{−1,+1}y\in\{-1,+1\}y∈{−1,+1}. The feature-label space is Ξ=V×{−1,+1}\Xi = V\times\{-1,+1\}Ξ=V×{−1,+1} with points ξ=(x,y)\xi=(x,y)ξ=(x,y). A weight vector β\betaβ acts on features by x↦⟨β,x⟩x\mapsto\langle\beta,x\ranglex↦⟨β,x⟩; its dual norm is ∥β∥∗=sup⁡∥x∥≤1⟨β,x⟩\|\beta\|_* = \sup_{\|x\|\le1}\langle\beta,x\rangle∥β∥∗​=sup∥x∥≤1​⟨β,x⟩.

Metric (Definition 2). For a weight κ>0\kappa>0κ>0,

d((x,y),(x′,y′))=∥x−x′∥+κ ∣y−y′∣/2.d\big((x,y),(x',y')\big) = \|x-x'\| + \kappa\,|y-y'|/2 .d((x,y),(x′,y′))=∥x−x′∥+κ∣y−y′∣/2.

Changing a label costs κ\kappaκ; moving a feature costs its norm distance.

Wasserstein distance (Definition 1). For distributions Q,P\mathbb Q,\mathbb PQ,P on Ξ\XiΞ, W(Q,P)W(\mathbb Q,\mathbb P)W(Q,P) is the infimum of ∫d(ξ,ξ′) Π(dξ,dξ′)\int d(\xi,\xi')\,\Pi(d\xi,d\xi')∫d(ξ,ξ′)Π(dξ,dξ′) over all couplings Π\PiΠ of Q\mathbb QQ and P\mathbb PP. The Wasserstein ball of radius ε≥0\varepsilon\ge0ε≥0 is Bε(P)={Q:W(Q,P)≤ε}\mathbb B_\varepsilon(\mathbb P) = \{\mathbb Q : W(\mathbb Q,\mathbb P)\le\varepsilon\}Bε​(P)={Q:W(Q,P)≤ε}.

Data. Training samples (x^i,y^i)(\hat x_i,\hat y_i)(x^i​,y^​i​), i=1,…,Ni=1,\dots,Ni=1,…,N, define the empirical distribution P^N=1N∑i=1Nδ(x^i,y^i)\hat{\mathbb P}_N = \frac1N\sum_{i=1}^N\delta_{(\hat x_i,\hat y_i)}P^N​=N1​∑i=1N​δ(x^i​,y^​i​)​.

Classifier and risk. Logistic regression models Prob⁡(y∣x)=[1+exp⁡(−y⟨β,x⟩)]−1\operatorname{Prob}(y\mid x) = [1+\exp(-y\langle\beta,x\rangle)]^{-1}Prob(y∣x)=[1+exp(−y⟨β,x⟩)]−1 (eq. (1)). The classifier is fβ(x)=+1f_\beta(x)=+1fβ​(x)=+1 if Prob⁡(+1∣x)>0.5\operatorname{Prob}(+1\mid x)>0.5Prob(+1∣x)>0.5 and −1-1−1 otherwise, and its risk under the data-generating distribution P\mathbb PP is R(β)=P[y≠fβ(x)]\mathfrak R(\beta) = \mathbb P[y\ne f_\beta(x)]R(β)=P[y=fβ​(x)].

Worst- and best-case risks.

Rmax⁡(β)=sup⁡Q∈Bε(P^N)EQ[1{y⟨β,x⟩≤0}],Rmin⁡(β)=inf⁡Q∈Bε(P^N)EQ[1{y⟨β,x⟩<0}].\mathfrak R_{\max}(\beta) = \sup_{\mathbb Q\in\mathbb B_\varepsilon(\hat{\mathbb P}_N)}\mathbb E^{\mathbb Q}\big[\mathbb 1_{\{y\langle\beta,x\rangle\le0\}}\big],\qquad \mathfrak R_{\min}(\beta) = \inf_{\mathbb Q\in\mathbb B_\varepsilon(\hat{\mathbb P}_N)}\mathbb E^{\mathbb Q}\big[\mathbb 1_{\{y\langle\beta,x\rangle<0\}}\big].Rmax​(β)=Q∈Bε​(P^N​)sup​EQ[1{y⟨β,x⟩≤0}​],Rmin​(β)=Q∈Bε​(P^N​)inf​EQ[1{y⟨β,x⟩<0}​].

The worst case counts a nonpositive margin, the best case a strictly negative one.

The linear programs. For data (x^i,y^i)(\hat x_i,\hat y_i)(x^i​,y^​i​), a weight vector β^\hat\betaβ^​ and variables λ∈R\lambda\in\mathbb Rλ∈R, s,r,t∈RNs,r,t\in\mathbb R^Ns,r,t∈RN, program (10a) minimizes λε+1N∑isi\lambda\varepsilon + \frac1N\sum_i s_iλε+N1​∑i​si​ subject to, for every iii,

1−riy^i⟨β^,x^i⟩≤si,1+tiy^i⟨β^,x^i⟩−λκ≤si,ri∥β^∥∗≤λ,ti∥β^∥∗≤λ,ri,ti,si≥0.1 - r_i\hat y_i\langle\hat\beta,\hat x_i\rangle\le s_i,\quad 1 + t_i\hat y_i\langle\hat\beta,\hat x_i\rangle - \lambda\kappa\le s_i,\quad r_i\|\hat\beta\|_*\le\lambda,\quad t_i\|\hat\beta\|_*\le\lambda,\quad r_i,t_i,s_i\ge0 .1−ri​y^​i​⟨β^​,x^i​⟩≤si​,1+ti​y^​i​⟨β^​,x^i​⟩−λκ≤si​,ri​∥β^​∥∗​≤λ,ti​∥β^​∥∗​≤λ,ri​,ti​,si​≥0.

Program (10b) has the same objective and bounds, with the signs of the two margin terms exchanged.

Formalization targets

Goal: Theorem 3 (i)–(ii)

For every κ>0\kappa>0κ>0, ε≥0\varepsilon\ge0ε≥0, N≥1N\ge1N≥1, all samples and every weight vector β^\hat\betaβ^​, both programs attain their minima vvv and www, and

Rmax⁡(β^)=v,Rmin⁡(β^)=1−w.\mathfrak R_{\max}(\hat\beta) = v,\qquad \mathfrak R_{\min}(\hat\beta) = 1-w .Rmax​(β^​)=v,Rmin​(β^​)=1−w.

The identities hold for each fixed β^\hat\betaβ^​, so they apply to any β^\hat\betaβ^​ computed from the data.

Milestone: Theorem 3(i) alone

Rmax⁡(β^)\mathfrak R_{\max}(\hat\beta)Rmax​(β^​) equals the minimum of (10a).

Milestones: the confidence clauses

If the training samples are i.i.d. from P\mathbb PP and the radius is such that PN{P∈Bε(P^N)}≥1−η\mathbb P^N\{\mathbb P\in\mathbb B_\varepsilon(\hat{\mathbb P}_N)\}\ge1-\etaPN{P∈Bε​(P^N​)}≥1−η, then for any sample-dependent β^\hat\betaβ^​

PN{R(β^)≤Rmax⁡(β^)}≥1−η,PN{Rmin⁡(β^)≤R(β^)}≥1−η,\mathbb P^N\{\mathfrak R(\hat\beta)\le\mathfrak R_{\max}(\hat\beta)\}\ge1-\eta,\qquad \mathbb P^N\{\mathfrak R_{\min}(\hat\beta)\le\mathfrak R(\hat\beta)\}\ge1-\eta,PN{R(β^​)≤Rmax​(β^​)}≥1−η,PN{Rmin​(β^​)≤R(β^​)}≥1−η, PN{Rmin⁡(β^)≤R(β^)≤Rmax⁡(β^)}≥1−2η.\mathbb P^N\{\mathfrak R_{\min}(\hat\beta)\le\mathfrak R(\hat\beta)\le\mathfrak R_{\max}(\hat\beta)\}\ge1-2\eta .PN{Rmin​(β^​)≤R(β^​)≤Rmax​(β^​)}≥1−2η.

Significance

The result. Theorem 3 replaces an optimization over an infinite-dimensional set of distributions by a linear program with 3N+13N+13N+1 variables and 4N4N4N constraints plus sign constraints. That makes the worst- and best-case misclassification probabilities computable at the scale of the training set, for any norm on the features whose dual norm can be evaluated. With the confidence clauses, the two values are data-driven upper and lower confidence bounds on the out-of-sample risk of the classifier actually deployed, including one fitted on the same data.

Formalizing it. The paper states Theorem 3 without proof in the main text; the argument is deferred to a technical appendix. No part of it is machine-checked. A formal proof needs the evaluation of a worst-case probability of a closed set over a type-1 Wasserstein ball around a discrete distribution, and the analogous best-case probability of an open set. Both are reusable in any Wasserstein-robust treatment of chance constraints or classification error.

Difficulty

The objective 1{y⟨β,x⟩≤0}\mathbf 1_{\{y\langle\beta,x\rangle\le0\}}1{y⟨β,x⟩≤0}​ is neither continuous nor concave, so the duality theorems for Wasserstein balls stated for continuous or Lipschitz losses do not apply directly. Upper semicontinuity of the indicator of a closed set is what matters, and the strict inequality in Rmin⁡\mathfrak R_{\min}Rmin​ has to be handled as the complement of a closed set. The transport cost couples a norm on the features with a discrete label-flip cost, so a sample can reach the misclassification region either by moving its feature to the hyperplane ⟨β^,x⟩=0\langle\hat\beta,x\rangle=0⟨β^​,x⟩=0 or by flipping its label, and the two options interact through the shared budget ε\varepsilonε. Distances to the hyperplane are measured in the given norm and produce the dual norm ∥β^∥∗\|\hat\beta\|_*∥β^​∥∗​. The degenerate weight β^=0\hat\beta=0β^​=0 (every point on the hyperplane) must come out correctly without any division by ∥β^∥∗\|\hat\beta\|_*∥β^​∥∗​.

Formalization scope

The feature space is a finite-dimensional real normed space V with an arbitrary norm, standing for (Rn,∥⋅∥)(\mathbb R^n,\|\cdot\|)(Rn,∥⋅∥); the Euclidean norm is not assumed. A weight vector is a continuous linear functional V →L[ℝ] ℝ, and ∥β^∥∗\|\hat\beta\|_*∥β^​∥∗​ is its operator norm, which is exactly the dual norm. Labels are Bool with an explicit embedding true↦+1\text{true}\mapsto+1true↦+1, false↦−1\text{false}\mapsto-1false↦−1; the metric of Definition 2 is written literally. The Wasserstein distance is ℝ≥0∞-valued, probabilities and expectations of indicators are measure values in [0,∞][0,\infty][0,∞], and suprema and infima range exactly over the probability measures in the ball. "min" in (10a)/(10b) is formalized as attainment (IsLeast) of the objective over the feasible set. Samples are indexed by Fin N with N≥1N\ge1N≥1.

The following choices differ from a literal reading of the page:

  • The paper says the risk "can be expressed as" EP[1{y⟨β,x⟩≤0}]\mathbb E^{\mathbb P}[\mathbb 1_{\{y\langle\beta,x\rangle\le0\}}]EP[1{y⟨β,x⟩≤0}​]. This fails on the hyperplane ⟨β,x⟩=0\langle\beta,x\rangle=0⟨β,x⟩=0, where fβ(x)=−1f_\beta(x)=-1fβ​(x)=−1 is correct for y=−1y=-1y=−1. The mission defines R(β)=P[y≠fβ(x)]\mathfrak R(\beta)=\mathbb P[y\ne f_\beta(x)]R(β)=P[y=fβ​(x)] from (1) and includes the true statement EP[1{y⟨β,x⟩<0}]≤R(β)≤EP[1{y⟨β,x⟩≤0}]\mathbb E^{\mathbb P}[\mathbb 1_{\{y\langle\beta,x\rangle<0\}}]\le\mathfrak R(\beta)\le\mathbb E^{\mathbb P}[\mathbb 1_{\{y\langle\beta,x\rangle\le0\}}]EP[1{y⟨β,x⟩<0}​]≤R(β)≤EP[1{y⟨β,x⟩≤0}​] as a helper item.
  • The choice ε=εN(η)\varepsilon=\varepsilon_N(\eta)ε=εN​(η) of (8) and the measure-concentration theorem behind it (Theorem 2) are not formalized. The confidence clauses take their conclusion, PN{P∈Bε(P^N)}≥1−η\mathbb P^N\{\mathbb P\in\mathbb B_\varepsilon(\hat{\mathbb P}_N)\}\ge1-\etaPN{P∈Bε​(P^N​)}≥1−η, as a hypothesis, and "with probability 1−η1-\eta1−η" is read as "with probability at least 1−η1-\eta1−η". The printed level 1−2η1-2\eta1−2η is kept for the two-sided bound.

Swapping the strict and non-strict inequalities in Rmax⁡\mathfrak R_{\max}Rmax​ and Rmin⁡\mathfrak R_{\min}Rmin​, restricting the supremum to measures supported on the sample points, or replacing the ball by a set that excludes non-discrete distributions would each change the theorem. None of these is an acceptable reformulation of the goal.

Useful infrastructure: couplings of a discrete measure with an arbitrary one, the distance from a point to a closed half-space in a general norm, and LP-duality arguments for fractional-knapsack-type programs. Proofs of the helper and confidence items, and any reusable lemma about worst-case probabilities of closed sets over Wasserstein balls, are welcome.

Selected references

  • S. Shafieezadeh-Abadeh, P. Mohajerin Esfahani, D. Kuhn, Distributionally Robust Logistic Regression, Advances in Neural Information Processing Systems 28 (NIPS 2015). https://papers.nips.cc/paper/2015/hash/cc1aa436277138f61cda703991069eaf-Abstract.html
  • N. Fournier, A. Guillin, On the rate of convergence in Wasserstein distance of the empirical measure, Probability Theory and Related Fields 162 (2015). https://doi.org/10.1007/s00440-014-0583-7
  • P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric: performance guarantees and tractable reformulations, Mathematical Programming 171 (2018). https://doi.org/10.1007/s10107-017-1172-1
8 thms2 active usersReviewed
🏆Completed
Convex OptimizationMachine LearningOperations Research+1·Captain: mikedeng1

Distributionally Robust Logistic Regression I: The Worst-Case Expected Logloss over a Wasserstein Ball Is a Tractable Convex ProgramResearch Paper

Motivation

Logistic regression is among the most widely used classification methods in statistics and machine learning. Its maximum-likelihood estimator minimizes the average logloss on the training data and is known to overfit when data are scarce; practitioners respond with ad hoc regularization, typically a norm penalty on the weight vector. Shafieezadeh-Abadeh, Mohajerin Esfahani and Kuhn (NIPS 2015, arXiv:1509.09259) replace the empirical average by a worst case over all distributions within a Wasserstein ball around the empirical distribution. The resulting model has a finite convex reformulation, contains classical and norm-regularized logistic regression as special cases, and comes with out-of-sample guarantees. It is one of the early instances of Wasserstein distributionally robust optimization in learning, building on the duality theory of Mohajerin Esfahani and Kuhn (Math. Program. 2018, arXiv:1505.05116); the regularization interpretation was later extended to general losses by Shafieezadeh-Abadeh, Kuhn and Mohajerin Esfahani (JMLR 2019, arXiv:1710.10016).

Setting

Let VVV be the feature space Rn\mathbb R^nRn with an arbitrary norm ∥⋅∥\|\cdot\|∥⋅∥, and let ∥β∥∗=sup⁡∥x∥≤1⟨β,x⟩\|\beta\|_* = \sup_{\|x\|\le1}\langle\beta,x\rangle∥β∥∗​=sup∥x∥≤1​⟨β,x⟩ be the dual norm of a weight vector β\betaβ. Labels are y∈{−1,+1}y\in\{-1,+1\}y∈{−1,+1}, and the feature-label space is Ξ=V×{−1,+1}\Xi = V\times\{-1,+1\}Ξ=V×{−1,+1}. The logloss of β\betaβ at (x,y)(x,y)(x,y) is

lβ(x,y)=log⁡(1+exp⁡(−y⟨β,x⟩)).l_\beta(x,y) = \log\big(1+\exp(-y\langle\beta,x\rangle)\big).lβ​(x,y)=log(1+exp(−y⟨β,x⟩)).

For a label weight κ>0\kappa>0κ>0, the metric of Definition 2 on Ξ\XiΞ is

d((x,y),(x′,y′))=∥x−x′∥+κ ∣y−y′∣/2,d\big((x,y),(x',y')\big) = \|x-x'\| + \kappa\,|y-y'|/2 ,d((x,y),(x′,y′))=∥x−x′∥+κ∣y−y′∣/2,

so that changing a label costs κ\kappaκ. The Wasserstein distance W(Q,P)W(\mathbb Q,\mathbb P)W(Q,P) between probability distributions on Ξ\XiΞ (Definition 1) is the infimum of ∫d(ξ,ξ′) Π(dξ,dξ′)\int d(\xi,\xi')\,\Pi(d\xi,d\xi')∫d(ξ,ξ′)Π(dξ,dξ′) over all couplings Π\PiΠ of Q\mathbb QQ and P\mathbb PP, and Bε(P)={Q:W(Q,P)≤ε}\mathbb B_\varepsilon(\mathbb P) = \{\mathbb Q : W(\mathbb Q,\mathbb P)\le\varepsilon\}Bε​(P)={Q:W(Q,P)≤ε}. Given training samples (x^i,y^i)i=1N(\hat x_i,\hat y_i)_{i=1}^N(x^i​,y^​i​)i=1N​, the empirical distribution is P^N=1N∑iδ(x^i,y^i)\hat{\mathbb P}_N = \frac1N\sum_i\delta_{(\hat x_i,\hat y_i)}P^N​=N1​∑i​δ(x^i​,y^​i​)​, and the distributionally robust logistic regression problem (6) is

J^=inf⁡β sup⁡Q∈Bε(P^N)EQ[lβ(x,y)].\hat J = \inf_\beta\ \sup_{\mathbb Q\in\mathbb B_\varepsilon(\hat{\mathbb P}_N)} \mathbb E^{\mathbb Q}\big[l_\beta(x,y)\big].J^=βinf​ Q∈Bε​(P^N​)sup​EQ[lβ​(x,y)].

Program (7) has variables β\betaβ, λ∈R\lambda\in\mathbb Rλ∈R, s∈RNs\in\mathbb R^Ns∈RN, objective λε+1N∑isi\lambda\varepsilon + \frac1N\sum_i s_iλε+N1​∑i​si​, and constraints lβ(x^i,y^i)≤sil_\beta(\hat x_i,\hat y_i)\le s_ilβ​(x^i​,y^​i​)≤si​, lβ(x^i,−y^i)−λκ≤sil_\beta(\hat x_i,-\hat y_i)-\lambda\kappa\le s_ilβ​(x^i​,−y^​i​)−λκ≤si​ for all iii, and ∥β∥∗≤λ\|\beta\|_*\le\lambda∥β∥∗​≤λ.

Formalization targets

Goal: Theorem 1 (tractable reformulation)

For every ε≥0\varepsilon\ge0ε≥0, κ>0\kappa>0κ>0, N≥1N\ge1N≥1 and every norm on the feature space,

inf⁡β sup⁡Q∈Bε(P^N)EQ[lβ]  =  inf⁡{λε+1N∑isi:(β,λ,s) feasible for (7)},\inf_\beta\ \sup_{\mathbb Q\in\mathbb B_\varepsilon(\hat{\mathbb P}_N)}\mathbb E^{\mathbb Q}[l_\beta] \;=\; \inf\Big\{\lambda\varepsilon+\tfrac1N\textstyle\sum_i s_i : (\beta,\lambda,s)\text{ feasible for (7)}\Big\},βinf​ Q∈Bε​(P^N​)sup​EQ[lβ​]=inf{λε+N1​∑i​si​:(β,λ,s) feasible for (7)},

and for ε>0\varepsilon>0ε>0 the infimum of (7) is attained.

Milestones

  1. §3.1 — the feasible set of (7) is convex.
  2. §2 — for ε=0\varepsilon=0ε=0 the worst-case expected logloss is the empirical average logloss, so (6) reduces to classical logistic regression (2).
  3. Theorem 1 for fixed β\betaβ — sup⁡Q∈Bε(P^N)EQ[lβ]\sup_{\mathbb Q\in\mathbb B_\varepsilon(\hat{\mathbb P}_N)}\mathbb E^{\mathbb Q}[l_\beta]supQ∈Bε​(P^N​)​EQ[lβ​] equals the attained minimum of (7) over (λ,s)(\lambda,s)(λ,s) with β\betaβ fixed.
  4. Remark 2, eq. (9) — at an optimal solution (β^,λ^,s^)(\hat\beta,\hat\lambda,\hat s)(β^​,λ^,s^),
J^=λ^ε+EP^N[lβ^]+1N∑imax⁡{0,y^i⟨β^,x^i⟩−λ^κ}.\hat J = \hat\lambda\varepsilon + \mathbb E^{\hat{\mathbb P}_N}[l_{\hat\beta}] + \tfrac1N\textstyle\sum_i\max\{0,\hat y_i\langle\hat\beta,\hat x_i\rangle-\hat\lambda\kappa\}.J^=λ^ε+EP^N​[lβ^​​]+N1​∑i​max{0,y^​i​⟨β^​,x^i​⟩−λ^κ}.
  1. Remark 1 — as κ→∞\kappa\to\inftyκ→∞ the optimal value of (7) converges to inf⁡βε∥β∥∗+1N∑ilβ(x^i,y^i)\inf_\beta \varepsilon\|\beta\|_* + \frac1N\sum_i l_\beta(\hat x_i,\hat y_i)infβ​ε∥β∥∗​+N1​∑i​lβ​(x^i​,y^​i​).
  2. Theorem 2, implication — if PN{P∈Bε(P^N)}≥1−η\mathbb P^N\{\mathbb P\in\mathbb B_\varepsilon(\hat{\mathbb P}_N)\}\ge1-\etaPN{P∈Bε​(P^N​)}≥1−η, then PN{EP[lβ^]≤J^}≥1−η\mathbb P^N\{\mathbb E^{\mathbb P}[l_{\hat\beta}]\le\hat J\}\ge1-\etaPN{EP[lβ^​​]≤J^}≥1−η.

Significance

Theorem 1 turns a minimax problem over an infinite-dimensional family of distributions into a finite convex program whose size grows linearly in NNN; with the ℓ1\ell_1ℓ1​, ℓ2\ell_2ℓ2​ or ℓ∞\ell_\inftyℓ∞​ norm it is a standard exponential-cone or conic program. Remark 1 explains norm-regularized logistic regression as a distributionally robust model: the regularizer is the dual norm of the transport cost on features, and the regularization weight is the radius of the ambiguity set. Remark 2 exposes an additional term that accounts for label noise and vanishes as label changes become prohibitively expensive. Theorem 2 makes the optimal value J^\hat JJ^ a certificate on the out-of-sample logloss whenever the ball contains the true distribution.

The paper's proofs are in a technical appendix and have not been machine-checked. Mathlib contains no Wasserstein distributionally robust duality. This mission produces a formal statement of the reformulation with an arbitrary norm and a label-dependent cost, together with formal versions of the paper's printed consequences of it (Remarks 1 and 2, the ε=0\varepsilon=0ε=0 reduction, and the implication in Theorem 2).

Difficulty

The worst-case expectation ranges over every Borel probability distribution within transport distance ε\varepsilonε of the empirical distribution, including distributions with unbounded support and distributions that move mass across labels. Exhibiting good distributions in the ball shows only that the robust value is at least the value of (7); the reverse inequality must control every distribution in the ball at once, and nothing in the definition of the ball bounds its elements' supports. The obvious simplification, restricting attention to distributions supported on finitely many points, again yields only a one-sided bound unless the supremum is shown to be approached by such distributions. The label term of the metric couples the two label classes, so results for a pure norm cost on the features do not apply directly, and the dual norm enters through an arbitrary norm rather than the Euclidean one.

Formalization scope

  • The feature space is an abstract finite-dimensional real normed space V standing for (Rn,∥⋅∥)(\mathbb R^n,\|\cdot\|)(Rn,∥⋅∥) with an arbitrary norm; weights are continuous linear functionals V →L[ℝ] ℝ, and ∥β∥∗\|\beta\|_*∥β∥∗​ is their operator norm, which is exactly the dual norm. Labels are Bool, embedded as ±1\pm1±1; the label −y-y−y is Boolean negation. The metric of Definition 2 is written literally.
  • The Wasserstein distance is of type 1, valued in [0,∞][0,\infty][0,∞], with couplings ranging over all probability measures on Ξ×Ξ\Xi\times\XiΞ×Ξ with the two prescribed marginals. The ball consists of probability measures.
  • Expectations of the positive logloss are lower Lebesgue integrals in [0,∞][0,\infty][0,∞], and the supremum over the ball is taken there; the optimal value of (7) is the infimum of its (nonnegative) objective over the feasible set, also in [0,∞][0,\infty][0,∞]. A Bochner integral, which vanishes on non-integrable functions, would make the worst case trivially finite and is not used.
  • The standing hypotheses are κ>0\kappa>0κ>0, ε≥0\varepsilon\ge0ε≥0, N≥1N\ge1N≥1.
  • Correction. The paper prints "min" in (7) for all ε≥0\varepsilon\ge0ε≥0. At ε=0\varepsilon=0ε=0 the minimum can fail to be attained (V=RV=\mathbb RV=R, N=1N=1N=1, x^1=1\hat x_1=1x^1​=1, y^1=+1\hat y_1=+1y^​1​=+1: the value is 000 but every feasible point has positive objective). The goal states the value identity for ε≥0\varepsilon\ge0ε≥0 and attainment for ε>0\varepsilon>0ε>0.
  • Remark 1 is formalized as convergence of optimal values as κ→∞\kappa\to\inftyκ→∞; a metric with κ=∞\kappa=\inftyκ=∞ is not formalized. Only convexity, not tractability, of (7) is stated. The first claim of Theorem 2 (the radius (8) and the light-tail assumption) is not formalized; the confidence of the ball event is a hypothesis of milestone 6.
  • A formalization in which the ball is taken only over distributions supported on the training samples, or in which the label term of the metric is dropped, trivializes the second constraint group of (7) and is ruled out: the ball here contains every Borel probability distribution on Ξ\XiΞ within the prescribed distance.
  • Infrastructure needed and reusable beyond this mission: type-1 optimal transport on product spaces with a label component, couplings and their marginals, and elementary properties of the logloss as a function of β\betaβ. Contributions of such supporting lemmas as independent theorems are welcome.

Selected references

  • S. Shafieezadeh-Abadeh, P. Mohajerin Esfahani, D. Kuhn, Distributionally Robust Logistic Regression, Advances in Neural Information Processing Systems 28 (NIPS 2015). https://arxiv.org/abs/1509.09259
  • P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric: performance guarantees and tractable reformulations, Mathematical Programming 171 (2018). https://arxiv.org/abs/1505.05116
  • N. Fournier, A. Guillin, On the rate of convergence in Wasserstein distance of the empirical measure, Probability Theory and Related Fields 162 (2015). https://arxiv.org/abs/1312.2128
  • S. Shafieezadeh-Abadeh, D. Kuhn, P. Mohajerin Esfahani, Regularization via Mass Transportation, Journal of Machine Learning Research 20 (2019). https://arxiv.org/abs/1710.10016
9 thms2 active usersReviewed
Operations ResearchOptimization·Captain: mikedeng1

Robustifying Conditional Portfolio Decisions via Optimal Transport 5: For a Fiber of Radius γ > 0 and Fiber Mass at Least ε > 0, the Worst-Case Conditional Loss Equals a Finite-Dimensional DualResearch Paper

Motivation

A portfolio manager who observes side information, the covariate XXX (a market state, a set of signals), wants to choose a portfolio for the asset returns YYY given the current value x0x_0x0​ of that covariate. Estimating the conditional law of YYY given X=x0X=x_0X=x0​ from NNN joint samples is fragile: typically no sample has x^i=x0\hat x_i=x_0x^i​=x0​ exactly, and a nearest-neighbour or kernel estimate inherits all the noise of the few samples near x0x_0x0​. Nguyen, Zhang, Wang, Blanchet, Delage and Ye robustify this decision with optimal transport: they let an adversary perturb the empirical joint distribution within a transport budget and evaluate the portfolio by its worst conditional expected loss over the perturbed distributions. This mission formalizes their main reformulation result for the general case, a fiber of positive radius with a positive mass requirement.

Setting

Let X\mathcal XX and Y\mathcal YY be Polish spaces. The data are N≥1N\ge1N≥1 samples (x^i,y^i)∈X×Y(\hat x_i,\hat y_i)\in\mathcal X\times\mathcal Y(x^i​,y^​i​)∈X×Y, i∈[N]i\in[N]i∈[N], with empirical distribution P^=N−1∑iδ(x^i,y^i)\hat{\mathbb P}=N^{-1}\sum_i\delta_{(\hat x_i,\hat y_i)}P^=N−1∑i​δ(x^i​,y^​i​)​. Ground costs DX\mathbb D_{\mathcal X}DX​ and DY\mathbb D_{\mathcal Y}DY​ give the joint cost D((x,y),(x′,y′))=DX(x,x′)+DY(y,y′)\mathbb D((x,y),(x',y'))=\mathbb D_{\mathcal X}(x,x')+\mathbb D_{\mathcal Y}(y,y')D((x,y),(x′,y′))=DX​(x,x′)+DY​(y,y′), and the optimal transport cost W(Q,P^)\mathbb W(\mathbb Q,\hat{\mathbb P})W(Q,P^) is the least expected cost Eπ[D]\mathbb E_\pi[\mathbb D]Eπ​[D] over couplings π\piπ of Q\mathbb QQ and P^\hat{\mathbb P}P^. The ambiguity set is the ball

Bρ={Q∈M(X×Y):W(Q,P^)≤ρ}.\mathbb B_\rho=\{\mathbb Q\in\mathcal M(\mathcal X\times\mathcal Y):\mathbb W(\mathbb Q,\hat{\mathbb P})\le\rho\}.Bρ​={Q∈M(X×Y):W(Q,P^)≤ρ}.

The neighbourhood of the observed covariate is Nγ(x0)={x:DX(x,x0)≤γ}\mathcal N_\gamma(x_0)=\{x:\mathbb D_{\mathcal X}(x,x_0)\le\gamma\}Nγ​(x0​)={x:DX​(x,x0​)≤γ}, and Nγ(x0)×Y\mathcal N_\gamma(x_0)\times\mathcal YNγ​(x0​)×Y is the fiber set. For a fixed portfolio the loss is a function ℓ:Y→R\ell:\mathcal Y\to\mathbb Rℓ:Y→R, and the quantity of interest is the worst-case conditional expected loss

sup⁡{EQ[ℓ(Y)∣X∈Nγ(x0)]: Q∈Bρ, Q(X∈Nγ(x0))≥ε},\sup\Big\{\mathbb E_{\mathbb Q}[\ell(Y)\mid X\in\mathcal N_\gamma(x_0)]:\ \mathbb Q\in\mathbb B_\rho,\ \mathbb Q(X\in\mathcal N_\gamma(x_0))\ge\varepsilon\Big\},sup{EQ​[ℓ(Y)∣X∈Nγ​(x0​)]: Q∈Bρ​, Q(X∈Nγ​(x0​))≥ε},

where ε>0\varepsilon>0ε>0 is a minimum mass the adversary must leave on the fiber, so that the conditional expectation is well defined.

Three more data enter the result. The minimum radius ρmin⁡(x0,γ,ε)\rho_{\min}(x_0,\gamma,\varepsilon)ρmin​(x0​,γ,ε) is the least W(Q,P^)\mathbb W(\mathbb Q,\hat{\mathbb P})W(Q,P^) over Q\mathbb QQ with fiber mass at least ε\varepsilonε. The index sets are I1={i:x^i∈Nγ(x0)}\mathcal I_1=\{i:\hat x_i\in\mathcal N_\gamma(x_0)\}I1​={i:x^i​∈Nγ​(x0​)} and I2=[N]∖I1\mathcal I_2=[N]\setminus\mathcal I_1I2​=[N]∖I1​. The boundary distances are di=inf⁡x∈∂Nγ(x0)DX(x,x^i)d_i=\inf_{x\in\partial\mathcal N_\gamma(x_0)}\mathbb D_{\mathcal X}(x,\hat x_i)di​=infx∈∂Nγ​(x0​)​DX​(x,x^i​). The dual set V\mathcal VV (display (16)) consists of the tuples (λ,s,ν+,ν−,ϕ,φ,ψ)(\lambda,s,\nu^+,\nu^-,\phi,\varphi,\psi)(λ,s,ν+,ν−,ϕ,φ,ψ) with λ,ψ∈R+N\lambda,\psi\in\mathbb R^N_+λ,ψ∈R+N​, s∈RNs\in\mathbb R^Ns∈RN, ν±,φ≥0\nu^\pm,\varphi\ge0ν±,φ≥0, ϕ∈R\phi\in\mathbb Rϕ∈R, subject to

ϕ−diφ+ψi−si≥0 (i∈I1),ϕ+diφ+ψi−si≥0 (i∈I2),ν+−ν−+(∑i∈I1di−Nρ)φ−∑iψi≥0,φ≥λi.\phi-d_i\varphi+\psi_i-s_i\ge0\ (i\in\mathcal I_1),\quad \phi+d_i\varphi+\psi_i-s_i\ge0\ (i\in\mathcal I_2),\quad \nu^+-\nu^-+\Big(\sum_{i\in\mathcal I_1}d_i-N\rho\Big)\varphi-\sum_i\psi_i\ge0,\quad \varphi\ge\lambda_i.ϕ−di​φ+ψi​−si​≥0 (i∈I1​),ϕ+di​φ+ψi​−si​≥0 (i∈I2​),ν+−ν−+(i∈I1​∑​di​−Nρ)φ−i∑​ψi​≥0,φ≥λi​.

Formalization targets

Goal: Theorem 4.4

For γ>0\gamma>0γ>0, ε>0\varepsilon>0ε>0 and ρ>ρmin⁡(x0,γ,ε)\rho>\rho_{\min}(x_0,\gamma,\varepsilon)ρ>ρmin​(x0​,γ,ε),

sup⁡Q∈BρQ(X∈Nγ(x0))≥εEQ[ℓ(Y)∣X∈Nγ(x0)]=inf⁡{ϕ+ν+Nε−ν−N: (λ,s,ν+,ν−,ϕ,φ,ψ)∈V, si≥sup⁡y∈Y{ℓ(y)−λiDY(y,y^i)} ∀i}.\sup_{\substack{\mathbb Q\in\mathbb B_\rho\\ \mathbb Q(X\in\mathcal N_\gamma(x_0))\ge\varepsilon}}\mathbb E_{\mathbb Q}[\ell(Y)\mid X\in\mathcal N_\gamma(x_0)]=\inf\Big\{\phi+\frac{\nu^+}{N\varepsilon}-\frac{\nu^-}{N}:\ (\lambda,s,\nu^+,\nu^-,\phi,\varphi,\psi)\in\mathcal V,\ s_i\ge\sup_{y\in\mathcal Y}\{\ell(y)-\lambda_i\mathbb D_{\mathcal Y}(y,\hat y_i)\}\ \forall i\Big\}.Q∈Bρ​Q(X∈Nγ​(x0​))≥ε​sup​EQ​[ℓ(Y)∣X∈Nγ​(x0​)]=inf{ϕ+Nεν+​−Nν−​: (λ,s,ν+,ν−,ϕ,φ,ψ)∈V, si​≥y∈Ysup​{ℓ(y)−λi​DY​(y,y^​i​)} ∀i}.

Milestones

  1. Representation (24) of Bρ\mathbb B_\rhoBρ​ as the set of averages N−1∑iπiN^{-1}\sum_i\pi_iN−1∑i​πi​ of probability measures with N−1∑iEπi[D(⋅,(x^i,y^i))]≤ρN^{-1}\sum_i\mathbb E_{\pi_i}[\mathbb D(\cdot,(\hat x_i,\hat y_i))]\le\rhoN−1∑i​Eπi​​[D(⋅,(x^i​,y^​i​))]≤ρ.
  2. Proposition 2.5: ρmin⁡\rho_{\min}ρmin​ is the value of a fractional knapsack linear program, and a feasible Q\mathbb QQ exists iff ρ≥ρmin⁡\rho\ge\rho_{\min}ρ≥ρmin​.
  3. Reduction (proof of Theorem 4.4, pp. 48–49): the worst case equals a supremum over weights pi∈[0,1]p_i\in[0,1]pi​∈[0,1] and laws μ0i\mu_0^iμ0i​ on Y\mathcal YY of ∑ipiEμ0i[ℓ]/∑ipi\sum_ip_i\mathbb E_{\mu_0^i}[\ell]/\sum_ip_i∑i​pi​Eμ0i​​[ℓ]/∑i​pi​, under a transport budget and ∑ipi≥Nε\sum_ip_i\ge N\varepsilon∑i​pi​≥Nε.
  4. Conic duality (p. 50) for one sample: sup⁡{Eμ[υℓ]:Eμ[υDY(⋅,y^)]≤θ}=inf⁡λ≥0θλ+υsup⁡y{ℓ(y)−λDY(y,y^)}\sup\{\mathbb E_{\mu}[\upsilon\ell]:\mathbb E_\mu[\upsilon\mathbb D_{\mathcal Y}(\cdot,\hat y)]\le\theta\}=\inf_{\lambda\ge0}\theta\lambda+\upsilon\sup_y\{\ell(y)-\lambda\mathbb D_{\mathcal Y}(y,\hat y)\}sup{Eμ​[υℓ]:Eμ​[υDY​(⋅,y^​)]≤θ}=infλ≥0​θλ+υsupy​{ℓ(y)−λDY​(y,y^​)} for θ>0\theta>0θ>0.
  5. LP duality (29) (pp. 50–51): the supremum of ∑iθiλi+υisi\sum_i\theta_i\lambda_i+\upsilon_is_i∑i​θi​λi​+υi​si​ over the Charnes–Cooper variables (υ,t)(\upsilon,t)(υ,t) and the budgets θ\thetaθ equals the infimum of ϕ+(Nε)−1ν+−N−1ν−\phi+(N\varepsilon)^{-1}\nu^+-N^{-1}\nu^-ϕ+(Nε)−1ν+−N−1ν− over V\mathcal VV.

Significance

The theorem turns an infinite-dimensional problem, a supremum over probability measures on X×Y\mathcal X\times\mathcal YX×Y of a ratio of integrals, into a program in O(N)O(N)O(N) real variables whose only infinite part is the per-sample supremum sup⁡y{ℓ(y)−λiDY(y,y^i)}\sup_y\{\ell(y)-\lambda_i\mathbb D_{\mathcal Y}(y,\hat y_i)\}supy​{ℓ(y)−λi​DY​(y,y^​i​)}. For the losses used in portfolio selection (mean–variance, CVaR) this supremum has a closed form or a conic representation, and the outer minimization over portfolios becomes a single convex program; this is how the paper computes its conditional robust portfolios. It is the most general of the paper's four cases (Figure 1, p. 12); the companion missions of this series treat a singleton fiber (γ=0\gamma=0γ=0) and a zero mass requirement (ε=0\varepsilon=0ε=0).

The result is proved in the paper, not formalized anywhere. A machine-checked version requires, and would leave behind, an optimal-transport representation of Wasserstein balls around empirical measures, a Dirac-nominal conic duality for moment problems, and finite-dimensional linear programming duality, none of which is in Mathlib.

Difficulty

The conditional expectation is a ratio, so the problem is not a linear program in Q\mathbb QQ and the standard Wasserstein DRO duality does not apply directly. Passing to finitely many sample weights requires that leaving the fiber from a sample inside it costs exactly did_idi​, which depends on the geometry of the neighbourhood and not only on Assumption 2.4. The two duality steps are of different kinds: an infinite-dimensional one over laws on Y\mathcal YY, where the loss is only measurable, and a finite-dimensional linear program whose strong duality must be certified from ρ>ρmin⁡\rho>\rho_{\min}ρ>ρmin​. The representation of the ball needs an optimal coupling, which is an existence theorem on Polish spaces.

Formalization scope

  • X\mathcal XX, Y\mathcal YY are Polish Borel spaces; [N][N][N] is Fin N with N≥1N\ge1N≥1; samples may repeat.
  • W\mathbb WW is the published RWPI.SqrtLasso.transportCost, an infimum over couplings of a lower integral of the [0,∞][0,\infty][0,∞]-valued cost; the ball compares it with ENNReal.ofReal ρ.
  • Expectations of the loss are the published ModelRiskOT.Duality.extIntegral, ∫ℓ+−∫ℓ−\int\ell^+-\int\ell^-∫ℓ+−∫ℓ− in the extended reals. Both sides of the goal are extended reals; the infimum over an empty set is +∞+\infty+∞.
  • The loss is an arbitrary measurable L:Y→RL:\mathcal Y\to\mathbb RL:Y→R, standing for ℓ(⋅,α,β)\ell(\cdot,\alpha,\beta)ℓ(⋅,α,β) at any fixed feasible (α,β)(\alpha,\beta)(α,β); no boundedness or continuity is assumed.
  • Assumption 2.4 (separable, symmetric, nonnegative, continuous costs; unique projections onto Nγ(x0)\mathcal N_\gamma(x_0)Nγ​(x0​); vicinity of boundary points) is a hypothesis of every statement. ∂\partial∂ is the topological frontier in X\mathcal XX; κi\kappa_iκi​ and did_idi​ are real infima.
  • Added hypotheses. A boundary-regularity predicate: ∂Nγ(x0)≠∅\partial\mathcal N_\gamma(x_0)\ne\emptyset∂Nγ​(x0​)=∅, did_idi​ is the greatest lower bound of DX(x,x^i)\mathbb D_{\mathcal X}(x,\hat x_i)DX​(x,x^i​) over x∉Nγ(x0)x\notin\mathcal N_\gamma(x_0)x∈/Nγ​(x0​) for i∈I1i\in\mathcal I_1i∈I1​, and di=κid_i=\kappa_idi​=κi​ for i∈I2i\in\mathcal I_2i∈I2​. The proof uses both facts, and neither follows from Assumption 2.4 for a general continuous cost; both hold when DX\mathbb D_{\mathcal X}DX​ is a norm distance. Measurability of LLL. In the conic duality milestone, θ>0\theta>0θ>0.
  • Ruled out. The conditional expectation is never evaluated at a Q\mathbb QQ with zero fiber mass (the supremum ranges only over Q\mathbb QQ with mass at least ε>0\varepsilon>0ε>0); no Bochner integral of a possibly non-integrable loss appears; ρ≥0\rho\ge0ρ≥0 follows from ρ>ρmin⁡\rho>\rho_{\min}ρ>ρmin​, so ofReal never collapses a negative radius; and the supremum ranges exactly over Bρ\mathbb B_\rhoBρ​ intersected with the mass constraint, not over all measures.
  • Welcome contributions: existence of optimal couplings on Polish spaces, the decomposition of couplings with a finitely supported marginal, a Dirac-nominal moment duality, and LP strong duality in the form needed for (29). These are reusable well beyond this paper.

Selected references

  • V. A. Nguyen, F. Zhang, S. Wang, J. Blanchet, E. Delage, Y. Ye, Robustifying conditional portfolio decisions via optimal transport, arXiv:2103.16451v3, 2024; Operations Research, 2025. https://arxiv.org/abs/2103.16451
  • J. Blanchet, K. Murthy, Quantifying distributional model risk via optimal transport, Mathematics of Operations Research 44(2), 2019. https://arxiv.org/abs/1604.01446
  • C. Villani, Optimal Transport: Old and New, Springer, 2009 (Theorem 4.1, existence of optimal couplings). https://doi.org/10.1007/978-3-540-71050-9
  • A. Charnes, W. W. Cooper, Programming with linear fractional functionals, Naval Research Logistics Quarterly 9, 1962. https://doi.org/10.1002/nav.3800090303
  • M. Sion, On general minimax theorems, Pacific Journal of Mathematics 8(1), 1958. https://doi.org/10.2140/pjm.1958.8.171
12 thms1 active userReviewed
Operations ResearchOptimization·Captain: mikedeng1

Robustifying Conditional Portfolio Decisions via Optimal Transport 4: For a Fiber of Radius γ > 0 and a Budget ρ < ρ_max, Every Measure in the Ball Puts at Least an Explicit Mass ε > 0 on the FiberResearch Paper

Motivation

A portfolio manager who observes side information, such as a vector of market covariates x0x_0x0​ today, wants a decision that performs well conditionally on that information: the relevant risk is the expected loss of the portfolio given that the covariate equals, or is close to, x0x_0x0​. Estimating this conditional loss from NNN historical pairs (x^i,y^i)(\hat x_i,\hat y_i)(x^i​,y^​i​) of covariates and returns is fragile, since few or no samples may lie near x0x_0x0​. Nguyen, Zhang, Wang, Blanchet, Delage and Ye (arXiv:2103.16451, Operations Research 2025) robustify the conditional decision with an optimal-transport ambiguity set: the worst case of the conditional expected loss is taken over all distributions within transport budget ρ\rhoρ of the empirical distribution.

Conditioning makes this worst case delicate. The adversary may move mass away from the conditioning set, and a conditional expectation on a set of probability zero is undefined. Section 4.1 of the paper treats a neighbourhood of positive radius γ\gammaγ around x0x_0x0​ and requires only that the conditioning set have positive probability. This mission formalizes the result showing that, when the budget is below an explicit threshold ρmax⁡\rho_{\max}ρmax​, the requirement "positive probability" is automatically "probability at least ε‾\underline\varepsilonε​", with ε‾>0\underline\varepsilon>0ε​>0 the value of a small linear program.

Setting

Let X\mathcal XX and Y\mathcal YY be Polish spaces carrying their Borel σ\sigmaσ-algebras, with ground costs DX\mathbb D_{\mathcal X}DX​ and DY\mathbb D_{\mathcal Y}DY​ and the separable joint cost D((x,y),(x′,y′))=DX(x,x′)+DY(y,y′)\mathbb D((x,y),(x',y'))=\mathbb D_{\mathcal X}(x,x')+\mathbb D_{\mathcal Y}(y,y')D((x,y),(x′,y′))=DX​(x,x′)+DY​(y,y′). The data are N≥1N\ge1N≥1 samples (x^i,y^i)(\hat x_i,\hat y_i)(x^i​,y^​i​), i∈[N]i\in[N]i∈[N], and the empirical distribution is P^=N−1∑iδ(x^i,y^i)\widehat{\mathbb P}=N^{-1}\sum_i\delta_{(\hat x_i,\hat y_i)}P=N−1∑i​δ(x^i​,y^​i​)​.

The optimal transport cost W(Q,P^)\mathbb W(\mathbb Q,\widehat{\mathbb P})W(Q,P) is the infimum of Eπ[D]\mathbb E_\pi[\mathbb D]Eπ​[D] over couplings π\piπ of Q\mathbb QQ and P^\widehat{\mathbb P}P, and the ambiguity set is the ball Bρ={Q:W(Q,P^)≤ρ}\mathbb B_\rho=\{\mathbb Q:\mathbb W(\mathbb Q,\widehat{\mathbb P})\le\rho\}Bρ​={Q:W(Q,P)≤ρ} of probability measures on X×Y\mathcal X\times\mathcal YX×Y.

The covariate neighbourhood is Nγ(x0)={x:DX(x,x0)≤γ}\mathcal N_\gamma(x_0)=\{x:\mathbb D_{\mathcal X}(x,x_0)\le\gamma\}Nγ​(x0​)={x:DX​(x,x0​)≤γ}, and Nγ(x0)×Y\mathcal N_\gamma(x_0)\times\mathcal YNγ​(x0​)×Y is the fiber set. For a loss ℓ:Y→R\ell:\mathcal Y\to\mathbb Rℓ:Y→R (the loss y↦ℓ(y,α,β)y\mapsto\ell(y,\alpha,\beta)y↦ℓ(y,α,β) of a fixed portfolio decision), the worst-case conditional loss under a mass requirement is

sup⁡Q∈Bρ, Q(X∈Nγ(x0)) ≥ ε EQ[ℓ(Y)∣X∈Nγ(x0)],\sup_{\mathbb Q\in\mathbb B_\rho,\ \mathbb Q(X\in\mathcal N_\gamma(x_0))\ \ge\ \varepsilon}\ \mathbb E_{\mathbb Q}\big[\ell(Y)\mid X\in\mathcal N_\gamma(x_0)\big],Q∈Bρ​, Q(X∈Nγ​(x0​)) ≥ εsup​ EQ​[ℓ(Y)∣X∈Nγ​(x0​)],

and problem (12) replaces "≥ε\ge\varepsilon≥ε" by ">0>0>0".

Two derived quantities organize §4.1. The maximal budget ρmax⁡(x0,γ)\rho_{\max}(x_0,\gamma)ρmax​(x0​,γ) is the least transport cost of a distribution that puts no mass on the fiber. Write I1={i:x^i∈Nγ(x0)}\mathcal I_1=\{i:\hat x_i\in\mathcal N_\gamma(x_0)\}I1​={i:x^i​∈Nγ​(x0​)} and I2\mathcal I_2I2​ for its complement, and let did_idi​ be the cost from x^i\hat x_ix^i​ to the boundary ∂Nγ(x0)\partial\mathcal N_\gamma(x_0)∂Nγ​(x0​). Assumption 2.4 asks that the costs be symmetric, non-negative and continuous, with D=0\mathbb D=0D=0 exactly on the diagonal, that each x^i\hat x_ix^i​ have a unique projection onto Nγ(x0)\mathcal N_\gamma(x_0)Nγ​(x0​), and that every boundary point be approached from outside the neighbourhood.

Formalization targets

Goal: Proposition 4.3 (p. 19)

For γ>0\gamma>0γ>0 and 0≤ρ<ρmax⁡(x0,γ)0\le\rho<\rho_{\max}(x_0,\gamma)0≤ρ<ρmax​(x0​,γ), let

ε‾=min⁡{1N∑i∈I1pi: p∈[0,1]N, 1N∑i∈I1di(1−pi)≤ρ}.\underline\varepsilon=\min\Big\{\tfrac1N\textstyle\sum_{i\in\mathcal I_1}p_i:\ p\in[0,1]^N,\ \tfrac1N\sum_{i\in\mathcal I_1}d_i(1-p_i)\le\rho\Big\}.ε​=min{N1​∑i∈I1​​pi​: p∈[0,1]N, N1​∑i∈I1​​di​(1−pi​)≤ρ}.

Then ε‾>0\underline\varepsilon>0ε​>0, and for every loss ℓ\ellℓ

sup⁡Q∈Bρ, Q(X∈Nγ(x0))>0EQ[ℓ(Y)∣X∈Nγ(x0)]=sup⁡Q∈Bρ, Q(X∈Nγ(x0))≥ε‾EQ[ℓ(Y)∣X∈Nγ(x0)].\sup_{\mathbb Q\in\mathbb B_\rho,\ \mathbb Q(X\in\mathcal N_\gamma(x_0))>0}\mathbb E_{\mathbb Q}[\ell(Y)\mid X\in\mathcal N_\gamma(x_0)]=\sup_{\mathbb Q\in\mathbb B_\rho,\ \mathbb Q(X\in\mathcal N_\gamma(x_0))\ge\underline\varepsilon}\mathbb E_{\mathbb Q}[\ell(Y)\mid X\in\mathcal N_\gamma(x_0)].Q∈Bρ​, Q(X∈Nγ​(x0​))>0sup​EQ​[ℓ(Y)∣X∈Nγ​(x0​)]=Q∈Bρ​, Q(X∈Nγ​(x0​))≥ε​sup​EQ​[ℓ(Y)∣X∈Nγ​(x0​)].

Milestones

  1. Display (24), p. 47: Q∈Bρ\mathbb Q\in\mathbb B_\rhoQ∈Bρ​ if and only if Q=N−1∑iπi\mathbb Q=N^{-1}\sum_i\pi_iQ=N−1∑i​πi​ for probability measures πi\pi_iπi​ with N−1∑iEπi[DX(X,x^i)+DY(Y,y^i)]≤ρN^{-1}\sum_i\mathbb E_{\pi_i}[\mathbb D_{\mathcal X}(X,\hat x_i)+\mathbb D_{\mathcal Y}(Y,\hat y_i)]\le\rhoN−1∑i​Eπi​​[DX​(X,x^i​)+DY​(Y,y^​i​)]≤ρ.
  2. Proposition 4.1, p. 18: ρmax⁡(x0,γ)=N−1∑i∈I1di\rho_{\max}(x_0,\gamma)=N^{-1}\sum_{i\in\mathcal I_1}d_iρmax​(x0​,γ)=N−1∑i∈I1​​di​.
  3. Proof of Proposition 4.3, p. 47: for ρ<ρmax⁡\rho<\rho_{\max}ρ<ρmax​, inf⁡Q∈BρQ(X∈Nγ(x0))>0\inf_{\mathbb Q\in\mathbb B_\rho}\mathbb Q(X\in\mathcal N_\gamma(x_0))>0infQ∈Bρ​​Q(X∈Nγ​(x0​))>0.
  4. Proof of Proposition 4.3, pp. 47–48: for ρ>0\rho>0ρ>0, inf⁡Q∈BρQ(X∈Nγ(x0))=ε‾\inf_{\mathbb Q\in\mathbb B_\rho}\mathbb Q(X\in\mathcal N_\gamma(x_0))=\underline\varepsiloninfQ∈Bρ​​Q(X∈Nγ​(x0​))=ε​.

Significance

Proposition 4.3 removes the degenerate constraint "positive probability" from the conditional robust problem whenever the budget is below ρmax⁡\rho_{\max}ρmax​. The degenerate constraint defines a feasible set that is not closed, and conditional expectations along it can involve divisions by arbitrarily small masses; after the reduction, the problem has a positive, explicitly computable mass requirement ε‾\underline\varepsilonε​, and the finite-dimensional dual reformulation of Theorem 4.4 (which needs a positive mass requirement) applies. Together with Proposition 4.2, which shows that above ρmax⁡\rho_{\max}ρmax​ the worst case degenerates to sup⁡yℓ(y,α,β)\sup_y\ell(y,\alpha,\beta)supy​ℓ(y,α,β), it gives a complete picture of the regime γ>0\gamma>0γ>0, ε=0\varepsilon=0ε=0. The LP defining ε‾\underline\varepsilonε​ is a fractional knapsack problem, solvable greedily.

The paper proves these results; none of them has a machine-checked proof. The mission produces a formal account of the transport-ball representation (24) on Polish spaces, the closed form of ρmax⁡\rho_{\max}ρmax​, and the reduction itself. It also records, with explicit counterexamples, where the printed arguments need additional hypotheses (see Formalization scope).

Difficulty

The obvious argument fixes Q∈Bρ\mathbb Q\in\mathbb B_\rhoQ∈Bρ​, splits it as N−1∑iπiN^{-1}\sum_i\pi_iN−1∑i​πi​, and bounds the cost of the mass that each πi\pi_iπi​ moves out of the fiber. Two steps resist. The splitting with the exact budget ≤ρ\le\rho≤ρ requires an optimal coupling, so attainment of the transport infimum on Polish spaces is needed. And the bound "moving a fraction 1−pi1-p_i1−pi​ of sample iii out of the fiber costs at least di(1−pi)d_i(1-p_i)di​(1−pi​)" needs the cost of leaving Nγ(x0)\mathcal N_\gamma(x_0)Nγ​(x0​) from x^i\hat x_ix^i​ to equal the boundary cost did_idi​, which is not implied by continuity of DX\mathbb D_{\mathcal X}DX​. Identifying the infimal fiber mass with the LP value also requires approximating boundary points from outside the neighbourhood, so the LP minimum is approached but not attained by measures in the ball.

Formalization scope

Spaces are Polish with Borel σ\sigmaσ-algebras; [N][N][N] is Fin N with N≥1N\ge1N≥1; repeated samples are allowed. The transport cost is the published RWPI.SqrtLasso.transportCost (an infimum over couplings with first marginal Q\mathbb QQ and second marginal P^\widehat{\mathbb P}P, lower Lebesgue integrals of a [0,∞][0,\infty][0,∞]-valued cost); the paper's "min" is not built into it. Expectations of the loss are ∫ℓ+−∫ℓ−\int\ell^+-\int\ell^-∫ℓ+−∫ℓ− in the extended reals (published ModelRiskOT.Duality.extIntegral). Worst-case values are suprema in EReal over probability measures. The loss is an arbitrary function ℓ:Y→R\ell:\mathcal Y\to\mathbb Rℓ:Y→R, which covers every decision (α,β)(\alpha,\beta)(α,β). κi\kappa_iκi​ and did_idi​ are infima (sInf), and ∂\partial∂ is the topological frontier in X\mathcal XX.

Hypotheses beyond the page, all disclosed in the statements:

  • Every statement about γ>0\gamma>0γ>0 carries Assumption 2.4 and a predicate BoundaryRegular: the boundary of Nγ(x0)\mathcal N_\gamma(x_0)Nγ​(x0​) is nonempty, for i∈I1i\in\mathcal I_1i∈I1​ the infimum of DX(x,x^i)\mathbb D_{\mathcal X}(x,\hat x_i)DX​(x,x^i​) over x∉Nγ(x0)x\notin\mathcal N_\gamma(x_0)x∈/Nγ​(x0​) is did_idi​, and for i∈I2i\in\mathcal I_2i∈I2​, di=κid_i=\kappa_idi​=κi​. It holds for norm distances; without it Proposition 4.1 fails for some continuous costs.
  • ρ≥0\rho\ge0ρ≥0, the paper's standing ρ∈R+\rho\in\mathbb R_+ρ∈R+​.
  • Milestone 4 is stated for ρ>0\rho>0ρ>0: at ρ=0\rho=0ρ=0 a sample on the boundary has di=0d_i=0di​=0 but cannot be moved, and the identity fails.

The formalization excludes the trivializing readings: no conditional expectation is evaluated at a distribution with zero fiber mass, no Bochner integral of a possibly non-integrable loss is used, a negative ρ\rhoρ cannot enter through ENNReal.ofReal, and the suprema range exactly over the probability measures of Bρ\mathbb B_\rhoBρ​ satisfying the stated mass constraint. "Equivalent" is formalized as equality of the inner suprema for every loss, which is stronger than equality of the min–max values.

A complete development needs couplings and gluing for finitely supported marginals, existence of optimal couplings for continuous costs on Polish spaces, and finite LP facts (attainment, positivity). The transport-ball representation and the optimal-coupling existence are reusable beyond this mission. Proofs of any milestone, and of the representation (24) in particular, are welcome.

Selected references

  • V. A. Nguyen, F. Zhang, S. Wang, J. Blanchet, E. Delage, Y. Ye, Robustifying conditional portfolio decisions via optimal transport, arXiv:2103.16451v3, 2024; Operations Research, 2025. https://arxiv.org/abs/2103.16451
  • C. Villani, Optimal Transport: Old and New, Grundlehren der mathematischen Wissenschaften 338, Springer, 2009. https://doi.org/10.1007/978-3-540-71050-9
  • J. Blanchet, K. Murthy, Quantifying distributional model risk via optimal transport, Mathematics of Operations Research 44(2), 2019. https://doi.org/10.1287/moor.2018.0936
11 thms1 active userReviewed
Operations ResearchOptimization·Captain: mikedeng1

Robustifying Conditional Portfolio Decisions via Optimal Transport 3: For a Fiber of Radius γ > 0 and a Budget ρ > ρ_max, the Worst-Case Conditional Expected Loss Collapses to sup_y ℓ(y)Research Paper

Motivation

A portfolio manager who observes a covariate today, say a vector of macroeconomic indicators x0x_0x0​, wants an allocation that performs well on the returns YYY that follow such a covariate. With finitely many historical pairs (x^i,y^i)(\hat x_i,\hat y_i)(x^i​,y^​i​) the conditional law of YYY given X=x0X=x_0X=x0​ is poorly estimated: usually no sample has covariate exactly x0x_0x0​, and few have covariates near it. Distributionally robust optimization hedges against this estimation error by optimizing against the worst distribution in a ball around the empirical one. Nguyen, Zhang, Wang, Blanchet, Delage and Ye (arXiv:2103.16451, Operations Research, 2025) study this problem with an optimal transport ball and a conditional objective. Before giving tractable reformulations they identify the regimes in which the robust problem is degenerate. This mission covers one of those regimes, a transport budget large enough to empty a fiber of positive radius.

Setting

Let X\mathcal XX and Y\mathcal YY be Polish spaces (covariates and returns) and let (x^i,y^i)∈X×Y(\hat x_i,\hat y_i)\in\mathcal X\times\mathcal Y(x^i​,y^​i​)∈X×Y, i∈[N]i\in[N]i∈[N], be the data, with empirical distribution P^=N−1∑iδ(x^i,y^i)\hat{\mathbb P}=N^{-1}\sum_i\delta_{(\hat x_i,\hat y_i)}P^=N−1∑i​δ(x^i​,y^​i​)​. Ground costs DX\mathbb D_{\mathcal X}DX​ and DY\mathbb D_{\mathcal Y}DY​ combine into the separable cost D((x,y),(x′,y′))=DX(x,x′)+DY(y,y′)\mathbb D((x,y),(x',y'))=\mathbb D_{\mathcal X}(x,x')+\mathbb D_{\mathcal Y}(y,y')D((x,y),(x′,y′))=DX​(x,x′)+DY​(y,y′). The optimal transport cost W(Q,P^)\mathbb W(\mathbb Q,\hat{\mathbb P})W(Q,P^) is the least expected cost Eπ[D]\mathbb E_\pi[\mathbb D]Eπ​[D] over couplings π\piπ of Q\mathbb QQ and P^\hat{\mathbb P}P^, and the ambiguity set is the ball

Bρ={Q∈M(X×Y):W(Q,P^)≤ρ}.\mathbb B_\rho=\{\mathbb Q\in\mathcal M(\mathcal X\times\mathcal Y):\mathbb W(\mathbb Q,\hat{\mathbb P})\le\rho\}.Bρ​={Q∈M(X×Y):W(Q,P^)≤ρ}.

The conditioning event is the fiber Nγ(x0)×Y\mathcal N_\gamma(x_0)\times\mathcal YNγ​(x0​)×Y, with Nγ(x0)={x:DX(x,x0)≤γ}\mathcal N_\gamma(x_0)=\{x:\mathbb D_{\mathcal X}(x,x_0)\le\gamma\}Nγ​(x0​)={x:DX​(x,x0​)≤γ} and fiber radius γ>0\gamma>0γ>0. For a loss ℓ(y)\ell(y)ℓ(y) (the loss of a fixed portfolio at return yyy) the worst-case conditional expected loss is

sup⁡Q∈Bρ, Q(X∈Nγ(x0))>0 EQ[ℓ(Y)∣X∈Nγ(x0)],\sup_{\mathbb Q\in\mathbb B_\rho,\ \mathbb Q(X\in\mathcal N_\gamma(x_0))>0}\ \mathbb E_{\mathbb Q}\big[\ell(Y)\mid X\in\mathcal N_\gamma(x_0)\big],Q∈Bρ​, Q(X∈Nγ​(x0​))>0sup​ EQ​[ℓ(Y)∣X∈Nγ​(x0​)],

problem (12) of the paper, where the strict inequality avoids conditioning on null sets. The threshold

ρmax⁡(x0,γ)=inf⁡{W(Q,P^):Q(X∈Nγ(x0))=0}\rho_{\max}(x_0,\gamma)=\inf\{\mathbb W(\mathbb Q,\hat{\mathbb P}):\mathbb Q(X\in\mathcal N_\gamma(x_0))=0\}ρmax​(x0​,γ)=inf{W(Q,P^):Q(X∈Nγ​(x0​))=0}

is the least budget that empties the fiber. With I1={i:x^i∈Nγ(x0)}\mathcal I_1=\{i:\hat x_i\in\mathcal N_\gamma(x_0)\}I1​={i:x^i​∈Nγ​(x0​)} and did_idi​ the cost from x^i\hat x_ix^i​ to the boundary ∂Nγ(x0)\partial\mathcal N_\gamma(x_0)∂Nγ​(x0​), the paper computes it in closed form. Throughout, the paper's Assumption 2.4 holds: the costs are symmetric, nonnegative and continuous, and D\mathbb DD vanishes exactly on the diagonal; projections onto Nγ(x0)\mathcal N_\gamma(x_0)Nγ​(x0​) are unique; and every boundary point of Nγ(x0)\mathcal N_\gamma(x_0)Nγ​(x0​) has points outside it at arbitrarily small cost.

Formalization targets

Goal: Proposition 4.2

For γ>0\gamma>0γ>0 and ρ>ρmax⁡(x0,γ)\rho>\rho_{\max}(x_0,\gamma)ρ>ρmax​(x0​,γ), and every loss ℓ\ellℓ,

sup⁡Q∈Bρ, Q(X∈Nγ(x0))>0EQ[ℓ(Y)∣X∈Nγ(x0)]=sup⁡y∈Yℓ(y).\sup_{\mathbb Q\in\mathbb B_\rho,\ \mathbb Q(X\in\mathcal N_\gamma(x_0))>0}\mathbb E_{\mathbb Q}\big[\ell(Y)\mid X\in\mathcal N_\gamma(x_0)\big]=\sup_{y\in\mathcal Y}\ell(y).Q∈Bρ​, Q(X∈Nγ​(x0​))>0sup​EQ​[ℓ(Y)∣X∈Nγ​(x0​)]=y∈Ysup​ℓ(y).

Milestones

  1. The decomposition (24): Q∈Bρ\mathbb Q\in\mathbb B_\rhoQ∈Bρ​ iff Q=N−1∑iπi\mathbb Q=N^{-1}\sum_i\pi_iQ=N−1∑i​πi​ with N−1∑iEπi[DX(X,x^i)+DY(Y,y^i)]≤ρN^{-1}\sum_i\mathbb E_{\pi_i}[\mathbb D_{\mathcal X}(X,\hat x_i)+\mathbb D_{\mathcal Y}(Y,\hat y_i)]\le\rhoN−1∑i​Eπi​​[DX​(X,x^i​)+DY​(Y,y^​i​)]≤ρ.
  2. Proposition 4.1: ρmax⁡(x0,γ)=N−1∑i∈I1di\rho_{\max}(x_0,\gamma)=N^{-1}\sum_{i\in\mathcal I_1}d_iρmax​(x0​,γ)=N−1∑i∈I1​​di​.
  3. A conditional expectation of ℓ(Y)\ell(Y)ℓ(Y) never exceeds sup⁡yℓ(y)\sup_y\ell(y)supy​ℓ(y).
  4. For every y0y_0y0​, some Q′∈Bρ\mathbb Q'\in\mathbb B_\rhoQ′∈Bρ​ with positive fiber mass has conditional expected loss ℓ(y0)\ell(y_0)ℓ(y0​).

Significance

Proposition 4.2 is a negative result with a practical consequence: when the budget ρ\rhoρ exceeds ρmax⁡\rho_{\max}ρmax​, the robust conditional loss equals the worst loss over the whole return space and ignores the data. The modeler must therefore keep ρ<ρmax⁡\rho<\rho_{\max}ρ<ρmax​, and Proposition 4.1 makes that threshold computable from the samples. In that regime the paper replaces the strict constraint by a positive mass requirement (Proposition 4.3) and derives a finite-dimensional dual (Theorem 4.4); those results are separate missions of this series.

The results are proved in the paper; none is formalized. The mission formalizes them in Lean 4 on top of Mathlib, using a published optimal transport cost and a published extended-real integral. The decomposition (24) is reusable for every argument about empirical optimal transport balls with finitely many atoms. The formal statement of Proposition 4.1 makes explicit a regularity condition on the boundary that the paper's proof uses but does not state.

Difficulty

The upper bound is elementary. The lower bound needs, for each y0y_0y0​, a feasible distribution whose conditional law on the fiber is concentrated at y0y_0y0​. The construction printed on p. 46 keeps a positive mass of a sample inside the fiber, so its conditional expectation mixes ℓ(y0)\ell(y_0)ℓ(y0​) with a sample loss; that construction has to be corrected. Proposition 4.1 needs a matching lower bound on the cost of every fiber-emptying coupling, and an exit cost from the fiber that equals the boundary distance did_idi​. For a general continuous DX\mathbb D_{\mathcal X}DX​ this fails. The decomposition (24) needs an optimal coupling to exist, which on Polish spaces with a lower semicontinuous cost is Villani's existence theorem. Mathlib does not have that theorem.

Formalization scope

  • X,Y\mathcal X,\mathcal YX,Y are Polish Borel spaces; [N][N][N] is Fin N with N>0N>0N>0; repeated samples are allowed.
  • W\mathbb WW is RWPI.SqrtLasso.transportCost, an infimum over couplings with a [0,∞][0,\infty][0,∞]-valued cost; the paper's "min" is not built into the definition.
  • Expectations are ∫ℓ+−∫ℓ−\int\ell^+-\int\ell^-∫ℓ+−∫ℓ− in EReal (ModelRiskOT.Duality.extIntegral), never a Bochner integral, which would assign 000 to a non-integrable loss. Both sides of the goal are extended reals; sup⁡yℓ(y)\sup_y\ell(y)supy​ℓ(y) may be +∞+\infty+∞.
  • The loss at a fixed portfolio (α,β)(\alpha,\beta)(α,β) is an arbitrary function L:Y→RL:\mathcal Y\to\mathbb RL:Y→R, with no measurability or boundedness assumed.
  • The conditional expectation is Q(S)−1⋅EQ[ℓ 1S]\mathbb Q(S)^{-1}\cdot\mathbb E_{\mathbb Q}[\ell\,\mathbb 1_S]Q(S)−1⋅EQ​[ℓ1S​] and is evaluated only at measures with Q(S)>0\mathbb Q(S)>0Q(S)>0. The supremum ranges exactly over probability measures in the ball with positive fiber mass.
  • The radius enters as ENNReal.ofReal ρ; the hypothesis ρmax⁡<ρ\rho_{\max}<\rhoρmax​<ρ forces ρ>0\rho>0ρ>0, and (24) carries 0≤ρ0\le\rho0≤ρ.
  • κi\kappa_iκi​ and did_idi​ are real infima; ∂\partial∂ is the topological frontier in X\mathcal XX.
  • Assumption 2.4 is a structure hypothesis on every theorem. Proposition 4.1 additionally carries BoundaryRegular, which is not in the paper: the boundary is nonempty, the exit cost of a sample inside the fiber equals did_idi​, and di=κid_i=\kappa_idi​=κi​ for samples outside. It mentions only DX\mathbb D_{\mathcal X}DX​ and the samples and holds when DX\mathbb D_{\mathcal X}DX​ is a norm distance. The goal does not carry it.
  • The goal's hypothesis is ρ>ρmax⁡\rho>\rho_{\max}ρ>ρmax​ with ρmax⁡\rho_{\max}ρmax​ as defined (an infimum over measures), not its closed form, so Proposition 4.1 is not built into the goal.

Trivializing formalizations are ruled out: no conditional expectation is evaluated at fiber mass zero, the expectation is not a Bochner integral, ρ<0\rho<0ρ<0 cannot enter through ofReal, and the supremum is over the ball with positive fiber mass, not over all measures.

Needed infrastructure: finitely supported measures and their couplings, convexity of W(⋅,P^)\mathbb W(\cdot,\hat{\mathbb P})W(⋅,P^), and for (24) the existence of optimal couplings on Polish spaces. These are reusable well beyond this paper, and contributions toward them are welcome.

Selected references

  • V. A. Nguyen, F. Zhang, S. Wang, J. Blanchet, E. Delage, Y. Ye, Robustifying conditional portfolio decisions via optimal transport, Operations Research, 2025; arXiv:2103.16451v3. https://arxiv.org/abs/2103.16451
  • C. Villani, Optimal Transport: Old and New, Springer, 2009 (Theorem 4.1, existence of optimal couplings). https://doi.org/10.1007/978-3-540-71050-9
  • J. Blanchet, K. Murthy, Quantifying distributional model risk via optimal transport, Mathematics of Operations Research, 2019. https://doi.org/10.1287/moor.2018.0936
9 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

Global Sensitivity Analysis via Optimal Transport 2: OT-Based Sensitivity Measures Are Monotone in Information and Continuous Along Increasing σ-AlgebrasResearch Paper

Why measure sensitivity by optimal transport

Global sensitivity analysis asks how much the uncertainty in an output YYY of a model or a data set is explained by an input XXX. A large family of indices has the form "expected discrepancy between the marginal law of YYY and its conditional law given XXX": the variance-based index of Sobol' and Wagner, the L1L^1L1 density-based index, Kuiper and Cramér–von Mises indices. Borgonovo, Figalli, Plischke and Savaré (Management Science 2025, doi:10.1287/mnsc.2023.01796) take the discrepancy to be an optimal-transport cost. The resulting indices apply to multivariate outputs, need no density, and include as special cases the numerator of Wiesel's Wasserstein correlation coefficient (Wiesel 2022, arXiv:2207.14079).

A sensitivity index is meant to measure information: how much knowing XXX, or a coarsening of XXX, tells about YYY. Two properties make this reading legitimate. Coarser information must never be worth more than finer information, and an index computed from increasingly fine observations of XXX must approach the value for the limiting information. This mission formalizes both properties for the optimal-transport indices, Theorems 8 and 9 of the paper. Theorem 9 is also the last step of the paper's consistency proof for its partition estimator (Theorem 21).

Setting

Let (Ω,B,P)(\Omega,\mathcal B,\mathbb P)(Ω,B,P) be a probability space, X\mathsf XX and Y\mathsf YY Polish spaces with Borel σ-algebras B(X)\mathscr B(\mathsf X)B(X), B(Y)\mathscr B(\mathsf Y)B(Y), and X:Ω→XX:\Omega\to\mathsf XX:Ω→X, Y:Ω→YY:\Omega\to\mathsf YY:Ω→Y measurable maps. Write μ\muμ and ν\nuν for the laws of XXX and YYY.

A cost is a continuous function k:Y×Y→[0,+∞]\mathsf k:\mathsf Y\times\mathsf Y\to[0,+\infty]k:Y×Y→[0,+∞] with k(y,y′)=0\mathsf k(y,y')=0k(y,y′)=0 exactly when y=y′y=y'y=y′. The optimal-transport cost between probability measures ν,ν′\nu,\nu'ν,ν′ on Y\mathsf YY is

K(ν,ν′)=inf⁡π∈Π(ν,ν′)∬k(y,y′) dπ(y,y′),K(\nu,\nu')=\inf_{\pi\in\Pi(\nu,\nu')}\iint\mathsf k(y,y')\,d\pi(y,y'),K(ν,ν′)=π∈Π(ν,ν′)inf​∬k(y,y′)dπ(y,y′),

where Π(ν,ν′)\Pi(\nu,\nu')Π(ν,ν′) is the set of probability measures on Y×Y\mathsf Y\times\mathsf YY×Y with marginals ν\nuν and ν′\nu'ν′.

For a σ-algebra F⊆B(X)\mathcal F\subseteq\mathscr B(\mathsf X)F⊆B(X), representing partial information on XXX, a version of the conditional distribution of YYY given (X,F)(X,\mathcal F)(X,F) is a family (νxF)x∈X(\nu^{\mathcal F}_x)_{x\in\mathsf X}(νxF​)x∈X​ of probability measures on Y\mathsf YY with x↦νxF(B)x\mapsto\nu^{\mathcal F}_x(B)x↦νxF​(B) F\mathcal FF-measurable and

P(X∈A, Y∈B)=∫AνxF(B) dμ(x)(A∈F, B∈B(Y)).\mathbb P(X\in A,\ Y\in B)=\int_A\nu^{\mathcal F}_x(B)\,d\mu(x)\qquad(A\in\mathcal F,\ B\in\mathscr B(\mathsf Y)).P(X∈A, Y∈B)=∫A​νxF​(B)dμ(x)(A∈F, B∈B(Y)).

The OT-based sensitivity measure (Definition 1) is

ξK(Y,X∣F)=∫XK(ν,νxF) dμ(x)∈[0,+∞],\xi^K(Y,X\mid\mathcal F)=\int_{\mathsf X}K(\nu,\nu^{\mathcal F}_x)\,d\mu(x)\in[0,+\infty],ξK(Y,X∣F)=∫X​K(ν,νxF​)dμ(x)∈[0,+∞],

written ξK(Y,X)\xi^K(Y,X)ξK(Y,X) when F=B(X)\mathcal F=\mathscr B(\mathsf X)F=B(X). For a Borel map g:X→Ug:\mathsf X\to\mathsf Ug:X→U into a Polish space, U=g∘XU=g\circ XU=g∘X is a new random variable and ξK(Y,U)\xi^K(Y,U)ξK(Y,U) is defined in the same way on U\mathsf UU; σ(g)\sigma(g)σ(g) is the σ-algebra generated by ggg.

Formalization targets

Goal: continuity along increasing σ-algebras (Theorem 9)

For an increasing sequence F1⊆F2⊆⋯\mathcal F^1\subseteq\mathcal F^2\subseteq\cdotsF1⊆F2⊆⋯ of sub-σ-algebras of B(X)\mathscr B(\mathsf X)B(X) with join F=⋁nFn\mathcal F=\bigvee_n\mathcal F^nF=⋁n​Fn,

lim⁡n→∞ξK(Y,X∣Fn)=ξK(Y,X∣F)in [0,+∞].\lim_{n\to\infty}\xi^K(Y,X\mid\mathcal F^n)=\xi^K(Y,X\mid\mathcal F)\quad\text{in }[0,+\infty].n→∞lim​ξK(Y,X∣Fn)=ξK(Y,X∣F)in [0,+∞].

Milestones

  • (66) and (68): the conditional law given coarser information is a mixture of the conditional laws given XXX, against the disintegration of μ\muμ.
  • Jensen step: K(ν,∫ηx dρ(x))≤∫K(ν,ηx) dρ(x)K\big(\nu,\int\eta_x\,d\rho(x)\big)\le\int K(\nu,\eta_x)\,d\rho(x)K(ν,∫ηx​dρ(x))≤∫K(ν,ηx​)dρ(x).
  • Theorem 8: ξK(Y,X)≥ξK(Y,X∣F)\xi^K(Y,X)\ge\xi^K(Y,X\mid\mathcal F)ξK(Y,X)≥ξK(Y,X∣F) (23); ξK(Y,X)≥ξK(Y,U)=ξK(Y,X∣σ(g))\xi^K(Y,X)\ge\xi^K(Y,U)=\xi^K(Y,X\mid\sigma(g))ξK(Y,X)≥ξK(Y,U)=ξK(Y,X∣σ(g)) (24); equality ξK(Y,X)=ξK(Y,U)\xi^K(Y,X)=\xi^K(Y,U)ξK(Y,X)=ξK(Y,U) when ggg is injective almost everywhere.
  • Relative monotonicity: ξK(Y,X∣G)≤ξK(Y,X∣F)\xi^K(Y,X\mid\mathcal G)\le\xi^K(Y,X\mid\mathcal F)ξK(Y,X∣G)≤ξK(Y,X∣F) for G⊆F\mathcal G\subseteq\mathcal FG⊆F.
  • Almost-sure weak convergence of the conditional laws νxn→νx∞\nu^n_x\to\nu^\infty_xνxn​→νx∞​ for μ\muμ-a.e. xxx.
  • Lower semicontinuity of K(ν,⋅)K(\nu,\cdot)K(ν,⋅) under weak convergence.

Significance

The results. Theorem 8 is the formal statement that the OT indices value information monotonically: a transformation g(X)g(X)g(X) of an input, such as a discretization or an aggregation of features, can only lose explanatory power, and loses none when ggg is injective. Theorem 9 makes the indices continuous in the information: refining a partition of the input space, as an estimator does when the sample grows, recovers the index of the limiting σ-algebra. The paper relies on Theorem 9 to prove that its given-data estimator is consistent, and on Theorem 8 to justify its interpretation of the indices as values of information.

The formalization. The proofs are on pp. 35–36 of the authors' manuscript. As far as we know, none of these statements has been machine-checked. Formalizing them requires conditional distributions relative to arbitrary sub-σ-algebras, the convexity of optimal-transport costs under mixtures, and their lower semicontinuity under weak convergence, which are general facts of optimal transport that the platform does not yet have.

Difficulty

The monotonicity in Theorem 8 is a Jensen inequality, but it is applied to a function of a measure, K(ν,⋅)K(\nu,\cdot)K(ν,⋅), along a mixture indexed by a disintegration, so the step needs a measurable choice of near-optimal couplings. Without such a choice the averaged coupling is not defined.

For Theorem 9, the inequality lim sup⁡≤\limsup\lelimsup≤ follows from monotonicity, and lim inf⁡≥\liminf\geliminf≥ is the substance. The natural first idea, Lévy's upward theorem applied to E[φ(Y)∣X,Fn]\mathbb E[\varphi(Y)\mid X,\mathcal F^n]E[φ(Y)∣X,Fn], gives convergence for one test function at a time and outside a null set that depends on φ\varphiφ. Weak convergence of the conditional laws for almost every xxx is a statement about all test functions at once. Even with it, K(ν,⋅)K(\nu,\cdot)K(ν,⋅) is only lower semicontinuous, not continuous, and the cost k\mathsf kk may be unbounded and take the value +∞+\infty+∞. No integrability hypothesis is available: the theorem holds without assuming MK[Y]<∞\mathbb M^K[Y]<\inftyMK[Y]<∞, including when the limit is +∞+\infty+∞.

Formalization scope

  • X\mathsf XX, Y\mathsf YY, U\mathsf UU are Polish spaces with Borel σ-algebras; the paper's supports in RnX\mathbb R^{n_X}RnX​, RnY\mathbb R^{n_Y}RnY​ are such spaces.
  • XXX, YYY, ggg are measurable, and P\mathbb PP is a probability measure.
  • Costs, KKK, MK\mathbb M^KMK and ξK\xi^KξK take values in [0,+∞][0,+\infty][0,+∞] (ℝ≥0∞); integrals are lower Lebesgue integrals.
  • KKK is the published platform definition RWPI.SqrtLasso.transportCost. Its first argument is the marginal ν\nuν and its second the conditional law.
  • Conditional distributions are characterized by the defining property above (IsCondDistrib), never constructed. Every statement holds for every version, and versions for different nnn need not be compatible.
  • The join ⋁nFn\bigvee_n\mathcal F^n⋁n​Fn is the supremum of σ-algebras (⨆ n, Fs n), and the sequence is indexed from 000.
  • Weak convergence is tested against all bounded continuous real functions.
  • "Injective almost everywhere" means injective on a measurable set of full μ\muμ-measure.

The goal is a Tendsto in [0,+∞][0,+\infty][0,+∞], not a one-sided bound. In particular, a proof of only lim sup⁡≤\limsup\lelimsup≤ (monotonicity) or of the statement under a finiteness hypothesis on MK[Y]\mathbb M^K[Y]MK[Y] does not close it. ξK(Y,U)\xi^K(Y,U)ξK(Y,U) uses the conditional distribution of YYY given the random variable UUU on U\mathsf UU, not that given (X,σ(g))(X,\sigma(g))(X,σ(g)); their equality is part of (24).

Two readings are disclosed corrections. Theorem 9's "sub-σ-algebras in F\mathcal FF" is read as sub-σ-algebras of B(X)\mathscr B(\mathsf X)B(X). The comparison of two sub-σ-algebras G⊆F\mathcal G\subseteq\mathcal FG⊆F, used in the proof of Theorem 9 but stated in Theorem 8 only for F=B(X)\mathcal F=\mathscr B(\mathsf X)F=B(X), is posed as its own milestone.

Reusable infrastructure includes the following, and contributions of any of them are welcome:

  • existence and uniqueness of conditional distributions given a sub-σ-algebra;
  • mixture convexity and lower semicontinuity of optimal-transport costs;
  • almost-sure weak convergence of conditional laws along a filtration.

Selected references

  • E. Borgonovo, A. Figalli, E. Plischke, G. Savaré, Global Sensitivity Analysis via Optimal Transport, Management Science, 2025 (authors' manuscript of 7 March 2024). https://doi.org/10.1287/mnsc.2023.01796
  • J. Wiesel, Measuring association with Wasserstein distances, arXiv preprint, 2022. https://arxiv.org/abs/2207.14079
  • C. Villani, Optimal Transport: Old and New, Springer, 2009. https://doi.org/10.1007/978-3-540-71050-9
  • L. Schwartz, Radon Measures on Arbitrary Topological Spaces and Cylindrical Measures, Oxford University Press, 1973.
  • I. M. Sobol', Sensitivity estimates for nonlinear mathematical models, Mathematical Modeling and Computational Experiment, 1993.
13 thms1 active userReviewed
Operations ResearchOptimization·Captain: mikedeng1

Robustifying Conditional Portfolio Decisions via Optimal Transport 2: With a Singleton Fiber and Fiber Mass at Least ε > 0, the Worst-Case Conditional Expected Loss Equals a Two-Multiplier DualResearch Paper

Motivation

A portfolio manager who observes today's value x0x_0x0​ of a covariate (a market signal, a macroeconomic indicator) wants to choose a portfolio that performs well conditionally on that observation: the relevant risk is E[ℓ(Y,α,β)∣X=x0]\mathbb E[\ell(Y,\alpha,\beta)\mid X=x_0]E[ℓ(Y,α,β)∣X=x0​] of the asset return YYY, not its unconditional mean. With finitely many historical pairs (x^i,y^i)(\hat x_i,\hat y_i)(x^i​,y^​i​), the empirical conditional distribution at a new x0x_0x0​ is usually empty or rests on one or two samples, so estimating it directly is unreliable. Nguyen, Zhang, Wang, Blanchet, Delage and Ye (arXiv:2103.16451v3, Operations Research 2025) hedge it with distributionally robust optimization: they take the worst case of the conditional expectation over all joint laws of (X,Y)(X,Y)(X,Y) within an optimal-transport ball around the empirical measure that still put a prescribed amount of mass on the conditioning event.

The objective is a ratio of two linear functionals of the law, so the standard strong-duality theorems for Wasserstein distributionally robust optimization (Mohajerin Esfahani and Kuhn, 2018; Blanchet and Murthy, 2019; Gao and Kleywegt, 2023) do not apply directly. This mission formalizes the paper's answer in the singular case where the conditioning event is the single point {x0}\{x_0\}{x0​} and the event must keep mass at least ε>0\varepsilon>0ε>0.

Setting

Let X\mathcal XX (covariates) and Y\mathcal YY (returns) be spaces with ground costs DX\mathbb D_{\mathcal X}DX​, DY\mathbb D_{\mathcal Y}DY​, combined into the separable cost D((x,y),(x′,y′))=DX(x,x′)+DY(y,y′)\mathbb D((x,y),(x',y'))=\mathbb D_{\mathcal X}(x,x')+\mathbb D_{\mathcal Y}(y,y')D((x,y),(x′,y′))=DX​(x,x′)+DY​(y,y′). The data are NNN samples (x^i,y^i)(\hat x_i,\hat y_i)(x^i​,y^​i​), i∈[N]i\in[N]i∈[N], with empirical measure P^=N−1∑iδ(x^i,y^i)\hat{\mathbb P}=N^{-1}\sum_i\delta_{(\hat x_i,\hat y_i)}P^=N−1∑i​δ(x^i​,y^​i​)​.

  • The optimal transport cost between laws Q1,Q2\mathbb Q_1,\mathbb Q_2Q1​,Q2​ is W(Q1,Q2)=inf⁡{Eπ[D(ξ1,ξ2)]:π∈Π(Q1,Q2)}\mathbb W(\mathbb Q_1,\mathbb Q_2)=\inf\{\mathbb E_\pi[\mathbb D(\xi_1,\xi_2)]:\pi\in\Pi(\mathbb Q_1,\mathbb Q_2)\}W(Q1​,Q2​)=inf{Eπ​[D(ξ1​,ξ2​)]:π∈Π(Q1​,Q2​)}, the infimum over couplings.
  • The ambiguity set is Bρ={Q: W(Q,P^)≤ρ}\mathbb B_\rho=\{\mathbb Q:\ \mathbb W(\mathbb Q,\hat{\mathbb P})\le\rho\}Bρ​={Q: W(Q,P^)≤ρ} for a radius ρ≥0\rho\ge0ρ≥0.
  • The fiber of radius γ\gammaγ is Nγ(x0)×Y\mathcal N_\gamma(x_0)\times\mathcal YNγ​(x0​)×Y with Nγ(x0)={x:DX(x,x0)≤γ}\mathcal N_\gamma(x_0)=\{x:\mathbb D_{\mathcal X}(x,x_0)\le\gamma\}Nγ​(x0​)={x:DX​(x,x0​)≤γ}; here γ=0\gamma=0γ=0, so the fiber is {x0}×Y\{x_0\}\times\mathcal Y{x0​}×Y.
  • The minimum radius ρmin⁡(x0,γ,ε)=inf⁡{W(Q,P^):Q(X∈Nγ(x0))≥ε}\rho_{\min}(x_0,\gamma,\varepsilon)=\inf\{\mathbb W(\mathbb Q,\hat{\mathbb P}):\mathbb Q(X\in\mathcal N_\gamma(x_0))\ge\varepsilon\}ρmin​(x0​,γ,ε)=inf{W(Q,P^):Q(X∈Nγ​(x0​))≥ε} is the smallest radius at which some law in the ball meets the mass requirement.
  • Assumption 2.4 of the paper: the costs are symmetric, non-negative and continuous, D\mathbb DD vanishes exactly on the diagonal, each x^i\hat x_ix^i​ has a unique projection onto Nγ(x0)\mathcal N_\gamma(x_0)Nγ​(x0​) with cost κi\kappa_iκi​, and boundary points of Nγ(x0)\mathcal N_\gamma(x_0)Nγ​(x0​) can be left at arbitrarily small cost.

For a loss ℓ(y)=ℓ(y,α,β)\ell(y)=\ell(y,\alpha,\beta)ℓ(y)=ℓ(y,α,β) at a fixed decision, the object of study is the worst-case conditional expected loss

sup⁡Q∈Bρ, Q(X=x0)≥ε EQ[ℓ(Y)∣X=x0],EQ[ℓ(Y)∣X=x0]=EQ[ℓ(Y)1{x0}(X)]Q(X=x0).\sup_{\mathbb Q\in\mathbb B_\rho,\ \mathbb Q(X=x_0)\ge\varepsilon}\ \mathbb E_{\mathbb Q}[\ell(Y)\mid X=x_0],\qquad \mathbb E_{\mathbb Q}[\ell(Y)\mid X=x_0]=\frac{\mathbb E_{\mathbb Q}[\ell(Y)\mathbb 1_{\{x_0\}}(X)]}{\mathbb Q(X=x_0)} .Q∈Bρ​, Q(X=x0​)≥εsup​ EQ​[ℓ(Y)∣X=x0​],EQ​[ℓ(Y)∣X=x0​]=Q(X=x0​)EQ​[ℓ(Y)1{x0​}​(X)]​.

Formalization targets

Goal: Theorem 3.2 (p. 15)

For ε∈(0,1]\varepsilon\in(0,1]ε∈(0,1] and ρ>ρmin⁡(x0,0,ε)\rho>\rho_{\min}(x_0,0,\varepsilon)ρ>ρmin​(x0​,0,ε),

sup⁡Q∈Bρ, Q(X=x0)≥εEQ[ℓ(Y)∣X=x0]=inf⁡λ1≥0, λ2∈R{ρλ1+ελ2+1N∑i∈[N](sup⁡y∈Y{ε−1ℓ(y)−[DX(x0,x^i)+DY(y,y^i)]λ1−λ2})+}.\sup_{\mathbb Q\in\mathbb B_\rho,\ \mathbb Q(X=x_0)\ge\varepsilon}\mathbb E_{\mathbb Q}[\ell(Y)\mid X=x_0] =\inf_{\lambda_1\ge0,\ \lambda_2\in\mathbb R}\Big\{\rho\lambda_1+\varepsilon\lambda_2+\frac1N\sum_{i\in[N]}\Big(\sup_{y\in\mathcal Y}\big\{\varepsilon^{-1}\ell(y)-[\mathbb D_{\mathcal X}(x_0,\hat x_i)+\mathbb D_{\mathcal Y}(y,\hat y_i)]\lambda_1-\lambda_2\big\}\Big)^+\Big\}.Q∈Bρ​, Q(X=x0​)≥εsup​EQ​[ℓ(Y)∣X=x0​]=λ1​≥0, λ2​∈Rinf​{ρλ1​+ελ2​+N1​i∈[N]∑​(y∈Ysup​{ε−1ℓ(y)−[DX​(x0​,x^i​)+DY​(y,y^​i​)]λ1​−λ2​})+}.

The loss is arbitrary (measurable, real-valued), and both sides may be +∞+\infty+∞.

Milestones

  1. Representation (24) (p. 47): Q∈Bρ\mathbb Q\in\mathbb B_\rhoQ∈Bρ​ iff Q=N−1∑iπi\mathbb Q=N^{-1}\sum_i\pi_iQ=N−1∑i​πi​ for probability measures πi\pi_iπi​ with N−1∑iEπi[D(⋅,(x^i,y^i))]≤ρN^{-1}\sum_i\mathbb E_{\pi_i}[\mathbb D(\cdot,(\hat x_i,\hat y_i))]\le\rhoN−1∑i​Eπi​​[D(⋅,(x^i​,y^​i​))]≤ρ.
  2. Proposition 2.5 (p. 11): ρmin⁡\rho_{\min}ρmin​ is the value of the fractional knapsack program min⁡{N−1∑iκiυi:υ∈[0,1]N,∑iυi≥Nε}\min\{N^{-1}\sum_i\kappa_i\upsilon_i:\upsilon\in[0,1]^N,\sum_i\upsilon_i\ge N\varepsilon\}min{N−1∑i​κi​υi​:υ∈[0,1]N,∑i​υi​≥Nε}, and the problem is feasible iff ρ≥ρmin⁡\rho\ge\rho_{\min}ρ≥ρmin​.
  3. Lemma A.4 (p. 36): in a linear-fractional program over [0,1]N[0,1]^N[0,1]N, the constraint ∑iυi≥εN\sum_i\upsilon_i\ge\varepsilon N∑i​υi​≥εN may be replaced by ∑iυi=εN\sum_i\upsilon_i=\varepsilon N∑i​υi​=εN.
  4. Proposition A.5 (p. 36): the worst case equals a supremum over weights υ\upsilonυ with ∑iυi=Nε\sum_i\upsilon_i=N\varepsilon∑i​υi​=Nε and over laws μ0i\mu_0^iμ0i​ on Y\mathcal YY of the linear objective (Nε)−1∑iυiEμ0i[ℓ](N\varepsilon)^{-1}\sum_i\upsilon_i\mathbb E_{\mu_0^i}[\ell](Nε)−1∑i​υi​Eμ0i​​[ℓ] under one transport budget.
  5. Inner duality (p. 41): for fixed strictly feasible weights, the inner supremum over (μ0i)(\mu_0^i)(μ0i​) equals its moment-problem dual over λ1≥0\lambda_1\ge0λ1​≥0 and θ∈RN\theta\in\mathbb R^Nθ∈RN.

Significance

Theorem 3.2 reduces an infinite-dimensional, fractional worst-case problem to a two-multiplier convex program whose only infinite-dimensional pieces are NNN suprema over Y\mathcal YY. For piecewise-linear losses and norm costs the paper turns this into the conic programs of Propositions 3.3–3.4, which are what make the robust conditional portfolio model solvable in practice. It also compares the formulation with the trimming approach of Esteban-Pérez and Morales (Mathematical Programming, 2022), whose adversary may only pick laws with fiber mass exactly ε\varepsilonε; Proposition A.5 shows that, at γ=0\gamma=0γ=0, the more powerful adversary allowed Q(X=x0)≥ε\mathbb Q(X=x_0)\ge\varepsilonQ(X=x0​)≥ε attains the same value.

The result is proved in the paper; nothing here is open mathematics. None of it is formalized. A complete development would add to the platform a first conditional (fractional) distributionally robust duality, a decomposition of optimal-transport balls around empirical measures (milestone 1, reusable by every finite-sample Wasserstein result), and a moment-problem duality with one budget constraint (milestone 5).

Difficulty

The ratio objective is the obstacle: neither the numerator nor the denominator alone determines the worst case, and a law that is optimal for the numerator may violate the mass constraint. The step "fix the fiber mass at ε\varepsilonε" (Proposition A.5) is where the obvious argument fails: an optimal law may put more than ε\varepsilonε on {x0}\{x_0\}{x0​}, and reducing that mass requires moving sample points off x0x_0x0​ at vanishing transport cost, which needs points of X\mathcal XX arbitrarily close to x0x_0x0​. Milestone 1 needs the existence of optimal couplings, which Mathlib lacks. Milestone 5 is an infinite-dimensional Lagrangian duality whose Slater point degenerates on the boundary of the weight set, so the final interchange of supremum and infimum must avoid that boundary.

Formalization scope

X\mathcal XX and Y\mathcal YY are Polish spaces with their Borel σ-algebras; samples are indexed by Fin N with N≥1N\ge1N≥1, repeats allowed. The optimal transport cost is the published RWPI.SqrtLasso.transportCost (an infimum of lower integrals of the [0,∞][0,\infty][0,∞]-valued cost; attainment is not built in), and every expectation of the loss is the published ModelRiskOT.Duality.extIntegral, ∫ℓ+−∫ℓ−\int\ell^+-\int\ell^-∫ℓ+−∫ℓ− in [−∞,∞][-\infty,\infty][−∞,∞]. Worst-case values and duals are EReal suprema and infima. The loss is a measurable L : Y → ℝ standing for ℓ(⋅,α,β)\ell(\cdot,\alpha,\beta)ℓ(⋅,α,β) at an arbitrary decision.

Hypotheses beyond the page, all disclosed in the statements:

  • Assumption 2.4 is a hypothesis of every statement, as the paper makes it "throughout".
  • NotIsolated: for every r>0r>0r>0 there is x≠x0x\ne x_0x=x0​ with DX(x,x0)≤r\mathbb D_{\mathcal X}(x,x_0)\le rDX​(x,x0​)≤r. This is Assumption 2.4(iii) at γ=0\gamma=0γ=0 read with the ambient boundary of {x0}\{x_0\}{x0​}, as the paper's remark on p. 11 does; with the topological frontier in X\mathcal XX, (iii) is vacuous at an isolated x0x_0x0​, and Theorem 3.2 is then false.
  • Measurability of the loss, used because the dual side integrates ℓ\ellℓ against arbitrary laws on Y\mathcal YY.
  • Milestone 5 requires the strict budget inequality ∑iυiDX(x0,x^i)<Nρ\sum_i\upsilon_i\mathbb D_{\mathcal X}(x_0,\hat x_i)<N\rho∑i​υi​DX​(x0​,x^i​)<Nρ; the page's Slater argument covers only that case.

Trivializing formalizations are ruled out: conditional expectations are only taken at laws with fiber mass at least ε>0\varepsilon>0ε>0 (never at mass 000, where a real division would return 000); expectations are never Bochner integrals, which would be 000 for a non-integrable loss; the radius enters through ENNReal.ofReal ρ only where ρ≥0\rho\ge0ρ≥0 or ρ>ρmin⁡\rho>\rho_{\min}ρ>ρmin​ forces ρ>0\rho>0ρ>0; and every supremum ranges over exactly the paper's feasible set.

Needed infrastructure: existence of optimal couplings on Polish spaces (Villani, Theorem 4.1), a Lagrangian duality for moment problems, and Mathlib's Sion minimax theorem for the interchange. Contributions to any of these, and proofs of the milestones in any order, are welcome.

Selected references

  • V. A. Nguyen, F. Zhang, S. Wang, J. Blanchet, E. Delage, Y. Ye, Robustifying conditional portfolio decisions via optimal transport, Operations Research, 2025; arXiv:2103.16451v3, 2024. https://arxiv.org/abs/2103.16451
  • P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric, Mathematical Programming 171, 2018. https://doi.org/10.1007/s10107-017-1172-1
  • J. Blanchet, K. Murthy, Quantifying distributional model risk via optimal transport, Mathematics of Operations Research 44, 2019. https://doi.org/10.1287/moor.2018.0936
  • R. Gao, A. Kleywegt, Distributionally robust stochastic optimization with Wasserstein distance, Mathematics of Operations Research 48, 2023. https://doi.org/10.1287/moor.2022.1275
  • A. Esteban-Pérez, J. M. Morales, Distributionally robust stochastic programs with side information based on trimmings, Mathematical Programming, 2022.
  • A. Shapiro, On duality theory of conic linear problems, in Semi-Infinite Programming, Kluwer, 2001, pp. 135–165.
  • M. Sion, On general minimax theorems, Pacific Journal of Mathematics 8, 1958, pp. 171–176.
  • C. Villani, Optimal Transport: Old and New, Springer, 2009. https://doi.org/10.1007/978-3-540-71050-9
9 thms1 active userReviewed
Operations ResearchProbability·Captain: mikedeng1

Global Sensitivity Analysis via Optimal Transport 1: An OT-Based Sensitivity Measure Is Maximal Exactly When the Output Is a Function of the InputResearch Paper

Motivation

Global sensitivity analysis asks how much of the uncertainty in the output YYY of a model, a simulator or a learned predictor is attributable to an input XXX. A standard way to answer is to compare the law of YYY with its law after XXX is revealed, and to average that discrepancy over XXX. Variance-based indices (Sobol' 1993; Wagner 1995) compare conditional and unconditional means. Density-based and distribution-based indices compare whole distributions. Rényi's postulates for measures of dependence ask, among other things, that such an index vanish exactly under independence (zero-independence) and reach its maximum exactly when YYY is a function of XXX (max-functionality, Postulate E). Variance-based indices fail the first postulate, because the conditional mean can be constant while the conditional law moves.

Borgonovo, Figalli, Plischke and Savaré (Management Science, 2025) propose indices in which the discrepancy is an optimal transport cost. The squared 2-Wasserstein case is the numerator of the Wasserstein correlation coefficient of Wiesel (2022), whose Theorem 2.2 gives max-functionality for that coefficient. The paper extends max-functionality to general continuous costs, through a strict-convexity property of the transport cost on Dirac masses (Lemma 4). This mission formalizes that result, Theorem 5, together with the zero-independence property, Proposition 3.

Setting

Let (Ω,B,P)(\Omega,\mathcal B,P)(Ω,B,P) be a probability space and X\mathsf XX, Y\mathsf YY Polish spaces with their Borel σ\sigmaσ-algebras. The input X:Ω→XX:\Omega\to\mathsf XX:Ω→X and the output Y:Ω→YY:\Omega\to\mathsf YY:Ω→Y are measurable, with laws μ\muμ and ν\nuν.

A cost is a continuous function k:Y×Y→[0,+∞]k:\mathsf Y\times\mathsf Y\to[0,+\infty]k:Y×Y→[0,+∞] with k(y,y′)=0k(y,y')=0k(y,y′)=0 if and only if y=y′y=y'y=y′. It need not be symmetric, a metric, or finite. For probability measures ν,ν′\nu,\nu'ν,ν′ on Y\mathsf YY, a coupling is a probability measure π\piπ on Y×Y\mathsf Y\times\mathsf YY×Y with marginals ν\nuν and ν′\nu'ν′, and the optimal transport cost is

K(ν,ν′)=inf⁡π∈Π(ν,ν′)∬k(y,y′) dπ(y,y′).K(\nu,\nu')=\inf_{\pi\in\Pi(\nu,\nu')}\iint k(y,y')\,d\pi(y,y').K(ν,ν′)=π∈Π(ν,ν′)inf​∬k(y,y′)dπ(y,y′).

For a sub-σ\sigmaσ-algebra F\mathcal FF of the Borel sets of X\mathsf XX, a version of the conditional distribution of YYY given (X,F)(X,\mathcal F)(X,F) is a Markov kernel x↦νxFx\mapsto\nu^{\mathcal F}_xx↦νxF​ that is F\mathcal FF-measurable in xxx and satisfies P(X∈A, Y∈B)=∫AνxF(B) dμ(x)P(X\in A,\,Y\in B)=\int_A\nu^{\mathcal F}_x(B)\,d\mu(x)P(X∈A,Y∈B)=∫A​νxF​(B)dμ(x) for A∈FA\in\mathcal FA∈F and Borel BBB. The OT-based sensitivity measure of Definition 1 is

ξK(Y,X∣F)=∫XK(ν,νxF) dμ(x),\xi^K(Y,X\mid\mathcal F)=\int_{\mathsf X}K(\nu,\nu^{\mathcal F}_x)\,d\mu(x),ξK(Y,X∣F)=∫X​K(ν,νxF​)dμ(x),

written ξK(Y,X)\xi^K(Y,X)ξK(Y,X) when F\mathcal FF is the full Borel σ\sigmaσ-algebra. The candidate maximum is

MK[Y]=E[k(Y,Y′)]=∬k(y,y′) dν(y) dν(y′),\mathbb M^K[Y]=\mathbb E[k(Y,Y')]=\iint k(y,y')\,d\nu(y)\,d\nu(y'),MK[Y]=E[k(Y,Y′)]=∬k(y,y′)dν(y)dν(y′),

with Y′Y'Y′ an independent copy of YYY; for k(y,y′)=∥y−y′∥22k(y,y')=\|y-y'\|_2^2k(y,y′)=∥y−y′∥22​ it equals twice the total variance of YYY.

Formalization targets

Goal: Theorem 5 (max-functionality)

If MK[Y]<+∞\mathbb M^K[Y]<+\inftyMK[Y]<+∞, then for every sub-σ\sigmaσ-algebra F\mathcal FF and every version of the conditional distribution,

ξK(Y,X∣F)≤MK[Y],\xi^K(Y,X\mid\mathcal F)\le\mathbb M^K[Y],ξK(Y,X∣F)≤MK[Y],

and

ξK(Y,X∣F)=MK[Y]  ⟺  Y=f(X) P-a.s. for some F-measurable f:X→Y.\xi^K(Y,X\mid\mathcal F)=\mathbb M^K[Y]\iff Y=f(X)\ P\text{-a.s. for some }\mathcal F\text{-measurable }f:\mathsf X\to\mathsf Y.ξK(Y,X∣F)=MK[Y]⟺Y=f(X) P-a.s. for some F-measurable f:X→Y.

Milestones

The steps of the paper's proof, in order:

  1. (57): K(ν,ν′)≤∬k dν dν′K(\nu,\nu')\le\iint k\,d\nu\,d\nu'K(ν,ν′)≤∬kdνdν′.
  2. K(ν,δy′)=∫k(y,y′) dν(y)K(\nu,\delta_{y'})=\int k(y,y')\,d\nu(y)K(ν,δy′​)=∫k(y,y′)dν(y).
  3. Lemma 4: for y1≠y2y_1\ne y_2y1​=y2​ in supp⁡ν\operatorname{supp}\nusuppν and t∈(0,1)t\in(0,1)t∈(0,1),
K(ν,(1−t)δy1+tδy2)<(1−t)K(ν,δy1)+tK(ν,δy2).K\big(\nu,(1-t)\delta_{y_1}+t\delta_{y_2}\big)<(1-t)K(\nu,\delta_{y_1})+tK(\nu,\delta_{y_2}).K(ν,(1−t)δy1​​+tδy2​​)<(1−t)K(ν,δy1​​)+tK(ν,δy2​​).
  1. (62): the disintegration ∫K(ν,δy) dν(y)=∫X∫K(ν,δy) dνxF(y) dμ(x)\int K(\nu,\delta_y)\,d\nu(y)=\int_{\mathsf X}\int K(\nu,\delta_y)\,d\nu^{\mathcal F}_x(y)\,d\mu(x)∫K(ν,δy​)dν(y)=∫X​∫K(ν,δy​)dνxF​(y)dμ(x).
  2. The bound K(ν,ν′)≤∫K(ν,δy) dν′(y)K(\nu,\nu')\le\int K(\nu,\delta_y)\,d\nu'(y)K(ν,ν′)≤∫K(ν,δy​)dν′(y).
  3. (63): at the maximum, that bound is an equality for μ\muμ-a.e. xxx.
  4. (65): Jensen's inequality for K(ν,⋅)K(\nu,\cdot)K(ν,⋅) over the representation (64) of a mixture.

Companion: Proposition 3 (zero-independence)

ξK(Y,X)=0  ⟺  X and Y are independent.\xi^K(Y,X)=0\iff X\text{ and }Y\text{ are independent}.ξK(Y,X)=0⟺X and Y are independent.

Significance

The result. Together, Proposition 3 and Theorem 5 place ξK\xi^KξK on a scale from 000 (no information about YYY in XXX) to MK[Y]\mathbb M^K[Y]MK[Y] (complete information), so the ratio ξK(Y,X∣F)/MK[Y]\xi^K(Y,X\mid\mathcal F)/\mathbb M^K[Y]ξK(Y,X∣F)/MK[Y] is a normalized measure of association. This normalization is what lets practitioners rank inputs of a simulator or features of a model on a common scale. The result covers all continuous costs vanishing exactly on the diagonal, including the powers of a metric that give the Wasserstein indices, and arbitrary sub-σ\sigmaσ-algebras F\mathcal FF, which model partial information about XXX (for example the information carried by a function g(X)g(X)g(X)).

Formalizing it. The theorem is proved in the paper; the work here is to formalize the known proof. As far as is known, no machine-checked version of this result or of Wiesel's Wasserstein-correlation theorem exists. Along the way the development needs facts about optimal transport with extended-real costs that are not in Mathlib: the product-coupling bound, the transport cost to a Dirac mass, convexity and lower semicontinuity of K(ν,⋅)K(\nu,\cdot)K(ν,⋅), and cyclical monotonicity of optimal plans.

Difficulty

The inequality and the "functional dependence ⇒ equality" direction are direct computations with the product coupling and with Dirac conditional laws. The converse is the hard direction. Equality of the integrals gives only the pointwise equality (63) almost everywhere, and the step from there to "νxF\nu^{\mathcal F}_xνxF​ is a Dirac mass" needs strict convexity of K(ν,⋅)K(\nu,\cdot)K(ν,⋅). Strict convexity fails for general measures: K(ν,⋅)K(\nu,\cdot)K(ν,⋅) is affine along many segments. It holds only between Dirac masses at distinct points of supp⁡ν\operatorname{supp}\nusuppν (Lemma 4), and even there it fails when the costs involved are infinite. A non-Dirac conditional law is not a two-point mixture, so the strict inequality must be carried over to general measures with an integrand that takes values in [0,+∞][0,+\infty][0,+∞]. The last step, building an F\mathcal FF-measurable fff from the conditional laws, is measure-theoretic bookkeeping that is easy to get wrong.

Formalization scope

  • Spaces and values. X\mathsf XX and Y\mathsf YY are Polish with their Borel σ\sigmaσ-algebras; the paper's supports in RnX\mathbb R^{n_X}RnX​, RnY\mathbb R^{n_Y}RnY​ are such spaces. All of kkk, KKK, MK\mathbb M^KMK and ξK\xi^KξK take values in [0,+∞][0,+\infty][0,+∞] (ℝ≥0∞), so +∞+\infty+∞ is allowed as on the page, and integrals are lower Lebesgue integrals.
  • Transport cost. KKK is the published definition RWPI.SqrtLasso.transportCost. Its first argument is the marginal ν\nuν, and the cost is evaluated as k(y,y′)k(y,y')k(y,y′) with y∼νy\sim\nuy∼ν.
  • Conditional laws. The conditional distribution is not a chosen object. Any Markov kernel satisfying the defining property IsCondDistrib is admissible, and every theorem quantifies over all versions and over all sub-σ\sigmaσ-algebras F\mathcal FF.
  • Ruled-out encodings. The goal must not fix F\mathcal FF to the Borel σ\sigmaσ-algebra or fix a version of the kernel. Its conclusion must not be replaced by "νxF\nu^{\mathcal F}_xνxF​ is a Dirac mass for μ\muμ-a.e. xxx", which is an intermediate step of the proof, not the theorem.
  • Disclosed correction. Lemma 4 carries the extra hypotheses K(ν,δy1),K(ν,δy2)<+∞K(\nu,\delta_{y_1}),K(\nu,\delta_{y_2})<+\inftyK(ν,δy1​​),K(ν,δy2​​)<+∞. As printed, both sides of (19) can be +∞+\infty+∞ under the lemma's assumptions. Theorem 5 is stated as printed.
  • Not posed. The cyclical monotonicity of optimal plans, cited from Villani (2008, Ch. 5), and the existence of optimal plans used in Proposition 3 are standard optimal-transport facts. They are not milestones but are welcome as supporting lemmas.

Selected references

  • E. Borgonovo, A. Figalli, E. Plischke, G. Savaré, Global Sensitivity Analysis via Optimal Transport, Management Science, 2025 (authors' manuscript of 7 March 2024 used here). https://doi.org/10.1287/mnsc.2023.01796
  • J. Wiesel, Measuring Association with Wasserstein Distances, Bernoulli 28(4):2816–2832, 2022. https://doi.org/10.3150/21-BEJ1438
  • C. Villani, Optimal Transport: Old and New, Springer, 2008. https://doi.org/10.1007/978-3-540-71050-9
  • A. Rényi, On Measures of Dependence, Acta Mathematica Academiae Scientiarum Hungaricae 10:441–451, 1959. https://doi.org/10.1007/BF02024507
  • I. M. Sobol', Sensitivity Estimates for Nonlinear Mathematical Models, Mathematical Modelling and Computational Experiments 1:407–414, 1993.
  • H. M. Wagner, Global Sensitivity Analysis, Operations Research 43(6):948–969, 1995. https://doi.org/10.1287/opre.43.6.948
11 thms1 active userReviewed
ProbabilityStatistics·Captain: mikedeng1

Global Sensitivity Analysis via Optimal Transport 3: The Partition Estimator of an OT-Based Sensitivity Measure Converges Under Weak Convergence of the Joint LawsResearch Paper

Why estimate a sensitivity measure from data

Global sensitivity analysis asks how much of the uncertainty in a model output YYY is due to an input XXX. Borgonovo, Figalli, Plischke and Savaré (Management Science, 2025) propose a family of indicators built on optimal transport: the expected optimal transport cost between the marginal law of YYY and the law of YYY conditioned on the information carried by XXX. The family contains the variance-based and L1L^1L1-based indices used in practice as special or limiting cases, and it applies to multivariate outputs.

In applications these indicators are never computed from the true joint law of (X,Y)(X, Y)(X,Y). They are computed from a sample, by splitting the range of XXX into cells, estimating the law of YYY on each cell, and solving one optimal transport problem per cell (the estimator (76) of the paper). Whether this procedure converges to the quantity it is meant to estimate is the question of consistency, settled by Theorem 21 of the paper. This mission formalizes Theorem 21 and the steps of its proof.

Setting

Let X\mathsf XX and Y\mathsf YY be Polish spaces with their Borel σ\sigmaσ-algebras. A cost is a continuous function k:Y×Y→[0,+∞]k:\mathsf Y\times\mathsf Y\to[0,+\infty]k:Y×Y→[0,+∞] with k(y,y′)=0k(y,y')=0k(y,y′)=0 exactly when y=y′y=y'y=y′. The optimal transport cost between probability measures ν,ν′\nu,\nu'ν,ν′ on Y\mathsf YY is

K(ν,ν′)=inf⁡γ∈Π(ν,ν′)∫k(y,y′) dγ(y,y′),K(\nu,\nu')=\inf_{\gamma\in\Pi(\nu,\nu')}\int k(y,y')\,d\gamma(y,y'),K(ν,ν′)=γ∈Π(ν,ν′)inf​∫k(y,y′)dγ(y,y′),

the infimum over couplings γ\gammaγ with marginals ν\nuν and ν′\nu'ν′.

Let π\piπ be the joint law of (X,Y)(X,Y)(X,Y) on X×Y\mathsf X\times\mathsf YX×Y, with marginals μ\muμ (of XXX) and ν\nuν (of YYY). For a σ\sigmaσ-algebra F\mathcal FF on X\mathsf XX, a version of the conditional distribution of YYY given (X,F)(X,\mathcal F)(X,F) is a Markov kernel x↦νxFx\mapsto\nu^{\mathcal F}_xx↦νxF​, F\mathcal FF-measurable in xxx, with π(A×B)=∫AνxF(B) dμ(x)\pi(A\times B)=\int_A\nu^{\mathcal F}_x(B)\,d\mu(x)π(A×B)=∫A​νxF​(B)dμ(x) for A∈FA\in\mathcal FA∈F. The OT-based sensitivity measure (Definition 1) is

ξK(Y,X∣F)=∫XK(ν,νxF) dμ(x),\xi^K(Y,X\mid\mathcal F)=\int_{\mathsf X}K(\nu,\nu^{\mathcal F}_x)\,d\mu(x),ξK(Y,X∣F)=∫X​K(ν,νxF​)dμ(x),

written ξK(Y,X)\xi^K(Y,X)ξK(Y,X) when F\mathcal FF is the Borel σ\sigmaσ-algebra.

Estimation setting. A sequence of joint laws πN\pi^NπN on X×Y\mathsf X\times\mathsf YX×Y (for instance empirical laws of a sample of size NNN) converges weakly to π\piπ; μN,νN\mu^N,\nu^NμN,νN are its marginals. The cost has bounded separate costs: k(y,y′)≤a1(y)+a2(y′)k(y,y')\le a_1(y)+a_2(y')k(y,y′)≤a1​(y)+a2​(y′) with a1,a2≥0a_1,a_2\ge0a1​,a2​≥0 continuous, and with a=a1+a2a=a_1+a_2a=a1​+a2​,

lim⁡N→∞∫a dνN=∫a dν<∞.(73)\lim_{N\to\infty}\int a\,d\nu^N=\int a\,d\nu<\infty.\tag{73}N→∞lim​∫adνN=∫adν<∞.(73)

A sequence of finite measurable partitions XM={XhM}h=1H(M)\mathscr X^M=\{X^M_h\}_{h=1}^{H(M)}XM={XhM​}h=1H(M)​ of X\mathsf XX generates σ\sigmaσ-algebras FM\mathcal F^MFM with

FM⊆FM+1,⋁MFM=F,μ(∂XhM)=0.(75)\mathcal F^M\subseteq\mathcal F^{M+1},\qquad\bigvee_M\mathcal F^M=\mathcal F,\qquad\mu(\partial X^M_h)=0.\tag{75}FM⊆FM+1,M⋁​FM=F,μ(∂XhM​)=0.(75)

The quantities of interest are ξNK=ξK(YN,XN)\xi^K_N=\xi^K(Y^N,X^N)ξNK​=ξK(YN,XN) (finite X\mathsf XX) and ξM,NK=ξK(YN,XN∣FM)\xi^K_{M,N}=\xi^K(Y^N,X^N\mid\mathcal F^M)ξM,NK​=ξK(YN,XN∣FM).

Formalization targets

Goal: Theorem 21 (2)

Under (73) and (75), the iterated limit exists and

lim⁡M→∞lim⁡N→∞ξM,NK=ξK(Y,X∣F).\lim_{M\to\infty}\lim_{N\to\infty}\xi^K_{M,N}=\xi^K(Y,X\mid\mathcal F).M→∞lim​N→∞lim​ξM,NK​=ξK(Y,X∣F).

The statement fixes no rate and no constant; it asserts only that refining the partition after the sample size has grown recovers the sensitivity measure.

Milestones

  1. (80)–(81): for finite X\mathsf XX, ξK(Y,X)=∑hμ({xh})K(ν,νxh)\xi^K(Y,X)=\sum_h\mu(\{x^h\})K(\nu,\nu_{x^h})ξK(Y,X)=∑h​μ({xh})K(ν,νxh​) over atoms of positive mass.
  2. Theorem 21 (1): for finite X\mathsf XX, ξNK→ξK(Y,X)\xi^K_N\to\xi^K(Y,X)ξNK​→ξK(Y,X).
  3. (83): for a finite partition, ξK(Y,X∣FM)=∑h∈H(M)μ(XhM)K(ν,νM,h)\xi^K(Y,X\mid\mathcal F^M)=\sum_{h\in H(M)}\mu(X^M_h)K(\nu,\nu_{M,h})ξK(Y,X∣FM)=∑h∈H(M)​μ(XhM​)K(ν,νM,h​), with νM,h\nu_{M,h}νM,h​ the law of YYY on the cell.
  4. Convergence of marginals, cell masses and cell laws under null boundaries (p. 40).
  5. (85): uniform integrability of aaa with respect to (νN)(\nu^N)(νN).
  6. (86): K(νN,νM,hN)→K(ν,νM,h)K(\nu^N,\nu^N_{M,h})\to K(\nu,\nu_{M,h})K(νN,νM,hN​)→K(ν,νM,h​) on cells of positive mass.
  7. Null cells: μM,hNK(νN,νM,hN)→0\mu^N_{M,h}K(\nu^N,\nu^N_{M,h})\to0μM,hN​K(νN,νM,hN​)→0 when μM,h=0\mu_{M,h}=0μM,h​=0.
  8. (82): for each fixed partition, lim⁡NξM,NK=ξK(Y,X∣FM)\lim_N\xi^K_{M,N}=\xi^K(Y,X\mid\mathcal F^M)limN​ξM,NK​=ξK(Y,X∣FM).

The last step of the paper's proof, lim⁡MξK(Y,X∣FM)=ξK(Y,X∣F)\lim_M\xi^K(Y,X\mid\mathcal F^M)=\xi^K(Y,X\mid\mathcal F)limM​ξK(Y,X∣FM)=ξK(Y,X∣F), is the continuity of ξK\xi^KξK along increasing σ\sigmaσ-algebras, Theorem 9 of the paper. It is posed in the companion mission of this series (part 2, on information continuity) and is not restated here.

Significance

Theorem 21 is what licenses the partition estimator: without it, the number computed by solving one transport problem per cell of a sample has no proven relation to the sensitivity measure. The result is deterministic in the laws, so it applies to any sampling scheme whose empirical laws converge weakly with converging aaa-moments, not only to i.i.d. samples. The finite case covers categorical inputs directly.

On the formal side, no part of this argument is machine-checked. A complete development produces reusable pieces beyond this paper: the conditional law on a cell of null boundary as a continuous functional of the joint law, uniform integrability from convergence of moments under weak convergence, and the stability of optimal transport costs under weak convergence of the marginals with uniformly integrable cost bounds. The last is a standard theorem of optimal transport (Villani 2009, Theorem 5.20 and its proof) that the paper invokes without proof in (86).

Difficulty

The naive argument passes to the limit term by term in the finite sum (83). Two steps of it fail without further work. First, the optimal transport cost is only lower semicontinuous under weak convergence in general; convergence of K(νN,νM,hN)K(\nu^N,\nu^N_{M,h})K(νN,νM,hN​) needs the cost to be dominated by functions whose integrals converge, which is why (73) is assumed and why uniform integrability (85) must be transferred from νN\nu^NνN to the cell laws. Second, cells of zero limiting mass may carry positive empirical mass for every NNN, and their conditional laws need not converge at all; their contribution must be shown to vanish through the product μM,hNK(⋅,⋅)\mu^N_{M,h}K(\cdot,\cdot)μM,hN​K(⋅,⋅), not through the cell laws. Finally, the two limits do not commute in general, so the order lim⁡Mlim⁡N\lim_M\lim_NlimM​limN​ matters.

Formalization scope

  • X\mathsf XX, Y\mathsf YY are Polish with Borel σ\sigmaσ-algebras; in the finite case X\mathsf XX is a Fintype with the discrete topology, so F=2X\mathcal F=2^{\mathsf X}F=2X.
  • Since ξK\xi^KξK depends on (X,Y)(X,Y)(X,Y) only through the joint law, statements are made on Ω=X×Y\Omega=\mathsf X\times\mathsf YΩ=X×Y with P=πN\mathbb P=\pi^NP=πN or π\piπ and the coordinate projections, as the paper does in (81). Weak convergence of πN\pi^NπN is Mathlib's topology on ProbabilityMeasure.
  • KKK is the published definition RWPI.SqrtLasso.transportCost; all of KKK, ξK\xi^KξK and the integrals take values in [0,+∞][0,+\infty][0,+∞].
  • Conditional distributions are never chosen: each theorem holds for every kernel satisfying the characterizing predicate IsCondDistrib.
  • The iterated limit is stated as the existence of inner limits LML_MLM​ and LM→ξK(Y,X∣F)L_M\to\xi^K(Y,X\mid\mathcal F)LM​→ξK(Y,X∣F), never through a junk-valued lim.
  • The separate-cost bound and (73) are assumed always; for bounded kkk they hold with constant a1=a2a_1=a_2a1​=a2​.
  • The page prints ξK(X,Y)\xi^K(X,Y)ξK(X,Y) in (78)–(79); the convention of the paper and its proof is ξK(Y,X)\xi^K(Y,X)ξK(Y,X), which is formalized.

A trivializing formalization is ruled out: kkk is not assumed bounded, the laws πN\pi^NπN are not assumed eventually equal to π\piπ, the conditional laws are not assumed to converge, and cells of zero mass are allowed.

Contributions are welcome on each milestone separately, in particular on the stability of transport costs (86), which is reusable well beyond sensitivity analysis.

Selected references

  • E. Borgonovo, A. Figalli, E. Plischke, G. Savaré, Global Sensitivity Analysis via Optimal Transport, Management Science, 2025 (authors' manuscript of 7 March 2024). https://doi.org/10.1287/mnsc.2023.01796
  • C. Villani, Optimal Transport: Old and New, Grundlehren der mathematischen Wissenschaften 338, Springer, 2009. https://doi.org/10.1007/978-3-540-71050-9
  • P. Billingsley, Convergence of Probability Measures, 2nd ed., Wiley, 1999. https://doi.org/10.1002/9780470316962
12 thms1 active userReviewed
OptimizationProbabilityStatistics·Captain: mikedeng1

Bridging Bayesian and Minimax Mean Square Error Estimation via Wasserstein Distributionally Robust Optimization 1: The Gelbrich Minimax and Normal-Prior Maximin Values Coincide (Sandwich Theorem)Research Paper

Motivation

Estimating an unknown parameter from a noisy linear measurement is the basic problem behind Kalman filtering, signal recovery and linear inverse problems. A Bayesian statistician picks the estimator that minimizes the mean square error under a prior distribution; a minimax statistician guards against the worst prior in some family. The Bayesian answer depends on a prior that is rarely known, and the minimax answer is often intractable.

Nguyen, Shafieezadeh-Abadeh, Kuhn and Mohajerin Esfahani (Math. Oper. Res. 48(1), 2023) bridge the two by letting nature choose the joint distribution of parameter and noise from a ball of radius ρ\rhoρ around a nominal distribution in the type-2 Wasserstein distance. At ρ=0\rho=0ρ=0 the problem is Bayesian; as ρ\rhoρ grows it becomes more conservative. For a normal nominal distribution they show that this distributionally robust problem is solved by an affine estimator, that a normal distribution is least favourable, and that both are computable from a finite convex program. The paper extends the Wasserstein Kalman filter of Shafieezadeh-Abadeh et al. (NeurIPS 2018), which treated a joint normal ball on (x,y)(x,y)(x,y), to the model with independent parameter and noise.

Setting

The parameter is x∈Rnx\in\mathbb R^nx∈Rn and the observation is y=Hx+w∈Rmy=Hx+w\in\mathbb R^my=Hx+w∈Rm, with a known observation matrix H∈Rm×nH\in\mathbb R^{m\times n}H∈Rm×n and noise www independent of xxx. Write M(Rd)\mathcal M(\mathbb R^d)M(Rd) for the probability distributions on Rd\mathbb R^dRd with finite second moments.

  • An estimator is a measurable ψ:Rm→Rn\psi:\mathbb R^m\to\mathbb R^nψ:Rm→Rn with ∥ψ(y)∥≤C(1+∥y∥)\|\psi(y)\|\le C(1+\|y\|)∥ψ(y)∥≤C(1+∥y∥) for some C>0C>0C>0; the family of estimators is F\mathcal FF, and A⊆F\mathcal A\subseteq\mathcal FA⊆F is the family of affine estimators ψ(y)=Ay+b\psi(y)=Ay+bψ(y)=Ay+b.
  • The average risk of ψ\psiψ under a joint distribution Q\mathbb QQ of (x,w)(x,w)(x,w) is R(ψ,Q)=EQ[∥x−ψ(Hx+w)∥2]\mathcal R(\psi,\mathbb Q)=\mathbb E_{\mathbb Q}[\|x-\psi(Hx+w)\|^2]R(ψ,Q)=EQ​[∥x−ψ(Hx+w)∥2].
  • The type-2 Wasserstein distance W(Q1,Q2)\mathbb W(\mathbb Q_1,\mathbb Q_2)W(Q1​,Q2​) is the square root of the least expected squared distance E∥ξ1−ξ2∥2\mathbb E\|\xi_1-\xi_2\|^2E∥ξ1​−ξ2​∥2 over all couplings of Q1\mathbb Q_1Q1​ and Q2\mathbb Q_2Q2​.
  • The Gelbrich distance between mean–covariance pairs is
G((μ1,Σ1),(μ2,Σ2))=∥μ1−μ2∥2+Tr⁡[Σ1+Σ2−2(Σ21/2Σ1Σ21/2)1/2].\mathbb G((\mu_1,\Sigma_1),(\mu_2,\Sigma_2))=\sqrt{\|\mu_1-\mu_2\|^2+\operatorname{Tr}\big[\Sigma_1+\Sigma_2-2(\Sigma_2^{1/2}\Sigma_1\Sigma_2^{1/2})^{1/2}\big]}.G((μ1​,Σ1​),(μ2​,Σ2​))=∥μ1​−μ2​∥2+Tr[Σ1​+Σ2​−2(Σ21/2​Σ1​Σ21/2​)1/2]​.

The nominal distribution is a product P^=P^x×P^w\widehat{\mathbb P}=\widehat{\mathbb P}_x\times\widehat{\mathbb P}_wP=Px​×Pw​ with radii ρx,ρw≥0\rho_x,\rho_w\ge0ρx​,ρw​≥0. Three ambiguity sets of product distributions Qx×Qw\mathbb Q_x\times\mathbb Q_wQx​×Qw​ appear:

  • the Wasserstein ball B(P^)\mathbb B(\widehat{\mathbb P})B(P): Qx∈M(Rn)\mathbb Q_x\in\mathcal M(\mathbb R^n)Qx​∈M(Rn), Qw∈M(Rm)\mathbb Q_w\in\mathcal M(\mathbb R^m)Qw​∈M(Rm), W(Qx,P^x)≤ρx\mathbb W(\mathbb Q_x,\widehat{\mathbb P}_x)\le\rho_xW(Qx​,Px​)≤ρx​, W(Qw,P^w)≤ρw\mathbb W(\mathbb Q_w,\widehat{\mathbb P}_w)\le\rho_wW(Qw​,Pw​)≤ρw​;
  • the Gelbrich ball G(P^)\mathbb G(\widehat{\mathbb P})G(P): the marginals' mean–covariance pairs lie within Gelbrich distance ρx\rho_xρx​, ρw\rho_wρw​ of those of P^x\widehat{\mathbb P}_xPx​, P^w\widehat{\mathbb P}_wPw​;
  • for normal P^x=N(μ^x,Σ^x)\widehat{\mathbb P}_x=\mathcal N(\widehat\mu_x,\widehat\Sigma_x)Px​=N(μ​x​,Σx​), P^w=N(μ^w,Σ^w)\widehat{\mathbb P}_w=\mathcal N(\widehat\mu_w,\widehat\Sigma_w)Pw​=N(μ​w​,Σw​), the normal ball BN(P^)\mathbb B_{\mathcal N}(\widehat{\mathbb P})BN​(P): products N(μ^x,Σx)×N(μ^w,Σw)\mathcal N(\widehat\mu_x,\Sigma_x)\times\mathcal N(\widehat\mu_w,\Sigma_w)N(μ​x​,Σx​)×N(μ​w​,Σw​) in B(P^)\mathbb B(\widehat{\mathbb P})B(P) with Σx⪰0\Sigma_x\succeq0Σx​⪰0, Σw≻0\Sigma_w\succ0Σw​≻0.

Then BN(P^)⊆B(P^)⊆G(P^)\mathbb B_{\mathcal N}(\widehat{\mathbb P})\subseteq\mathbb B(\widehat{\mathbb P})\subseteq\mathbb G(\widehat{\mathbb P})BN​(P)⊆B(P)⊆G(P).

Formalization targets

Goal: Theorem 4.1 (sandwich theorem)

For P^\widehat{\mathbb P}P normal with Σ^w≻0\widehat\Sigma_w\succ0Σw​≻0,

inf⁡ψ∈A sup⁡Q∈G(P^) R(ψ,Q)=sup⁡Q∈BN(P^) inf⁡ψ∈F R(ψ,Q).\inf_{\psi\in\mathcal A}\ \sup_{\mathbb Q\in\mathbb G(\widehat{\mathbb P})}\ \mathcal R(\psi,\mathbb Q)=\sup_{\mathbb Q\in\mathbb B_{\mathcal N}(\widehat{\mathbb P})}\ \inf_{\psi\in\mathcal F}\ \mathcal R(\psi,\mathbb Q).ψ∈Ainf​ Q∈G(P)sup​ R(ψ,Q)=Q∈BN​(P)sup​ ψ∈Finf​ R(ψ,Q).

The left side is the Gelbrich MMSE problem (2.1), the right side the dual problem over normal priors (3.3). The Wasserstein problem (1.7), inf⁡Fsup⁡B\inf_{\mathcal F}\sup_{\mathbb B}infF​supB​, and its dual (3.1), sup⁡Binf⁡F\sup_{\mathbb B}\inf_{\mathcal F}supB​infF​, lie between them, so all four values coincide.

Milestones

  1. Proposition A.3: the closed form of sup⁡Σ⪰0⟨D,Σ⟩−γTr⁡[Σ−2(Σ^1/2ΣΣ^1/2)1/2]\sup_{\Sigma\succeq0}\langle D,\Sigma\rangle-\gamma\operatorname{Tr}[\Sigma-2(\widehat\Sigma^{1/2}\Sigma\widehat\Sigma^{1/2})^{1/2}]supΣ⪰0​⟨D,Σ⟩−γTr[Σ−2(Σ1/2ΣΣ1/2)1/2] and its maximizer.
  2. Theorem 2.7: problem (2.1) equals a finite convex program (2.2), and for ρx,ρw>0\rho_x,\rho_w>0ρx​,ρw​>0 an affine estimator attains it.
  3. Lemma A.6: the covariance Gelbrich set S\mathcal SS is convex and compact, with Tr⁡[Σ]≤(ρ+Tr⁡[Σ^]1/2)2\operatorname{Tr}[\Sigma]\le(\rho+\operatorname{Tr}[\widehat\Sigma]^{1/2})^2Tr[Σ]≤(ρ+Tr[Σ]1/2)2.
  4. Proposition A.4 (i): max⁡Σ∈S⟨D,Σ⟩\max_{\Sigma\in\mathcal S}\langle D,\Sigma\ranglemaxΣ∈S​⟨D,Σ⟩ equals a one-dimensional infimum (A.6).
  5. Lemma A.5: a max–min problem over S\mathcal SS has a maximizer Σ⋆⪰λmin⁡(Σ^)I\Sigma^\star\succeq\lambda_{\min}(\widehat\Sigma)IΣ⋆⪰λmin​(Σ)I.
  6. Display (3.5): over normal priors, affine estimators suffice.
  7. Display (3.8): for Σ^w≻0\widehat\Sigma_w\succ0Σw​≻0 the value of (3.3) is a finite sup–inf over covariance matrices.

Companion statements, not milestones: Theorem 3.5 (problem (3.3) equals the finite program (3.4)), Corollary 4.2 (the optimal affine estimator and the optimal normal prior form a Nash equilibrium on B(P^)\mathbb B(\widehat{\mathbb P})B(P)) and Corollary 4.3 (the minimax estimator from a maximizer of (3.4)).

Significance

The sandwich theorem says that robustifying the MMSE problem against Wasserstein uncertainty around a normal distribution costs nothing in tractability: the optimal estimator is affine, the worst-case distribution is normal, and both follow from a convex program in the covariance matrices. The resulting estimator is a Kalman-type update with a least favourable covariance in place of the nominal one, which is what makes the result usable in filtering. The paper also extends it to elliptical nominal distributions (Section 5) and develops a Frank–Wolfe method for (3.4) (Section 6).

The results are proved in the paper; none of them is machine-checked. A formalization adds a checked account of a minimax argument that combines optimal transport (the Gelbrich bound and its equality for normal laws), nonlinear semidefinite programming (Propositions A.3 and A.4) and Bayesian estimation for Gaussian laws. The appendix statements are general facts about the Gelbrich ball of covariance matrices and serve beyond this paper.

Difficulty

The left side of the goal is an infimum over affine estimators of a supremum over an infinite-dimensional set of distributions; the right side reverses the order and restricts nature to normal laws while allowing every estimator. Weak duality gives ≥\ge≥ at once. For the reverse inequality, Sion's minimax theorem cannot be applied to the distributions directly: BN(P^)\mathbb B_{\mathcal N}(\widehat{\mathbb P})BN​(P) is not convex, since mixtures of normal laws are not normal, and G(P^)\mathbb G(\widehat{\mathbb P})G(P) is not compact in any useful topology. The equality has to pass through the finite matrix problems, where the worst covariance matrices must be shown to stay bounded away from singularity so that the normal noise covariance remains positive definite. That is the role of Lemma A.5 and of the hypothesis Σ^w≻0\widehat\Sigma_w\succ0Σw​≻0.

Formalization scope

  • Rd\mathbb R^dRd is EuclideanSpace ℝ (Fin d). The risk is a lower Lebesgue integral in [0,∞][0,\infty][0,∞], and every optimal value is a [0,∞][0,\infty][0,∞]- or EReal-valued infimum or supremum restricted by a membership predicate. The finite programs (2.2), (3.4), (A.3), (A.5), (A.6), (A.9) take values in EReal.
  • M(Rd)\mathcal M(\mathbb R^d)M(Rd) is "probability measure with E∥ξ∥2<∞\mathbb E\|\xi\|^2<\inftyE∥ξ∥2<∞" and is required wherever the page requires it, because means and covariances are Bochner integrals with junk value 000 otherwise.
  • F\mathcal FF keeps both measurability and linear growth.
  • N(μ,Σ)\mathcal N(\mu,\Sigma)N(μ,Σ) is Mathlib's multivariateGaussian. W\mathbb WW, means, covariances, the PSD square root and the Gelbrich ball are the published definitions WassersteinDRO.Gelbrich.{wassersteinDistance, meanVector, covarianceMatrix, psdSqrt, meanCovarianceUncertaintySet}.
  • λmin⁡\lambda_{\min}λmin​ and λmax⁡\lambda_{\max}λmax​ are 000 at dimension 000, where every statement reduces to a trivial one.
  • Added hypothesis. The goal assumes Σ^w≻0\widehat\Sigma_w\succ0Σw​≻0, which the page omits. The theorem fails without it: for n=m=1n=m=1n=m=1, H=0H=0H=0, Σ^x=1\widehat\Sigma_x=1Σx​=1, Σ^w=0\widehat\Sigma_w=0Σw​=0 and ρx=ρw=0\rho_x=\rho_w=0ρx​=ρw​=0, the normal ball is empty while the left side equals 111. The page's own proof uses (3.8), which it derives only for Σ^w≻0\widehat\Sigma_w\succ0Σw​≻0.
  • Theorem 3.5. The bounds Σ⋆⪰λmin⁡(Σ^)I\Sigma^\star\succeq\lambda_{\min}(\widehat\Sigma)IΣ⋆⪰λmin​(Σ)I are stated for some maximizer of (3.4), not for every maximizer.
  • Omitted. Proposition A.4 (ii)–(iii) is false as printed in two places and is not posed (see the mission notes). Propositions 2.4 and 3.4 (the Gelbrich bound and its equality for normal laws) are already on the platform and are not posed again.
  • Ruled out. A formalization in which BN(P^)\mathbb B_{\mathcal N}(\widehat{\mathbb P})BN​(P) is empty, the risk is a Bochner integral, or the optimal values are real sSup/sInf would make the goal trivial or false. A sanity check exhibits a member of BN(P^)\mathbb B_{\mathcal N}(\widehat{\mathbb P})BN​(P) whenever Σ^w≻0\widehat\Sigma_w\succ0Σw​≻0, and an affine estimator.

Proofs of any milestone are welcome, and so are reusable lemmas on the Gelbrich ball, the matrix square root and Gaussian conditioning.

Selected references

  • V. A. Nguyen, S. Shafieezadeh-Abadeh, D. Kuhn, P. Mohajerin Esfahani, Bridging Bayesian and minimax mean square error estimation via Wasserstein distributionally robust optimization, Math. Oper. Res. 48(1), 2023. https://arxiv.org/abs/1911.03539v2, https://doi.org/10.1287/moor.2021.1176
  • S. Shafieezadeh-Abadeh, V. A. Nguyen, D. Kuhn, P. Mohajerin Esfahani, Wasserstein distributionally robust Kalman filtering, NeurIPS 31, 2018. https://arxiv.org/abs/1809.08830
  • M. Gelbrich, On a formula for the L2 Wasserstein metric between measures on Euclidean and Hilbert spaces, Math. Nachr. 147, 1990. https://doi.org/10.1002/mana.19901470121
  • C. R. Givens, R. M. Shortt, A class of Wasserstein metrics for probability distributions, Michigan Math. J. 31(2), 1984. https://doi.org/10.1307/mmj/1029003026
  • M. Sion, On general minimax theorems, Pacific J. Math. 8, 1958. https://doi.org/10.2140/pjm.1958.8.171
  • V. A. Nguyen, D. Kuhn, P. Mohajerin Esfahani, Distributionally robust inverse covariance estimation: the Wasserstein shrinkage estimator, Oper. Res. 70(1), 2022. https://arxiv.org/abs/1805.07194
15 thms1 active userReviewed
Partial Differential EquationsProbability·Captain: mikedeng1

Viscosity Solutions to Parabolic Master Equations and McKean–Vlasov SDEs with Closed-Loop Controls 1: A Functional Itô Formula for Path-Dependent Functionals of Semimartingale LawsResearch Paper

Motivation

Master equations are partial differential equations whose state variable is a probability measure. They arise as the Hamilton–Jacobi–Bellman equations of mean field control problems, where a planner steers a large population through its distribution, and as the limit description of large games. Their basic computational tool is an Itô formula for functions of measures: if XXX is a semimartingale with law PXt\mathbb P_{X_t}PXt​​ at time ttt, how does f(PXt)f(\mathbb P_{X_t})f(PXt​​) evolve? For functions on the Wasserstein space P2(Rd)\mathcal P_2(\mathbb R^d)P2​(Rd) this formula is due to Buckdahn, Li, Peng and Rainer (Ann. Probab. 2017) and Chassagneux, Crisan and Delarue (arXiv:1411.3009), with the derivative in the measure introduced by Lions through the lifting to random variables.

Many models are path dependent: exotic options, rough volatility, and control problems with constant controls all lead to functions of the law of a whole path rather than of its time marginal. Wu and Zhang (Ann. Appl. Probab. 2020) extend the measure derivative and the Itô formula to this setting, following Dupire's functional Itô calculus (Dupire 2009). This mission formalizes §2 of their paper: the derivative of a function of a path law and the functional Itô formula of Theorem 2.7. It is the first of three missions on the paper; the other two treat viscosity solutions of master equations and McKean–Vlasov control.

Setting

Fix d≥1d\ge1d≥1 and T>0T>0T>0. Continuous paths form Ω=C([0,T],Rd)\Omega=C([0,T],\mathbb R^d)Ω=C([0,T],Rd) with ∥ω∥=sup⁡t∣ωt∣\|\omega\|=\sup_t|\omega_t|∥ω∥=supt​∣ωt​∣. Càdlàg paths form Ω^=D([0,T],Rd)\widehat\Omega=\mathbb D([0,T],\mathbb R^d)Ω=D([0,T],Rd) with the Skorokhod distance

dSK(ω^,ω^′)=inf⁡λsup⁡0≤t≤T[∣t−λ(t)∣+∣ω^t−ω^λ(t)′∣],d_{SK}(\hat\omega,\hat\omega')=\inf_\lambda\sup_{0\le t\le T}\big[|t-\lambda(t)|+|\hat\omega_t-\hat\omega'_{\lambda(t)}|\big],dSK​(ω^,ω^′)=λinf​0≤t≤Tsup​[∣t−λ(t)∣+∣ω^t​−ω^λ(t)′​∣],

the infimum over continuous strictly increasing bijections λ\lambdaλ of [0,T][0,T][0,T]. The canonical process is X^t(ω^)=ω^t\widehat X_t(\hat\omega)=\hat\omega_tXt​(ω^)=ω^t​, with natural filtration F^\widehat{\mathbb F}F; ω^t∧⋅\hat\omega_{t\wedge\cdot}ω^t∧⋅​ is the path stopped at ttt.

P^2\widehat{\mathcal P}_2P2​ is the set of probability measures μ\muμ on Ω^\widehat\OmegaΩ with Eμ∥X^∥2<∞\mathbb E^\mu\|\widehat X\|^2<\inftyEμ∥X∥2<∞, with the Wasserstein distance W2\mathcal W_2W2​ whose cost is dSK2d_{SK}^2dSK2​. The state space is Θ^=[0,T]×P^2\widehat\Theta=[0,T]\times\widehat{\mathcal P}_2Θ=[0,T]×P2​ with the pseudometric

W2((t,μ),(t′,μ′))=(∣t−t′∣+W22(μ[0,t],μ[0,t′]′))1/2,\mathcal W_2\big((t,\mu),(t',\mu')\big)=\big(|t-t'|+\mathcal W_2^2(\mu_{[0,t]},\mu'_{[0,t']})\big)^{1/2},W2​((t,μ),(t′,μ′))=(∣t−t′∣+W22​(μ[0,t]​,μ[0,t′]′​))1/2,

where μ[0,t]\mu_{[0,t]}μ[0,t]​ is the law of X^t∧⋅\widehat X_{t\wedge\cdot}Xt∧⋅​.

For f:Θ^→Rf:\widehat\Theta\to\mathbb Rf:Θ→R the time derivative is the right derivative ∂tf(t,μ)=lim⁡δ↓0[f(t+δ,μ[0,t])−f(t,μ)]/δ\partial_tf(t,\mu)=\lim_{\delta\downarrow0}[f(t+\delta,\mu_{[0,t]})-f(t,\mu)]/\delta∂t​f(t,μ)=limδ↓0​[f(t+δ,μ[0,t]​)−f(t,μ)]/δ. The spatial derivative ∂μf(t,μ,ω^)∈Rd\partial_\mu f(t,\mu,\hat\omega)\in\mathbb R^d∂μ​f(t,μ,ω^)∈Rd comes from lifting fff to F(t,X~)=f(t,P~X~)F(t,\tilde X)=f(t,\tilde{\mathbb P}_{\tilde X})F(t,X~)=f(t,P~X~​) on square-integrable path-valued random variables of an atomless Polish probability space: the Fréchet derivative of FFF under the perturbation X~+ξ1[t,T]\tilde X+\xi\mathbf 1_{[t,T]}X~+ξ1[t,T]​ has the form DF(t,X~)=∂μf(t,P~X~t∧⋅,X~t∧⋅)DF(t,\tilde X)=\partial_\mu f(t,\tilde{\mathbb P}_{\tilde X_{t\wedge\cdot}},\tilde X_{t\wedge\cdot})DF(t,X~)=∂μ​f(t,P~X~t∧⋅​​,X~t∧⋅​). The second derivative ∂ω∂μf∈Rd×d\partial_\omega\partial_\mu f\in\mathbb R^{d\times d}∂ω​∂μ​f∈Rd×d is the pathwise (Dupire vertical) derivative of ∂μf\partial_\mu f∂μ​f. Cb1,1,1(Θ^)C^{1,1,1}_b(\widehat\Theta)Cb1,1,1​(Θ) consists of the continuous fff with continuous derivatives, bounded ∂tf\partial_tf∂t​f, and ∣∂μf∣+∣∂ω∂μf∣≤C[1+∥ω^∥]|\partial_\mu f|+|\partial_\omega\partial_\mu f|\le C[1+\|\hat\omega\|]∣∂μ​f∣+∣∂ω​∂μ​f∣≤C[1+∥ω^∥].

P^L\widehat{\mathcal P}_LPL​ is the set of laws μ=P~∘X~−1\mu=\tilde{\mathbb P}\circ\tilde X^{-1}μ=P~∘X~−1 of Itô processes X~t=X~0+∫0tb~s ds+∫0tσ~s dB~s\tilde X_t=\tilde X_0+\int_0^t\tilde b_s\,ds+\int_0^t\tilde\sigma_s\,d\tilde B_sX~t​=X~0​+∫0t​b~s​ds+∫0t​σ~s​dB~s​ with ∣b~∣≤L|\tilde b|\le L∣b~∣≤L, 12∣σ~∣2≤L\tfrac12|\tilde\sigma|^2\le L21​∣σ~∣2≤L and X~0\tilde X_0X~0​ square integrable.

Formalization targets

Goal: the functional Itô formula (Theorem 2.7)

For f∈Cb1,1,1(Θ^)f\in C^{1,1,1}_b(\widehat\Theta)f∈Cb1,1,1​(Θ), μ∈P^L\mu\in\widehat{\mathcal P}_Lμ∈PL​ and t∈[0,T]t\in[0,T]t∈[0,T],

f(t,μ)=f(0,μ)+∫0t∂tf(s,μ) ds+Eμ[∫0t∂μf(s,μ,X^)⋅dX^s+12∫0t∂ω∂μf(s,μ,X^):d⟨X^⟩s].f(t,\mu)=f(0,\mu)+\int_0^t\partial_tf(s,\mu)\,ds+\mathbb E^\mu\Big[\int_0^t\partial_\mu f(s,\mu,\widehat X)\cdot d\widehat X_s+\tfrac12\int_0^t\partial_\omega\partial_\mu f(s,\mu,\widehat X):d\langle\widehat X\rangle_s\Big].f(t,μ)=f(0,μ)+∫0t​∂t​f(s,μ)ds+Eμ[∫0t​∂μ​f(s,μ,X)⋅dXs​+21​∫0t​∂ω​∂μ​f(s,μ,X):d⟨X⟩s​].

Milestones

  1. Theorem 2.2: the Fréchet derivative of the lift is ψ(X~t∧⋅)\psi(\tilde X_{t\wedge\cdot})ψ(X~t∧⋅​) for an F^t\widehat{\mathcal F}_tFt​-measurable ψ\psiψ determined by fff and the law of X~\tilde XX~.
  2. Corollary 2.3: under uniform continuity of DFDFDF, a single jointly measurable ∂μf\partial_\mu f∂μ​f represents DFDFDF, unique if continuous.
  3. (2.21): the discrete expansion f(T,μn)−f(0,μn)=I1n+I2n+I3nf(T,\mu^n)-f(0,\mu^n)=I_1^n+I_2^n+I_3^nf(T,μn)−f(0,μn)=I1n​+I2n​+I3n​ along a uniform partition.
  4. (2.22) and the W2\mathcal W_2W2​ limit after it: the discretized paths and laws converge.
  5. The four limits on p. 946, which turn (2.21) into (2.20) as n→∞n\to\inftyn→∞.

Significance

The formula is the chain rule of calculus on path laws. It is what makes Cb1,1,1C^{1,1,1}_bCb1,1,1​ functions admissible test functions for viscosity solutions of path-dependent master equations, and what identifies the value function of a McKean–Vlasov control problem with a solution of its HJB master equation (§§4–5 of the paper, the other two missions of this series). Without it, the notion of viscosity solution in that paper has no link to the underlying dynamics.

The result is proved in the paper. It has no machine-checked proof: Lean's Mathlib has neither the Skorokhod space, nor Wasserstein spaces of path laws, nor a derivative with respect to a measure. Formalizing it would also produce a reusable Lean account of càdlàg path spaces and of the Lions derivative, both of which are absent today.

Difficulty

The obvious argument would expand fff along the time marginals of X~\tilde XX~. That fails for path-dependent fff: the stopped laws μ[0,t]\mu_{[0,t]}μ[0,t]​ do not change continuously when a path is perturbed after ttt, and the perturbation X~+ξ1[t,T]\tilde X+\xi\mathbf 1_{[t,T]}X~+ξ1[t,T]​ of the derivative's definition leaves the space of continuous paths. This is why the paper passes to càdlàg paths and the Skorokhod distance. Any argument then has to control fff and its derivatives along laws of discontinuous paths, which is where the joint continuity of all derivatives in (t,μ,ω^)(t,\mu,\hat\omega)(t,μ,ω^) under W2+dSK\mathcal W_2+d_{SK}W2​+dSK​ and convergence of laws in W2\mathcal W_2W2​ become unavoidable. Separately, Theorem 2.2 must show that a derivative defined through one probability space is a deterministic function of the stopped path, and atomlessness of that space is essential to it.

Formalization scope

Paths are functions on [0,∞)[0,\infty)[0,∞), constant after TTT; Ω\OmegaΩ is C(Set.Icc 0 T, ℝ^d) with the sup norm, embedded in Ω^\widehat\OmegaΩ. Ω^\widehat\OmegaΩ carries the σ\sigmaσ-algebra of the evaluations. Distances, sup norms and W2\mathcal W_2W2​ are [0,∞][0,\infty][0,∞]-valued. A law in P^L\widehat{\mathcal P}_LPL​ is given with an explicit representation: a filtered probability space, a standard Brownian motion with independent increments, progressively measurable bounded coefficients, and the Itô integral of the published EthierKurtz.HasBrownianItoIntegral. The goal holds for every representation of μ\muμ, and (2.20) is stated in drift form: E∫0t(∂μf⋅b~s+12∂ω∂μf:σ~sσ~s⊤) ds\mathbb E\int_0^t(\partial_\mu f\cdot\tilde b_s+\tfrac12\partial_\omega\partial_\mu f:\tilde\sigma_s\tilde\sigma_s^\top)\,dsE∫0t​(∂μ​f⋅b~s​+21​∂ω​∂μ​f:σ~s​σ~s⊤​)ds, the stochastic integral having mean zero.

The class C1,1,1(Θ^)C^{1,1,1}(\widehat\Theta)C1,1,1(Θ) fixes fff together with its derivatives and states that they are the derivatives (2.7), (2.16), (2.18). It also requires ∂μf(t,μ,⋅)\partial_\mu f(t,\mu,\cdot)∂μ​f(t,μ,⋅) and ∂ω∂μf(t,μ,⋅)\partial_\omega\partial_\mu f(t,\mu,\cdot)∂ω​∂μ​f(t,μ,⋅) to be F^t\widehat{\mathcal F}_tFt​-adapted, a property the paper's ∂μf\partial_\mu f∂μ​f has by Theorem 2.2. Without these clauses every continuous function would qualify, and (2.20) would be false. The printed D([0,T),Rd)\mathbb D([0,T),\mathbb R^d)D([0,T),Rd) is read as D([0,T],Rd)\mathbb D([0,T],\mathbb R^d)D([0,T],Rd). The proof's d=1d=1d=1 computations are stated in dimension ddd. Limits indexed by ti≤t<ti+1t_i\le t<t_{i+1}ti​≤t<ti+1​ are stated for t<Tt<Tt<T.

A complete development needs: the Skorokhod space and the fact that its Borel σ\sigmaσ-algebra is the evaluation σ\sigmaσ-algebra; Wasserstein distances on it; dominated convergence for path laws; and Itô's formula for the drift–diffusion representation. These are reusable well beyond this mission. Contributions to any milestone, or to these foundations as separate lemmas, are welcome.

Selected references

  • C. Wu, J. Zhang, Viscosity solutions to parabolic master equations and McKean–Vlasov SDEs with closed-loop controls, Ann. Appl. Probab. 30(2) (2020), 936–986. https://doi.org/10.1214/19-AAP1521
  • R. Buckdahn, J. Li, S. Peng, C. Rainer, Mean-field stochastic differential equations and associated PDEs, Ann. Probab. 45(2) (2017), 824–878. https://doi.org/10.1214/15-AOP1076
  • J.-F. Chassagneux, D. Crisan, F. Delarue, A probabilistic approach to classical solutions of the master equation for large population equilibria, Mem. Amer. Math. Soc. (2022). https://arxiv.org/abs/1411.3009
  • B. Dupire, Functional Itô calculus, Bloomberg Portfolio Research Paper 2009-04 (2009); Quant. Finance 19(5) (2019). https://doi.org/10.2139/ssrn.1435551
  • R. Carmona, F. Delarue, Probabilistic Theory of Mean Field Games with Applications I, Springer (2018). https://doi.org/10.1007/978-3-319-58920-6
14 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Sinkhorn Distributionally Robust Optimization 1: Strong Duality — the Worst-Case Expectation over a Sinkhorn Ball Equals inf over λ ≥ 0 of λρ̄ + λε·E log E_Q[e^{f/(λε)}]Research Paper

Motivation

Distributionally robust optimization (DRO) hedges a decision against uncertainty in the data distribution. It minimizes the worst-case expected loss over an ambiguity set of distributions around a nominal one, typically the empirical distribution of the data. Ambiguity sets built from the Wasserstein (optimal-transport) distance are standard in operations research and machine learning, because they contain distributions with supports different from the nominal one. A known drawback is that the worst case is attained at discrete distributions, which is unrealistic when the true distribution is continuous.

Wang, Gao and Xie (arXiv:2109.11926v5) replace the Wasserstein distance by the Sinkhorn distance, the entropically regularized optimal-transport cost of Cuturi (NeurIPS 2013). Their main theorem is a strong duality result: the infinite-dimensional worst-case problem over a Sinkhorn ball equals a one-dimensional convex minimization. This mission formalizes that theorem.

Timeline:

  • 2013: Cuturi introduces the Sinkhorn distance as a fast surrogate for optimal transport.
  • 2016–2023: strong duality for Wasserstein DRO, by Gao and Kleywegt (arXiv:1604.02199), Blanchet and Murthy (arXiv:1604.01446), and Zhang, Yang and Gao (arXiv:2205.00362).
  • 2021–2025: Wang, Gao and Xie prove strong duality for Sinkhorn DRO for a general measurable sample space, a measurable loss and an arbitrary nominal distribution.

Setting

Let Z\mathcal ZZ be a measurable space. The data are:

  • a nominal probability distribution P^\widehat{\mathbb P}P;
  • a σ-finite reference measure ν≠0\nu\neq0ν=0;
  • a transport cost c:Z×Z→[0,∞]c:\mathcal Z\times\mathcal Z\to[0,\infty]c:Z×Z→[0,∞];
  • a regularization parameter ϵ>0\epsilon>0ϵ>0 and a radius ρ∈R\rho\in\mathbb Rρ∈R;
  • a loss f:Z→R∪{∞}f:\mathcal Z\to\mathbb R\cup\{\infty\}f:Z→R∪{∞}.

For a probability distribution P\mathbb PP, the Sinkhorn distance (Definition 1, with reference measures P^\widehat{\mathbb P}P and ν\nuν) is

Wϵ(P^,P)=inf⁡γ∈Γ(P^,P)E(x,y)∼γ[c(x,y)+ϵlog⁡dγ(x,y)dP^(x) dν(y)],\mathcal W_\epsilon(\widehat{\mathbb P},\mathbb P)=\inf_{\gamma\in\Gamma(\widehat{\mathbb P},\mathbb P)}\mathbb E_{(x,y)\sim\gamma}\Big[c(x,y)+\epsilon\log\frac{d\gamma(x,y)}{d\widehat{\mathbb P}(x)\,d\nu(y)}\Big],Wϵ​(P,P)=γ∈Γ(P,P)inf​E(x,y)∼γ​[c(x,y)+ϵlogdP(x)dν(y)dγ(x,y)​],

where Γ(P^,P)\Gamma(\widehat{\mathbb P},\mathbb P)Γ(P,P) is the set of couplings with these marginals. The primal value is the worst-case expected loss over the Sinkhorn ball,

V=sup⁡{EP[f]: Wϵ(P^,P)≤ρ}.V=\sup\big\{\mathbb E_{\mathbb P}[f]:\ \mathcal W_\epsilon(\widehat{\mathbb P},\mathbb P)\le\rho\big\}.V=sup{EP​[f]: Wϵ​(P,P)≤ρ}.

The dual problem uses three more objects. The kernel distribution is dQx,ϵ(z)∝e−c(x,z)/ϵ dν(z)d\mathbb Q_{x,\epsilon}(z)\propto e^{-c(x,z)/\epsilon}\,d\nu(z)dQx,ϵ​(z)∝e−c(x,z)/ϵdν(z). The adjusted radius is ρˉ=ρ+ϵ Ex∼P^[log⁡Ez∼νe−c(x,z)/ϵ]\bar\rho=\rho+\epsilon\,\mathbb E_{x\sim\widehat{\mathbb P}}[\log\mathbb E_{z\sim\nu}e^{-c(x,z)/\epsilon}]ρˉ​=ρ+ϵEx∼P​[logEz∼ν​e−c(x,z)/ϵ]. The dual value is

VD=inf⁡λ≥0{λρˉ+λϵ Ex∼P^[log⁡Ez∼Qx,ϵ[ef(z)/(λϵ)]]},V_D=\inf_{\lambda\ge0}\Big\{\lambda\bar\rho+\lambda\epsilon\,\mathbb E_{x\sim\widehat{\mathbb P}}\Big[\log\mathbb E_{z\sim\mathbb Q_{x,\epsilon}}\big[e^{f(z)/(\lambda\epsilon)}\big]\Big]\Big\},VD​=λ≥0inf​{λρˉ​+λϵEx∼P​[logEz∼Qx,ϵ​​[ef(z)/(λϵ)]]},

where the objective at λ=0\lambda=0λ=0 is ess sup⁡νf\operatorname{ess\,sup}_\nu fesssupν​f.

Assumption 1 requires:

  • ccc is measurable and, for P^\widehat{\mathbb P}P-a.e. xxx, finite ν\nuν-a.e.;
  • Eνe−c(x,⋅)/ϵ<∞\mathbb E_\nu e^{-c(x,\cdot)/\epsilon}<\inftyEν​e−c(x,⋅)/ϵ<∞ for P^\widehat{\mathbb P}P-a.e. xxx;
  • fff is measurable;
  • every coupling with first marginal P^\widehat{\mathbb P}P disintegrates along P^\widehat{\mathbb P}P.

Condition 1 asks for some λ>0\lambda>0λ>0 with EQx,ϵ[ef/(λϵ)]<∞\mathbb E_{\mathbb Q_{x,\epsilon}}[e^{f/(\lambda\epsilon)}]<\inftyEQx,ϵ​​[ef/(λϵ)]<∞ for P^\widehat{\mathbb P}P-a.e. xxx.

Formalization targets

Goal: Theorem 1 (strong duality)

Under Assumption 1:

(I)  ∃ P: Wϵ(P^,P)≤ρ  ⟺  ρˉ≥0;(II)  ρˉ≥0  ⟹  V=VD.\text{(I) }\ \exists\,\mathbb P:\ \mathcal W_\epsilon(\widehat{\mathbb P},\mathbb P)\le\rho\iff\bar\rho\ge0;\qquad \text{(II) }\ \bar\rho\ge0\implies V=V_D.(I)  ∃P: Wϵ​(P,P)≤ρ⟺ρˉ​≥0;(II)  ρˉ​≥0⟹V=VD​.

(III) If ρˉ>0\bar\rho>0ρˉ​>0, then V=VD<∞V=V_D<\inftyV=VD​<∞ when the dual objective is finite at some λ>0\lambda>0λ>0, and V=VD=∞V=V_D=\inftyV=VD​=∞ otherwise.

(IV) If ρˉ>0\bar\rho>0ρˉ​>0 and Condition 1 holds, then 000 is the unique dual minimizer if and only if

ess sup⁡νf<∞andρˉ≥ϵ Ex∼P^[log⁡(1/Qx,ϵ(A))],A={f=ess sup⁡νf}.\operatorname{ess\,sup}_\nu f<\infty\quad\text{and}\quad\bar\rho\ge\epsilon\,\mathbb E_{x\sim\widehat{\mathbb P}}\big[\log\big(1/\mathbb Q_{x,\epsilon}(A)\big)\big],\qquad A=\{f=\operatorname{ess\,sup}_\nu f\}.esssupν​f<∞andρˉ​≥ϵEx∼P​[log(1/Qx,ϵ​(A))],A={f=esssupν​f}.

Milestones

The milestones are the numbered lemmas of the paper's proof, in the order the proof uses them:

  • Lemma EC.2: the Gibbs variational principle, sup⁡P≪νEP[f−τlog⁡dPdν]=τlog⁡Eνef/τ\sup_{\mathbb P\ll\nu}\mathbb E_{\mathbb P}[f-\tau\log\frac{d\mathbb P}{d\nu}]=\tau\log\mathbb E_\nu e^{f/\tau}supP≪ν​EP​[f−τlogdνdP​]=τlogEν​ef/τ.
  • Lemma EC.3: measurability of the inner value x↦vx(λ)x\mapsto v_x(\lambda)x↦vx​(λ).
  • Lemma 1: weak duality V≤VDV\le V_DV≤VD​.
  • Lemma 2: a KL-constrained reformulation of the primal problem.
  • Lemma EC.4: existence of a dual minimizer.
  • Lemma 3: the first-order condition (9) and uniqueness when λ∗>0\lambda^*>0λ∗>0.
  • Lemma EC.5: the criterion for λ∗=0\lambda^*=0λ∗=0.

Significance

The result. Theorem 1 turns a supremum over an infinite-dimensional set of distributions into a scalar convex program. That program can be solved by first-order methods using only samples from P^\widehat{\mathbb P}P and from the kernels Qx,ϵ\mathbb Q_{x,\epsilon}Qx,ϵ​, which is the basis of the paper's algorithm (Section 4). The proof also constructs the worst-case distribution: it is absolutely continuous with respect to ν\nuν, not discrete. Theorem 1(IV) says exactly when the ambiguity constraint is binding. The finite-support conic reformulation (Corollary 1) and the closed form for linear losses (Example 1) both follow from the theorem.

Formalizing it. The theorem is proved in the paper; no machine-checked proof exists. Formalization adds two things. First, it pins down the extended-valued conventions: VVV, VDV_DVD​ and fff all take values in [−∞,∞][-\infty,\infty][−∞,∞], and the paper does not specify how undefined expectations and the λ=0\lambda=0λ=0 objective are treated. Second, it checks every case of the proof, including the degenerate ones. Doing so has already corrected two statements; see Formalization scope.

Difficulty

Weak duality (Lemma 1) is Lagrangian relaxation plus the Gibbs principle. The difficulty is the reverse inequality V≥VDV\ge V_DV≥VD​. Interchanging the supremum over distributions with the infimum over λ\lambdaλ requires a minimax theorem. The usual minimax theorems need compactness or semicontinuity in the distribution variable. The paper's setting has neither: Z\mathcal ZZ is an arbitrary measurable space, fff is only measurable and may be +∞+\infty+∞, and P^\widehat{\mathbb P}P is arbitrary. So a minimax theorem cannot be applied directly.

The proof instead constructs near-optimal primal distributions from the dual minimizer. This needs three separate cases:

  • λ∗>0\lambda^*>0λ∗>0, with a first-order condition;
  • λ∗=0\lambda^*=0λ∗=0, with a distribution concentrated on the essential maximizers of fff;
  • Condition 1 fails, with a truncation argument.

Each case needs integrability facts about EQx,ϵ[ef/(λϵ)]\mathbb E_{\mathbb Q_{x,\epsilon}}[e^{f/(\lambda\epsilon)}]EQx,ϵ​​[ef/(λϵ)] in which xxx and λ\lambdaλ interact. Disintegrating couplings (Assumption 1(IV)) and making the extended-valued expectations meaningful are a further source of work in Lean.

Formalization scope

All values (primal value, Sinkhorn distance, dual objective) are EReal. Expectations are the published DupacovaWets.Consistency.expect: ∫g+−∫g−\int g^+-\int g^-∫g+−∫g−, with lower Lebesgue integrals in [0,∞][0,\infty][0,∞] and the convention ∞−∞=+∞\infty-\infty=+\infty∞−∞=+∞. The Bochner integral appears only in ρˉ\bar\rhoρˉ​, which every theorem assumes finite.

Further conventions:

  • Sinkhorn distance. The cost and the entropy form a single integrand. A coupling not absolutely continuous with respect to P^⊗ν\widehat{\mathbb P}\otimes\nuP⊗ν contributes +∞+\infty+∞. An infeasible primal has V=−∞V=-\inftyV=−∞.
  • Dual objective. The value at λ=0\lambda=0λ=0 is defined as Mathlib's essSup f ν, not as a limit. Logarithms are ENNReal.log, so log⁡∞=∞\log\infty=\inftylog∞=∞ and log⁡0=−∞\log 0=-\inftylog0=−∞; e+∞=+∞e^{+\infty}=+\inftye+∞=+∞.
  • Kernels. Qx,ϵ\mathbb Q_{x,\epsilon}Qx,ϵ​ is a normalized withDensity measure. Families {γx}x∈supp⁡P^\{\gamma_x\}_{x\in\operatorname{supp}\widehat{\mathbb P}}{γx​}x∈suppP​ are Markov kernels on all of Z\mathcal ZZ.

Hypotheses added to the page:

  • ν\nuν is σ-finite and nonzero;
  • ϵ>0\epsilon>0ϵ>0;
  • x↦log⁡Eνe−c(x,⋅)/ϵx\mapsto\log\mathbb E_\nu e^{-c(x,\cdot)/\epsilon}x↦logEν​e−c(x,⋅)/ϵ is P^\widehat{\mathbb P}P-integrable, so that ρˉ∈R\bar\rho\in\mathbb Rρˉ​∈R.

"ν{0≤c<∞}=1\nu\{0\le c<\infty\}=1ν{0≤c<∞}=1" is read as "ν\nuν-a.e.". "λ∗=0\lambda^*=0λ∗=0" is read as "000 is the unique dual minimizer".

Corrections to the paper:

  • Theorem 1(III). The paper's version with Condition 1 is false: a.e.-finite inner expectations do not make the dual objective finite. A counterexample on N\mathbb NN is in the goal's note. The goal is stated with the integrated condition "the dual objective is finite at some λ>0\lambda>0λ>0".
  • Lemma 3. The lemma is stated under the added hypothesis that the dual objective is finite at some λ1<λ∗\lambda_1<\lambda^*λ1​<λ∗ (and is not −∞-\infty−∞ at λ∗\lambda^*λ∗). Without it, λ∗\lambda^*λ∗ can sit at the edge of the domain where the objective is finite, and (9) fails.

No statement involves an O(⋅)O(\cdot)O(⋅) constant.

A formalization that lets an undefined Sinkhorn integrand evaluate to −∞-\infty−∞ (Mathlib's ⊤+⊥=⊥\top+\bot=\bot⊤+⊥=⊥) is ruled out: it would put every distribution into the ball and make the theorem trivial. The combined integrand and the +∞+\infty+∞ convention exclude this.

A complete development needs:

  • a Gibbs/Donsker–Varadhan variational principle for σ-finite reference measures and extended-valued functions;
  • disintegration of couplings;
  • convexity and differentiation of λ↦λlog⁡Eef/λ\lambda\mapsto\lambda\log\mathbb E e^{f/\lambda}λ↦λlogEef/λ.

The first two are reusable well beyond this mission. Contributions toward any milestone, and toward these general lemmas, are welcome.

Selected references

  • J. Wang, R. Gao, Y. Xie, Sinkhorn Distributionally Robust Optimization, arXiv:2109.11926v5, 2025. https://arxiv.org/abs/2109.11926
  • M. Cuturi, Sinkhorn Distances: Lightspeed Computation of Optimal Transport, NeurIPS, 2013. https://arxiv.org/abs/1306.0895
  • R. Gao, A. Kleywegt, Distributionally Robust Stochastic Optimization with Wasserstein Distance, Mathematics of Operations Research, 2023. https://arxiv.org/abs/1604.02199
  • J. Blanchet, K. Murthy, Quantifying Distributional Model Risk via Optimal Transport, Mathematics of Operations Research, 2019. https://arxiv.org/abs/1604.01446
  • L. Zhang, J. Yang, R. Gao, A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization, Operations Research, 2024. https://arxiv.org/abs/2205.00362
12 thms1 active userReviewed
Machine LearningOperations ResearchStatistics·Captain: mikedeng1

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

Motivation

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

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

Setting

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

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

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

Formalization targets

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

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

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

and

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

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

Milestones, in proof order

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

Significance

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

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

Difficulty

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

Three points carry the weight:

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

Formalization scope

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

Standing conventions:

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

Added hypotheses, all implicit on the page:

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

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

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

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

Selected references

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

Distributionally Robust Stochastic Optimization with Wasserstein Distance: If the Growth Rate κ of Ψ Is Finite, sup{E_μ[Ψ] : W_p(μ, ν) ≤ θ} Equals Its One-Dimensional Dual and Is FiniteResearch Paper

Motivation

Distributionally robust stochastic optimization (DRSO) chooses a decision xxx to minimize the worst expected loss sup⁡μ∈MEμ[Ψ(x,ξ)]\sup_{\mu\in\mathfrak M}\mathbb E_\mu[\Psi(x,\xi)]supμ∈M​Eμ​[Ψ(x,ξ)] over an ambiguity set M\mathfrak MM of probability distributions, instead of the expectation under one estimated distribution. When M\mathfrak MM is a ball around a nominal distribution ν\nuν (often the empirical distribution of data) in the Wasserstein distance, the set contains distributions with supports different from that of ν\nuν, and the worst case is driven by how far mass can be moved and how fast the loss grows along the way. This makes Wasserstein balls a standard choice in data-driven optimization, statistical learning and operations research.

The inner problem, a supremum over an infinite-dimensional set of measures, is not directly computable. Gao and Kleywegt (arXiv:1604.02199v3) show that it equals a minimization over a single scalar multiplier, for an arbitrary Polish space and nominal distribution and a merely measurable loss.

Timeline. Esfahani and Kuhn (2018, doi:10.1007/s10107-017-1172-1) proved a strong duality for p=1p=1p=1 and empirical ν\nuν on Rm\mathbb R^mRm, giving finite convex reformulations for piecewise-affine losses. Blanchet and Murthy (2019, doi:10.1287/moor.2018.0936) proved duality for general optimal transport costs on Polish spaces under upper semicontinuity of the loss, with a dual over pairs (λ,φ)(\lambda,\varphi)(λ,φ). Gao and Kleywegt's result, first posted in 2016 and published in Mathematics of Operations Research (2023, doi:10.1287/moor.2022.1275), covers every order p∈[1,∞)p\in[1,\infty)p∈[1,∞), every nominal ν\nuν and every measurable loss with finite growth rate, with a dual in one variable.

Setting

Let (Ξ,d)(\Xi,d)(Ξ,d) be a Polish space (complete, separable metric) with its Borel σ\sigmaσ-algebra, P(Ξ)\mathcal P(\Xi)P(Ξ) the Borel probability measures, p∈[1,∞)p\in[1,\infty)p∈[1,∞) and θ>0\theta>0θ>0. The decision variable is suppressed: Ψ:Ξ→R\Psi:\Xi\to\mathbb RΨ:Ξ→R is a Borel measurable loss with Ψ∈L1(ν)\Psi\in L^1(\nu)Ψ∈L1(ν) for a fixed nominal distribution ν∈P(Ξ)\nu\in\mathcal P(\Xi)ν∈P(Ξ).

The Wasserstein distance of order ppp is given by

Wpp(μ,ν)=inf⁡{∫Ξ×Ξdp(ξ,ζ) γ(dξ,dζ): γ∈P(Ξ×Ξ), π#1γ=μ, π#2γ=ν}.W_p^p(\mu,\nu)=\inf\Big\{\int_{\Xi\times\Xi}d^p(\xi,\zeta)\,\gamma(d\xi,d\zeta):\ \gamma\in\mathcal P(\Xi\times\Xi),\ \pi^1_\#\gamma=\mu,\ \pi^2_\#\gamma=\nu\Big\}.Wpp​(μ,ν)=inf{∫Ξ×Ξ​dp(ξ,ζ)γ(dξ,dζ): γ∈P(Ξ×Ξ), π#1​γ=μ, π#2​γ=ν}.

The primal value is the worst-case expectation over the Wasserstein ball,

vP=sup⁡μ∈P(Ξ){∫ΞΨ dμ: Wp(μ,ν)≤θ}.v_P=\sup_{\mu\in\mathcal P(\Xi)}\Big\{\int_\Xi\Psi\,d\mu:\ W_p(\mu,\nu)\le\theta\Big\}.vP​=μ∈P(Ξ)sup​{∫Ξ​Ψdμ: Wp​(μ,ν)≤θ}.

The regularization operator is Φ(λ,ζ)=inf⁡ξ∈Ξ{λdp(ξ,ζ)−Ψ(ξ)}∈R∪{−∞}\Phi(\lambda,\zeta)=\inf_{\xi\in\Xi}\{\lambda d^p(\xi,\zeta)-\Psi(\xi)\}\in\mathbb R\cup\{-\infty\}Φ(λ,ζ)=infξ∈Ξ​{λdp(ξ,ζ)−Ψ(ξ)}∈R∪{−∞}, the dual objective is h(λ)=λθp−∫ΞΦ(λ,ζ) ν(dζ)h(\lambda)=\lambda\theta^p-\int_\Xi\Phi(\lambda,\zeta)\,\nu(d\zeta)h(λ)=λθp−∫Ξ​Φ(λ,ζ)ν(dζ), and the dual value is vD=inf⁡λ≥0h(λ)v_D=\inf_{\lambda\ge0}h(\lambda)vD​=infλ≥0​h(λ). The growth rate of Ψ\PsiΨ is

κ=inf⁡{λ≥0:∫ΞΦ(λ,ζ) ν(dζ)>−∞}∈[0,∞],\kappa=\inf\Big\{\lambda\ge0:\int_\Xi\Phi(\lambda,\zeta)\,\nu(d\zeta)>-\infty\Big\}\in[0,\infty],κ=inf{λ≥0:∫Ξ​Φ(λ,ζ)ν(dζ)>−∞}∈[0,∞],

with κ=∞\kappa=\inftyκ=∞ if no λ\lambdaλ qualifies. The lemmas also use the near-optimal distances D‾(λ,ζ)\overline D(\lambda,\zeta)D(λ,ζ) and D‾(λ,ζ)\underline D(\lambda,\zeta)D​(λ,ζ), the limits as ε↓0\varepsilon\downarrow0ε↓0 of the largest and smallest dp(ξ,ζ)d^p(\xi,\zeta)dp(ξ,ζ) over ε\varepsilonε-minimizers ξ\xiξ of λdp(⋅,ζ)−Ψ\lambda d^p(\cdot,\zeta)-\Psiλdp(⋅,ζ)−Ψ.

In Lean these objects are DRSOWass.Duality.wassPow, vP, Phi, dualObj, vD, growthRate, DUpper, DLower.

Formalization targets

Goal: Theorem 1 (p. 17)

If κ<∞\kappa<\inftyκ<∞, then

vP=vD<∞.v_P=v_D<\infty.vP​=vD​<∞.

This is the printed theorem: an equality of values together with finiteness. It fixes no constant and needs no regularity of Ψ\PsiΨ beyond measurability and integrability.

Milestones

  1. Proposition 1, weak duality vP≤vDv_P\le v_DvP​≤vD​ (no growth condition).
  2. Lemma 3(i), (ii), (v): ν\nuν-measurability of Φ(λ,⋅)\Phi(\lambda,\cdot)Φ(λ,⋅), D‾\overline DD, D‾\underline DD​, D‾0\overline D_0D0​, D‾0\underline D_0D​0​, and ν\nuν-measurable selections of near-optimal and far points.
  3. Lemma 4(i)–(iii): monotonicity, upper semicontinuity and concavity of Φ(⋅,ζ)\Phi(\cdot,\zeta)Φ(⋅,ζ), the bound (λ2−λ1)D‾(λ2,ζ)≤−Ψ(ζ)−Φ(λ1,ζ)(\lambda_2-\lambda_1)\overline D(\lambda_2,\zeta)\le-\Psi(\zeta)-\Phi(\lambda_1,\zeta)(λ2​−λ1​)D(λ2​,ζ)≤−Ψ(ζ)−Φ(λ1​,ζ), and one-sided derivative bounds.
  4. Lemma 5: hhh is ∞\infty∞ on [0,κ)[0,\kappa)[0,κ), finite on (κ,∞)(\kappa,\infty)(κ,∞), convex, lower semicontinuous, coercive, and has a minimizer λ∗∈[κ,∞)\lambda^*\in[\kappa,\infty)λ∗∈[κ,∞).
  5. Lemmas 6 and 7: explicit ε\varepsilonε-optimal distributions in the ball, built from push-forwards of ν\nuν, in the cases λ∗>κ\lambda^*>\kappaλ∗>κ, λ∗=κ=0\lambda^*=\kappa=0λ∗=κ=0 and λ∗=κ>0\lambda^*=\kappa>0λ∗=κ>0.

Significance

The result. Strong duality turns the worst-case expectation over a Wasserstein ball into a convex problem in one scalar, min⁡λ≥0{λθp−∫Φ(λ,ζ) ν(dζ)}\min_{\lambda\ge0}\{\lambda\theta^p-\int\Phi(\lambda,\zeta)\,\nu(d\zeta)\}minλ≥0​{λθp−∫Φ(λ,ζ)ν(dζ)}, where Φ\PhiΦ is a Moreau–Yosida-type regularization of −Ψ-\Psi−Ψ. For finite-supported ν\nuν this yields finite-dimensional reformulations of DRSO; the paper derives from it the structure of worst-case distributions (Corollaries 1 and 2) and applications to two-stage problems, point processes and Gaussian nominal distributions. The growth rate κ\kappaκ separates the finite case (this theorem) from the case vP=∞v_P=\inftyvP​=∞ (Proposition 2).

Formalizing it. The theorem is proved in the paper; to the best of current knowledge none of it is machine-checked. The mission produces a formal statement of the duality on general Polish spaces, together with reusable pieces: extended-valued integrals, the regularization operator and its one-sided derivatives, measurable selection on Polish spaces, and push-forward constructions of near-optimal measures. Formal proofs of Lemma 3 also give measurable-selection tools that Mathlib does not yet provide in this form.

Difficulty

Weak duality is a one-line Lagrangian argument. The difficulty is attainment from the primal side: one must construct, for every ε>0\varepsilon>0ε>0, a distribution in the ball whose expectation is within ε\varepsilonε of vDv_DvD​. A worst-case distribution need not exist (when λ∗=κ>0\lambda^*=\kappa>0λ∗=κ>0 mass escapes to infinity), so a compactness argument on P(Ξ)\mathcal P(\Xi)P(Ξ) fails; and Ψ\PsiΨ is only measurable, so the infimum defining Φ(λ,ζ)\Phi(\lambda,\zeta)Φ(λ,ζ) cannot be reduced to a countable one, and the measurability of Φ(λ,⋅)\Phi(\lambda,\cdot)Φ(λ,⋅) and of near-optimal transport maps needs projection and measurable-selection theorems for analytic sets. The case analysis on whether the dual minimizer exceeds κ\kappaκ is forced by the possible non-differentiability of hhh at κ\kappaκ.

Formalization scope

  • Ξ\XiΞ carries MetricSpace, CompleteSpace, SecondCountableTopology and BorelSpace instances; ν\nuν is a probability measure; dpd^pdp is dist ξ ζ ^ p with real p≥1p\ge1p≥1.
  • Ψ\PsiΨ is assumed Borel measurable in addition to Ψ∈L1(ν)\Psi\in L^1(\nu)Ψ∈L1(ν); the paper's p. 5 states the theorem for a measurable Ψ\PsiΨ, and ∫Ψ dμ\int\Psi\,d\mu∫Ψdμ for μ≠ν\mu\ne\nuμ=ν requires it.
  • WppW_p^pWpp​ is the published RWPI.SqrtLasso.transportCost with cost dpd^pdp, an infimum over probability couplings in [0,∞][0,\infty][0,∞]; Wp(μ,ν)≤θW_p(\mu,\nu)\le\thetaWp​(μ,ν)≤θ is written Wpp(μ,ν)≤θpW_p^p(\mu,\nu)\le\theta^pWpp​(μ,ν)≤θp.
  • Integrals that may be infinite are the published ModelRiskOT.Duality.extIntegral, ∫φ+−∫φ−\int\varphi^+-\int\varphi^-∫φ+−∫φ− in [−∞,∞][-\infty,\infty][−∞,∞] (with ∞−∞=−∞\infty-\infty=-\infty∞−∞=−∞). Φ\PhiΦ, hhh, vPv_PvP​, vDv_DvD​ are EReal-valued; κ\kappaκ, D‾\overline DD, D‾\underline DD​ are ENNReal-valued, so κ=∞\kappa=\inftyκ=∞ is representable and the empty infimum is ∞\infty∞.
  • lim sup⁡ε↓0\limsup_{\varepsilon\downarrow0}limsupε↓0​ and lim inf⁡ε↓0\liminf_{\varepsilon\downarrow0}liminfε↓0​ in D‾\overline DD, D‾\underline DD​ are written as the monotone infimum and supremum over ε>0\varepsilon>0ε>0. ν\nuν-measurability is null-measurability for functions and almost-everywhere measurability for maps Ξ→Ξ\Xi\to\XiΞ→Ξ.
  • Repaired or adjusted statements: Lemma 4(i)'s sup inequality is stated for ε>0\varepsilon>0ε>0 (the printed ε=0\varepsilon=0ε=0 case fails when an arg min is empty); in Lemma 6, (7)'s weights p1,p2p_1,p_2p1​,p2​ are read as p1ε,p2εp_1^\varepsilon,p_2^\varepsilonp1ε​,p2ε​; Lemma 5(v) carries κ<∞\kappa<\inftyκ<∞; Lemma 4(iii)'s right derivative is a limit in (−∞,∞](-\infty,\infty](−∞,∞].
  • A trivializing formalization is ruled out: integrals are not Bochner integrals (which would give a non-integrable μ\muμ the value 000), κ\kappaκ is not a real infimum (which would give 000 when no λ\lambdaλ qualifies), and the supremum in vPv_PvP​ ranges over probability measures in the ball only, which is nonempty because it contains ν\nuν.

A complete development needs couplings and gluing in Mathlib's measure theory, the measurable projection theorem and a measurable selection theorem on Polish spaces, and one-sided derivatives of concave extended-valued functions; the first three are reusable well beyond this mission. Proofs of any milestone, alternative proofs of the goal (e.g. through the Blanchet–Murthy dual), and the companion result Proposition 2 (κ=∞⇒vP=vD=∞\kappa=\infty\Rightarrow v_P=v_D=\inftyκ=∞⇒vP​=vD​=∞) are welcome.

Selected references

  • R. Gao, A. J. Kleywegt, Distributionally Robust Stochastic Optimization with Wasserstein Distance, arXiv:1604.02199v3, 2022; Mathematics of Operations Research, 2023. https://arxiv.org/abs/1604.02199
  • P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric: performance guarantees and tractable reformulations, Mathematical Programming 171, 2018. https://doi.org/10.1007/s10107-017-1172-1
  • J. Blanchet, K. Murthy, Quantifying distributional model risk via optimal transport, Mathematics of Operations Research 44(2), 2019. https://doi.org/10.1287/moor.2018.0936
  • C. Villani, Optimal Transport: Old and New, Springer, 2009. https://doi.org/10.1007/978-3-540-71050-9
16 thms1 active userReviewed
Machine LearningOperations ResearchStatistics·Captain: mikedeng1

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

Why the radius of a Wasserstein ball matters

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

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

Setting

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

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

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

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

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

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

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

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

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

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

Formalization targets

Goal: Corollary 4 (1-Wasserstein DRO)

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

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

Milestones

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

Significance

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

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

Difficulty

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

Formalization scope

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

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

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

Selected references

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

A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization IV: On a Polish Space, the Maximum-Transport-Cost Worst-Case Loss Equals E[sup{f(x) : c(X̂, x) ≤ ρ}]Research Paper

Why the maximum transport cost

In Wasserstein distributionally robust optimization (DRO) a decision is evaluated against the worst distribution within an optimal-transport ball around a nominal distribution P^\widehat{\mathbb P}P. For a Wasserstein distance of finite order ppp, the ball constrains an average transport cost. The case p=∞p=\inftyp=∞ is different. The ∞\infty∞-Wasserstein distance W∞\mathcal W_\inftyW∞​ constrains the largest distance any unit of mass travels, so it describes perturbations in which every sample may move, but only within a fixed radius. This is the perturbation model of adversarial training (Sinha, Namkoong and Duchi 2018) and of distributionally robust chance constraints (Xie 2021).

Zhang, Yang and Gao (arXiv:2205.00362v4, §5.1) generalize W∞\mathcal W_\inftyW∞​ to an arbitrary cost ccc, the maximum transport cost K‾c\overline{\mathcal K}_cKc​. They show (Theorem 2) that on a Polish space with a continuous cost the worst-case loss is a nominal expectation of a local supremum. Their Theorem 1 covers finite-order costs. Its proof does not reach this case, because K‾c\overline{\mathcal K}_cKc​ is not an integral of the cost, and a separate argument is needed.

Timeline. Strong duality for finite-order Wasserstein DRO was proved for empirical P^\widehat{\mathbb P}P on convex subsets of Rd\mathbb R^dRd by Mohajerin Esfahani and Kuhn (2018). On Polish spaces it was proved for a lower semicontinuous cost and an upper semicontinuous loss by Blanchet and Murthy (2019), and for a power of a metric by Gao and Kleywegt (2023). For distributionally robust chance constraints, Xie (2021) treated the 1-Wasserstein distance on a totally bounded Polish space. Yang and Gao (2022, Optimization Online) obtained the ∞\infty∞-Wasserstein chance-constraint reformulation on normed spaces. Zhang, Yang and Gao (arXiv 2022, v4 2024) state the ∞\infty∞-Wasserstein and maximum-transport-cost duality for a continuous cost on a Polish space (Theorem 2 and Example 7).

Setting

Let X\mathcal XX be a Polish space (complete, separable, metrizable) with its Borel σ\sigmaσ-algebra F\mathcal FF, and let P^\widehat{\mathbb P}P be a probability measure on X\mathcal XX, the nominal distribution. A cost is a continuous function c:X×X→[0,∞)c:\mathcal X\times\mathcal X\to[0,\infty)c:X×X→[0,∞) with c(x,x)=0c(x,x)=0c(x,x)=0, written c(x^,x)c(\widehat x,x)c(x,x) with the nominal point first. A loss is a measurable f:X→Rf:\mathcal X\to\mathbb Rf:X→R with EP^[f]>−∞\mathbb E_{\widehat{\mathbb P}}[f]>-\inftyEP​[f]>−∞. Expectations take values in [−∞,∞][-\infty,\infty][−∞,∞].

For probability measures P^,P\widehat{\mathbb P},\mathbb PP,P let Γ(P^,P)\Gamma(\widehat{\mathbb P},\mathbb P)Γ(P,P) be their couplings: the probability measures on X×X\mathcal X\times\mathcal XX×X with marginals P^\widehat{\mathbb P}P and P\mathbb PP. The maximum transport cost and its robust loss are

K‾c(P^,P)=inf⁡γ∈Γ(P^,P) γ-ess sup⁡x^,xc(x^,x),L‾(ρ)=sup⁡P{EX∼P[f(X)]:K‾c(P^,P)≤ρ}.\overline{\mathcal K}_c(\widehat{\mathbb P},\mathbb P)=\inf_{\gamma\in\Gamma(\widehat{\mathbb P},\mathbb P)}\ \gamma\text{-}\operatorname*{ess\,sup}_{\widehat x,x}c(\widehat x,x),\qquad \overline{\mathcal L}(\rho)=\sup_{\mathbb P}\big\{\mathbb E_{X\sim\mathbb P}[f(X)]:\overline{\mathcal K}_c(\widehat{\mathbb P},\mathbb P)\le\rho\big\}.Kc​(P,P)=γ∈Γ(P,P)inf​ γ-x,xesssup​c(x,x),L(ρ)=Psup​{EX∼P​[f(X)]:Kc​(P,P)≤ρ}.

For a metric c=dc=dc=d, K‾d=W∞\overline{\mathcal K}_d=\mathcal W_\inftyKd​=W∞​. The Legendre transform of h:R→[−∞,∞]h:\mathbb R\to[-\infty,\infty]h:R→[−∞,∞] is h∗(λ)=sup⁡ρ∈R{λρ−h(ρ)}h^*(\lambda)=\sup_{\rho\in\mathbb R}\{\lambda\rho-h(\rho)\}h∗(λ)=supρ∈R​{λρ−h(ρ)}, and (−L‾)∗(−λ)(-\overline{\mathcal L})^*(-\lambda)(−L)∗(−λ) is the soft-penalty counterpart sup⁡P{EP[f]−λK‾c(P^,P)}\sup_{\mathbb P}\{\mathbb E_{\mathbb P}[f]-\lambda\overline{\mathcal K}_c(\widehat{\mathbb P},\mathbb P)\}supP​{EP​[f]−λKc​(P,P)}.

The proof uses the interchangeability principle (IP). A measurable ϕ:X×X→R∪{−∞}\phi:\mathcal X\times\mathcal X\to\mathbb R\cup\{-\infty\}ϕ:X×X→R∪{−∞} satisfies (IP) if x^↦sup⁡xϕ(x^,x)\widehat x\mapsto\sup_x\phi(\widehat x,x)x↦supx​ϕ(x,x) is P^\widehat{\mathbb P}P-measurable and

EP^[sup⁡xϕ(X^,x)]=sup⁡γ∈ΓP^Eγ[ϕ(X^,X)],\mathbb E_{\widehat{\mathbb P}}\Big[\sup_x\phi(\widehat X,x)\Big]=\sup_{\gamma\in\Gamma_{\widehat{\mathbb P}}}\mathbb E_\gamma[\phi(\widehat X,X)],EP​[xsup​ϕ(X,x)]=γ∈ΓP​sup​Eγ​[ϕ(X,X)],

where ΓP^\Gamma_{\widehat{\mathbb P}}ΓP​ is the set of probability measures on X×X\mathcal X\times\mathcal XX×X with first marginal P^\widehat{\mathbb P}P. It also uses the measurable projection (Proj) and measurable selection (Sel) conditions of §3 of the paper.

Formalization targets

Goal: Theorem 2

For every ρ≥0\rho\ge0ρ≥0 and every λ∈R\lambda\in\mathbb Rλ∈R,

L‾(ρ)=EX^∼P^[sup⁡x{f(x):c(X^,x)≤ρ}],(−L‾)∗(−λ)=sup⁡ρ≥0{EP^[sup⁡x{f(x):c(X^,x)≤ρ}]−λρ}.\overline{\mathcal L}(\rho)=\mathbb E_{\widehat X\sim\widehat{\mathbb P}}\Big[\sup_x\big\{f(x):c(\widehat X,x)\le\rho\big\}\Big],\qquad (-\overline{\mathcal L})^*(-\lambda)=\sup_{\rho\ge0}\Big\{\mathbb E_{\widehat{\mathbb P}}\Big[\sup_x\{f(x):c(\widehat X,x)\le\rho\}\Big]-\lambda\rho\Big\}.L(ρ)=EX∼P​[xsup​{f(x):c(X,x)≤ρ}],(−L)∗(−λ)=ρ≥0sup​{EP​[xsup​{f(x):c(X,x)≤ρ}]−λρ}.

Milestones

  1. Example 2: on a Polish space, (Proj) and (Sel) hold for every P^\widehat{\mathbb P}P.
  2. The barrier function ψρ(x^,x)=f(x)−∞1{c(x^,x)>ρ}\psi_\rho(\widehat x,x)=f(x)-\infty\mathbf 1\{c(\widehat x,x)>\rho\}ψρ​(x,x)=f(x)−∞1{c(x,x)>ρ} satisfies (IP).
  3. The coupling form: sup⁡{Eγ[f(X)]:γ∈ΓP^, γ-ess sup⁡c≤ρ}=EP^[sup⁡x{f(x):c(X^,x)≤ρ}]\sup\{\mathbb E_\gamma[f(X)]:\gamma\in\Gamma_{\widehat{\mathbb P}},\ \gamma\text{-}\operatorname{ess\,sup}c\le\rho\}=\mathbb E_{\widehat{\mathbb P}}[\sup_x\{f(x):c(\widehat X,x)\le\rho\}]sup{Eγ​[f(X)]:γ∈ΓP​, γ-esssupc≤ρ}=EP​[supx​{f(x):c(X,x)≤ρ}].
  4. Attainment (EC.1): if K‾c(P^,P)≤ρ\overline{\mathcal K}_c(\widehat{\mathbb P},\mathbb P)\le\rhoKc​(P,P)≤ρ then some γ∈Γ(P^,P)\gamma\in\Gamma(\widehat{\mathbb P},\mathbb P)γ∈Γ(P,P) has γ-ess sup⁡c≤ρ\gamma\text{-}\operatorname{ess\,sup}c\le\rhoγ-esssupc≤ρ.
  5. The soft identity: (−L‾)∗(−λ)=sup⁡P{EP[f]−λK‾c(P^,P)}(-\overline{\mathcal L})^*(-\lambda)=\sup_{\mathbb P}\{\mathbb E_{\mathbb P}[f]-\lambda\overline{\mathcal K}_c(\widehat{\mathbb P},\mathbb P)\}(−L)∗(−λ)=supP​{EP​[f]−λKc​(P,P)} for λ≥0\lambda\ge0λ≥0.

Significance

The result. Theorem 2 turns an optimization over probability measures into one expectation under P^\widehat{\mathbb P}P of a deterministic local problem. Each nominal point is replaced by the worst point of its ccc-ball. For an empirical P^\widehat{\mathbb P}P this is a finite sum of local maximizations. This is the reformulation used for ∞\infty∞-Wasserstein adversarial training and for distributionally robust chance constraints. Example 7 of the paper derives from it, for c=dc=dc=d, the robust chance constraint P^(d(X^,Sc)≤ρ)≤β\widehat{\mathbb P}(d(\widehat X,\mathcal S^c)\le\rho)\le\betaP(d(X,Sc)≤ρ)≤β on a Polish space. The theorem needs no convexity, no semicontinuity of fff and no finiteness of the support of P^\widehat{\mathbb P}P.

Formalizing it. The result is proved on paper; no machine-checked proof exists. A formal proof requires measurable projection and selection on Polish spaces, which Mathlib has only in part (analytic sets, Lusin separation). It also needs Prokhorov compactness for couplings and essential suprema under weak convergence. The milestones isolate these, so each can be attacked separately and reused.

Difficulty

The obvious argument restricts to deterministic transport plans x↦T(x)x\mapsto T(x)x↦T(x) with c(x,T(x))≤ρc(x,T(x))\le\rhoc(x,T(x))≤ρ. This argument has two gaps. First, the maximizing map must be measurable, and the local supremum x^↦sup⁡{f(x):c(x^,x)≤ρ}\widehat x\mapsto\sup\{f(x):c(\widehat x,x)\le\rho\}x↦sup{f(x):c(x,x)≤ρ} is in general only universally measurable, not Borel. Measurable projection and selection theorems for analytic sets are therefore needed, and the expectation must be read against the completion of P^\widehat{\mathbb P}P. Second, the constraint K‾c≤ρ\overline{\mathcal K}_c\le\rhoKc​≤ρ is an infimum over couplings, and an infimum need not be attained. Without attainment one only obtains an inequality. Attainment is where Polishness of X\mathcal XX and continuity of ccc enter, and continuity cannot be dropped. Remark 5 of the paper gives a discontinuous metric cost on [0,1]2[0,1]^2[0,1]2 for which the identity fails.

Formalization scope

  • Space. X\mathcal XX is a type with [TopologicalSpace X] [PolishSpace X] [MeasurableSpace X] [BorelSpace X].
  • Cost. ccc is real-valued, with continuity of (x^,x)↦c(x^,x)(\widehat x,x)\mapsto c(\widehat x,x)(x,x)↦c(x,x), nonnegativity and c(x,x)=0c(x,x)=0c(x,x)=0 as hypotheses.
  • Expectations. Expectations are the published ModelRiskOT.Duality.extIntegral, ∫φ+−∫φ−\int\varphi^+-\int\varphi^-∫φ+−∫φ− with lower Lebesgue integrals in EReal. It agrees with the paper whenever one part is finite and gives −∞-\infty−∞ for ∞−∞\infty-\infty∞−∞. For the universally measurable integrand of the goal it is the completed integral. The Bochner integral is not used.
  • Essential supremum. It is Mathlib's essSup of ofReal∘c\mathrm{ofReal}\circ cofReal∘c, so K‾c∈[0,∞]\overline{\mathcal K}_c\in[0,\infty]Kc​∈[0,∞].
  • The ball. The ball constraint is compared in EReal, so L‾(ρ)=−∞\overline{\mathcal L}(\rho)=-\inftyL(ρ)=−∞ for ρ<0\rho<0ρ<0. The Legendre transform ranges over all real ρ\rhoρ.
  • Penalty and supremum. The product λK‾c\lambda\overline{\mathcal K}_cλKc​ uses 0⋅∞=∞0\cdot\infty=\infty0⋅∞=∞. The local supremum is taken in EReal.
  • The barrier. In ψρ\psi_\rhoψρ​ the factor ∞⋅1{⋅}\infty\cdot\mathbf 1\{\cdot\}∞⋅1{⋅} is −∞-\infty−∞ on the set and 000 off it, which is the reading the proof's next line fixes.
  • Measurability. P^\widehat{\mathbb P}P-measurability is NullMeasurable.

The goal is stated only through L‾\overline{\mathcal L}L, K‾c\overline{\mathcal K}_cKc​, the Legendre transform and the local supremum. (IP), (Proj) and (Sel) appear only in milestones, so no hypothesis of the goal assumes the duality it asserts. The robust loss is not defined through an ENNReal comparison either, which would make the ball at negative radii coincide with the ball at radius 000.

A complete development needs the following:

  • universal measurability of analytic sets and a Jankov–von Neumann selection theorem (milestone 1, reusable across stochastic control and DRO);
  • compactness of the set of couplings with fixed marginals on a Polish space and the behaviour of essential suprema under weak convergence (milestone 4, reusable in optimal transport);
  • extended-real conjugate arithmetic (milestone 5).

Contributions to any of these layers are welcome independently.

Selected references

  • L. Zhang, J. Yang, R. Gao, A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization, arXiv preprint, v4, 2024. https://arxiv.org/abs/2205.00362
  • J. Blanchet, K. Murthy, Quantifying Distributional Model Risk via Optimal Transport, Mathematics of Operations Research 44(2), 2019. https://doi.org/10.1287/moor.2018.0936
  • R. Gao, A. Kleywegt, Distributionally Robust Stochastic Optimization with Wasserstein Distance, Mathematics of Operations Research 48(2), 2023. https://doi.org/10.1287/moor.2022.1275
  • P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric: performance guarantees and tractable reformulations, Mathematical Programming 171, 2018. https://doi.org/10.1007/s10107-017-1172-1
  • W. Xie, On distributionally robust chance constrained programs with Wasserstein distance, Mathematical Programming 186, 2021. https://doi.org/10.1007/s10107-019-01445-5
  • A. Sinha, H. Namkoong, J. Duchi, Certifying some distributional robustness with principled adversarial training, ICLR, 2018. https://arxiv.org/abs/1710.10571
  • C. D. Aliprantis, K. C. Border, Infinite Dimensional Analysis: A Hitchhiker's Guide, 3rd ed., Springer, 2006 (Theorem 18.26, cited for (Sel)). https://doi.org/10.1007/3-540-29587-9
  • J.-P. Aubin, H. Frankowska, Set-Valued Analysis, Birkhäuser, 2009 (Theorem 8.3.2, cited for (Proj)). https://doi.org/10.1007/978-0-8176-4848-0
11 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization III: Under a Tight Nominal Measure, f(x) − λd(x̂, x)^p Satisfies the Interchangeability PrincipleResearch Paper

Motivation

Wasserstein distributionally robust optimization (DRO) replaces the expected loss under a nominal distribution P^\widehat{\mathbb P}P (typically an empirical distribution) by the worst expected loss over all distributions within a given optimal-transport distance of P^\widehat{\mathbb P}P. Its tractability rests on a strong duality theorem that turns a supremum over distributions into a one-dimensional minimization over a multiplier λ≥0\lambda\ge0λ≥0 of an expectation under P^\widehat{\mathbb P}P alone. Such duality results were proved under successively weaker hypotheses: for finitely supported P^\widehat{\mathbb P}P on Rm\mathbb R^mRm by Mohajerin Esfahani and Kuhn (2018), on Polish spaces with lower semicontinuous costs and upper semicontinuous losses by Blanchet and Murthy (2019), and on Polish spaces with general nominal distributions by Gao and Kleywegt (2023). Zhang, Yang and Gao (arXiv:2205.00362v4, 2024) show that, on an arbitrary probability space, strong duality holds exactly when the integrand f(x)−λc(x^,x)f(x)-\lambda c(\widehat x,x)f(x)−λc(x,x) satisfies an interchangeability principle (IP) between expectation and supremum. That reduces every duality question to verifying (IP).

This mission formalizes the paper's Proposition 2, which verifies (IP) for the most common choice of cost, the ppp-th power of a metric, under minimal hypotheses on P^\widehat{\mathbb P}P and on the loss. The paper uses it for distributionally robust Markov decision processes on Borel spaces, where value functions are only measurable for a completed σ\sigmaσ-algebra.

Setting

Let (X,d)(\mathcal X,d)(X,d) be a metric space and F\mathcal FF its Borel σ\sigmaσ-algebra. Let P^\widehat{\mathbb P}P be a probability measure on (X,F)(\mathcal X,\mathcal F)(X,F) that is tight: for every ϵ>0\epsilon>0ϵ>0 there is a compact K⊆XK\subseteq\mathcal XK⊆X with P^(Kc)≤ϵ\widehat{\mathbb P}(K^c)\le\epsilonP(Kc)≤ϵ. Write FP^\mathcal F_{\widehat{\mathbb P}}FP​ for the completion of F\mathcal FF under P^\widehat{\mathbb P}P; a function is P^\widehat{\mathbb P}P-measurable if it is FP^\mathcal F_{\widehat{\mathbb P}}FP​-measurable.

Expectations take values in the extended reals R‾=R∪{±∞}\overline{\mathbb R}=\mathbb R\cup\{\pm\infty\}R=R∪{±∞}: Eν[φ]=∫φ+ dν−∫φ− dν\mathbb E_\nu[\varphi]=\int\varphi^+\,d\nu-\int\varphi^-\,d\nuEν​[φ]=∫φ+dν−∫φ−dν.

Let f:X→Rf:\mathcal X\to\mathbb Rf:X→R be P^\widehat{\mathbb P}P-measurable with EP^[f]>−∞\mathbb E_{\widehat{\mathbb P}}[f]>-\inftyEP​[f]>−∞, let p∈[1,∞)p\in[1,\infty)p∈[1,∞) and λ≥0\lambda\ge0λ≥0, and define

φ(x^,x)=f(x)−λ d(x^,x)p,Φ(x^)=sup⁡x∈Xφ(x^,x)∈R∪{+∞}.\varphi(\widehat x,x)=f(x)-\lambda\,d(\widehat x,x)^p,\qquad \Phi(\widehat x)=\sup_{x\in\mathcal X}\varphi(\widehat x,x)\in\mathbb R\cup\{+\infty\}.φ(x,x)=f(x)−λd(x,x)p,Φ(x)=x∈Xsup​φ(x,x)∈R∪{+∞}.

Let ΓP^\Gamma_{\widehat{\mathbb P}}ΓP​ be the set of probability measures on (X×X,F⊗F)(\mathcal X\times\mathcal X,\mathcal F\otimes\mathcal F)(X×X,F⊗F) whose first marginal is P^\widehat{\mathbb P}P. The function φ\varphiφ satisfies (IP) if Φ\PhiΦ is P^\widehat{\mathbb P}P-measurable and

EX^∼P^[Φ(X^)]=sup⁡γ∈ΓP^E(X^,X)∼γ[φ(X^,X)].\mathbb E_{\widehat X\sim\widehat{\mathbb P}}[\Phi(\widehat X)]=\sup_{\gamma\in\Gamma_{\widehat{\mathbb P}}}\mathbb E_{(\widehat X,X)\sim\gamma}[\varphi(\widehat X,X)].EX∼P​[Φ(X)]=γ∈ΓP​sup​E(X,X)∼γ​[φ(X,X)].

Formalization targets

Goal: Proposition 2 (p. 7)

φ is (F⊗FP^)-measurable (for separable X), and EP^[Φ]=sup⁡γ∈ΓP^Eγ[φ].\varphi \text{ is } (\mathcal F\otimes\mathcal F_{\widehat{\mathbb P}})\text{-measurable (for separable }\mathcal X\text{), and } \mathbb E_{\widehat{\mathbb P}}[\Phi]=\sup_{\gamma\in\Gamma_{\widehat{\mathbb P}}}\mathbb E_\gamma[\varphi].φ is (F⊗FP​)-measurable (for separable X), and EP​[Φ]=γ∈ΓP​sup​Eγ​[φ].

No constant is fixed; the statement holds for every p≥1p\ge1p≥1 and every λ≥0\lambda\ge0λ≥0, including λ=0\lambda=0λ=0, where Φ≡sup⁡f\Phi\equiv\sup fΦ≡supf may be +∞+\infty+∞.

Milestones (steps of the proof, pp. ec4–ec5)

  1. Φ\PhiΦ is lower semicontinuous, hence Borel measurable, for any fff.
  2. Eγ[φ]≤EP^[Φ]\mathbb E_\gamma[\varphi]\le\mathbb E_{\widehat{\mathbb P}}[\Phi]Eγ​[φ]≤EP​[Φ] for every γ∈ΓP^\gamma\in\Gamma_{\widehat{\mathbb P}}γ∈ΓP​.
  3. If EP^[Φ]<+∞\mathbb E_{\widehat{\mathbb P}}[\Phi]<+\inftyEP​[Φ]<+∞ and ϵ>0\epsilon>0ϵ>0, there is a Borel map TTT with
E(Id⊗T)#P^[φ]>−6ϵ+EP^[Φ].\mathbb E_{(\mathrm{Id}\otimes T)_\#\widehat{\mathbb P}}[\varphi]>-6\epsilon+\mathbb E_{\widehat{\mathbb P}}[\Phi].E(Id⊗T)#​P​[φ]>−6ϵ+EP​[Φ].

Significance

Combined with Theorem 1 of the same paper, Proposition 2 yields strong duality for ppp-Wasserstein DRO on any metric space with a tight nominal distribution, in particular on every Polish space and every Borel subset of one, without semicontinuity of the loss. Allowing fff to be merely P^\widehat{\mathbb P}P-measurable is what makes the duality applicable recursively in dynamic programming, where each stage's value function is lower semianalytic rather than Borel.

The result is proved in the paper, with the case EP^[Φ]=+∞\mathbb E_{\widehat{\mathbb P}}[\Phi]=+\inftyEP​[Φ]=+∞ left to the reader. No machine-checked proof of it, or of any Wasserstein DRO duality theorem at this generality, is known to exist. A formalization would supply the omitted case and pin down the measure-theoretic conventions (extended-valued expectations, completed σ\sigmaσ-algebras) that the paper treats briefly.

Difficulty

The inequality "≤\le≤" is pointwise. The reverse inequality requires a near-optimal coupling, i.e. a measurable near-maximizer x(x^)x(\widehat x)x(x) of φ(x^,⋅)\varphi(\widehat x,\cdot)φ(x,⋅). A general measurable selection theorem is not available: X\mathcal XX is not assumed Polish and fff is not assumed Borel, so the projection and selection theorems behind Polish-space duality do not apply. The approximation must also control the expectation of a possibly unbounded Φ\PhiΦ, where integrals take extended values and ∞−∞\infty-\infty∞−∞ must be avoided.

Formalization scope

  • X\mathcal XX carries [MetricSpace X] [MeasurableSpace X] [BorelSpace X]; P^\widehat{\mathbb P}P is a probability measure with IsTightMeasureSet {Phat} (Mathlib's tightness).
  • fff is real valued with NullMeasurable f Phat. A Borel-measurable fff would be a strictly weaker theorem and is ruled out.
  • Expectations are the published definition ModelRiskOT.Duality.extIntegral: ∫φ+−∫φ−\int\varphi^+-\int\varphi^-∫φ+−∫φ− in EReal with lower Lebesgue integrals and ∞−∞=−∞\infty-\infty=-\infty∞−∞=−∞. The Bochner integral, which returns 000 on non-integrable functions, is not used. Because φ\varphiφ need not be F⊗F\mathcal F\otimes\mathcal FF⊗F-measurable, the page leaves Eγ[φ]\mathbb E_\gamma[\varphi]Eγ​[φ] undefined for a general coupling; the lower-integral reading is adopted, and ΓP^\Gamma_{\widehat{\mathbb P}}ΓP​ stays on F⊗F\mathcal F\otimes\mathcal FF⊗F as printed.
  • (F⊗FP^)(\mathcal F\otimes\mathcal F_{\widehat{\mathbb P}})(F⊗FP​)-measurability is measurability on X × NullMeasurableSpace X Phat, with the completion on the second factor.
  • Correction of the page. The measurability clause is stated under the extra hypothesis that X\mathcal XX is separable: on a discrete metric space of cardinality above the continuum, with P^\widehat{\mathbb P}P a Dirac mass, f=0f=0f=0 and λ=p=1\lambda=p=1λ=p=1, φ=−1{x^≠x}\varphi=-\mathbf 1\{\widehat x\ne x\}φ=−1{x=x} is not product measurable. The (IP) clause is stated for every metric space, as printed.
  • The supremum in (IP) ranges over all of ΓP^\Gamma_{\widehat{\mathbb P}}ΓP​. Restricting it to deterministic couplings (Id⊗T)#P^(\mathrm{Id}\otimes T)_\#\widehat{\mathbb P}(Id⊗T)#​P would state a different, stronger formula; deterministic couplings appear only in milestone 3.

Contributions welcome: lemmas on lower Lebesgue integrals of null-measurable functions under push-forward measures, and tightness-based approximation arguments, both reusable beyond this mission.

Selected references

  • L. Zhang, J. Yang, R. Gao, A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization, arXiv:2205.00362v4, 2024. https://arxiv.org/abs/2205.00362
  • R. Gao, A. Kleywegt, Distributionally Robust Stochastic Optimization with Wasserstein Distance, Mathematics of Operations Research 48(2), 2023. https://arxiv.org/abs/1604.02199
  • J. Blanchet, K. Murthy, Quantifying Distributional Model Risk via Optimal Transport, Mathematics of Operations Research 44(2), 2019. https://arxiv.org/abs/1604.01446
  • P. Mohajerin Esfahani, D. Kuhn, Data-Driven Distributionally Robust Optimization Using the Wasserstein Metric, Mathematical Programming 171, 2018. https://arxiv.org/abs/1505.05116
7 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization II: Interchangeability Holds for Diagonally Dominant Functions iff Measurable Projection and Weak Selection DoResearch Paper

Why interchangeability matters for Wasserstein DRO

In Wasserstein distributionally robust optimization (DRO) a decision is evaluated against the worst distribution within an optimal-transport ball around a nominal distribution P^\widehat{\mathbb P}P. Every tractable reformulation rests on a strong duality theorem that replaces the supremum over distributions by a one-dimensional minimization over a multiplier λ≥0\lambda \ge 0λ≥0 and an expectation of a pointwise supremum. Zhang, Yang and Gao (arXiv:2205.00362v4) show (Theorem 1 of their paper) that this duality holds for every radius exactly when a single measure-theoretic property, the interchangeability principle (IP), holds for the functions f(x)−λc(x^,x)f(x)-\lambda c(\widehat x,x)f(x)−λc(x,x). Earlier duality proofs (Blanchet and Murthy 2019, Gao and Kleywegt 2023) assumed a Polish space and semicontinuity of the loss and the cost; the interchangeability formulation removes those assumptions and isolates what is actually needed.

This mission formalizes the paper's §3 answer to the next question: when does (IP) hold? Proposition 1 characterizes it, for an entire class of functions, by two properties of the probability space alone: measurable projection and a weak measurable selection. Interchange of expectation and supremum is classical in stochastic programming (Shapiro, Dentcheva and Ruszczyński 2021, §9.3.4; Shapiro 2017) and measurable selection is classical in stochastic control (Bertsekas and Shreve 1978); Proposition 1 shows that, for the functions arising in Wasserstein DRO, the two are equivalent.

Setting

Let (X,F,P^)(\mathcal X,\mathcal F,\widehat{\mathbb P})(X,F,P) be a probability space, with no topology on X\mathcal XX. Write FP^\mathcal F_{\widehat{\mathbb P}}FP​ for the completion of F\mathcal FF under P^\widehat{\mathbb P}P; a function or set is P^\widehat{\mathbb P}P-measurable if it is measurable for FP^\mathcal F_{\widehat{\mathbb P}}FP​. Expectations take values in [−∞,∞][-\infty,\infty][−∞,∞] and are E[φ]=∫φ+−∫φ−\mathbb E[\varphi]=\int\varphi^+-\int\varphi^-E[φ]=∫φ+−∫φ−.

Let ΓP^\Gamma_{\widehat{\mathbb P}}ΓP​ be the set of probability measures γ\gammaγ on (X×X,F⊗F)(\mathcal X\times\mathcal X,\mathcal F\otimes\mathcal F)(X×X,F⊗F) whose first marginal is P^\widehat{\mathbb P}P. For ϕ:X×X→R∪{−∞}\phi:\mathcal X\times\mathcal X\to\mathbb R\cup\{-\infty\}ϕ:X×X→R∪{−∞} put Φ(x^)=sup⁡x∈Xϕ(x^,x)\Phi(\widehat x)=\sup_{x\in\mathcal X}\phi(\widehat x,x)Φ(x)=supx∈X​ϕ(x,x).

Interchangeability principle (IP). An (F⊗F)(\mathcal F\otimes\mathcal F)(F⊗F)-measurable ϕ\phiϕ satisfies (IP) if Φ\PhiΦ is P^\widehat{\mathbb P}P-measurable and

EX^∼P^[sup⁡x∈Xϕ(X^,x)]=sup⁡γ∈ΓP^E(X^,X)∼γ[ϕ(X^,X)].\mathbb E_{\widehat X\sim\widehat{\mathbb P}}\Big[\sup_{x\in\mathcal X}\phi(\widehat X,x)\Big]=\sup_{\gamma\in\Gamma_{\widehat{\mathbb P}}}\mathbb E_{(\widehat X,X)\sim\gamma}\big[\phi(\widehat X,X)\big].EX∼P​[x∈Xsup​ϕ(X,x)]=γ∈ΓP​sup​E(X,X)∼γ​[ϕ(X,X)].

Diagonal dominance (Definition 1). A measurable ϕ\phiϕ is diagonally dominant if ϕ(x^,x)≤ϕ(x,x)\phi(\widehat x,x)\le\phi(x,x)ϕ(x,x)≤ϕ(x,x) for all x^,x\widehat x,xx,x. A measurable set A⊂X×XA\subset\mathcal X\times\mathcal XA⊂X×X is diagonally dominant if (x^,x)∈A(\widehat x,x)\in A(x,x)∈A implies (x,x)∈A(x,x)\in A(x,x)∈A. A set-valued map E:X→F∖{∅}E:\mathcal X\to\mathcal F\setminus\{\emptyset\}E:X→F∖{∅} with measurable graph Graph(E)={(x^,x):x∈E(x^)}\mathrm{Graph}(E)=\{(\widehat x,x):x\in E(\widehat x)\}Graph(E)={(x,x):x∈E(x)} is diagonally dominant if x∈E(x^)x\in E(\widehat x)x∈E(x) implies x∈E(x)x\in E(x)x∈E(x). The functions f(x)−λc(x^,x)f(x)-\lambda c(\widehat x,x)f(x)−λc(x,x) with λ≥0\lambda\ge0λ≥0 and a cost c≥0c\ge0c≥0 vanishing on the diagonal are exactly the diagonally dominant functions (Lemma 4).

(Proj) For every diagonally dominant A∈F⊗FA\in\mathcal F\otimes\mathcal FA∈F⊗F, Projx^(A)={x^:(x^,x)∈A for some x}∈FP^\mathrm{Proj}_{\widehat x}(A)=\{\widehat x:(\widehat x,x)\in A\text{ for some }x\}\in\mathcal F_{\widehat{\mathbb P}}Projx​(A)={x:(x,x)∈A for some x}∈FP​.

(Sel*) For every diagonally dominant E:X→F∖{∅}E:\mathcal X\to\mathcal F\setminus\{\emptyset\}E:X→F∖{∅} with measurable graph there is γ∈ΓP^\gamma\in\Gamma_{\widehat{\mathbb P}}γ∈ΓP​ with supp⁡γ⊂Graph(E)\operatorname{supp}\gamma\subset\mathrm{Graph}(E)suppγ⊂Graph(E).

Formalization targets

Goal: Proposition 1

((IP) holds for every diagonally dominant ϕ:X×X→R∪{−∞})  ⟺  (Proj) ∧ (Sel\*).\big(\text{(IP) holds for every diagonally dominant }\phi:\mathcal X\times\mathcal X\to\mathbb R\cup\{-\infty\}\big)\iff\text{(Proj)}\ \wedge\ \text{(Sel\*)}.((IP) holds for every diagonally dominant ϕ:X×X→R∪{−∞})⟺(Proj) ∧ (Sel\*).

Milestones

  1. Lemma EC.1: diagonal dominance of a set is that of its indicator; of a function, that of all its superlevel sets {ϕ>α}\{\phi>\alpha\}{ϕ>α}, α∈R\alpha\in\mathbb Rα∈R; of a set-valued map, that of its graph.
  2. Under (Proj), Φ\PhiΦ is P^\widehat{\mathbb P}P-measurable for every diagonally dominant ϕ\phiϕ.
  3. EP^[Φ]≥Eγ[ϕ]\mathbb E_{\widehat{\mathbb P}}[\Phi]\ge\mathbb E_\gamma[\phi]EP​[Φ]≥Eγ​[ϕ] for every γ∈ΓP^\gamma\in\Gamma_{\widehat{\mathbb P}}γ∈ΓP​.
  4. Sufficiency: (Proj) and (Sel*) imply (IP) for all diagonally dominant ϕ\phiϕ.
  5. Necessity: (IP) for all diagonally dominant ϕ\phiϕ implies (Proj), and implies (Sel*).
  6. Lemma 4: ϕ\phiϕ is diagonally dominant iff ϕ(x^,x)=f(x)−λc(x^,x)\phi(\widehat x,x)=f(x)-\lambda c(\widehat x,x)ϕ(x,x)=f(x)−λc(x,x) with measurable fff, λ≥0\lambda\ge0λ≥0, measurable c≥0c\ge0c≥0 vanishing on the diagonal.

Significance

Combined with Theorem 1 of the paper, Proposition 1 and Lemma 4 reduce strong duality for Wasserstein DRO, for every measurable loss and every measurable cost vanishing on the diagonal, to two measurability properties of the nominal space. These properties hold, for instance, when P^\widehat{\mathbb P}P is finitely supported, or when X\mathcal XX is a Polish or Suslin space with its Borel σ-algebra (Examples 1–3 of the paper, citing Aubin and Frankowska, Set-Valued Analysis, Thm 8.3.2 and Aliprantis and Border, Infinite Dimensional Analysis, Thm 18.26), which is how the paper covers the earlier duality results. The selection condition (Sel*) is weaker than the deterministic measurable selection used with the interchange formula of Rockafellar and Wets, Variational Analysis, Thm 14.60, and the necessity direction shows that nothing weaker than (Proj) and (Sel*) suffices for the whole class.

The result is published with a complete proof in the paper's e-companion. The work here is to formalize it: no machine-checked version of (Proj), (Sel*) or of this equivalence exists, in Mathlib or on the platform. The development yields a reusable interface between extended-real expectations, completions of probability spaces, and couplings with a fixed marginal.

Difficulty

The necessity direction is short: it tests (IP) on an indicator and on −∞⋅1Graph(E)c-\infty\cdot\mathbf 1_{\mathrm{Graph}(E)^c}−∞⋅1Graph(E)c​. The sufficiency direction is where the content lies. The inequality Eγ[ϕ]≤EP^[Φ]\mathbb E_\gamma[\phi]\le\mathbb E_{\widehat{\mathbb P}}[\Phi]Eγ​[ϕ]≤EP​[Φ] is immediate, but the reverse inequality requires building a single coupling γ\gammaγ that nearly attains Φ(x^)\Phi(\widehat x)Φ(x) simultaneously for P^\widehat{\mathbb P}P-almost every x^\widehat xx, from a selection condition that only delivers couplings concentrated on graphs. The obvious idea, choosing a near-maximizer x(x^)x(\widehat x)x(x) pointwise, fails because no measurable choice is available on an abstract measurable space; this is precisely why (Sel*) is stated for couplings rather than maps. The case EP^[Φ]=+∞\mathbb E_{\widehat{\mathbb P}}[\Phi]=+\inftyEP​[Φ]=+∞, the null set where Φ=+∞\Phi=+\inftyΦ=+∞, and the passage between FP^\mathcal F_{\widehat{\mathbb P}}FP​-measurable and F\mathcal FF-measurable sets all have to be handled.

Formalization scope

  • X\mathcal XX is a type with a MeasurableSpace; F⊗F\mathcal F\otimes\mathcal FF⊗F is Mathlib's product σ-algebra; P^\widehat{\mathbb P}P is a Measure with IsProbabilityMeasure.
  • Functions into R∪{−∞}\mathbb R\cup\{-\infty\}R∪{−∞} are EReal-valued with the side condition "never +∞+\infty+∞".
  • Expectations use the published definition ModelRiskOT.Duality.extIntegral, ∫φ+−∫φ−\int\varphi^+-\int\varphi^-∫φ+−∫φ− with lower Lebesgue integrals. It agrees with the paper whenever one part is finite and assigns −∞-\infty−∞ to the case ∞−∞\infty-\infty∞−∞, where the paper's expectation is undefined. The Bochner integral is never used.
  • P^\widehat{\mathbb P}P-measurability is NullMeasurable / NullMeasurableSet (completion), never Measurable; the latter would turn (Proj) into a strictly stronger condition that fails on Polish spaces.
  • ΓP^\Gamma_{\widehat{\mathbb P}}ΓP​ consists of probability measures on X×X\mathcal X\times\mathcal XX×X with map Prod.fst γ = P̂; without the probability requirement (Sel*) would hold trivially with γ=0\gamma=0γ=0.
  • The values of EEE are measurable and nonempty; dropping nonemptiness would make (Sel*) false through E≡∅E\equiv\emptysetE≡∅.
  • Since X\mathcal XX carries no topology, "supp⁡γ⊂Graph(E)\operatorname{supp}\gamma\subset\mathrm{Graph}(E)suppγ⊂Graph(E)" is read as γ(Graph(E)c)=0\gamma(\mathrm{Graph}(E)^c)=0γ(Graph(E)c)=0, which is how the proof uses it.
  • The product λc\lambda cλc in Lemma 4 follows the paper's convention 0⋅∞=∞0\cdot\infty=\infty0⋅∞=∞ (Mathlib's EReal product has 0⋅∞=00\cdot\infty=00⋅∞=0).

A complete development needs: the transfer of lower Lebesgue integrals along the first marginal for null-measurable integrands, a characterization of null-measurability of EReal-valued functions through superlevel sets, and a countable gluing of couplings over a partition. These are reusable well beyond this mission, as is the (IP) interface, which the companion missions of this series also use. Contributions to any milestone, and to these general lemmas, are welcome.

Selected references

  • L. Zhang, J. Yang, R. Gao, A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization, arXiv:2205.00362v4, 2024. https://arxiv.org/abs/2205.00362
  • J. Blanchet, K. Murthy, Quantifying distributional model risk via optimal transport, Mathematics of Operations Research 44(2):565–600, 2019. https://doi.org/10.1287/moor.2018.0936
  • R. Gao, A. Kleywegt, Distributionally robust stochastic optimization with Wasserstein distance, Mathematics of Operations Research 48(2):603–655, 2023. https://doi.org/10.1287/moor.2022.1275
  • A. Shapiro, D. Dentcheva, A. Ruszczyński, Lectures on Stochastic Programming: Modeling and Theory, 3rd ed., SIAM, 2021. https://doi.org/10.1137/1.9781611976595
  • D. P. Bertsekas, S. E. Shreve, Stochastic Optimal Control: The Discrete-Time Case, Academic Press, 1978. https://web.mit.edu/dimitrib/www/soc.html
  • R. T. Rockafellar, R. J.-B. Wets, Variational Analysis, Springer, 1998. https://doi.org/10.1007/978-3-642-02431-3
  • A. Shapiro, Interchangeability principle and dynamic equations in risk averse stochastic programming, Operations Research Letters 45(4):377–381, 2017. https://doi.org/10.1016/j.orl.2017.05.008
  • J.-P. Aubin, H. Frankowska, Set-Valued Analysis, Birkhäuser, 1990 (reprint 2009). https://doi.org/10.1007/978-0-8176-4848-0
  • C. D. Aliprantis, K. C. Border, Infinite Dimensional Analysis: A Hitchhiker's Guide, 3rd ed., Springer, 2006. https://doi.org/10.1007/3-540-29587-9
13 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

Residuals-based distributionally robust optimization with covariate information 1: Wasserstein ER-DRO with the Enlarged Radius (10) Certifies Its Out-of-Sample Cost with Probability 1−αResearch Paper

Decisions with covariate information

Many operational decisions are made after observing covariates that carry information about the uncertainty: a retailer sets inventory after seeing weather and calendar features that predict demand, a grid operator commits generation after seeing a load forecast. The decision problem is a conditional stochastic program: choose z∈Zz\in\mathcal Zz∈Z to minimize E[c(z,Y)∣X=x]\mathbb E[c(z,Y)\mid X=x]E[c(z,Y)∣X=x], where YYY is the uncertain quantity, XXX the covariates and xxx their observed value. The conditional distribution of YYY given X=xX=xX=x is unknown; only joint data {(yi,xi)}i=1n\{(y^i,x^i)\}_{i=1}^n{(yi,xi)}i=1n​ are available (Bertsimas and Kallus, 2020).

Kannan, Bayraksan and Luedtke (arXiv:2207.13554) proposed fitting a regression model and adding its empirical residuals to the point prediction at xxx, producing scenarios for a sample average approximation (the ER-SAA). With few data, any such sample average is optimistically biased: the optimal value underestimates the true cost of the chosen decision. Distributionally robust optimization (DRO) over a Wasserstein ball corrects this bias in the covariate-free case, where Mohajerin Esfahani and Kuhn (2018) showed that a suitably sized ball turns the DRO optimal value into an upper confidence bound on the out-of-sample cost. The paper formalized here (Kannan, Bayraksan and Luedtke, 2023) extends that guarantee to the residuals-based setting. Its main result, Theorem 7, is this mission's goal.

Setting

Let X=Rdx\mathcal X=\mathbb R^{d_x}X=Rdx​, and give Rdy\mathbb R^{d_y}Rdy​ and Rdz\mathbb R^{d_z}Rdz​ the Euclidean norm ∥⋅∥\|\cdot\|∥⋅∥. The model is

Y=f∗(X)+ε,Y=f^*(X)+\varepsilon,Y=f∗(X)+ε,

with regression function f∗f^*f∗ and zero-mean errors ε∼Pε\varepsilon\sim P_\varepsilonε∼Pε​ independent of XXX. The conditional distribution PY∣X=xP_{Y\mid X=x}PY∣X=x​ is then the law of f∗(x)+εf^*(x)+\varepsilonf∗(x)+ε. Let c:Rdz×Rdy→Rc:\mathbb R^{d_z}\times\mathbb R^{d_y}\to\mathbb Rc:Rdz​×Rdy​→R be a cost and Z\mathcal ZZ a nonempty compact feasible set. The true objective is g(z;x)=E[c(z,f∗(x)+ε)]g(z;x)=\mathbb E[c(z,f^*(x)+\varepsilon)]g(z;x)=E[c(z,f∗(x)+ε)].

A known nonempty closed convex set Y⊇\mathcal Y\supseteqY⊇ range of YYY is given, with orthogonal projection projY\mathrm{proj}_{\mathcal Y}projY​ (the nearest-point map). The data are covariates xix^ixi and errors εi\varepsilon^iεi, with responses yi=f∗(xi)+εiy^i=f^*(x^i)+\varepsilon^iyi=f∗(xi)+εi for i∈[n]i\in[n]i∈[n]. A regression estimate f^n\hat f_nf^​n​ built from the data has empirical residuals ε^ni=yi−f^n(xi)\hat\varepsilon^i_n=y^i-\hat f_n(x^i)ε^ni​=yi−f^​n​(xi). Two empirical distributions are compared: the true empirical distribution Pn∗(x)P^*_n(x)Pn∗​(x), which needs f∗f^*f∗, and the estimated empirical distribution P^nER(x)\hat P^{ER}_n(x)P^nER​(x), which is computable:

Pn∗(x)=1n∑i=1nδf∗(x)+εi,P^nER(x)=1n∑i=1nδprojY(f^n(x)+ε^ni).P^*_n(x)=\frac1n\sum_{i=1}^n\delta_{f^*(x)+\varepsilon^i},\qquad \hat P^{ER}_n(x)=\frac1n\sum_{i=1}^n\delta_{\mathrm{proj}_{\mathcal Y}(\hat f_n(x)+\hat\varepsilon^i_n)}.Pn∗​(x)=n1​i=1∑n​δf∗(x)+εi​,P^nER​(x)=n1​i=1∑n​δprojY​(f^​n​(x)+ε^ni​)​.

Their scenarios differ by ε~ni(x)=(f^n(x)−f∗(x))+(f∗(xi)−f^n(xi))\tilde\varepsilon^i_n(x)=(\hat f_n(x)-f^*(x))+(f^*(x^i)-\hat f_n(x^i))ε~ni​(x)=(f^​n​(x)−f∗(x))+(f∗(xi)−f^​n​(xi)), the prediction error at xxx plus the estimation error at xix^ixi.

For p∈[1,∞)p\in[1,\infty)p∈[1,∞) the ppp-Wasserstein distance is dW,p(Q1,Q2)=(inf⁡π∫∥y1−y2∥p dπ)1/pd_{W,p}(Q_1,Q_2)=\big(\inf_{\pi}\int\|y_1-y_2\|^p\,d\pi\big)^{1/p}dW,p​(Q1​,Q2​)=(infπ​∫∥y1​−y2​∥pdπ)1/p, with the infimum over couplings π\piπ of Q1Q_1Q1​ and Q2Q_2Q2​. The ER-DRO problem (8) with radius ζ\zetaζ is

v^nDRO(x)=min⁡z∈Z sup⁡{EY∼Q[c(z,Y)]: Q∈P(Y), dW,p(Q,P^nER(x))≤ζ},\hat v^{DRO}_n(x)=\min_{z\in\mathcal Z}\ \sup\Big\{\mathbb E_{Y\sim Q}[c(z,Y)]:\ Q\in\mathcal P(\mathcal Y),\ d_{W,p}(Q,\hat P^{ER}_n(x))\le\zeta\Big\},v^nDRO​(x)=z∈Zmin​ sup{EY∼Q​[c(z,Y)]: Q∈P(Y), dW,p​(Q,P^nER​(x))≤ζ},

with optimal solution z^nDRO(x)\hat z^{DRO}_n(x)z^nDRO​(x).

The radius (10) combines two allowances:

  • Assumption 2 bounds the regression error: with probability at least 1−α1-\alpha1−α, ∥f∗(x)−f^n(x)∥p\|f^*(x)-\hat f_n(x)\|^p∥f∗(x)−f^​n​(x)∥p and 1n∑i∥f∗(xi)−f^n(xi)∥p\frac1n\sum_i\|f^*(x^i)-\hat f_n(x^i)\|^pn1​∑i​∥f∗(xi)−f^​n​(xi)∥p are each at most κp,np(α,x)\kappa^p_{p,n}(\alpha,x)κp,np​(α,x).
  • Lemma 2, quoted from Fournier and Guillin (2015), is an exponential concentration bound for dW,p(Pn∗(x),PY∣X=x)d_{W,p}(P^*_n(x),P_{Y\mid X=x})dW,p​(Pn∗​(x),PY∣X=x​) with constants c1,c2c_1,c_2c1​,c2​. It holds under the light-tail Assumption 1, E[exp⁡(∥ε∥a)]<∞\mathbb E[\exp(\|\varepsilon\|^a)]<\inftyE[exp(∥ε∥a)]<∞ for some a>pa>pa>p.

The radius is ζn(α,x)=2κp,n(α/4,x)+κp,n(2)(α)\zeta_n(\alpha,x)=2\kappa_{p,n}(\alpha/4,x)+\kappa^{(2)}_{p,n}(\alpha)ζn​(α,x)=2κp,n​(α/4,x)+κp,n(2)​(α). Its second term inverts Lemma 2 at level α/2\alpha/2α/2.

Formalization targets

Goal: Theorem 7 (finite sample certificate guarantee)

Under Assumptions 1 and 2 at xxx, p≠dy/2p\ne d_y/2p=dy​/2, i.i.d. errors, Lemma 2's bound with constants c1,c2>0c_1,c_2>0c1​,c2​>0 and α∈(0,1)\alpha\in(0,1)α∈(0,1), the ER-DRO problem with radius ζn(α,x)\zeta_n(\alpha,x)ζn​(α,x) satisfies

P{g(z^nDRO(x);x)≤v^nDRO(x)}≥1−α.\mathbb P\big\{g(\hat z^{DRO}_n(x);x)\le\hat v^{DRO}_n(x)\big\}\ge1-\alpha.P{g(z^nDRO​(x);x)≤v^nDRO​(x)}≥1−α.

Milestones, in the order the paper's proof uses them

  • (6): ∥projY(f^n(x)+ε^ni)−(f∗(x)+εi)∥≤∥ε~ni(x)∥\|\mathrm{proj}_{\mathcal Y}(\hat f_n(x)+\hat\varepsilon^i_n)-(f^*(x)+\varepsilon^i)\|\le\|\tilde\varepsilon^i_n(x)\|∥projY​(f^​n​(x)+ε^ni​)−(f∗(x)+εi)∥≤∥ε~ni​(x)∥.
  • Lemma 3: dW,p(P^nER(x),PY∣X=x)≤(1n∑i∥ε~ni(x)∥p)1/p+dW,p(Pn∗(x),PY∣X=x)d_{W,p}(\hat P^{ER}_n(x),P_{Y\mid X=x})\le\big(\frac1n\sum_i\|\tilde\varepsilon^i_n(x)\|^p\big)^{1/p}+d_{W,p}(P^*_n(x),P_{Y\mid X=x})dW,p​(P^nER​(x),PY∣X=x​)≤(n1​∑i​∥ε~ni​(x)∥p)1/p+dW,p​(Pn∗​(x),PY∣X=x​).
  • Lemma 4: the power mean of ∥ε~ni(x)∥\|\tilde\varepsilon^i_n(x)\|∥ε~ni​(x)∥ is at most the prediction error plus the power-mean estimation error.
  • Lemma 5: P(V+W>C1+C2)≤P(V>C1)+P(W>C2)\mathbb P(V+W>C_1+C_2)\le\mathbb P(V>C_1)+\mathbb P(W>C_2)P(V+W>C1​+C2​)≤P(V>C1​)+P(W>C2​).
  • Lemma 6: P{(1n∑i∥ε~ni(x)∥p)1/p>2κp,n(α/4,x)}≤α/2\mathbb P\{(\frac1n\sum_i\|\tilde\varepsilon^i_n(x)\|^p)^{1/p}>2\kappa_{p,n}(\alpha/4,x)\}\le\alpha/2P{(n1​∑i​∥ε~ni​(x)∥p)1/p>2κp,n​(α/4,x)}≤α/2.
  • Second display of the proof of Theorem 7: P{dW,p(Pn∗(x),PY∣X=x)>κp,n(2)(α)}≤α/2\mathbb P\{d_{W,p}(P^*_n(x),P_{Y\mid X=x})>\kappa^{(2)}_{p,n}(\alpha)\}\le\alpha/2P{dW,p​(Pn∗​(x),PY∣X=x​)>κp,n(2)​(α)}≤α/2.
  • Third display: P{dW,p(P^nER(x),PY∣X=x)>ζn(α,x)}≤α\mathbb P\{d_{W,p}(\hat P^{ER}_n(x),P_{Y\mid X=x})>\zeta_n(\alpha,x)\}\le\alphaP{dW,p​(P^nER​(x),PY∣X=x​)>ζn​(α,x)}≤α.

Significance

Theorem 7 gives the ER-DRO optimal value a meaning a decision maker can use. The computed number v^nDRO(x)\hat v^{DRO}_n(x)v^nDRO​(x) bounds the true expected cost of the computed decision, with confidence 1−α1-\alpha1−α, for every finite nnn. The scenarios are built from an estimated regression function, not from samples of the conditional distribution. The price is an enlarged radius: the covariate-free radius plus a term 2κp,n(α/4,x)2\kappa_{p,n}(\alpha/4,x)2κp,n​(α/4,x) for the regression error. The same radius drives the paper's asymptotic optimality and rate results (Theorems 9–11).

The theorem is proved in the paper. No part of it is formalized. The covariate-free analogue, Theorem 3.5 of Mohajerin Esfahani and Kuhn, is formalized and proved on the platform (WassDDRO.Consistency.theorem_3_5). This mission adds three things:

  • the regression layer: the projection inequality (6), the decomposition of Lemma 3 and the power-mean bounds;
  • a precise account of the radius;
  • a correction to it. The paper prints log⁡(c1α−1)\log(c_1\alpha^{-1})log(c1​α−1) in κp,n(2)(α)\kappa^{(2)}_{p,n}(\alpha)κp,n(2)​(α), which sets Lemma 2's right-hand side to α\alphaα, not to the α/2\alpha/2α/2 the text states. The proof as printed then gives only 3α/23\alpha/23α/2. The mission states the theorem with log⁡(2c1α−1)\log(2c_1\alpha^{-1})log(2c1​α−1), the derivation the paper describes.

Difficulty

The obvious argument copies the covariate-free proof: treat P^nER(x)\hat P^{ER}_n(x)P^nER​(x) as an empirical distribution of PY∣X=xP_{Y\mid X=x}PY∣X=x​ and apply a concentration inequality. This fails. The scenarios projY(f^n(x)+ε^ni)\mathrm{proj}_{\mathcal Y}(\hat f_n(x)+\hat\varepsilon^i_n)projY​(f^​n​(x)+ε^ni​) are not samples from PY∣X=xP_{Y\mid X=x}PY∣X=x​, and they are not independent: all of them share the data-dependent estimate f^n\hat f_nf^​n​. No concentration inequality applies to P^nER(x)\hat P^{ER}_n(x)P^nER​(x) directly. The regression error has to be separated from the sampling error, and each controlled by its own hypothesis, at a fixed covariate xxx.

On the formal side, Lemma 3 needs the triangle inequality for dW,pd_{W,p}dW,p​ between arbitrary probability measures, which needs a gluing construction. Mathlib does not have it, and on the platform it is an open statement. Lemma 4 needs Minkowski's inequality for a normalized finite power mean. The probabilistic steps act on events whose measurability is not assumed.

Formalization scope

Conventions:

  • Rd\mathbb R^{d}Rd is EuclideanSpace ℝ (Fin d) with its Borel σ-algebra, and dy≥1d_y\ge1dy​≥1.
  • The data, the regression estimate f^n\hat f_nf^​n​ and the solution z^nDRO(x)\hat z^{DRO}_n(x)z^nDRO​(x) are arbitrary functions on a probability space (Ω,P)(\Omega,\mathbb P)(Ω,P). Each probability is the outer measure of the displayed set, so no measurability of these objects is assumed.
  • The responses are yi=f∗(xi)+εiy^i=f^*(x^i)+\varepsilon^iyi=f∗(xi)+εi. The projection is a given map with the nearest-point property on a nonempty closed convex Y\mathcal YY, and f∗(x)+εi∈Yf^*(x)+\varepsilon^i\in\mathcal Yf∗(x)+εi∈Y is a hypothesis.
  • PY∣X=xP_{Y\mid X=x}PY∣X=x​ is the pushforward of PεP_\varepsilonPε​ under e↦f∗(x)+ee\mapsto f^*(x)+ee↦f∗(x)+e.
  • The paper's "for a.e. xxx" is handled pointwise. Assumption 2 (a function α↦κp,n(α,x)\alpha\mapsto\kappa_{p,n}(\alpha,x)α↦κp,n​(α,x)) and Lemma 2's conclusion (constants c1,c2>0c_1,c_2>0c1​,c2​>0) are hypotheses at the given xxx and sample size nnn.
  • Lemma 2 itself is not posed; it is Fournier and Guillin's Theorem 2, already open on the platform. That theorem bounds WppW_p^pWpp​, while the paper transcribes the exponents for dW,pd_{W,p}dW,p​. For p>1p>1p>1 and dy>2pd_y>2pdy​>2p the hypothesis may therefore be unsatisfiable. The mission keeps the paper's Lemma 2 as written.
  • Distances are [0,∞][0,\infty][0,∞]-valued and the DRO value is an extended real. The worst case counts the distributions QQQ in the ball under which c(z,⋅)c(z,\cdot)c(z,⋅) is integrable. The conclusion of Theorem 7 is in failure form, P{g>v^}≤α\mathbb P\{g>\hat v\}\le\alphaP{g>v^}≤α.

The integrability hypothesis on c(z,f∗(x)+ε)c(z,f^*(x)+\varepsilon)c(z,f∗(x)+ε) is necessary: without it the true law would not be counted in the worst case and the certificate would be vacuous. Centring the ball at Pn∗(x)P^*_n(x)Pn∗​(x) instead of P^nER(x)\hat P^{ER}_n(x)P^nER​(x) would trivialize the mission by removing the regression error, and is excluded.

Needed infrastructure, reusable beyond this mission: the gluing lemma and triangle inequality for dW,pd_{W,p}dW,p​; Wasserstein bounds between empirical measures with matched atoms; nonexpansiveness of the metric projection onto a closed convex set. The general Wasserstein objects are the published WassersteinDRO.Duality definitions. Proofs of any milestone are welcome, as is a proof of Theorem 7 from the milestones.

Selected references

  • R. Kannan, G. Bayraksan, J. R. Luedtke, Residuals-based distributionally robust optimization with covariate information, Mathematical Programming, 2023. https://doi.org/10.1007/s10107-023-02014-7
  • R. Kannan, G. Bayraksan, J. R. Luedtke, Data-driven sample average approximation with covariate information, arXiv preprint, 2022. https://arxiv.org/abs/2207.13554
  • P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric: performance guarantees and tractable reformulations, Mathematical Programming 171, 2018. https://doi.org/10.1007/s10107-017-1172-1
  • N. Fournier, A. Guillin, On the rate of convergence in Wasserstein distance of the empirical measure, Probability Theory and Related Fields 162, 2015. https://doi.org/10.1007/s00440-014-0583-7
  • D. Bertsimas, N. Kallus, From predictive to prescriptive analytics, Management Science 66, 2020. https://doi.org/10.1287/mnsc.2018.3253
15 thms1 active userReviewed
Operations ResearchOptimizationProbability·Captain: mikedeng1

A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization I: Worst-Case Loss = min over λ ≥ 0 of λρ + E[sup f − λc] for All ρ > 0 iff Interchangeability HoldsResearch Paper

Motivation

Wasserstein distributionally robust optimization (DRO) hedges a decision against every probability distribution within a given transport distance of a nominal one, typically the empirical distribution of data. The inner problem, the worst-case loss, is an optimization over an infinite-dimensional set of measures, and every practical use of Wasserstein DRO — tractable reformulations, statistical guarantees, regularization interpretations — rests on a strong duality theorem that replaces it with a one-dimensional minimization over a Lagrange multiplier.

Such duality theorems have been proved under progressively weaker hypotheses:

  • Mohajerin Esfahani and Kuhn (2018) and Zhao and Guan (2018): empirical nominal distributions on subsets of Rd\mathbb R^dRd, via conic duality.
  • Blanchet and Murthy (2019): Polish spaces, lower semi-continuous costs and upper semi-continuous losses, via an approximation argument (arXiv:1604.01446).
  • Gao and Kleywegt (2023): Polish spaces with costs that are powers of a metric and arbitrary measurable losses (arXiv:1604.02199).
  • Zhang, Yang and Gao (2022, v4 2024): an arbitrary measurable space, an arbitrary measurable cost with values in [0,∞][0,\infty][0,∞] and a measurable loss, with duality characterized exactly by an interchangeability principle (arXiv:2205.00362).

This mission formalizes the last of these, Theorem 1 of Zhang–Yang–Gao.

Setting

Let (X,F,P^)(\mathcal X,\mathcal F,\widehat{\mathbb P})(X,F,P) be a probability space, f:X→Rf:\mathcal X\to\mathbb Rf:X→R a measurable loss with EP^[f]>−∞\mathbb E_{\widehat{\mathbb P}}[f]>-\inftyEP​[f]>−∞, and c:X×X→[0,∞]c:\mathcal X\times\mathcal X\to[0,\infty]c:X×X→[0,∞] a measurable transport cost with c(x,x)=0c(x,x)=0c(x,x)=0 (Assumption 1). Expectations take values in Rˉ=[−∞,∞]\bar{\mathbb R}=[-\infty,\infty]Rˉ=[−∞,∞], and the convention 0⋅∞=∞0\cdot\infty=\infty0⋅∞=∞ is used for products λc\lambda cλc.

The Kantorovich transport cost between P^\widehat{\mathbb P}P and a probability measure P\mathbb PP is

Kc(P^,P)=inf⁡γ∈Γ(P^,P)E(X^,X)∼γ[c(X^,X)],\mathcal K_c(\widehat{\mathbb P},\mathbb P)=\inf_{\gamma\in\Gamma(\widehat{\mathbb P},\mathbb P)}\mathbb E_{(\widehat X,X)\sim\gamma}[c(\widehat X,X)],Kc​(P,P)=γ∈Γ(P,P)inf​E(X,X)∼γ​[c(X,X)],

where Γ(P^,P)\Gamma(\widehat{\mathbb P},\mathbb P)Γ(P,P) is the set of couplings with marginals P^\widehat{\mathbb P}P and P\mathbb PP. The worst-case loss is

L(ρ)=sup⁡P{EX∼P[f(X)]:Kc(P^,P)≤ρ},\mathcal L(\rho)=\sup_{\mathbb P}\big\{\mathbb E_{X\sim\mathbb P}[f(X)]:\mathcal K_c(\widehat{\mathbb P},\mathbb P)\le\rho\big\},L(ρ)=Psup​{EX∼P​[f(X)]:Kc​(P,P)≤ρ},

with L(ρ)=−∞\mathcal L(\rho)=-\inftyL(ρ)=−∞ for ρ<0\rho<0ρ<0. For λ≥0\lambda\ge0λ≥0 let ϕλ(x^,x)=f(x)−λc(x^,x)\phi_\lambda(\widehat x,x)=f(x)-\lambda c(\widehat x,x)ϕλ​(x,x)=f(x)−λc(x,x) and

G(λ)=EX^∼P^[sup⁡x∈Xϕλ(X^,x)].\mathcal G(\lambda)=\mathbb E_{\widehat X\sim\widehat{\mathbb P}}\Big[\sup_{x\in\mathcal X}\phi_\lambda(\widehat X,x)\Big].G(λ)=EX∼P​[x∈Xsup​ϕλ​(X,x)].

ΓP^\Gamma_{\widehat{\mathbb P}}ΓP​ is the set of probability measures on X×X\mathcal X\times\mathcal XX×X with first marginal P^\widehat{\mathbb P}P. A measurable ϕ:X×X→R∪{−∞}\phi:\mathcal X\times\mathcal X\to\mathbb R\cup\{-\infty\}ϕ:X×X→R∪{−∞} satisfies the interchangeability principle (IP) if x^↦sup⁡xϕ(x^,x)\widehat x\mapsto\sup_x\phi(\widehat x,x)x↦supx​ϕ(x,x) is P^\widehat{\mathbb P}P-measurable (measurable for the completion of F\mathcal FF) and

EX^∼P^[sup⁡xϕ(X^,x)]=sup⁡γ∈ΓP^E(X^,X)∼γ[ϕ(X^,X)].\mathbb E_{\widehat X\sim\widehat{\mathbb P}}\Big[\sup_{x}\phi(\widehat X,x)\Big]=\sup_{\gamma\in\Gamma_{\widehat{\mathbb P}}}\mathbb E_{(\widehat X,X)\sim\gamma}[\phi(\widehat X,X)].EX∼P​[xsup​ϕ(X,x)]=γ∈ΓP​sup​E(X,X)∼γ​[ϕ(X,X)].

The Legendre transform of h:R→Rˉh:\mathbb R\to\bar{\mathbb R}h:R→Rˉ is h∗(λ)=sup⁡ρ∈R{λρ−h(ρ)}h^*(\lambda)=\sup_{\rho\in\mathbb R}\{\lambda\rho-h(\rho)\}h∗(λ)=supρ∈R​{λρ−h(ρ)}.

Formalization targets

Goal: Theorem 1, (D)

ϕλ\phi_\lambdaϕλ​ satisfies (IP) for every λ>0\lambda>0λ>0 if and only if the supremum functions are P^\widehat{\mathbb P}P-measurable and

L(ρ)=min⁡λ≥0{λρ+EX^∼P^[sup⁡x∈X{f(x)−λc(X^,x)}]}∀ρ>0.\mathcal L(\rho)=\min_{\lambda\ge0}\Big\{\lambda\rho+\mathbb E_{\widehat X\sim\widehat{\mathbb P}}\Big[\sup_{x\in\mathcal X}\{f(x)-\lambda c(\widehat X,x)\}\Big]\Big\}\qquad\forall\rho>0.L(ρ)=λ≥0min​{λρ+EX∼P​[x∈Xsup​{f(x)−λc(X,x)}]}∀ρ>0.

The minimum is attained. Both sides may be +∞+\infty+∞.

Milestones

  1. Lemma 1. L\mathcal LL is bounded below by EP^[f]\mathbb E_{\widehat{\mathbb P}}[f]EP​[f], increasing and concave on [0,∞)[0,\infty)[0,∞).
  2. (P-soft). For λ>0\lambda>0λ>0, (−L)∗(−λ)=sup⁡{EP[f]−λKc(P^,P):Kc<∞}(-\mathcal L)^*(-\lambda)=\sup\{\mathbb E_{\mathbb P}[f]-\lambda\mathcal K_c(\widehat{\mathbb P},\mathbb P):\mathcal K_c<\infty\}(−L)∗(−λ)=sup{EP​[f]−λKc​(P,P):Kc​<∞}.
  3. Theorem 1, first display. (−L)∗(−λ)=sup⁡γ∈ΓP^Eγ[f(X)−λc(X^,X)](-\mathcal L)^*(-\lambda)=\sup_{\gamma\in\Gamma_{\widehat{\mathbb P}}}\mathbb E_\gamma[f(X)-\lambda c(\widehat X,X)](−L)∗(−λ)=supγ∈ΓP​​Eγ​[f(X)−λc(X,X)] for λ>0\lambda>0λ>0.
  4. Lemma 3. Properties of λ↦h∗(−λ)\lambda\mapsto h^*(-\lambda)λ↦h∗(−λ) for a decreasing convex proper hhh that is +∞+\infty+∞ on (−∞,0)(-\infty,0)(−∞,0).
  5. Lemma 2. (−L)∗(−⋅)(-\mathcal L)^*(-\cdot)(−L)∗(−⋅) and G\mathcal GG are bounded below by EP^[f]\mathbb E_{\widehat{\mathbb P}}[f]EP​[f], decreasing, convex and lower semi-continuous on [0,∞)[0,\infty)[0,∞) (two items).
  6. Theorem 1, second display. L(ρ)=min⁡λ≥0{λρ+sup⁡γ∈ΓP^Eγ[f(X)−λc(X^,X)]}\mathcal L(\rho)=\min_{\lambda\ge0}\{\lambda\rho+\sup_{\gamma\in\Gamma_{\widehat{\mathbb P}}}\mathbb E_\gamma[f(X)-\lambda c(\widehat X,X)]\}L(ρ)=minλ≥0​{λρ+supγ∈ΓP​​Eγ​[f(X)−λc(X,X)]} for ρ>0\rho>0ρ>0: duality with no assumption beyond Assumption 1.
  7. Theorem 1, third display. For fixed λ>0\lambda>0λ>0, ϕλ\phi_\lambdaϕλ​ satisfies (IP) iff (−L)∗(−λ)=G(λ)(-\mathcal L)^*(-\lambda)=\mathcal G(\lambda)(−L)∗(−λ)=G(λ).

Significance

The result. Theorem 1 separates Wasserstein DRO duality into two parts. The first, the second display, holds with no regularity at all: the worst-case loss always equals a one-dimensional minimum over λ\lambdaλ of a supremum over couplings with fixed first marginal. The second identifies exactly when that supremum can be moved inside the expectation, which is the form (D) used in applications: (D) holds for all radii if and only if (IP) holds. The question of when Wasserstein DRO has its standard dual becomes a question about measurable selection and measurable projection, which is studied in a companion mission of this series. The duality results of the timeline above become special cases in which (IP) can be verified.

Formalizing it. The results are proved in the paper; none of them has a machine-checked proof. A formalization produces a verified duality theorem at the level of generality of measurable spaces with extended-valued costs, together with a reusable layer: Kantorovich costs with values in [0,∞][0,\infty][0,∞], extended-real expectations, and one-dimensional Legendre transforms of extended-real functions.

Difficulty

The proof is short on paper because it delegates to one-dimensional convex analysis: the involution h∗∗=cl⁡hh^{**}=\operatorname{cl}hh∗∗=clh of the Legendre transform on R\mathbb RR (Rockafellar, Theorem 12.2), applied to −L-\mathcal L−L. The work is in the extended reals. L\mathcal LL can be +∞+\infty+∞ on all of (0,∞)(0,\infty)(0,∞), (−L)∗(-\mathcal L)^*(−L)∗ can be identically +∞+\infty+∞, and the costs and products involve 0⋅∞0\cdot\infty0⋅∞. Concavity of L\mathcal LL on [0,∞)[0,\infty)[0,∞) requires mixing near-optimal distributions and couplings, and lower semi-continuity of G\mathcal GG requires Fatou's lemma for functions bounded below by fff, not by 000. The "only if" direction of the goal has to recover (IP) for every λ>0\lambda>0λ>0 from (D), which goes through biconjugation of G\mathcal GG and the right continuity at λ=0\lambda=0λ=0 of both transforms. A proof that treats every value as finite does not cover the theorem.

Formalization scope

The Lean development lives in the namespace ShortWDRODual.Legendre.

  • X\mathcal XX is a measurable space and P^\widehat{\mathbb P}P a probability measure. The cost is ENNReal-valued and curried, c x̂ x, with the nominal point first. The loss is real-valued and measurable.
  • Kc\mathcal K_cKc​ is the published RWPI.SqrtLasso.transportCost (infimum over probability couplings of the lower Lebesgue integral of ccc, in [0,∞][0,\infty][0,∞]).
  • Expectations are the published ModelRiskOT.Duality.extIntegral, ∫φ+−∫φ−\int\varphi^+-\int\varphi^-∫φ+−∫φ− in EReal. This agrees with the paper whenever one part is finite. It assigns −∞-\infty−∞ to the undefined case ∞−∞\infty-\infty∞−∞, so a law or coupling with an undefined expectation never raises a supremum.
  • The ball constraint Kc≤ρ\mathcal K_c\le\rhoKc​≤ρ is compared in EReal, so that L(ρ)=−∞\mathcal L(\rho)=-\inftyL(ρ)=−∞ for ρ<0\rho<0ρ<0. Reading it as Kc≤max⁡(ρ,0)\mathcal K_c\le\max(\rho,0)Kc​≤max(ρ,0) would make every Legendre transform +∞+\infty+∞.
  • λc\lambda cλc uses the paper's 0⋅∞=∞0\cdot\infty=\infty0⋅∞=∞ (Mathlib's product has 0⋅∞=00\cdot\infty=00⋅∞=0). This matters for λ=0\lambda=0λ=0: the supremum is then over {x:c(x^,x)<∞}\{x:c(\widehat x,x)<\infty\}{x:c(x,x)<∞}.
  • "min" is attainment plus lower bound (IsLeast). Concavity, convexity and monotonicity of extended-real functions are stated as explicit inequalities with real weights. Lower semi-continuity "on [0,∞)[0,\infty)[0,∞)" is relative to [0,∞)[0,\infty)[0,∞).
  • P^\widehat{\mathbb P}P-measurability is NullMeasurable. Disclosed reading: in the goal and in the fixed-λ\lambdaλ milestone, the measurability of the supremum functions is stated explicitly next to the duality formula, because the paper's expectation in (D) presupposes it and (IP) contains it. Lemma 2's statement on G\mathcal GG assumes this measurability for λ>0\lambda>0λ>0, for the same reason.
  • Ruled out: a goal that assumes (IP) and concludes (D) states only one direction. So does a goal that drops attainment, or uses Mathlib's 0⋅∞=00\cdot\infty=00⋅∞=0. All three are weaker theorems.

A complete development needs the one-dimensional Fenchel–Moreau theorem for extended-real functions on R\mathbb RR, gluing and mixing of couplings with a fixed first marginal, and Fatou's lemma for extIntegral. Each is reusable well beyond this mission. Contributions of any of these as separate lemmas are welcome.

Selected references

  • L. Zhang, J. Yang, R. Gao, A Short and General Duality Proof for Wasserstein Distributionally Robust Optimization, arXiv:2205.00362v4, 2024. https://arxiv.org/abs/2205.00362
  • J. Blanchet, K. Murthy, Quantifying Distributional Model Risk via Optimal Transport, Mathematics of Operations Research 44(2):565–600, 2019. https://arxiv.org/abs/1604.01446
  • R. Gao, A. Kleywegt, Distributionally Robust Stochastic Optimization with Wasserstein Distance, Mathematics of Operations Research 48(2):603–655, 2023. https://arxiv.org/abs/1604.02199
  • P. Mohajerin Esfahani, D. Kuhn, Data-driven Distributionally Robust Optimization Using the Wasserstein Metric, Mathematical Programming 171:115–166, 2018. https://arxiv.org/abs/1505.05116
  • R. T. Rockafellar, Convex Analysis, Princeton University Press, 1970. https://doi.org/10.1515/9781400873173
12 thms1 active userReviewed
Operations ResearchProbabilityStochastic Systems·Captain: mikedeng1

A Stochastic Control Approach to No-Arbitrage Bounds Given Marginals, with an Application to Lookback Options: The Robust Superhedging Bound of g(X*_T) Given the Law of X_T Equals μ^HL(g)Research Paper

Model-free bounds for lookback options

A lookback option pays a function of the running maximum of the underlying asset over the life of the contract. When the prices of European call options of all strikes at the maturity are quoted, the risk-neutral law μ\muμ of the terminal price is known, but the law of the whole path is not. The robust (model-free) superhedging cost of the lookback payoff is the cheapest initial capital that, combined with a static position in the quoted calls and dynamic trading in the underlying, dominates the payoff in every model consistent with μ\muμ.

Hobson (Finance Stoch. 1998) computed this cost for g(x)=xg(x)=xg(x)=x by a pathwise inequality, and identified the extremal model through the Azéma–Yor solution of the Skorokhod embedding problem (Azéma–Yor 1979). Galichon, Henry-Labordère and Touzi (Ann. Appl. Probab. 2014, arXiv:1401.3921) recast model-free bounds as a dual stochastic control problem in which the marginal constraint is penalised by a Lagrange multiplier λ\lambdaλ. Their Theorem 3.1 recovers Hobson's bound for every C1C^1C1 nondecreasing ggg from that dual, with an explicit optimal multiplier and stopping time. The result is one of the founding examples of martingale optimal transport.

Setting

Let BBB be a real Brownian motion with continuous paths and B0=0B_0=0B0​=0, adapted to a filtration (Ft)t≥0(\mathcal F_t)_{t\ge0}(Ft​)t≥0​ with increments independent of the past, and let Xt=X0+BtX_t=X_0+B_tXt​=X0​+Bt​ for a spot X0∈RX_0\in\mathbb RX0​∈R. Write Xτ∗=max⁡t≤τXtX^*_\tau=\max_{t\le\tau}X_tXτ∗​=maxt≤τ​Xt​. Let T∞\mathcal T_\inftyT∞​ be the set of stopping times τ\tauτ for which the stopped process (Xt∧τ)t≥0(X_{t\wedge\tau})_{t\ge0}(Xt∧τ​)t≥0​ is a uniformly integrable martingale.

The marginal is a probability measure μ\muμ on R\mathbb RR with finite first moment and mean ∫x μ(dx)=X0\int x\,\mu(dx)=X_0∫xμ(dx)=X0​. Its call prices are c(x)=∫(y−x)+μ(dy)c(x)=\int(y-x)^+\mu(dy)c(x)=∫(y−x)+μ(dy). The payoff is ξ=g(X∗)\xi=g(X^*)ξ=g(X∗) with g:R→R+g:\mathbb R\to\mathbb R_+g:R→R+​ of class C1C^1C1 and nondecreasing.

For a multiplier λ:R→R\lambda:\mathbb R\to\mathbb Rλ:R→R and τ∈T∞\tau\in\mathcal T_\inftyτ∈T∞​ set J(λ,τ)=E[g(Xτ∗)−λ(Xτ)]J(\lambda,\tau)=\mathbb E[g(X^*_\tau)-\lambda(X_\tau)]J(λ,τ)=E[g(Xτ∗​)−λ(Xτ​)] and uλ(X0,X0)=sup⁡τ∈T∞J(λ,τ)u^\lambda(X_0,X_0)=\sup_{\tau\in\mathcal T_\infty}J(\lambda,\tau)uλ(X0​,X0​)=supτ∈T∞​​J(λ,τ). The admissible multipliers are

Λ0μ={λ∈L1(μ): sup⁡τ∈T∞E[λ(Xτ)−]<∞},\Lambda^\mu_0=\Big\{\lambda\in\mathbb L^1(\mu):\ \sup_{\tau\in\mathcal T_\infty}\mathbb E[\lambda(X_\tau)^-]<\infty\Big\},Λ0μ​={λ∈L1(μ): τ∈T∞​sup​E[λ(Xτ​)−]<∞},

and the reduced superhedging problem (3.7) is

Uμ(ξ)=inf⁡λ∈Λ0μ{∫λ dμ+uλ(X0,X0)}.U^\mu(\xi)=\inf_{\lambda\in\Lambda^\mu_0}\Big\{\int\lambda\,d\mu+u^\lambda(X_0,X_0)\Big\}.Uμ(ξ)=λ∈Λ0μ​inf​{∫λdμ+uλ(X0​,X0​)}.

The barycenter function is b(x)=∫[x,∞)y μ(dy)/μ([x,∞))b(x)=\int_{[x,\infty)}y\,\mu(dy)/\mu([x,\infty))b(x)=∫[x,∞)​yμ(dy)/μ([x,∞)) for μ((x,∞))>0\mu((x,\infty))>0μ((x,∞))>0 and b(x)=xb(x)=xb(x)=x otherwise. The Hardy–Littlewood transform μHL\mu^{HL}μHL is the probability measure with

μHL([y,∞))=inf⁡ξ<yc(ξ)y−ξ.\mu^{HL}([y,\infty))=\inf_{\xi<y}\frac{c(\xi)}{y-\xi}.μHL([y,∞))=ξ<yinf​y−ξc(ξ)​.

The Azéma–Yor stopping time is τ∗=inf⁡{t>0:Xt∗≥b(Xt)}\tau^*=\inf\{t>0:X^*_t\ge b(X_t)\}τ∗=inf{t>0:Xt∗​≥b(Xt​)}, and the candidate multiplier is

λ∗(x)=∫ℓμx ⁣∫ℓμyg′(b(ξ)) b(dξ)b(ξ)−ξ dy,\lambda^*(x)=\int_{\ell^\mu}^{x}\!\int_{\ell^\mu}^{y}g'(b(\xi))\,\frac{b(d\xi)}{b(\xi)-\xi}\,dy ,λ∗(x)=∫ℓμx​∫ℓμy​g′(b(ξ))b(ξ)−ξb(dξ)​dy,

that is, the convex function vanishing below ℓμ\ell^\muℓμ that solves the weak ODE (3.21) with ψ=b−1\psi=b^{-1}ψ=b−1.

Formalization targets

Goal: Theorem 3.1

If sup⁡τ∈T∞E[g(Xτ∗)]<∞\sup_{\tau\in\mathcal T_\infty}\mathbb E[g(X^*_\tau)]<\inftysupτ∈T∞​​E[g(Xτ∗​)]<∞ and μHL(g)=∫g dμHL<∞\mu^{HL}(g)=\int g\,d\mu^{HL}<\inftyμHL(g)=∫gdμHL<∞, then

Uμ(ξ)=μ(λ∗)+J(λ∗,τ∗)=μHL(g).U^\mu(\xi)=\mu(\lambda^*)+J(\lambda^*,\tau^*)=\mu^{HL}(g).Uμ(ξ)=μ(λ∗)+J(λ∗,τ∗)=μHL(g).

The goal is the paper's theorem for the reduced problem (3.7), in its full two-equality form: the value, its attainment by (λ∗,τ∗)(\lambda^*,\tau^*)(λ∗,τ∗), and its closed form.

Milestones

  1. The Neumann condition (3.23) for Peskir's candidate vψv^\psivψ.
  2. Lemma 3.1: uλ≤vψu^\lambda\le v^\psiuλ≤vψ for convex λ∈Λ0μ\lambda\in\Lambda^\mu_0λ∈Λ0μ​ and every relaxed free boundary ψ∈Ψλ\psi\in\Psi^\lambdaψ∈Ψλ.
  3. Step (1) of Lemma 3.2: μ(λ)−λ(X0)=∫(c−c0) dλ′′\mu(\lambda)-\lambda(X_0)=\int(c-c_0)\,d\lambda''μ(λ)−λ(X0​)=∫(c−c0​)dλ′′, with c0(x)=(X0−x)+c_0(x)=(X_0-x)^+c0​(x)=(X0​−x)+.
  4. Lemma 3.2: μ(λ)+uλ(X0,X0)≤g(X0)+∫φ(ψ(m),m)g′(m) dm\mu(\lambda)+u^\lambda(X_0,X_0)\le g(X_0)+\int\varphi(\psi(m),m)g'(m)\,dmμ(λ)+uλ(X0​,X0​)≤g(X0​)+∫φ(ψ(m),m)g′(m)dm.
  5. The pointwise minimizations (3.27) and (3.28).
  6. Steps (2) and (3) of Lemma 3.3: properties of λ∗\lambda^*λ∗, and the integration by parts giving μHL(g)\mu^{HL}(g)μHL(g).
  7. Lemma 3.3, the upper bound Uμ(ξ)≤μHL(g)U^\mu(\xi)\le\mu^{HL}(g)Uμ(ξ)≤μHL(g).
  8. The Azéma–Yor facts: τ∗∈T∞\tau^*\in\mathcal T_\inftyτ∗∈T∞​, Xτ∗∼μX_{\tau^*}\sim\muXτ∗​∼μ, Xτ∗∗∼μHLX^*_{\tau^*}\sim\mu^{HL}Xτ∗∗​∼μHL.
  9. The lower bound Uμ(ξ)≥μHL(g)U^\mu(\xi)\ge\mu^{HL}(g)Uμ(ξ)≥μHL(g) of Section 3.4.

Significance

The theorem identifies the model-free price of a lookback payoff as an explicit functional of the call prices, μHL(g)\mu^{HL}(g)μHL(g), and exhibits the extremal model (Brownian motion stopped at τ∗\tau^*τ∗) and the optimal static hedge (λ∗\lambda^*λ∗). It shows that the dual stochastic control formulation is sharp on a nontrivial path-dependent payoff, which is the template for later work on martingale optimal transport with path-dependent costs.

The result has been proved since 2014 (and Hobson's bound since 1998). It has not been formalized. A complete development would provide machine-checked versions of the Azéma–Yor embedding, the law of the maximum at the embedding, a verification theorem for a reflected optimal stopping problem with a nonsmooth obstacle, and the convex-analytic identities linking call prices to second-derivative measures. Each of these is reusable well beyond this paper.

Difficulty

The upper bound requires a verification argument for an optimal stopping problem of the pair (X,X∗)(X,X^*)(X,X∗) with a reflection at the diagonal, where the candidate vψv^\psivψ is only as regular as the convex multiplier λ\lambdaλ: second derivatives are measures and the free boundary ψ\psiψ solves its ODE only in a relaxed sense. An Itô formula for C2C^2C2 functions does not apply; an Itô–Tanaka (local time) argument for concave functions of XXX, with the reflection term killed by the Neumann condition, is needed, followed by a localisation that uses uniform integrability and the integrability condition in Λ0μ\Lambda^\mu_0Λ0μ​. The lower bound needs the Azéma–Yor embedding and the law of Xτ∗∗X^*_{\tau^*}Xτ∗∗​, neither of which is in Mathlib; the naive appeal to "the embedding exists" does not give the joint law of the stopped value and the maximum.

Formalization scope

The Lean development lives in the namespace LookbackMOT.HL and uses Mathlib's IsBrownianReal, IsStoppingTime, stoppedProcess, stoppedValue, Martingale, UniformIntegrable and HasLaw. Committed conventions:

  • What is formalized. The goal is the reduced problem (3.7), not the superhedging problem (2.6): (2.6) needs stochastic integrals, which Mathlib does not have. The bridge between them (Proposition 2.1, the claim (3.4), Proposition 3.1) is outside this mission. The theorem's hypothesis sup⁡P∈P∞EP[ξ+]<∞\sup_{\mathbb P\in\mathcal P_\infty}\mathbb E^{\mathbb P}[\xi^+]<\inftysupP∈P∞​​EP[ξ+]<∞ is stated through Proposition 3.1 with λ=0\lambda=0λ=0 as sup⁡τ∈T∞E[g(Xτ∗)]<∞\sup_{\tau\in\mathcal T_\infty}\mathbb E[g(X^*_\tau)]<\inftysupτ∈T∞​​E[g(Xτ∗​)]<∞. The horizon TTT disappears: the stopping problem is over T∞\mathcal T_\inftyT∞​ with time in [0,∞)[0,\infty)[0,∞).
  • Standing hypotheses. The Brownian motion lives on an arbitrary filtered probability space with everywhere-continuous paths and B0=0B_0=0B0​=0; the paper's canonical space is one instance. The mean condition and integrability of μ\muμ (p. 7) are assumed throughout. The spot X0X_0X0​ is any real number. μ([0,∞))=1\mu([0,\infty))=1μ([0,∞))=1 is assumed only in (3.27).
  • Added conditions. Every τ∈T∞\tau\in\mathcal T_\inftyτ∈T∞​ is a.s. finite (implied by uniform integrability). Every λ∈Λ0μ\lambda\in\Lambda^\mu_0λ∈Λ0μ​ is measurable.
  • Expectations of payoffs are E[φ+]−E[φ−]\mathbb E[\varphi^+]-\mathbb E[\varphi^-]E[φ+]−E[φ−] in the extended reals, with ∞−∞=−∞\infty-\infty=-\infty∞−∞=−∞; value functions are extended reals.
  • Derivatives. λ′\lambda'λ′ is the right derivative and λ′′\lambda''λ′′ its Stieltjes measure. The weak ODE (3.21) is used both as a change of variables (λ′′\lambda''λ′′ is the image of g′(m)/(m−ψ(m)) dmg'(m)/(m-\psi(m))\,dmg′(m)/(m−ψ(m))dm under ψ\psiψ) and on intervals (λ′(ψ(y2))−λ′(ψ(y1))=∫y1y2g′(m)/(m−ψ(m)) dm\lambda'(\psi(y_2))-\lambda'(\psi(y_1))=\int_{y_1}^{y_2}g'(m)/(m-\psi(m))\,dmλ′(ψ(y2​))−λ′(ψ(y1​))=∫y1​y2​​g′(m)/(m−ψ(m))dm), the two forms the paper's proofs use.
  • The multiplier λ∗\lambda^*λ∗. It is written as λ∗(x)=∫X0<m<rμg′(m)(x−b−1(m))+/(m−b−1(m)) dm\lambda^*(x)=\int_{X_0<m<r^\mu}g'(m)(x-b^{-1}(m))^+/(m-b^{-1}(m))\,dmλ∗(x)=∫X0​<m<rμ​g′(m)(x−b−1(m))+/(m−b−1(m))dm, the change of variables m=b(ξ)m=b(\xi)m=b(ξ) in (3.14) and the solution of (3.21) with ψ=b−1\psi=b^{-1}ψ=b−1 that the proof of Lemma 3.3 uses. It agrees with the b(dξ)b(d\xi)b(dξ) formula when bbb is continuous; at the jumps of bbb (atoms of μ\muμ) the Lebesgue–Stieltjes reading of (3.14) can fail to be μ\muμ-integrable.
  • Measures given by identities. μHL\mu^{HL}μHL and λ′′\lambda''λ′′ enter as measures satisfying their defining identities on intervals; each exists and is unique.
  • Printed slips not copied. (3.12) prints the numerator c(y)c(y)c(y); the formalization uses c(ξ)c(\xi)c(ξ). bbb, μHL\mu^{HL}μHL and λ∗\lambda^*λ∗ are extended from x≥0x\ge0x≥0 to all of R\mathbb RR by the same formulas.

No trivializing reading is available. Payoff expectations are never Bochner integrals (which would be 000 for non-integrable payoffs). τ≡0\tau\equiv0τ≡0 lies in T∞\mathcal T_\inftyT∞​ and λ≡0\lambda\equiv0λ≡0 in Λ0μ\Lambda^\mu_0Λ0μ​, so neither the supremum nor the infimum is over an empty set. The predicates for μHL\mu^{HL}μHL and λ′′\lambda''λ′′ are satisfiable (witnessed for μ=δX0\mu=\delta_{X_0}μ=δX0​​ in a sorry-free check). XτX_\tauXτ​ is only evaluated where τ<∞\tau<\inftyτ<∞ a.s. Every division has a positive denominator on the sets that carry mass.

Contributions welcome: the Azéma–Yor embedding and the law of the maximum; an Itô–Tanaka or local-time calculus sufficient for concave functions of Brownian motion and its maximum; the call-price identities of convex analysis; and the analysis of μHL\mu^{HL}μHL.

Selected references

  • A. Galichon, P. Henry-Labordère, N. Touzi, A stochastic control approach to no-arbitrage bounds given marginals, with an application to lookback options, Ann. Appl. Probab. 24 (2014) 312–336. https://arxiv.org/abs/1401.3921 (v1, the version cited)
  • D. Hobson, Robust hedging of the lookback option, Finance Stoch. 2 (1998) 329–347. https://doi.org/10.1007/s007800050046
  • J. Azéma, M. Yor, Une solution simple au problème de Skorokhod, Séminaire de Probabilités XIII, LNM 721 (1979) 90–115. https://doi.org/10.1007/BFb0070852
  • G. Peskir, Optimal stopping of the maximum process: the maximality principle, Ann. Probab. 26 (1998) 1614–1640. https://doi.org/10.1214/aop/1022855875
  • L. Carraro, N. El Karoui, J. Obłój, On Azéma–Yor processes, their optimal properties and the Bachelier–drawdown equation, Ann. Probab. 40 (2012) 372–400. https://arxiv.org/abs/0902.1328
13 thms1 active userReviewed
PreviousPage 2 of 4Next

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