Learning Imbalanced Datasets with Label-Distribution-Aware Margin Loss
Cao, Kaidi, Wei, Colin, Gaidon, Adrien, Arechiga, Nikos, Ma, Tengyu
–Neural Information Processing Systems
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.
Neural Information Processing Systems
Mar-18-2020, 21:02:10 GMT