Official respository for DeReF.
Huayi Wang, Haochao Ying, Yuyang Xu, Qibo Qiu, Cheng Zhang, Danny Z. Chen, Ying Sun, and Jian Wu
@ARTICLE{11417210,
author={Wang, Huayi and Ying, Haochao and Xu, Yuyang and Qiu, Qibo and Zhang, Cheng and Chen, Danny Z. and Sun, Ying and Wu, Jian},
journal={IEEE Transactions on Medical Imaging},
title={Decouple, Reorganize, and Fuse: A Multimodal Framework for Cancer Survival Prediction},
year={2026},
volume={45},
number={6},
pages={3124-3136},
doi={10.1109/TMI.2026.3668773}}Summary: Here is the official implementation of the paper "Decouple, Reorganize, and Fuse: A Multimodal Framework for Cancer Survival Prediction".
torch 2.3.1+cu121
scikit-survival 0.23.0- Download diagnostic WSIs from TCGA
- Use the WSI processing tool provided by CLAM to extract resnet-50 pretrained 1024-dim feature for each 256
$\times$ 256 patch (20x), which we then save as.ptfiles for each WSI. So, we get onept_filesfolder storing.ptfiles for all WSIs of one study.
The final structure of datasets should be as following:
DATA_ROOT_DIR/
└──pt_files/
├── slide_1.pt
├── slide_2.pt
└── ...DATA_ROOT_DIR is the base directory of cancer type (e.g. the directory to TCGA_BLCA), which should be passed to the model with the argument --data_root_dir as shown in run1.sh.
In this work, we directly use the preprocessed genomic data provided by PORPOISE, stored in folder csv.
Splits for each cancer type are found in the splits/5foldcv folder, which are randomly partitioned each dataset using 5-fold cross-validation. Each one contains splits_{k}.csv for k = 1 to 5.
To train DeReF, you can specify the argument in the bash run1.sh and run the command:
bash run1.shor use the following generic command-line and specify the arguments:
CUDA_VISIBLE_DEVICES=<DEVICE_ID> python main.py \
--which_splits 5foldcv \
--dataset <CANCER_TYPE> \
--data_root_dir <DATA_ROOT_DIR>\
--modal coattn \
--model DeReF \
--num_epoch 30 \
--batch_size 1 \
--loss nll_surv_mse \
--lr 0.0005 \
--optimizer Adam \
--scheduler None \
--alpha 1.0Commands for all experiments of DeReF can be found in the run1.sh file.
Huge thanks to the authors of following open-source projects:
If you find our work useful in your research, please consider citing our paper at:
@ARTICLE{11417210,
author={Wang, Huayi and Ying, Haochao and Xu, Yuyang and Qiu, Qibo and Zhang, Cheng and Chen, Danny Z. and Sun, Ying and Wu, Jian},
journal={IEEE Transactions on Medical Imaging},
title={Decouple, Reorganize, and Fuse: A Multimodal Framework for Cancer Survival Prediction},
year={2026},
volume={45},
number={6},
pages={3124-3136},
doi={10.1109/TMI.2026.3668773}}