A Clinical-grade Universal Foundation Model for Intraoperative Pathology
Paper • 2510.04861 • Published
CRISP (Clinical-grade Robust Intraoperative Support for Pathology) is a universal foundation model designed for intraoperative frozen section analysis. Developed on over 100,000 frozen sections from eight medical centers, CRISP provides robust and generalizable diagnostic support across a wide range of tumor types, anatomical sites, and clinical scenarios.
CRISP require following dependencies:
Then, the generalizable features for intraoperative pathology can be extracted as follows:
import numpy as np
from PIL import Image
from crisp import get_trans, get_model
# build model and transforms
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
ckpt_path = "CRISP.pth" # please download the model weights first
trans = get_trans()
model = get_model(device, ckpt_path)
# dummy input
img = Image.fromarray((np.random.rand(224, 224, 3) * 255).astype(np.uint8))
img = img.convert("RGB")
# feature extraction
img = trans(img).unsqueeze(0).to(device)
print('input image shape:', img.shape)
feature = model(img)
print('output feature shape:', feature.shape)
>>> input image shape: torch.Size([1, 3, 224, 224])
>>> output feature shape: torch.Size([1, 2560])
@article{zhao2025clinical,
title={A Clinical-grade Universal Foundation Model for Intraoperative Pathology},
author={Zhao, Zihan and Zhou, Fengtao and Li, Ronggang and Chu, Bing and Zhang, Xinke and Zheng, Xueyi and Zheng, Ke and Wen, Xiaobo and Ma, Jiabo and Wang, Yihui and others},
journal={arXiv preprint arXiv:2510.04861},
year={2025}
}