Papers
Topics
Authors
Recent
Search
2000 character limit reached

Data-Driven DRO via Optimal Transport

Updated 6 August 2025
  • Data-Driven DRO is a robust optimization technique that constructs ambiguity sets from sample data to immunize models against perturbations.
  • The approach leverages optimal transport discrepancies and metric learning to adaptively regularize models by reflecting the data's discriminative geometry.
  • Empirical results show improved training and testing performance, evidencing enhanced resilience to noise and outliers in high-dimensional settings.

A data-driven Distributionally Robust Optimization (DRO) approach leverages sample data to construct an ambiguity set—typically a statistical neighborhood of the empirical distribution—such that solutions are immunized against plausible perturbations of the underlying data-generating process. The central technical challenge is designing, calibrating, and optimizing over this neighborhood to balance performance and robustness, particularly in machine learning and statistical estimation tasks where overfitting to noise or outliers can be catastrophic.

1. Formulation: Data-Driven Ambiguity Sets via Optimal Transport

The core DRO formulation considered is

minβmaxPUδ(Pn)EP[l(X,Y,β)]\min_{\beta} \max_{P \in \mathcal{U}_{\delta}(P_n)} E_P[\, l(X, Y, \beta) \,]

where PnP_n is the empirical distribution and the ambiguity set Uδ(Pn)\mathcal{U}_{\delta}(P_n) is defined by an optimal transport discrepancy: Uδ(Pn)={P:Dc(P,Pn)δ}\mathcal{U}_{\delta}(P_n) = \left\{ P : D_c(P, P_n) \leq \delta \right\} with

Dc(P,Pn)=infπP(supp(P)×supp(Pn)),πU=P,πV=PnEπ[c(U,V)]D_c(P, P_n) = \inf_{\pi \in \mathcal{P}(\operatorname{supp}(P) \times \operatorname{supp}(P_n)),\, \pi_U = P,\, \pi_V = P_n} E_{\pi}[\, c(U, V) \,]

Here, c(u,v)c(u, v) is the cost associated with transporting mass from vv to uu. Previous work established that for appropriate cost functions c()c(\cdot), classical regularized estimators (such as Lasso, Support Vector Machines, regularized logistic regression) are special cases of the DRO problem, with the regularization parameter δ\delta interpretable as the radius or "budget" of the ambiguity set.

2. Data-Driven Learning of the Transport Cost: Metric Learning

The main methodological contribution is to learn the transport cost PnP_n0 from data itself, instead of fixing it a priori. For example, for classification or regression problems, a commonly used parametric form for the cost is a Mahalanobis distance: PnP_n1 where

PnP_n2

The matrix PnP_n3 is estimated by metric learning: using labeled data, one defines sets PnP_n4 (pairs to be close, labels agree) and PnP_n5 (pairs to be far, labels differ), and solves: PnP_n6 This ensures that the cost used in subsequent DRO accurately reflects the discriminative structure of the data—nearby samples with identical labels should be close, and samples with different labels should be far apart in the induced metric.

3. Explicit Regularization and Reformulations

Plugging the learned cost PnP_n7 into the DRO, several cases of the loss function allow an explicit reduction of the inner maximization, resulting in adaptive regularization. For linear regression with quadratic loss,

PnP_n8

In the logistic regression case,

PnP_n9

The regularization penalty is thus determined by the learned metric, yielding an adaptive regularization that reflects the local geometry of the data.

4. Computational Strategies: Dual Reformulation and SGD

For general (possibly nonlinear) losses or feature maps Uδ(Pn)\mathcal{U}_{\delta}(P_n)0, closed-form characterization of the maximization over Uδ(Pn)\mathcal{U}_{\delta}(P_n)1 is not available. The authors propose a stochastic optimization scheme:

  1. Initialization: Uδ(Pn)\mathcal{U}_{\delta}(P_n)2 empirical risk minimizer, Uδ(Pn)\mathcal{U}_{\delta}(P_n)3, small smoothing parameter Uδ(Pn)\mathcal{U}_{\delta}(P_n)4.
  2. Iterative Updates:

    • For each batch, sample Uδ(Pn)\mathcal{U}_{\delta}(P_n)5 points Uδ(Pn)\mathcal{U}_{\delta}(P_n)6 from a reference distribution Uδ(Pn)\mathcal{U}_{\delta}(P_n)7 (e.g., Gaussian).
    • For each data point Uδ(Pn)\mathcal{U}_{\delta}(P_n)8 compute:

    Uδ(Pn)\mathcal{U}_{\delta}(P_n)9

    where

    Uδ(Pn)={P:Dc(P,Pn)δ}\mathcal{U}_{\delta}(P_n) = \left\{ P : D_c(P, P_n) \leq \delta \right\}0

