Class-Wise Difficulty-Balanced Loss for Solving Class-Imbalance
Not on the map. Why?
Abstract (arXiv)
Class-imbalance is one of the major challenges in real world datasets, where a few classes (called majority classes) constitute much more data samples than the rest (called minority classes). Learning deep neural networks using such datasets leads to performances that are typically biased towards the majority classes. Most of the prior works try to solve class-imbalance by assigning more weights to the minority classes in various manners (e.g., data re-sampling, cost-sensitive learning). However, we argue that the number of available training data may not be always a good clue to determine the weighting strategy because some of the minority classes might be sufficiently represented even by a small number of training data. Overweighting samples of such classes can lead to drop in the model's overall performance. We claim that the 'difficulty' of a class as perceived by the model is more important to determine the weighting. In this light, we propose a novel loss function named Class-wise Difficulty-Balanced loss, or CDB loss, which dynamically distributes weights to each sample according to the difficulty of the class that the sample belongs to. Note that the assigned weights dynamically change as the 'difficulty' for the model may change with the learning progress. Extensive experiments are conducted on both image (artificially induced class-imbalanced MNIST, long-tailed CIFAR and ImageNet-LT) and video (EGTEA) datasets. The results show that CDB loss consistently outperforms the recently proposed loss functions on class-imbalanced datasets irrespective of the data type (i.e., video or image).
Key facts. Cited by 23 papers in the map (data through 14 Oct 2026). First posted on arXiv 5 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 4; 2023: 7; 2024: 2; 2025: 7; 2026: 1.
23 papers.
Sort:
By area:
- 2022A Survey on Long-Tailed Visual Recognitioncited by 75
- 2023Balancing Logit Variation for Long-tailed Semantic Segmentationcited by 26
- 2022Constructing Balance from Imbalance for Long-tailed Image Recognitioncited by 25
- 2022Class-Difficulty Based Methods for Long-Tailed Visual Recognitioncited by 23
- 2021Generalized Data Weighting via Class-level Gradient Manipulationcited by 15
- 2023Predicting and Enhancing the Fairness of DNNs with the Curvature of Perceptual Manifoldscited by 9
- 2023LCReg: Long-Tailed Image Classification with Latent Categories based Recognitioncited by 9
- 2023Deep Imbalanced Regression via Hierarchical Classification Adjustmentcited by 9
- 2023MILA: Memory-Based Instance-Level Adaptation for Cross-Domain Object Detectioncited by 7
- 2023Data Optimization in Deep Learning: A Surveycited by 6
- 2021MSE Loss with Outlying Label for Imbalanced Classificationcited by 3
- 2022Difficulty-Net: Learning to Predict Difficulty for Long-Tailed Recognitioncited by 2
11 more
- 2025Pixel-wise Modulated Dice Loss for Medical Image Segmentationcited by 2
- 2023Data-Centric Long-Tailed Image Recognitioncited by 1
- 2024Text-Guided Mixup Towards Long-Tailed Image Categorizationcited by 1
- 2025A Survey on Small Sample Imbalance Problem: Metrics, Feature Analysis, and Solutionscited by 1
- 2025Compositional Attribute Imbalance in Vision Datasetscited by 1
- 2025Divide, Weight, and Route: Difficulty-Aware Optimization with Dynamic Expert Fusion for Long-tailed Recognitioncited by 1
- 2024Mix from Failure: Confusion-Pairing Mixup for Long-Tailed Recognitioncited by 0
- 2025Reducing Class Bias In Data-Balanced Datasets Through Hardness-Based Resamplingcited by 0
- 2025Optimizing Class Distributions for Bias-Aware Multi-Class Learningcited by 0
- 2025NS-Pep: De novo Peptide Design with Non-Standard Amino Acidscited by 0
- 2026When Data Imbalance Helps: Robust Generalization Through Shortcut Saturationcited by 0
- 2026When Data Imbalance Helps: Robust Generalization Through Shortcut Saturation11 Jul 2026
- 2025NS-Pep: De novo Peptide Design with Non-Standard Amino Acids1 Oct 2025
- 2025Optimizing Class Distributions for Bias-Aware Multi-Class Learning15 Sep 2025
- 2025Divide, Weight, and Route: Difficulty-Aware Optimization with Dynamic Expert Fusion for Long-tailed Recognition27 Aug 2025
- 2025Pixel-wise Modulated Dice Loss for Medical Image Segmentation17 Jun 2025
- 2025Compositional Attribute Imbalance in Vision Datasets17 Jun 2025
- 2025A Survey on Small Sample Imbalance Problem: Metrics, Feature Analysis, and Solutions21 Apr 2025
- 2025Reducing Class Bias In Data-Balanced Datasets Through Hardness-Based Resampling9 Apr 2025
- 2024Mix from Failure: Confusion-Pairing Mixup for Long-Tailed Recognition12 Nov 2024
- 2024Text-Guided Mixup Towards Long-Tailed Image Categorization5 Sep 2024
- 2023Data-Centric Long-Tailed Image Recognition3 Nov 2023
- 2023Deep Imbalanced Regression via Hierarchical Classification Adjustment26 Oct 2023
11 more
- 2023Data Optimization in Deep Learning: A Survey25 Oct 2023
- 2023LCReg: Long-Tailed Image Classification with Latent Categories based Recognition13 Sep 2023
- 2023MILA: Memory-Based Instance-Level Adaptation for Cross-Domain Object Detection3 Sep 2023
- 2023Balancing Logit Variation for Long-tailed Semantic Segmentation3 Jun 2023
- 2023Predicting and Enhancing the Fairness of DNNs with the Curvature of Perceptual Manifolds22 Mar 2023
- 2022Difficulty-Net: Learning to Predict Difficulty for Long-Tailed Recognition7 Sep 2022
- 2022Constructing Balance from Imbalance for Long-tailed Image Recognition4 Aug 2022
- 2022Class-Difficulty Based Methods for Long-Tailed Visual Recognition29 Jul 2022
- 2022A Survey on Long-Tailed Visual Recognition27 May 2022
- 2021Generalized Data Weighting via Class-level Gradient Manipulation29 Oct 2021
- 2021MSE Loss with Outlying Label for Imbalanced Classification6 Jul 2021
- 2022A Survey on Long-Tailed Visual Recognitioncited by 75
- 2023Balancing Logit Variation for Long-tailed Semantic Segmentationcited by 26
- 2022Constructing Balance from Imbalance for Long-tailed Image Recognitioncited by 25
- 2022Class-Difficulty Based Methods for Long-Tailed Visual Recognitioncited by 23
- 2021Generalized Data Weighting via Class-level Gradient Manipulationcited by 15
- 2023Predicting and Enhancing the Fairness of DNNs with the Curvature of Perceptual Manifoldscited by 9
- 2023LCReg: Long-Tailed Image Classification with Latent Categories based Recognitioncited by 9
- 2023Deep Imbalanced Regression via Hierarchical Classification Adjustmentcited by 9
- 2023MILA: Memory-Based Instance-Level Adaptation for Cross-Domain Object Detectioncited by 7
- 2023Data Optimization in Deep Learning: A Surveycited by 6
- 2021MSE Loss with Outlying Label for Imbalanced Classificationcited by 3
- 2022Difficulty-Net: Learning to Predict Difficulty for Long-Tailed Recognitioncited by 2
12 most cited of 21 All 21 (JSON)
- 2026When Data Imbalance Helps: Robust Generalization Through Shortcut Saturation11 Jul 2026
- 2025NS-Pep: De novo Peptide Design with Non-Standard Amino Acids1 Oct 2025
- 2025Optimizing Class Distributions for Bias-Aware Multi-Class Learning15 Sep 2025
- 2025Pixel-wise Modulated Dice Loss for Medical Image Segmentation17 Jun 2025
- 2025Compositional Attribute Imbalance in Vision Datasets17 Jun 2025
- 2025A Survey on Small Sample Imbalance Problem: Metrics, Feature Analysis, and Solutions21 Apr 2025
- 2025Reducing Class Bias In Data-Balanced Datasets Through Hardness-Based Resampling9 Apr 2025
- 2024Mix from Failure: Confusion-Pairing Mixup for Long-Tailed Recognition12 Nov 2024
- 2023Data-Centric Long-Tailed Image Recognition3 Nov 2023
- 2023Deep Imbalanced Regression via Hierarchical Classification Adjustment26 Oct 2023
- 2023Data Optimization in Deep Learning: A Survey25 Oct 2023
- 2023LCReg: Long-Tailed Image Classification with Latent Categories based Recognition13 Sep 2023
12 newest of 21 All 21 (JSON)