Towards A Generalizable Pathology Foundation Model via Unified Knowledge Distillation
Jiabo Ma, Zhengrui Guo, Fengtao Zhou, Yihui Wang, Yingxue Xu, Jinbang Li, Fang Yan, Yu Cai, Zhengjie Zhu, Cheng Jin, Yi Lin, Xinrui Jiang, Chenglong Zhao, Danyi Li, Anjia Han, Zhenhui Li, Ronald Cheong Kin Chan, Jiguang Wang, Peng Fei, Kwang-Ting Cheng, Shaoting Zhang, Li Liang, Hao Chen
TL;DR
This work introduces GPFM, a Generalizable Pathology Foundation Model, trained with a unified knowledge distillation framework that combines self-distillation and expert knowledge distillation from multiple pathology FMs. Using a large, diverse pretraining corpus of 95,572 WSIs (34 tissue types) and 190 million patches, GPFM is evaluated across 72 tasks spanning six clinical categories, including WSI classification, survival analysis, ROI classification, image retrieval, VQA, and report generation. GPFM achieves state-of-the-art generalization, with an average task-rank of 1.6 and first place on 42 tasks, significantly outperforming specialized models like UNI and others; ablations confirm the value of expert distillation. The approach demonstrates practical potential for a versatile, data-efficient pathology AI system, enabling robust transfer across diverse clinical tasks while preserving privacy by distilling knowledge from multiple existing models without requiring access to their original data.”
Abstract
Foundation models pretrained on large-scale datasets are revolutionizing the field of computational pathology (CPath). The generalization ability of foundation models is crucial for the success in various downstream clinical tasks. However, current foundation models have only been evaluated on a limited type and number of tasks, leaving their generalization ability and overall performance unclear. To address this gap, we established a most comprehensive benchmark to evaluate the performance of off-the-shelf foundation models across six distinct clinical task types, encompassing a total of 72 specific tasks, including slide-level classification, survival prediction, ROI-tissue classification, ROI retrieval, visual question answering, and report generation. Our findings reveal that existing foundation models excel at certain task types but struggle to effectively handle the full breadth of clinical tasks. To improve the generalization of pathology foundation models, we propose a unified knowledge distillation framework consisting of both expert and self-knowledge distillation, where the former allows the model to learn from the knowledge of multiple expert models, while the latter leverages self-distillation to enable image representation learning via local-global alignment. Based on this framework, we curated a dataset of 96,000 whole slide images (WSIs) and developed a Generalizable Pathology Foundation Model (GPFM). This advanced model was trained on a substantial dataset comprising 190 million images extracted from approximately 72,000 publicly available slides, encompassing 34 major tissue types. Evaluated on the established benchmark, GPFM achieves an impressive average rank of 1.6, with 42 tasks ranked 1st, while the second-best model, UNI, attains an average rank of 3.7, with only 6 tasks ranked 1st.
