Overfitting of neural nets under class imbalance: Analysis and improvements for segmentation

Zeju Li, Konstantinos Kamnitsas, Ben Glocker
7/25/2019
cs.LGcs.CVstat.ML

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

Abstract

Overfitting in deep learning has been the focus of a number of recent works, yet its exact impact on the behavior of neural networks is not well understood. This study analyzes overfitting by examining how the distribution of logits alters in relation to how much the model overfits.

Show full abstract

Specifically, we find that when training with few data samples, the distribution of logit activations when processing unseen test samples of an under-represented class tends to shift towards and even across the decision boundary, while the over-represented class seems unaffected. In image segmentation, foreground samples are often heavily under-represented. We observe that sensitivity of the model drops as a result of overfitting, while precision remains mostly stable. Based on our analysis, we derive asymmetric modifications of existing loss functions and regularizers including a large margin loss, focal loss, adversarial training and mixup, which specifically aim at reducing the shift observed when embedding unseen samples of the under-represented class. We study the case of binary segmentation of brain tumor core and show that our proposed simple modifications lead to significantly improved segmentation performance over the symmetric variants.

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{li2019overfitting,
  title  = {Overfitting of neural nets under class imbalance: Analysis and improvements for segmentation},
  author = {Zeju Li and Konstantinos Kamnitsas and Ben Glocker},
  year   = {2019},
  eprint = {1907.10982},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.10982}
}

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/1907.10982.svg)](https://codeofpaper.com/paper/1907.10982)

Discussion