Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Attentional-Biased Stochastic Gradient Descent

About

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. 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/}}

Qi Qi, Yi Xu, Rong Jin, Wotao Yin, Tianbao Yang• 2020

Related benchmarks

TaskDatasetResultRank
Image ClassificationClothing1M (test)
Accuracy69.93
546
Image ClassificationiNaturalist 2018 (test)
Top-1 Accuracy73.1
192
Image ClassificationPlaces-LT (test)--
128
Image ClassificationCIFAR-100-LT Imbalance Ratio 100 (test)
Accuracy45.89
62
Image ClassificationCIFAR-100 LT Imbalance Ratio 10 (test)
Accuracy61.12
59
Image ClassificationImbalanced CIFAR-10 long-tailed, ratio 10 (test)
Top-1 Accuracy88.76
29
Image ClassificationImageNet Long-Tailed (test)
Top-1 Accuracy48.2
29
Image ClassificationImbalanced CIFAR-10 long-tailed ratio 100 ResNet32 (test)
Top-1 Acc80.45
19
Species ClassificationiWildCam WILDS 2020 (test)
Accuracy72.7
14
Species ClassificationSnapshot Mountain Zebra (test)
Accuracy0.934
9
Showing 10 of 12 rows

Other info

Code

Follow for update