mlsanityData to 7 Oct 2026

Analyzing Overfitting under Class Imbalance in Neural Networks for Image Segmentation

arXiv 2102.10365 ↗First posted 20 Feb 2021cs.CVcited by 34

Not on the map. Why?

Abstract (arXiv)

Class imbalance poses a challenge for developing unbiased, accurate predictive models. In particular, in image segmentation neural networks may overfit to the foreground samples from small structures, which are often heavily under-represented in the training set, leading to poor generalization. In this study, we provide new insights on the problem of overfitting under class imbalance by inspecting the network behavior. We find empirically that when training with limited data and strong class imbalance, at test time the distribution of logit activations may shift across the decision boundary, while samples of the well-represented class seem unaffected. This bias leads to a systematic under-segmentation of small structures. This phenomenon is consistently observed for different databases, tasks and network architectures. To tackle this problem, we introduce new asymmetric variants of popular loss functions and regularization techniques including a large margin loss, focal loss, adversarial training, mixup and data augmentation, which are explicitly designed to counter logit shift of the under-represented classes. Extensive experiments are conducted on several challenging segmentation tasks. Our results demonstrate that the proposed modifications to the objective function can lead to significantly improved segmentation accuracy compared to baselines and alternative approaches.

Key facts. Cited by 34 papers in the map (data through 7 Oct 2026). Builds on 29 of its 55 references that are in the map. First posted on arXiv 20 Feb 2021.

Builds on

29 of 55 references.

References · 29

  1. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  2. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  3. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  4. 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,284
  5. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  6. 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,239
  7. 2017A Survey on Deep Learning in Medical Image Analysiscited by 1,182
  8. 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 987
  9. 2017Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learningcited by 918
  10. 2019Decoupling Representation and Classifier for Long-Tailed Recognitioncited by 806
  11. 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 704
  12. 2017A systematic study of the class imbalance problem in convolutional neural networkscited by 510
17 more
  1. 2019BBN: Bilateral-Branch Network with Cumulative Learning for Long-Tailed Visual Recognitioncited by 403
  2. 2016Large-Margin Softmax Loss for Convolutional Neural Networkscited by 296
  3. 2019Adversarial Examples Improve Image Recognitioncited by 283
  4. 2018Additive Margin Softmax for Face Verificationcited by 275
  5. 2016Efficient Multi-Scale 3D CNN with Fully Connected CRF for Accurate Brain Lesion Segmentationcited by 263
  6. 2020Long-Tailed Classification by Keeping the Good and Removing the Bad Momentum Causal Effectcited by 256
  7. 2018Boundary loss for highly unbalanced segmentationcited by 187
  8. 2018A Novel Focal Tversky loss function with improved Attention U-Net for lesion segmentationcited by 171
  9. 2019The KiTS19 Challenge Data: 300 Kidney Tumor Cases with Clinical Context, CT Semantic Segmentations, and Surgical Outcomescited by 168
  10. 2015Brain Tumor Segmentation with Deep Neural Networkscited by 137
  11. 2019Striking the Right Balance with Uncertaintycited by 79
  12. 2018Imbalanced Deep Learning by Minority Class Incremental Rectificationcited by 65
  13. 20183D Segmentation with Exponential Logarithmic Loss for Highly Unbalanced Object Sizescited by 42
  14. 2019Overfitting of neural nets under class imbalance: Analysis and improvements for segmentationcited by 27
  15. 2018Asymmetric Loss Functions and Deep Densely Connected Networks for Highly Imbalanced Medical Image Segmentation: Application to Multiple Sclerosis Lesion Detectioncited by 22
  16. 2018Understanding Generalization and Optimization Performance of Deep CNNscited by 9
  17. 2018Small Organ Segmentation in Whole-body MRI using a Two-stage FCN and Weighting Schemescited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 6; 2023: 10; 2024: 6; 2025: 6; 2026: 4.

34 papers.

Sort:

