Regularization via Mass Transportation II: Wasserstein-Robust Linear Regression Equals Empirical Loss plus a Dual-Norm PenaltyResearch Paper
Motivation
Ordinary least squares and its robust relatives (least absolute deviations, Huber, -insensitive and quantile regression) fit a linear predictor by minimizing an average loss over the training sample. That average estimates the out-of-sample error poorly when the sample is small, and the usual fix is to add a regularization penalty such as a norm of the weights. Choosing that penalty is often a heuristic. Distributionally robust optimization gives one principled derivation of it: hedge against every data-generating distribution that is close to the empirical one in a Wasserstein distance, and minimize the worst-case expected loss.
S. Shafieezadeh-Abadeh, D. Kuhn and P. Mohajerin Esfahani, Regularization via Mass Transportation (arXiv:1710.10016v3, 2019; JMLR 20, 2019), show that for linear regression with a convex Lipschitz loss this worst-case problem is exactly a regularized empirical risk problem, with an explicit dual-norm penalty. The same identity appears for the logistic loss in Shafieezadeh-Abadeh, Mohajerin Esfahani and Kuhn, Distributionally Robust Logistic Regression (NeurIPS 2015, arXiv:1509.09259). For a general convex loss it is Theorem 10 of the tutorial by Kuhn, Mohajerin Esfahani, Nguyen and Shafieezadeh-Abadeh (arXiv:1908.08729). Blanchet, Kang and Murthy (arXiv:1610.05627) obtain the square-root Lasso from a type-2 transport cost. This mission formalizes the regression theorem of the first paper, Theorem 3.1(ii) on p. 8. The source PDF is the arXiv preprint v3, and every page and label cited here refers to it.
Setting
Data. Inputs are and outputs are . A pair is written . The training samples are for , and is their empirical distribution (§2.1, p. 5).
Hypotheses and loss. A weight vector defines the linear hypothesis . A univariate convex loss defines the regression loss (§3.1, p. 8). The residual is the pairing of with the vector .
Norms. carries an arbitrary norm with dual norm (§1.1, p. 4). The Lipschitz modulus of is , and the convex conjugate is (§1.1).
Wasserstein ball. With transport cost , the Wasserstein distance (Definition 2.2, p. 7) is
where the infimum runs over couplings of and . The ball of radius is (3). The distributionally robust regression problem is
Formalization targets
Goal: Theorem 3.1(ii), p. 8
Let , , , and let be nonnegative, convex and Lipschitz continuous. Then for every
so (4) and the regularized problem (6) have the same optimal value.
Milestones
- Lemma A.1 (p. 28). The worst case over the ball equals . This milestone is linked to the published, proved
WassersteinDRO.Duality.strong_duality_worst_case_risk_v2, which covers it for . - Lemma A.3 (p. 29). For , equals if , and otherwise.
- End of the proof of Lemma A.3 (p. 30). .
- The inf-over- display in the proof of Theorem 3.1(ii) (pp. 30–31). The worst case equals .
Significance
The result. The theorem turns an infinite-dimensional min–max problem over distributions into a finite convex program over : an empirical average plus a norm penalty. The penalty is not but , because the transport cost moves outputs as well as inputs. It scales with the radius and with the Lipschitz modulus of the univariate loss. With the Huber, -insensitive and pinball losses it gives Corollaries 3.2–3.4 of the paper. It also gives a statistical reading of the regularization weight as a Wasserstein radius, which the paper's §4 turns into generalization bounds.
Formalizing it. The theorem is proved in the paper; none of its items is formalized yet except Lemma A.1. Lemma A.1 is available in a general form (any , any closed support set, ) as a proved platform theorem from the mission Wasserstein Distributionally Robust Optimization. The per- identity also follows from the proved WassersteinDRO.Duality.convex_loss_p1_v2 (Theorem 10 of the tutorial, also present as WassersteinDRO.Regularization.convex_loss_p1_v2; the public mission Wasserstein Distributionally Robust Optimization IV has it as goal) once one shows that . No platform item states that factorization. What this mission adds is the paper's explicit form of the penalty, Lemma A.3 (the inner supremum for an arbitrary convex Lipschitz loss and an arbitrary norm), and the conjugate description of the Lipschitz modulus. The last two are reusable in classification (mission I of this series states them again in its own namespace) and in every Wasserstein-regularization result with linear hypotheses.
Difficulty
The obvious argument is to write the worst case as a supremum over perturbations of the samples and bound each perturbed loss by its Lipschitz constant. That gives only the inequality "", and only for one Lipschitz constant. The identity needs two further steps that this bound does not supply. First, the bound must be attained: the supremum over distributions has to be shown to reach , a matching lower bound that a Lipschitz estimate cannot give. Second, must be the modulus, not any constant: an upper Lipschitz constant makes the identity false. In Lemma A.3 the case sits exactly on the boundary between a finite and an infinite supremum. A further point is that the duality of Lemma A.1 needs , while the theorem includes .
Formalization scope
- Space. with an arbitrary norm is an abstract finite-dimensional real normed space
Ewith its Borel σ-algebra. A continuous linear isomorphisme : E ≃L[ℝ] (Fin n → ℝ) × ℝreads off inputs and outputs. The theorem therefore covers every norm on ; fixing a concrete norm would prove it for that norm only. The functional ispairing e w, and is its operator norm. - Published objects. The ball, the worst case, the empirical distribution and the Lipschitz modulus are the published definitions
WassersteinDRO_Duality_ambiguitySet,_worstCaseRisk_v2,_empiricalDistributionand_lipschitzModulus. The worst case is taken in the extended reals, and expectations follow the convention ofnominalRisk_v2(no junk value for non-integrable losses). takes values in . - Standing assumptions. is nonnegative, convex on and Lipschitz continuous; ; ; . The paper's (§2.1) is imposed as the standing loss-function assumption.
- Reading of "equivalent". The paper does not define the word. The goal states the per- identity that the proof establishes plus equality of optimal values. Attainment of the infimum is not claimed.
- Corrections. The printed display on p. 30 omits a factor and carries a stray in the constraint; milestone 4 states the corrected identity. The printed Lemma A.1 omits , which its proof uses; the linked platform theorem has it.
- Ruled out. The goal is not a restatement of Theorem 10 with of the composite loss: its right-hand side is the explicit average of (6) with of the univariate and the dual norm of .
- Welcome contributions. The factorization for a linear functional on a finite-dimensional normed space, conjugate calculus for univariate convex functions, and the evaluation of the worst case at .
Selected references
- S. Shafieezadeh-Abadeh, D. Kuhn, P. Mohajerin Esfahani, Regularization via Mass Transportation, arXiv:1710.10016v3, 2019; J. Mach. Learn. Res. 20(103), 2019. https://arxiv.org/abs/1710.10016
- D. Kuhn, P. Mohajerin Esfahani, V. A. Nguyen, S. Shafieezadeh-Abadeh, Wasserstein Distributionally Robust Optimization: Theory and Applications in Machine Learning, INFORMS TutORials, 2019. https://arxiv.org/abs/1908.08729
- P. Mohajerin Esfahani, D. Kuhn, Data-driven distributionally robust optimization using the Wasserstein metric, Math. Program. 171, 2018. https://arxiv.org/abs/1505.05116
- S. Shafieezadeh-Abadeh, P. Mohajerin Esfahani, D. Kuhn, Distributionally Robust Logistic Regression, NeurIPS, 2015. https://arxiv.org/abs/1509.09259
- J. Blanchet, Y. Kang, K. Murthy, Robust Wasserstein Profile Inference and Applications to Machine Learning, J. Appl. Probab. 56(3), 2019. https://arxiv.org/abs/1610.05627
- D. P. Bertsekas, Convex Optimization Theory, Athena Scientific, 2009 (cited as [9] in the paper for Propositions 5.3.1 and 5.5.4).