Learning Imbalanced Datasets with Label-Distribution-Aware Margin Loss

By Kaidi Cao, Colin Wei, Adrien Gaidon, Nikos Aréchiga, Tengyu Ma. 2019

2,156 citations recorded by the source corpus.

Deep learning algorithms can fare poorly when the training dataset suffers from heavy class-imbalance but the testing criterion requires good generalization on less frequent classes. We design two novel methods to improve performance in such scenarios. First, we propose a theoretically-principled label-distribution-aware margin (LDAM) loss motivated by minimizing a margin-based generalization bound. This loss replaces the standard cross-entropy objective during training and can be applied with prior strategies for training with class-imbalance such as re-weighting or re-sampling. Second, we propose a simple, yet effective, training schedule that defers re-weighting until after the initial stage, allowing the model to learn an initial representation while avoiding some of the complications associated with re-weighting or re-sampling. We test our methods on several benchmark vision tasks including the real-world imbalanced dataset iNaturalist 2018. Our experiments show that either of these methods alone can already improve over existing techniques and their combination achieves even better performance gains.

Subfields: Artificial Intelligence, Optimization & Training

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Quoc V. Le
  2. Jiashi Feng
  3. Trevor Darrell
  4. Percy Liang
  5. Mohit Bansal
  6. Jianfeng Gao
  7. Sergey Levine
  8. Dacheng Tao

In Optimization & Training

  1. Alan L. Yuille
  2. Quoc V. Le
  3. Jiashi Feng
  4. Ekin Dogus Cubuk
  5. Barret Zoph
  6. Saining Xie
  7. Jinwoo Shin
  8. Tsung-Yi Lin

Citations in the corpus