Git Product home page Git Product logo

pathological-multi-task-on-prior's Introduction

Pathological-Multi-Task-on-Prior

network

Abstract

Adenocarcinoma is the most common cancer, the pathological diagnosis for it is of great significance. Specifically, the degree of gland differentiation is vital for defining the grade of adenocarcinoma. Following this domain knowledge, we encode glandular regions as prior information in convolutional neural network (CNN), guiding the network's preference for glands when inferring.

In this work, we propose a prior-aware CNN framework with multi-task learning for pathological colon images analysis, which contains gland segmentation and grading classification branches simultaneously. The segmentation's probability map also acts as the spatial attention for grading, emphasizing the glandular tissue and removing noise of irrelevant parts.

Experiments reveal that the proposed framework achieves accuracy of 97.04% and AUC of 0.9971 on grading. Meanwhile, our model can predict gland regions with mIoU of 0.8134. Importantly, it is based on the clinical-pathological diagnostic criteria of adenocarcinoma, which makes our model more interpretable.

Highlights

  • A prior-aware CNN framework with multi-task learning for pathological colon images analysis
  • The multi-task implementation for automatic gland segmentation and grading diagnosis
  • Tissue prior information transmission which based on the clinical pathological diagnostic criterion that acts as spatial attention for pathology-level interpretation

Results

Effectiveness of prior knowledge for grading

We utilized CAM method to visualize attention maps of branch-C classifier, The figure below shows segmentation results, classification predictions and classifier’s attention maps of pathological images on MT-noP and MT-P models. vis

Installation

Env Requirements

numpy==1.18.1
matplotlib==3.2.1
tqdm==4.45.0
torch==1.5.0
opencv_python==4.2.0.34
scikit_image==0.16.2
torchvision==0.6.0a0+82fd1c8
scipy==1.4.1
Pillow==7.1.2
PyYAML==5.3.1
scikit_learn==0.23.1
skimage

Config Parameters

  • You can refer to Here for CONFIG PARAMS YAML FILE of our proposal prior-aware CNN framework with multi-task learning (MT-P).
  • Also, you can achieve other architectures in ablation study experiments. Refer to xx/params_setting.txt in results folder.

Train, Evaluation and Inference

First, just adjust gpu in CONFIG YAML FILE for single GPU or multiple GPUs training.

Then, for model training, run

sh train.sh

It will generate {$1}_log.log file in results folder and save all log info, where {$1} is the value of arg param task in CONFIG YAML FILE.

For independent evaluation, run

python s5_inference.py

and if you want to generate the predicted results simultaneously, pass gen = True to independent_main(arg, gen=False).

Citation

If the project helps your research, please cite this paper.

@inproceedings{yan2020prior,
  title={Prior-aware cnn with multi-task learning for colon images analysis},
  author={Yan, Chaoyang and Xu, Jun and Xie, Jiawei and Cai, Chengfei and Lu, Haoda},
  booktitle={2020 IEEE 17th International Symposium on Biomedical Imaging (ISBI)},
  pages={254--257},
  year={2020},
  organization={IEEE}
}

Acknowledgement

Many thanks to ShuaiHui, who really helped me a lot on this work.

Contact

If you have any problems, just raise an issue in this repo.

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.