Skip to main content
QUICK REVIEW

[Paper Review] Choosing the Sample with Lowest Loss makes SGD Robust

Vatsal Shah, Xiaoxia Wu|arXiv (Cornell University)|Jan 10, 2020
Statistical Methods and InferenceMathematics35 references11 citations
TL;DR

This paper proposes Min-k Loss SGD (MKL-SGD), a robust variant of stochastic gradient descent that selects the sample with the lowest loss from a random set of k samples at each iteration. By focusing on low-loss samples, MKL-SGD achieves improved robustness against outliers in convex machine learning problems, with theoretical guarantees showing it avoids poor local minima and converges to better solutions than vanilla SGD under outlier conditions, especially when k is sufficiently large.

ABSTRACT

The presence of outliers can potentially significantly skew the parameters of machine learning models trained via stochastic gradient descent (SGD). In this paper we propose a simple variant of the simple SGD method: in each step, first choose a set of k samples, then from these choose the one with the smallest current loss, and do an SGD-like update with this chosen sample. Vanilla SGD corresponds to k = 1, i.e. no choice; k >= 2 represents a new algorithm that is however effectively minimizing a non-convex surrogate loss. Our main contribution is a theoretical analysis of the robustness properties of this idea for ML problems which are sums of convex losses; these are backed up with linear regression and small-scale neural network experiments

Motivation & Objective

  • To address the sensitivity of standard SGD to outliers in machine learning datasets, which can severely skew model parameters.
  • To develop a simple, plug-in enhancement to vanilla SGD that improves robustness without requiring major architectural or algorithmic changes.
  • To theoretically analyze the robustness properties of the proposed method under various settings, including noiseless and noisy data with and without outliers.
  • To validate the method empirically on linear regression and deep learning tasks (MNIST, CIFAR-10) under label corruption.
  • To demonstrate that selecting the minimal loss sample from a set of k samples leads to better convergence and robustness than standard SGD.

Proposed method

  • At each SGD iteration, a random set of k samples is selected from the training data.
  • From this set, the sample with the smallest current loss is chosen for the gradient update.
  • The update rule follows standard SGD: w_{t+1} = w_t - η∇f_i(w_t), where i is the index of the lowest-loss sample in the set.
  • The method is analyzed as minimizing a non-convex surrogate loss function, even in the absence of outliers.
  • A practical variant evaluates k samples and selects a batch of size αk, improving efficiency while preserving robustness.
  • Theoretical analysis focuses on strongly convex losses and derives convergence rates under noiseless and noisy settings with and without outliers.

Experimental results

Research questions

  • RQ1Does selecting the sample with the lowest loss from a set of k samples improve robustness to outliers in SGD?
  • RQ2What is the theoretical behavior of MKL-SGD in terms of convergence and local minima under different data conditions?
  • RQ3How does the choice of k affect the trade-off between convergence speed and robustness in the presence of outliers?
  • RQ4Can MKL-SGD outperform standard SGD and other robust baselines like median loss SGD in both linear regression and deep learning settings?
  • RQ5Does MKL-SGD avoid poor local minima even when the surrogate loss is non-convex?

Key findings

  • MKL-SGD achieves better convergence to the true optimum than vanilla SGD when outliers are present, especially when k is large enough to reduce the influence of high-loss samples.
  • In the noiseless setting with outliers, the local minimum closest to the true optimum w* is better under MKL-SGD than the fixed point of vanilla SGD, provided k exceeds a threshold dependent on the condition number.
  • For linear regression, MKL-SGD outperforms both SGD and median loss SGD, with a clear trade-off between robustness (higher k) and convergence speed.
  • On MNIST with 2-layer CNNs and label noise, MKL-SGD with α=0.9 and k=10 achieved 97.23% accuracy under directed noise (ε=0.1), surpassing SGD (96.76%) and approaching oracle performance (98.52%).
  • On CIFAR-10 with ResNet-18 and directed noise, MKL-SGD with α=0.7 and k=16 achieved 81.00% accuracy at ε=0.1, outperforming SGD (79.1%) and approaching the oracle (84.56%).
  • Theoretical analysis confirms that MKL-SGD avoids bad local minima in the noiseless case, even though it minimizes a non-convex surrogate loss.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.