Fast Distributionally Robust Learning with Variance Reduced Min-Max Optimization

Yaodong Yu, Tianyi Lin, Eric Mazumdar, Michael I. Jordan

TL;DR

This paper introduces novel, efficient algorithms (SEVR and SPPRR) for Distributionally Robust Supervised Learning (DRSL) using Wasserstein distance. These algorithms tackle the limitations of existing methods by reformulating the problem as a structured min-max optimization problem and leveraging variance reduction and random reshuffling for faster convergence, especially on large datasets.

What Problem Does This Paper Address?

Machine learning models are increasingly deployed in real-world scenarios where the data distribution can shift over time (e.g., due to selection bias or nonstationarity). Traditional Empirical Risk Minimization (ERM) methods, which assume a fixed data distribution, are vulnerable to these shifts, leading to degraded performance or even adversarial attacks. Distributionally Robust Supervised Learning (DRSL) aims to build models that are robust to such distribution shifts. Specifically, this paper focuses on Wasserstein DRSL, a popular framework that uses the Wasserstein distance to define an "ambiguity set" of possible data distributions. However, existing algorithms for Wasserstein DRSL struggle with large-scale problems because they often involve solving complex subproblems and cannot effectively utilize stochastic gradients, hindering their practical applicability.

Methods

The authors tackle this challenge by reformulating the Wasserstein DRSL problem with generalized linear losses as a smooth, finite-sum, convex-concave min-max optimization problem. This reformulation is key because it allows for the application of specialized optimization techniques. They then propose two novel stochastic algorithms:

  1. Stochastic Extragradient with Variance Reduction (SEVR): This algorithm combines the extragradient method with variance reduction techniques (similar to SVRG) to accelerate convergence. It's designed to handle the finite-sum structure and smoothness of the reformulated problem.
  2. Stochastic Proximal Point with Random Reshuffling (SPPRR): This algorithm leverages random reshuffling of data, a technique known for its practical efficiency in optimization, and combines it with a proximal point update. This is presented as the first stochastic first-order algorithm for min-max optimization that uses random reshuffling.

Both algorithms are theoretically analyzed to achieve fast, finite-time convergence rates, outperforming existing methods.

Datasets

The paper evaluates their proposed algorithms on:

  • Synthetic datasets: Generated with varying numbers of samples (n = 5,000, n = 10,000) and a fixed dimensionality (d = 100).
  • LIBSVM datasets: Specifically, the "w8a" dataset is used.
  • Additional LIBSVM datasets: Used for performance comparison under perturbations (binary datasets).

Key Insights and Ideas

  • Reformulation is Crucial: The core insight is that by reformulating Wasserstein DRSL as a structured min-max optimization problem (rather than a non-smooth convex one), it becomes amenable to efficient stochastic optimization techniques.
  • Variance Reduction + Extragradient = Speed: Combining variance reduction (SEVR) with extragradient methods provides a powerful way to accelerate convergence in this min-max setting, especially for large datasets where full gradient computations are prohibitive.
  • Random Reshuffling for Min-Max: SPPRR demonstrates that random reshuffling, while challenging to analyze theoretically, can be effectively adapted to min-max optimization problems, offering practical speedups.
  • Theoretical Guarantees for Weak Assumptions: The proposed algorithms achieve fast convergence rates under weaker assumptions (convex-concave) compared to some prior work that required strong convexity.

Key Results

  • Faster Convergence: Both SEVR and SPPRR demonstrate significantly faster convergence rates compared to existing baseline methods (both for convex reformulations and general min-max algorithms) on synthetic and real datasets.
  • Scalability: The algorithms are shown to be scalable to large datasets, with convergence rates that depend favorably on the number of samples (n). For instance, SEVR achieves a total gradient evaluation complexity of O(n log(1/ε)).
  • Robustness: Experiments in Appendix D show that WDSRL (their Wasserstein DRSL approach) achieves better robustness than standard ERM and DRSL with f-divergences, particularly under Wasserstein distance perturbations.
  • Parameter Sensitivity: Experiments suggest that SEVR's performance is robust to batch size, and SPPRR's performance is stable with a small number of fixed-point iterations (M=2).

Limitations and Future Work

  • Generalization of Loss Functions: While the paper focuses on generalized linear losses, extending the framework to more complex loss functions could be a future direction.
  • Theoretical Analysis of Random Reshuffling: While SPPRR shows strong empirical performance, further theoretical understanding of random reshuffling in min-max optimization could be beneficial.
  • Practical Hyperparameter Tuning: While the paper suggests default values for parameters like M in SPPRR, further research into adaptive parameter selection could enhance practical usability.
  • Comparison with More Advanced Methods: The paper compares against established methods, but future work could explore comparisons with even more recent or specialized algorithms.

Summary updated

BibTeX
@inproceedings{yu2022fast,
  author = {Yaodong Yu and Tianyi Lin and Eric Mazumdar and Michael I. Jordan},
  title = {{Fast Distributionally Robust Learning with Variance Reduced Min-Max Optimization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
  url = {https://openreview.net/forum?id=Hztv0QwRYd},
}
Figure