Analyzing Overfitting under Class Imbalance in Neural Networks for Image Segmentation
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
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,284
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,239
- 2017A Survey on Deep Learning in Medical Image Analysiscited by 1,182
- 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 987
- 2017Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learningcited by 918
- 2019Decoupling Representation and Classifier for Long-Tailed Recognitioncited by 806
- 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 704
- 2017A systematic study of the class imbalance problem in convolutional neural networkscited by 510
17 more
- 2019BBN: Bilateral-Branch Network with Cumulative Learning for Long-Tailed Visual Recognitioncited by 403
- 2016Large-Margin Softmax Loss for Convolutional Neural Networkscited by 296
- 2019Adversarial Examples Improve Image Recognitioncited by 283
- 2018Additive Margin Softmax for Face Verificationcited by 275
- 2016Efficient Multi-Scale 3D CNN with Fully Connected CRF for Accurate Brain Lesion Segmentationcited by 263
- 2020Long-Tailed Classification by Keeping the Good and Removing the Bad Momentum Causal Effectcited by 256
- 2018Boundary loss for highly unbalanced segmentationcited by 187
- 2018A Novel Focal Tversky loss function with improved Attention U-Net for lesion segmentationcited by 171
- 2019The KiTS19 Challenge Data: 300 Kidney Tumor Cases with Clinical Context, CT Semantic Segmentations, and Surgical Outcomescited by 168
- 2015Brain Tumor Segmentation with Deep Neural Networkscited by 137
- 2019Striking the Right Balance with Uncertaintycited by 79
- 2018Imbalanced Deep Learning by Minority Class Incremental Rectificationcited by 65
- 20183D Segmentation with Exponential Logarithmic Loss for Highly Unbalanced Object Sizescited by 42
- 2019Overfitting of neural nets under class imbalance: Analysis and improvements for segmentationcited by 27
- 2018Asymmetric Loss Functions and Deep Densely Connected Networks for Highly Imbalanced Medical Image Segmentation: Application to Multiple Sclerosis Lesion Detectioncited by 22
- 2018Understanding Generalization and Optimization Performance of Deep CNNscited by 9
- 2018Small Organ Segmentation in Whole-body MRI using a Two-stage FCN and Weighting Schemescited by 2
Built on by
Citing papers per year: 2021: 2; 2022: 6; 2023: 10; 2024: 6; 2025: 6; 2026: 4.
34 papers.
Sort:
By area:
- 2021CarveMix: A Simple Data Augmentation Method for Brain Lesion Segmentationcited by 30
- 2022Bootstrapping Semi-supervised Medical Image Segmentation with Anatomical-aware Contrastive Distillationcited by 26
- 2024Textual Query-Driven Mask Transformer for Domain Generalized Segmentationcited by 20
- 2023Pseudo-Bag Mixup Augmentation for Multiple Instance Learning-Based Whole Slide Image Classificationcited by 18
- 2022Estimating Model Performance under Domain Shifts with Class-Specific Confidence Scorescited by 10
- 2023ACTION++: Improving Semi-supervised Medical Image Segmentation with Adaptive Anatomical Contrastcited by 9
- 2023Joint Learning of Blind Super-Resolution and Crack Segmentation for Realistic Degraded Imagescited by 7
- 2024Imbalance-Aware Culvert-Sewer Defect Segmentation Using an Enhanced Feature Pyramid Networkcited by 7
- 2021ChessMix: Spatial Context Data Augmentation for Remote Sensing Semantic Segmentationcited by 6
- 2022Tackling the Class Imbalance Problem of Deep Learning Based Head and Neck Organ Segmentationcited by 6
- 2022Deep Clustering via Center-Oriented Margin Free-Triplet Loss for Skin Lesion Detection in Highly Imbalanced Datasetscited by 6
- 2023Weakly Supervised Lesion Detection and Diagnosis for Breast Cancers with Partially Annotated Ultrasound Imagescited by 5
22 more
- 2022ViT-DeiT: An Ensemble Model for Breast Cancer Histopathological Images Classificationcited by 4
- 2023Multi-Scale Cross Contrastive Learning for Semi-Supervised Medical Image Segmentationcited by 4
- 2023Joint Optimization of Class-Specific Training- and Test-Time Data Augmentation in Segmentationcited by 3
- 2024Deep Transfer Learning for Kidney Cancer Diagnosiscited by 3
- 2023Multi-organ segmentation: a progressive exploration of learning paradigms under scarce annotationcited by 2
- 2025MIAFEx: An Attention-based Feature Extraction Method for Medical Image Classificationcited by 2
- 2025Exact Reformulation and Optimization for Direct Metric Optimization in Binary Imbalanced Classificationcited by 2
- 2022Context Label Learning: Improving Background Class Representations in Semantic Segmentationcited by 1
- 2023Unsupervised Brain Tumor Segmentation with Image-based Promptscited by 1
- 2023The Effects of Mixed Sample Data Augmentation are Class Dependentcited by 1
- 2024How scanning probe microscopy can be supported by Artificial Intelligence and quantum computingcited by 1
- 2025MSA-UNet3+: Multi-Scale Attention UNet3+ with New Supervised Prototypical Contrastive Loss for Coronary DSA Image Segmentationcited by 1
- 2023Beyond Fairness: Age-Harmless Parkinson's Detection via Voicecited by 0
- 2024Imbalanced Semi-Supervised Learning via Label Refinement and Threshold Adjustmentcited by 0
- 2024Credit Card Fraud Detection in the Nigerian Financial Sector: A Comparison of Unsupervised TensorFlow-Based Anomaly Detection Techniques, Autoencoders and PCA Algorithmcited by 0
- 2025Out-of-distribution data supervision towards biomedical semantic segmentationcited by 0
- 2025Identifying Group Anchors in Real-World Group Interactions Under Label Scarcitycited by 0
- 2025A unified framework for detecting point and collective anomalies in operating system logs via collaborative transformerscited by 0
- 2026HAD: Heterogeneity-Aware Distillation for Lifelong Heterogeneous Learningcited by 0
- 2026WRF4CIR: Weight-Regularized Fine-Tuning Network for Composed Image Retrievalcited by 0
- 2026GCA: Global Centroid Alignment in Federated Learningcited by 0
- 2026Counterfactual Marginalisation: Framework for Evaluating Robustness to Nuisance Variablescited by 0
- 2026Counterfactual Marginalisation: Framework for Evaluating Robustness to Nuisance Variables9 Sep 2026
- 2026GCA: Global Centroid Alignment in Federated Learning23 Aug 2026
- 2026WRF4CIR: Weight-Regularized Fine-Tuning Network for Composed Image Retrieval7 Apr 2026
- 2026HAD: Heterogeneity-Aware Distillation for Lifelong Heterogeneous Learning27 Mar 2026
- 2025A unified framework for detecting point and collective anomalies in operating system logs via collaborative transformers29 Dec 2025
- 2025Identifying Group Anchors in Real-World Group Interactions Under Label Scarcity25 Sep 2025
- 2025Exact Reformulation and Optimization for Direct Metric Optimization in Binary Imbalanced Classification21 Jul 2025
- 2025Out-of-distribution data supervision towards biomedical semantic segmentation16 Jul 2025
- 2025MSA-UNet3+: Multi-Scale Attention UNet3+ with New Supervised Prototypical Contrastive Loss for Coronary DSA Image Segmentation7 Apr 2025
- 2025MIAFEx: An Attention-based Feature Extraction Method for Medical Image Classification15 Jan 2025
- 2024Imbalance-Aware Culvert-Sewer Defect Segmentation Using an Enhanced Feature Pyramid Network19 Aug 2024
- 2024Deep Transfer Learning for Kidney Cancer Diagnosis8 Aug 2024
22 more
- 2024Textual Query-Driven Mask Transformer for Domain Generalized Segmentation12 Jul 2024
- 2024Imbalanced Semi-Supervised Learning via Label Refinement and Threshold Adjustment7 Jul 2024
- 2024How scanning probe microscopy can be supported by Artificial Intelligence and quantum computing20 Mar 2024
- 2024Credit Card Fraud Detection in the Nigerian Financial Sector: A Comparison of Unsupervised TensorFlow-Based Anomaly Detection Techniques, Autoencoders and PCA Algorithm8 Mar 2024
- 2023Beyond Fairness: Age-Harmless Parkinson's Detection via Voice23 Sep 2023
- 2023The Effects of Mixed Sample Data Augmentation are Class Dependent18 Jul 2023
- 2023Pseudo-Bag Mixup Augmentation for Multiple Instance Learning-Based Whole Slide Image Classification28 Jun 2023
- 2023Multi-Scale Cross Contrastive Learning for Semi-Supervised Medical Image Segmentation25 Jun 2023
- 2023Weakly Supervised Lesion Detection and Diagnosis for Breast Cancers with Partially Annotated Ultrasound Images12 Jun 2023
- 2023Joint Optimization of Class-Specific Training- and Test-Time Data Augmentation in Segmentation30 May 2023
- 2023ACTION++: Improving Semi-supervised Medical Image Segmentation with Adaptive Anatomical Contrast5 Apr 2023
- 2023Unsupervised Brain Tumor Segmentation with Image-based Prompts4 Apr 2023
- 2023Joint Learning of Blind Super-Resolution and Crack Segmentation for Realistic Degraded Images24 Feb 2023
- 2023Multi-organ segmentation: a progressive exploration of learning paradigms under scarce annotation7 Feb 2023
- 2022Context Label Learning: Improving Background Class Representations in Semantic Segmentation16 Dec 2022
- 2022ViT-DeiT: An Ensemble Model for Breast Cancer Histopathological Images Classification1 Nov 2022
- 2022Estimating Model Performance under Domain Shifts with Class-Specific Confidence Scores20 Jul 2022
- 2022Bootstrapping Semi-supervised Medical Image Segmentation with Anatomical-aware Contrastive Distillation6 Jun 2022
- 2022Deep Clustering via Center-Oriented Margin Free-Triplet Loss for Skin Lesion Detection in Highly Imbalanced Datasets3 Apr 2022
- 2022Tackling the Class Imbalance Problem of Deep Learning Based Head and Neck Organ Segmentation5 Jan 2022
- 2021ChessMix: Spatial Context Data Augmentation for Remote Sensing Semantic Segmentation26 Aug 2021
- 2021CarveMix: A Simple Data Augmentation Method for Brain Lesion Segmentation16 Aug 2021
- 2021CarveMix: A Simple Data Augmentation Method for Brain Lesion Segmentationcited by 30
- 2022Bootstrapping Semi-supervised Medical Image Segmentation with Anatomical-aware Contrastive Distillationcited by 26
- 2023Pseudo-Bag Mixup Augmentation for Multiple Instance Learning-Based Whole Slide Image Classificationcited by 18
- 2022Estimating Model Performance under Domain Shifts with Class-Specific Confidence Scorescited by 10
- 2023ACTION++: Improving Semi-supervised Medical Image Segmentation with Adaptive Anatomical Contrastcited by 9
- 2023Joint Learning of Blind Super-Resolution and Crack Segmentation for Realistic Degraded Imagescited by 7
- 2024Imbalance-Aware Culvert-Sewer Defect Segmentation Using an Enhanced Feature Pyramid Networkcited by 7
- 2021ChessMix: Spatial Context Data Augmentation for Remote Sensing Semantic Segmentationcited by 6
- 2022Tackling the Class Imbalance Problem of Deep Learning Based Head and Neck Organ Segmentationcited by 6
- 2022Deep Clustering via Center-Oriented Margin Free-Triplet Loss for Skin Lesion Detection in Highly Imbalanced Datasetscited by 6
- 2023Weakly Supervised Lesion Detection and Diagnosis for Breast Cancers with Partially Annotated Ultrasound Imagescited by 5
- 2022ViT-DeiT: An Ensemble Model for Breast Cancer Histopathological Images Classificationcited by 4
12 most cited of 33 All 33 (JSON)
- 2026Counterfactual Marginalisation: Framework for Evaluating Robustness to Nuisance Variables9 Sep 2026
- 2026GCA: Global Centroid Alignment in Federated Learning23 Aug 2026
- 2026WRF4CIR: Weight-Regularized Fine-Tuning Network for Composed Image Retrieval7 Apr 2026
- 2026HAD: Heterogeneity-Aware Distillation for Lifelong Heterogeneous Learning27 Mar 2026
- 2025A unified framework for detecting point and collective anomalies in operating system logs via collaborative transformers29 Dec 2025
- 2025Identifying Group Anchors in Real-World Group Interactions Under Label Scarcity25 Sep 2025
- 2025Exact Reformulation and Optimization for Direct Metric Optimization in Binary Imbalanced Classification21 Jul 2025
- 2025Out-of-distribution data supervision towards biomedical semantic segmentation16 Jul 2025
- 2025MSA-UNet3+: Multi-Scale Attention UNet3+ with New Supervised Prototypical Contrastive Loss for Coronary DSA Image Segmentation7 Apr 2025
- 2025MIAFEx: An Attention-based Feature Extraction Method for Medical Image Classification15 Jan 2025
- 2024Imbalance-Aware Culvert-Sewer Defect Segmentation Using an Enhanced Feature Pyramid Network19 Aug 2024
- 2024Deep Transfer Learning for Kidney Cancer Diagnosis8 Aug 2024
12 newest of 33 All 33 (JSON)