Stochastic Gradient Descent for Streaming Linear and Rectified Linear Systems with Adversarial Corruptions

Halyun Jeong, Deanna Needell, Elizaveta RebrovaSIAM 2025

TL;DR

This paper introduces SGD-exp, a novel stochastic gradient descent algorithm for robustly learning linear and ReLU regression models in a streaming setting, even when a significant portion of the data is adversarially corrupted. It achieves near-linear convergence guarantees, outperforming existing methods and offering a practical solution for real-world scenarios with noisy data.

What Problem Does This Paper Address?

In machine learning, especially with large, modern datasets, data often arrives sequentially (streaming) and can be noisy or contain outliers. Traditional regression methods struggle with these conditions, leading to inaccurate models. Robust regression aims to mitigate the impact of outliers, but existing robust methods are often not designed for the streaming setting, where data cannot be revisited. Furthermore, handling adversarial corruptions (where an adversary strategically introduces errors) in a streaming fashion, particularly for non-linear models like ReLU, is a significant challenge. This paper addresses the need for a robust, streaming-capable algorithm that can learn from data corrupted by an adversary, specifically under the Massart noise model.

Methods

The core contribution is the SGD-exp algorithm. It's a variant of Stochastic Gradient Descent (SGD) that uses an exponentially decaying step size schedule. This specific step size choice is crucial for achieving fast convergence in the presence of Massart noise. The algorithm is designed to work in a fully streaming setting, processing one data point at a time without revisiting past data.

The theoretical analysis relies on a novel drift analysis of a discrete stochastic process. This technique allows them to bound the error of the iterates and prove convergence guarantees. For linear regression, the update rule is a standard SGD update with an exponentially decaying step size. For ReLU regression, the update rule is adapted to handle the non-linearity of the ReLU activation function, using subgradients.

Datasets

The paper uses synthetic datasets for theoretical validation and experimental evaluation. No new benchmark datasets are introduced.

Key Insights and Ideas

  • Exponential Decay is Key for Robustness: The paper highlights that an exponentially decaying step size, while common in practice, is particularly effective for achieving robust convergence in the presence of Massart noise, outperforming methods with slower step size decay.
  • Drift Analysis for Streaming Robustness: The novel drift analysis technique provides a powerful tool for analyzing the convergence of SGD-like algorithms in streaming settings with adversarial noise, potentially applicable to other problems.
  • Near-Optimal Corruption Tolerance: The theoretical results show that SGD-exp can tolerate up to 50% Massart corruption for linear and ReLU regression, which is near-optimal for this type of adversarial noise. For symmetric oblivious noise, it can handle any corruption rate less than 1.
  • Bridging Theory and Practice: The paper connects practical, widely-used step-size schedules (exponential decay) with theoretical guarantees for robust learning in challenging streaming scenarios.

Key Results

  • Near-Linear Convergence Guarantees: SGD-exp achieves nearly linear convergence rates for both linear and ReLU regression under the Massart noise model, with corruption probabilities up to 0.5.
  • High Corruption Tolerance: The method is shown to tolerate up to 50% Massart corruption for linear and ReLU regression. For symmetric oblivious noise, it can handle any corruption rate less than 1.
  • Empirical Validation: Experiments demonstrate that SGD-exp converges linearly in practice, outperforming methods like SGD-root (which uses a square-root decaying step size) and standard GLM-Tron (for ReLU regression) in corrupted streaming settings.
  • Robustness to Different Corruptions: The method shows effectiveness against both sign-flip and large additive Gaussian noise corruptions.

Limitations and Future Work

  • Dependence on Horizon Length (T): The current step-size scheduling requires knowledge of the total number of iterations (T) in advance. The authors suggest exploring adaptive step-size schedules that do not depend on T for fully streaming applications.
  • Generalization to Other Problems: The authors propose extending SGD-exp to other robust optimization problems, refining convergence analysis for different noise models, and incorporating additional non-linearities or constraints.
  • Practical Step-Size Tuning: While the theory provides guidance, finding the optimal step-size decay factor (λ) in practice might still require tuning. The paper notes that choosing λ too small leads to slower convergence.

Summary updated

BibTeX
@inproceedings{jeong2025stochastic,
  author = {Halyun Jeong and Deanna Needell and Elizaveta Rebrova},
  title = {{Stochastic Gradient Descent for Streaming Linear and Rectified Linear Systems with Adversarial Corruptions}},
  booktitle = {SIAM},
  year = {2025},
  doi = {10.1137/24m1652167},
}

Loading related content...

Figure