Giter Site home page Giter Site logo

zerojumpline / overfittingunderclassimbalance Goto Github PK

View Code? Open in Web Editor NEW
21.0 5.0 2.0 42.96 MB

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

License: MIT License

Python 100.00%
class-imbalance overfitting-reduced

overfittingunderclassimbalance's Introduction

Introduction

We find neural network is prone to overfit the foreground samples because of class imbalance, especially in medical image segmentation. Empirically, we find 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.

In our study, we explore some asymmetric techiniques which are explicitly designed to counter logit shift of the under-represented classes. We find these techiques can improve segmentation by regularizing the logit distribution.

The methods are summarized here:


We implemented our proposed techiques with DeepMedic (Tensorflow) and a 3D U-Net (Pytorch), please find details in either subfolders.

Acknowledgement

This code based on the standardized baselines provided by DeepMedic and nnUNet.

Note

  • We test the fundamental functions of the code, but there maybe some issues taking considering that there are quite a few functions. Please let me know if you figure out something unexpected, thanks ([email protected]).
  • Both DeepMedic and nnUNet are updated to a newer version by their authors. Integration with the newest version is feasible and maybe will be done in the future if it is needed.

Citation

If you find our work has positively influenced your projects, please kindly consider citing our work:

@article{li2020analyzing,
  title={Analyzing Overfitting under Class Imbalance in Neural Networks for Image Segmentation},
  author={Li, Zeju and Kamnitsas, Konstantinos and Glocker, Ben},
  journal={IEEE Transactions on Medical Imaging},
  year={2020},
  publisher={IEEE}
}

and

@inproceedings{li2019overfitting,
  title={Overfitting of neural nets under class imbalance: Analysis and improvements for segmentation},
  author={Li, Zeju and Kamnitsas, Konstantinos and Glocker, Ben},
  booktitle={International Conference on Medical Image Computing and Computer-Assisted Intervention},
  pages={402--410},
  year={2019},
  organization={Springer}
}

overfittingunderclassimbalance's People

Contributors

zerojumpline avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

overfittingunderclassimbalance's Issues

Plots in Paper

Hi,

Thank you very much indeed for sharing the codes of this excellent work.

However, I'm quite interested in Figs 3-5 shown in the paper, I cannot find any related code in the repo.
Would you please kindly share the codes of reproducing these figures or give me some explanations about them?

Best,
Yang

run_iterationRAW parameter

Hey,
I am trying to apply the techniques you proposed, I want to ask you regarding run_iterationRAW has parameter data_generatorRAW, what is the difference between it and data_generator?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.