Optimal Rates for Robust Stochastic Convex Optimization

Changyu Gao, Andrew Lowy, Xingyu Zhou, Stephen J. Wright

Authors: Changyu Gao, Andrew Lowy, Xingyu Zhou, and Stephen J. Wright

Introduction

In the field of robust machine learning, a fundamental challenge is optimizing convex functions when a fraction of the training data has been maliciously tampered with. This paper provides a definitive answer to this problem by introducing new algorithms that achieve the theoretical limits of performance—minimax-optimal rates—while requiring significantly fewer samples and more realistic assumptions than previous state-of-the-art methods.

Problem Statement: Robustness in Stochastic Convex Optimization

Standard Stochastic Convex Optimization (SCO) assumes data is drawn from a clean distribution. However, in real-world scenarios, models often face data poisoning, modeled here by the $\epsilon$-contamination framework. In this model, an adversary replaces a small fraction ($\epsilon$) of the training samples with malicious outliers.

Previous leading methods, such as the SEVER algorithm, suffered from two primary limitations:

  1. Suboptimal Sample Complexity: They required an excessively large number of samples to reach theoretical error bounds.
  2. Stringent Assumptions: They required every individual sample function to be "well-behaved" (both smooth and Lipschitz). In practice, even common distributions like the normal distribution can produce individual samples with technically unbounded gradients, causing these theoretical guarantees to fail.

This research seeks to identify the "optimal rate"—the best possible performance any algorithm can achieve—and design efficient algorithms that reach this target under relaxed conditions.

Methodology: Beyond Individual Smoothness

The authors introduce two primary algorithmic contributions designed to bypass the limitations of prior work:

  • Algorithm 1: Net-based Robust PGD: This approach utilizes a dense net (a grid of points) over the search space. Instead of estimating gradients at arbitrary points, the algorithm maps points to the nearest grid location and applies a robust estimator (such as Iterative Filtering). This allows the authors to prove that only the average (population) risk needs to be smooth, rather than every individual sample.
  • Algorithm 3: PGD with "Many-Good-Sets": This version of Projected Gradient Descent leverages a weaker stability assumption. It demonstrates that as long as a "good" subset of data exists at any given point, gradient descent can converge effectively.
  • Convolutional Smoothing: To address non-smooth objective functions (e.g., those involving absolute values), the authors employ convolutional smoothing to "blur" the objective, enabling gradient-based optimization on non-differentiable problems.

Key Results and Theoretical Guarantees

The primary contribution of this work is the achievement of minimax-optimal excess risk and sample complexity. The authors prove their algorithms achieve an excess risk of $\tilde{O}(D\sigma\sqrt{\epsilon} + D\sigma\sqrt{d/n})$, where the first term represents the unavoidable error from corruption and the second represents the standard statistical error.

Comparison of Algorithm 1 and Algorithm 3 with the previous state-of-the-art SEVER.

As shown in the table above, both proposed algorithms achieve the optimal sample complexity of $\tilde{\Omega}(d/\epsilon)$, a significant improvement over SEVER. Furthermore, Algorithm 1 significantly relaxes the required assumptions, needing only population-level smoothness or Lipschitzness rather than sample-wise guarantees.

Key Insights:

  • Population vs. Individual Smoothness: By focusing on the smoothness of the underlying distribution rather than individual points, the algorithms can effectively cancel out the "bad" behavior of outliers using robust mean estimation.
  • The $d/\epsilon$ Gold Standard: The paper establishes that $d/\epsilon$ is the optimal sample complexity for general convex optimization, matching the standards found in robust statistics.
  • Net-based Stability: Restricting gradient estimation to a fixed grid bypasses the need for uniform convergence, which often leads to suboptimal rates in high-dimensional problems.

Conclusion

This work establishes the minimax-optimal rates for robust stochastic convex optimization. By relaxing the requirements for individual sample smoothness and achieving optimal sample complexity, these algorithms provide a more practical and theoretically sound foundation for robust machine learning. Future work may explore removing remaining logarithmic factors from the bounds and extending the results to high-probability lower bounds.

Summary updated

BibTeX
@inproceedings{gao2025optimal,
  author = {Changyu Gao and Andrew Lowy and Xingyu Zhou and Stephen J. Wright},
  title = {{Optimal Rates for Robust Stochastic Convex Optimization}},
  booktitle = {FORC},
  year = {2025},
  doi = {10.4230/lipics.forc.2025.9},
}
Figure