[Paper Review] Imbalanced Deep Learning by Minority Class Incremental Rectification
This paper proposes a novel Class Rectification Loss (CRL) for deep learning under extreme class imbalance, using batch-wise incremental hard sample mining on minority classes to correct model bias. CRL improves performance by 5% on the highly imbalanced X-Domain dataset and achieves over 7× faster training than state-of-the-art methods, while maintaining convergence stability in end-to-end training.
Model learning from class imbalanced training data is a long-standing and significant challenge for machine learning. In particular, existing deep learning methods consider mostly either class balanced data or moderately imbalanced data in model training, and ignore the challenge of learning from significantly imbalanced training data. To address this problem, we formulate a class imbalanced deep learning model based on batch-wise incremental minority (sparsely sampled) class rectification by hard sample mining in majority (frequently sampled) classes during model training. This model is designed to minimise the dominant effect of majority classes by discovering sparsely sampled boundaries of minority classes in an iterative batch-wise learning process. To that end, we introduce a Class Rectification Loss (CRL) function that can be deployed readily in deep network architectures. Extensive experimental evaluations are conducted on three imbalanced person attribute benchmark datasets (CelebA, X-Domain, DeepFashion) and one balanced object category benchmark dataset (CIFAR-100). These experimental results demonstrate the performance advantages and model scalability of the proposed batch-wise incremental minority class rectification model over the existing state-of-the-art models for addressing the problem of imbalanced data learning.
Motivation & Objective
- Address the challenge of training deep neural networks on extremely imbalanced visual datasets, such as person attribute recognition with power-law class distributions.
- Overcome the limitations of existing methods that fail on large-scale, severely imbalanced data due to poor generalization on minority classes.
- Develop a scalable, end-to-end deep learning framework that preserves stochastic gradient descent convergence while rectifying bias toward majority classes.
- Enable effective learning from multi-label, fine-grained visual attributes with subtle appearance differences and extreme imbalance ratios (e.g., 1:4,162).
- Design a loss function that dynamically identifies and rectifies hard, sparsely sampled minority class boundaries during training without requiring data re-sampling or complex cost-sensitive weighting.
Proposed method
- Proposes a Class Rectification Loss (CRL) that regularizes model learning by focusing on hard, sparsely sampled samples from minority classes in each training batch.
- Applies batch-wise incremental rectification: in each mini-batch, the model identifies and prioritizes hard negative samples from minority classes using a dynamic hard mining strategy.
- Introduces a minority class criterion based on class frequency (ρ = 50%) to define minority classes in multi-class settings, generalizing from binary to multi-class imbalance.
- Employs joint learning of features and classifier with CRL, enabling end-to-end optimization while maintaining convergence stability.
- Uses a hyperparameter κ to control the number of top-hard samples selected per batch; κ = 25 is found optimal for balancing performance and training cost.
- CRL is plug-and-play, compatible with standard deep network architectures and can be applied to both imbalanced and balanced datasets.
Experimental results
Research questions
- RQ1Can a deep learning framework effectively mitigate bias toward majority classes in extremely imbalanced visual datasets without data re-sampling or cost-sensitive weighting?
- RQ2How does incremental, batch-wise hard sample mining on minority classes improve model generalization compared to global or static sampling strategies?
- RQ3What is the optimal scope of CRL regularization—minority classes only or all classes—and how does it trade off accuracy and training cost?
- RQ4How does the choice of minority class threshold ρ affect performance in multi-class imbalanced settings?
- RQ5Can the proposed CRL method achieve superior performance and training efficiency compared to state-of-the-art methods on both imbalanced and balanced benchmarks?
Key findings
- CRL achieves a 5.0% accuracy gain on the X-Domain clothing attribute dataset (81.30% mean accuracy) compared to the baseline MTCT (73.53%), significantly outperforming the best alternative LMLE.
- On the CelebA facial attribute benchmark, CRL surpasses LMLE by 3.0% in mean accuracy, demonstrating strong performance on moderately imbalanced data.
- The CRL model trains over 7× faster than LMLE, with a training time of 77.6 hours on X-Domain versus LMLE’s 570+ hours, due to efficient batch-wise hard mining.
- Hard mining with κ = 25 yields optimal performance; κ = 1 (hardest mining) causes instability due to noisy, over-sparse boundaries.
- Applying CRL to all classes yields a 7.78% accuracy gain over baseline, but only a 12.9% relative improvement over minority-only scope, indicating better cost-effectiveness by focusing solely on minority classes.
- The minority class criterion ρ = 50% provides the best balance between performance and conceptual consistency with binary-class definitions, outperforming ρ = 10% and ρ = 30%.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.