FuseCPath
Official implementation of the paper: Fusion of Multi-scale Heterogeneous Pathology Foundation Models for Whole Slide Image Analysis.
Install / Use
/learn @ZhidongYang/FuseCPathREADME
FuseCPath
Official implementation of the paper: Fusion of Multi-scale Heterogeneous Pathology Foundation Models for Whole Slide Image Analysis. Code for biomarker prediction is available at this moment. Complete usage will be released upon paper accepatance.
Introduction
<img align="right" src="assets/FuseCPath_logo_v2.png" width="250px" /> Pathological FMs have exhibited substantial heterogeneity caused by diverse private training datasets and different network architectures. This heterogeneity introduces performance variability when we utilize the extracted features from different FMs in the downstream tasks. To fully explore the advantage of multiple FMs effectively, in this work, we propose a novel framework for the fusion of heterogeneous pathological FMs, called FuseCPath, yielding a model with a superior ensemble performance by introducing patch-level local features re-embedding and slide-level collaborative distillation. Extensive experiments conducted on cancer datasets from The Cancer Genome Atlas (TCGA) have demonstrated that the proposed FuseCPath achieves state-of-the-art performance across multiple tasks on these public datasets.System requirement
Ubuntu 20.04, CUDA version 12.0. <br>
Dataset
Whole slide image (WSI) and gene expression dataset: The WSIs used in this work are from TCGA (https://portal.gdc.cancer.gov/), open access to all.
Major packages
python==3.10
torch==2.6.0
torchvision==0.21.0
huggingface-hub==0.30.2
openslide-python==1.4.2
trident
mvlearn
Usage
Complete usage will be released upon paper accepatance.
python train.py --wsi_train_feat_dir './training_emds' \
--model_output_path './results' \
--wsi_valid_feat_dir './validation_emds' \
--label_path './labels' \
--teacher_emds_path_1 './teacher_1_emds' \
--teacher_emds_path_2 './teacher_2_emds' \
--teacher_emds_path_3 './teacher_3_emds' \
--num_classes 2 \
--epochs 60 \
--batch-size 64 \
--lr 0.0001 \
--seed 2025
Acknowledgement
We sinceresly thank following work with their open-sourced code.<br> Wentao,Tang et al. Feature Re-Embedding: Towards Foundation Model-Level Performance in Computational Pathology. CVPR 2024. https://doi.ieeecomputersociety.org/10.1109/CVPR52733.2024.01078 <br> Andrew Z et al. Accelerating Data Processing and Benchmarking of AI Models for Pathology. arXiv 2025. https://arxiv.org/pdf/2502.06750 <br>
Citation
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
