Abstract
Distributionally Robust Optimization (DRO) provides a framework for building machine learning models that generalize effectively under distribution shifts. However, the inherent "min-max" structure of DRO problems makes them computationally expensive to solve using traditional methods. This paper introduces Dynamically Sampled Subgradient Descent (DSSG), an algorithm that utilizes a strategic subsampling approach to achieve convergence up to three orders of magnitude faster than standard techniques while maintaining rigorous theoretical guarantees.
Introduction: The Challenge of Robustness
Most machine learning models are trained using Empirical Risk Minimization (ERM), which assumes the training data is a perfect proxy for the real-world distribution. When test data shifts—a frequent occurrence in production—ERM models often suffer significant performance degradation.
Distributionally Robust Optimization (DRO) addresses this by optimizing for the "worst-case" scenario within a neighborhood of the training distribution. While robust, this creates a complex min-max optimization problem. Standard Stochastic Gradient Descent (SGD) is often ineffective here because the "max" operator introduces a bias when calculated over small mini-batches. Traditionally, obtaining an accurate gradient required processing the entire dataset at each step, rendering DRO impractical for large-scale applications.
Methods: Dynamically Sampled Subgradient Descent
The proposed Algorithm 1: Dynamically Sampled Subgradient Descent (DSSG) overcomes the computational bottleneck of DRO through a novel inner-loop optimization strategy.
As shown in the algorithm above, the core innovation lies in the dynamic growth of the subsample size $M_t$. Rather than solving the maximization over the full dataset $N$, DSSG solves it over a subset that grows over time (e.g., geometrically). The authors demonstrate that while subsampling initially induces a bias, this bias vanishes as $M_t$ approaches $N$. They prove that a geometric growth rate provides the optimal balance between reducing stochastic error and minimizing total computational work.
Experimental Results
The researchers evaluated DSSG across 14 diverse datasets, including high-dimensional text data like RCV1 (800,000 samples) and bioinformatics datasets like HIV-1 Protease Cleavage.
Performance and Speed
DSSG demonstrated massive efficiency gains, solving DRO formulations 2 to 3 orders of magnitude faster than regularized ERM using 10-fold cross-validation. For instance, on the RCV1 dataset, DSSG reached a solution in approximately 9 minutes, whereas the cross-validated ERM approach required nearly 200 hours.
As illustrated in the convergence plots, DSSG (blue) significantly outperforms standard SGD (red) and Full Subgradient (green) methods in terms of both speed and final objective value. Furthermore, the DRO approach consistently yielded lower misclassification rates on test data compared to standard ERM, suggesting that DRO can serve as a more efficient alternative to traditional hyperparameter tuning via cross-validation.
Conclusion and Future Work
DSSG effectively bridges the gap between the theoretical benefits of Distributionally Robust Optimization and the practical requirements of large-scale machine learning. By dynamically increasing sample sizes, the algorithm mitigates the bias inherent in min-max problems without the prohibitive cost of full-batch processing.
While the current work focuses primarily on $\phi$-divergence and convex loss functions, future research directions include extending these dynamic sampling frameworks to non-convex deep learning models and other risk-sensitive optimization problems, such as chance-constrained programming.
Summary updated