By area:

  1. 2021CarveMix: A Simple Data Augmentation Method for Brain Lesion Segmentationcited by 30
  2. 2022Bootstrapping Semi-supervised Medical Image Segmentation with Anatomical-aware Contrastive Distillationcited by 26
  3. 2024Textual Query-Driven Mask Transformer for Domain Generalized Segmentationcited by 20
  4. 2023Pseudo-Bag Mixup Augmentation for Multiple Instance Learning-Based Whole Slide Image Classificationcited by 18
  5. 2022Estimating Model Performance under Domain Shifts with Class-Specific Confidence Scorescited by 10
  6. 2023ACTION++: Improving Semi-supervised Medical Image Segmentation with Adaptive Anatomical Contrastcited by 9
  7. 2023Joint Learning of Blind Super-Resolution and Crack Segmentation for Realistic Degraded Imagescited by 7
  8. 2024Imbalance-Aware Culvert-Sewer Defect Segmentation Using an Enhanced Feature Pyramid Networkcited by 7
  9. 2021ChessMix: Spatial Context Data Augmentation for Remote Sensing Semantic Segmentationcited by 6
  10. 2022Tackling the Class Imbalance Problem of Deep Learning Based Head and Neck Organ Segmentationcited by 6
  11. 2022Deep Clustering via Center-Oriented Margin Free-Triplet Loss for Skin Lesion Detection in Highly Imbalanced Datasetscited by 6
  12. 2023Weakly Supervised Lesion Detection and Diagnosis for Breast Cancers with Partially Annotated Ultrasound Imagescited by 5
22 more
  1. 2022ViT-DeiT: An Ensemble Model for Breast Cancer Histopathological Images Classificationcited by 4
  2. 2023Multi-Scale Cross Contrastive Learning for Semi-Supervised Medical Image Segmentationcited by 4
  3. 2023Joint Optimization of Class-Specific Training- and Test-Time Data Augmentation in Segmentationcited by 3
  4. 2024Deep Transfer Learning for Kidney Cancer Diagnosiscited by 3
  5. 2023Multi-organ segmentation: a progressive exploration of learning paradigms under scarce annotationcited by 2
  6. 2025MIAFEx: An Attention-based Feature Extraction Method for Medical Image Classificationcited by 2
  7. 2025Exact Reformulation and Optimization for Direct Metric Optimization in Binary Imbalanced Classificationcited by 2
  8. 2022Context Label Learning: Improving Background Class Representations in Semantic Segmentationcited by 1
  9. 2023Unsupervised Brain Tumor Segmentation with Image-based Promptscited by 1
  10. 2023The Effects of Mixed Sample Data Augmentation are Class Dependentcited by 1
  11. 2024How scanning probe microscopy can be supported by Artificial Intelligence and quantum computingcited by 1
  12. 2025MSA-UNet3+: Multi-Scale Attention UNet3+ with New Supervised Prototypical Contrastive Loss for Coronary DSA Image Segmentationcited by 1
  13. 2023Beyond Fairness: Age-Harmless Parkinson's Detection via Voicecited by 0
  14. 2024Imbalanced Semi-Supervised Learning via Label Refinement and Threshold Adjustmentcited by 0
  15. 2024Credit Card Fraud Detection in the Nigerian Financial Sector: A Comparison of Unsupervised TensorFlow-Based Anomaly Detection Techniques, Autoencoders and PCA Algorithmcited by 0
  16. 2025Out-of-distribution data supervision towards biomedical semantic segmentationcited by 0
  17. 2025Identifying Group Anchors in Real-World Group Interactions Under Label Scarcitycited by 0
  18. 2025A unified framework for detecting point and collective anomalies in operating system logs via collaborative transformerscited by 0
  19. 2026HAD: Heterogeneity-Aware Distillation for Lifelong Heterogeneous Learningcited by 0
  20. 2026WRF4CIR: Weight-Regularized Fine-Tuning Network for Composed Image Retrievalcited by 0
  21. 2026GCA: Global Centroid Alignment in Federated Learningcited by 0
  22. 2026Counterfactual Marginalisation: Framework for Evaluating Robustness to Nuisance Variablescited by 0