Analyzing Overfitting under Class Imbalance in Neural Networks for Image Segmentation

Zeju Li, Konstantinos Kamnitsas, Ben Glocker
2/20/2021
cs.CV

Official code: ZerojumpLine/OverfittingUnderClassImbalance (21 stars, Python, MIT, last commit 2023-09-04).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

[MICCAI2019 & TMI2020] Overfitting under Class Imbalance: Anaylsis and Improvements for Medical Image Segmentation.

212PythonSep 14, 20203 years agoMIT
class-imbalanceoverfitting-reduced

Similar Papers

Cite this paper

@article{li2021analyzing,
  title  = {Analyzing Overfitting under Class Imbalance in Neural Networks for Image Segmentation},
  author = {Zeju Li and Konstantinos Kamnitsas and Ben Glocker},
  year   = {2021},
  eprint = {2102.10365},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.10365}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2102.10365.svg)](https://codeofpaper.com/paper/2102.10365)

Discussion