Coder Social home page Coder Social logo

jmnolte / hccnet Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 624.9 MB

Early prediction of liver cancer development using longitudinal MRI

License: Other

Python 100.00%
convolutional-neural-networks deep-learning hepatocellular-carcinoma convnextv2 transformers

hccnet's Introduction

HCCNet: Early Prediction of Hepatocellular Carcinoma Using Longitudinal MRI

Abstract

For hepatocellular carcinoma (HCC) patients, early-stage diagnosis continues to be the most important predictor of survival. However, lesion detection typically only occurs at an advanced stage and is largely affected by radiologists' experience. Therefore, this repository implements HCCNet - a spatio-temporal neural network that utilizes a 3D ConvNeXt 1 backbone combined with a transformer encoder 2 - to predict future cancer development based on past MRI examinations.

Model Architecture

Model Architecture

The model embeds the raw MR images in higher-dimensional feature space, adds time-based positional encodings, and subsequently processes the sequence of embedded image representations to predict the likelihood of future HCC development.

Training Protocol

Model training follows a step-wise approach. That is, we first pretrain both CNN backbone and Transformer encoder using self-supervised learning and then fine-tune the full model on our downstream task.

Pre-Training

We pretrain the CNN backbone adapting the DINO pretraining framework proposed in 3 to 3D medical images. Furthermore, for the Transformer encoder, we employ a custom pre-training approach, where we randomly shuffle 50% of embedded image sequences and train the model to differentiate shuffled from non-shuffled sequences. Note that during Transformer pre-training, we keep the parameters of the CNN backbone frozen.

Fine-Tuning

After pre-training, we initialize the model with the weights obtained after pre-training, add a linear pooling layer to the architecture, and fine-tune the full model on our downstream task.

Results

MRI Modality Init weights AUC-PR AUC-ROC
Diffusion Random 0.426 0.776
T1 pre- and post contrast Random 0.360 0.768
T1 in- and out-of-phase Random 0.202 0.621
T2 Random 0.374 0.705

Models results are averaged over 10 runs with different random seeds. Diffusion MRI scans include images with diffusion coefficient b = 0, 150, 400, and 800. T1 post-contrast images comprise, late aterial, portal venous, and delayed phase scans. Finally, T2 weighted images include scans with short and long echo time.

Future Additions

  • Add baseline results, i.e., without pre-training, for diffusion, T1, and T2 weighted MRI
  • Add results after pre-training

License

The repository is licensed under the apache-2.0 license.

Footnotes

  1. Liu, Z., Mao, H., Wu, C.Y., Feichtenhofer, C., Darrell, T., Xie, S., 2022. A ConvNet for the 2020s. URL: http://arxiv.org/abs/2201.03545. arXiv:2201.03545.

  2. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, L., Polosukhin, I., 2023. Attention Is All You Need. URL: http://arxiv.org/abs/1706.03762. arXiv:1706.03762.

  3. Caron, M., Touvron, H., Misra, I., J ́egou, H., Mairal, J., Bojanowski, P., Joulin, A., 2021. Emerging Properties in Self-Supervised Vision Transformers. URL: http://arxiv.org/abs/2104.14294. arXiv:2104.14294.

hccnet's People

Contributors

jmnolte avatar

Watchers

 avatar Kostas Georgiou avatar  avatar

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.