- Estimate gradients Uδ(Pn)={P:Dc(P,Pn)δ}\mathcal{U}_{\delta}(P_n) = \left\{ P : D_c(P, P_n) \leq \delta \right\}1 and perform a gradient update.

This stochastic smoothing/dual approach exploits the Fenchel duality structure of the DRO objective and allows efficient mini-batch optimization for high-dimensional or nonlinear models.

5. Empirical Performance and Adaptive Regularization

Empirical studies on benchmark datasets (e.g., UCI repository) demonstrate the efficacy of the data-driven DRO approach:

  • Both linear DRO (DRO-L) and nonlinear DRO (DRO-NL) reduce testing and training loss relative to plain logistic regression (LR) and Uδ(Pn)={P:Dc(P,Pn)δ}\mathcal{U}_{\delta}(P_n) = \left\{ P : D_c(P, P_n) \leq \delta \right\}2-regularized logistic regression (LRL1).
  • Prediction accuracy is consistently improved by DRO methods.
  • Learning the cost function adaptively focuses the uncertainty set—thus, the regularization acts primarily on directions in parameter space corresponding to high variability or low predictive stability.

This approach yields both theoretical and practical advantages: it provides a direct, interpretable link between probabilistic uncertainty and regularization, and empirical gains in generalization, especially in regimes with complex or high-dimensional data geometry.

6. Implementation Considerations and Limitations

  • Data requirements: Accurate metric learning requires sufficient labeled side information to discriminate Uδ(Pn)={P:Dc(P,Pn)δ}\mathcal{U}_{\delta}(P_n) = \left\{ P : D_c(P, P_n) \leq \delta \right\}3 and Uδ(Pn)={P:Dc(P,Pn)δ}\mathcal{U}_{\delta}(P_n) = \left\{ P : D_c(P, P_n) \leq \delta \right\}4 sets. In settings with scarce labels, the quality of the learned cost function (and thus robustness) diminishes.
  • Loss function class: Explicit analytical reformulation is available for certain losses (quadratic, logistic); more general losses require soft-max smoothing and stochastic optimization.
  • Computational cost: The dual stochastic gradient algorithm is efficient but introduces additional hyperparameters (e.g., smoothing Uδ(Pn)={P:Dc(P,Pn)δ}\mathcal{U}_{\delta}(P_n) = \left\{ P : D_c(P, P_n) \leq \delta \right\}5, batch size, number of inner samples Uδ(Pn)={P:Dc(P,Pn)δ}\mathcal{U}_{\delta}(P_n) = \left\{ P : D_c(P, P_n) \leq \delta \right\}6).
  • Regularization parameter selection: The neighborhood size Uδ(Pn)={P:Dc(P,Pn)δ}\mathcal{U}_{\delta}(P_n) = \left\{ P : D_c(P, P_n) \leq \delta \right\}7 should be tuned (e.g., via cross-validation) to optimize test performance or selected by statistical criteria based on the hypothesis class and sample size.

7. Connections and Broader Implications

This data-driven DRO framework—with learned optimal transport cost—unifies the interpretations of regularized estimators, optimal transport-based uncertainty sets, and metric learning. The regularization is both adaptive (reflecting learned geometry) and probabilistically interpretable (as a budget for adversarial perturbation):

  • Estimators correspond to specific choices of cost; adaptive regularization based on learned Uδ(Pn)={P:Dc(P,Pn)δ}\mathcal{U}_{\delta}(P_n) = \left\{ P : D_c(P, P_n) \leq \delta \right\}8 enhances generalization (Blanchet et al., 2017).
  • The framework allows interpretation of classical and contemporary algorithms (e.g., SVM, Lasso, regularized logistic regression) as instances of DRO.
  • The methodology can be naturally extended to nonlinear representations (feature maps, kernels), complex output spaces, and more general optimal transport costs—subject to computational tractability via stochastic or dual optimization.

This approach provides a principled, data-dependent pathway for tailoring robustness in modern learning systems, unifying several directions in robust statistics, adversarial machine learning, and regularization theory under the lens of optimal transport-based DRO.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Data-Driven DRO Approach.