Attentional-Biased Stochastic Gradient Descent

Qi Qi, Yi Xu, Rong Jin, Wotao Yin, Tianbao Yang
12/13/2020
cs.LGcs.CVmath.OC

Official code: qiqi-helloworld/ABSGD (11 stars, Python, last commit 2023-04-16).

Abstract

In this paper, we present a simple yet effective provable method (named ABSGD) for addressing the data imbalance or label noise problem in deep learning. Our method is a simple modification to momentum SGD where we assign an individual importance weight to each sample in the mini-batch.

Show full abstract

The individual-level weight of sampled data is systematically proportional to the exponential of a scaled loss value of the data, where the scaling factor is interpreted as the regularization parameter in the framework of distributionally robust optimization (DRO). Depending on whether the scaling factor is positive or negative, ABSGD is guaranteed to converge to a stationary point of an information-regularized min-max or min-min DRO problem, respectively. Compared with existing class-level weighting schemes, our method can capture the diversity between individual examples within each class. Compared with existing individual-level weighting methods using meta-learning that require three backward propagations for computing mini-batch stochastic gradients, our method is more efficient with only one backward propagation at each iteration as in standard deep learning methods. ABSGD is flexible enough to combine with other robust losses without any additional cost. Our empirical studies on several benchmark datasets demonstrate the effectiveness of the proposed method.\footnote{Code is available at:\url{https://github.com/qiqi-helloworld/ABSGD/}}

View on arXivView PDF

Code Implementations(1)

Implemented ABSGD Algorithm in the Paper https://arxiv.org/abs/2012.06951

110Python, Jupyter NotebookJun 29, 20223 years ago

Similar Papers

Cite this paper

@article{qi2020attentionalbiased,
  title  = {Attentional-Biased Stochastic Gradient Descent},
  author = {Qi Qi and Yi Xu and Rong Jin and Wotao Yin and Tianbao Yang},
  year   = {2020},
  eprint = {2012.06951},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2012.06951}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2012.06951.svg)](https://codeofpaper.com/paper/2012.06951)

Discussion