Unbiased Gradient Estimation for Distributionally Robust Learning

Soumyadip Ghosh, Mark S. SquillantearXiv 2020

Introduction

Distributionally Robust Learning (DRL) is a powerful framework for training models that generalize well under distribution shifts. Unlike standard Empirical Risk Minimization (ERM), which assumes training data perfectly represents the test environment, DRL optimizes for the "worst-case" scenario within a defined uncertainty set.

However, DRL is computationally intensive. It involves a "min-max" optimization problem where estimating the gradient of the inner maximization using mini-batches introduces bias. Traditionally, obtaining an unbiased gradient requires processing the entire dataset at each step, making DRL difficult to scale to massive modern datasets.

The GSSG Algorithm

To address this scalability bottleneck, the authors introduce GSSG (Giles-style Sampled Subgradient descent). The algorithm leverages Multi-level Monte Carlo (MLMC) randomization to produce unbiased gradient estimates using only small, randomized subsets of data.

Algorithm 1: Zero-Bias Sampled Subgradient Descent

The core innovation lies in randomizing the scale of the gradient estimate. By sampling a level $\tau$ from a geometric distribution and computing weighted differences between estimates at different scales, the algorithm creates a "telescoping sum" that mathematically cancels out the bias. This allows the expected computation time per iteration to remain independent of the total dataset size $N$.

Experimental Evaluation

The authors evaluated GSSG across 14 datasets, including the large-scale Reuters Corpus Volume I (RCV1) and the HIV-1 Protease Cleavage dataset.

Performance on Large-Scale Data

On the RCV1 dataset (~800,000 samples), GSSG demonstrates its primary strength: scalability. While previous state-of-the-art methods like PSSG attempt to manage bias by slowly increasing batch sizes, GSSG eliminates it entirely through randomization.

Convergence of GSSG vs. baselines on the RCV1 (Reuters) dataset.

As shown in the figure above, GSSG (black line) converges significantly faster in terms of cumulative samples compared to Stochastic Gradient Descent (SGD) and Proportional Sampled Subgradient (PSSG). In terms of wall-clock time, GSSG achieved robust performance on RCV1 in just 441 seconds, compared to over 700,000 seconds required for standard ERM with 10-fold cross-validation.

Key Insights and Limitations

  • Scalability vs. Variance: GSSG's advantage grows with dataset size. On smaller datasets (like HIV-1), the variance introduced by MLMC randomization can make the algorithm noisier and slower to settle than biased mini-batch approaches.
  • Efficiency: The authors show that running a single DRL optimization can produce a model with similar or better generalization than the traditional "Train + 10-fold CV" pipeline, but at a fraction of the time.
  • Future Directions: While the current theory focuses on convex problems, the authors suggest potential applications in non-convex deep learning, which remains an open area for more rigorous theoretical exploration.

Summary updated

BibTeX
@misc{ghosh2020unbiased,
  author = {Soumyadip Ghosh and Mark S. Squillante},
  title = {{Unbiased Gradient Estimation for Distributionally Robust Learning}},
  year = {2020},
  eprint = {2012.12367},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2012.12367},
}
Figure