diff --git a/README.md b/README.md index 1b537ad41b6c66ed503aa2441f31bec1a1c76b34..04c7dbabf81b17979326fdff17670a1b5169e596 100644 --- a/README.md +++ b/README.md @@ -1 +1,11 @@ -TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classification +# TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classification [NeurIPS 2021] +## Abstract +Multiple instance learning (MIL) is a powerful tool to solve the weakly supervised classification in whole slide image (WSI) based pathology diagnosis. However, the current MIL methods are usually based on independent and identical distribution hypothesis, thus neglect the correlation among different instances. To address this problem, we proposed a new framework, called correlated MIL, and provided a proof for convergence. Based on this framework, we devised a Transformer based MIL (TransMIL), which explored both morphological and spatial information. The proposed TransMIL can effectively deal with unbalanced/balanced and binary/multiple classification with great visualization and interpretability. We conducted various experiments for three different computational pathology problems and achieved better performance and faster convergence compared with state-of-the-art methods. The test AUC for the binary tumor classification can be up to 93.09% over CAMELYON16 dataset. And the AUC over the cancer subtypes classification can be up to 96.03% and 98.82% over TCGA-NSCLC dataset and TCGA-RCC dataset, respectively. +### Train +```python +python train.py --stage='train' --config='Camelyon/TransMIL.yaml' --gpus=0 --fold=0 +``` +### Test +```python +python train.py --stage='test' --config='Camelyon/TransMIL.yaml' --gpus=0 --fold=0 +```