Structure-aware generalization for heterogeneous histopathology via prototype-based multiple instance learning
Accurate and generalizable cancer diagnosis from whole slide images (WSIs) remains challenging due to limited fine-grained annotations, complex tumor architectures, and domain shifts across scanners and institutions<sup>1</sup>. We introduce StructMIL, a structure-aware and prototype-driven multiple instance learning framework designed for robust and interpretable cancer detection and grading<sup>2</sup>. StructMIL integrates graph-based topological priors with histological context, employs prototype-enhanced pooling for stable and transparent predictions, and incorporates a unified domain-generalization strategy that combines contrastive alignment, adversarial confusion, and consistency regularization. Evaluated on Camelyon16 for breast cancer metastasis detection and PANDA for prostate cancer Gleason grading, StructMIL achieves state-of-the-art performance. On Camelyon16, StructMIL improves cross-center AUC by +3.2% over standard MIL baselines, reaching an AUC of 0.967. On PANDA, it improves cross-scanner Gleason grading robustness with a +7.4% Cohen's Kappa gain compared with prior MIL models, demonstrating substantially reduced performance degradation under domain shift. StructMIL further provides interpretable prototype-based attribution maps that highlight biologically meaningful structures more reliably than conventional MIL and graph-free approaches<sup>3</sup>. By jointly improving accuracy, interpretability, and generalization across scanners and medical centers, StructMIL offers a practical and clinically aligned solution for large-scale deployment in multi-center computational pathology workflows<sup>4</sup>.
Authors
- Zhelin Xia
- Bei Wang (ORCID: https://orcid.org/0000-0002-4764-3789)
- Linlin Zhang (ORCID: https://orcid.org/0000-0001-5073-1694)
- Helin Wang
- Zhenjun Yu
- Donghao Xu
- Peng Zhang
- Liang Wu
- Zhiyuan Zhang
- Zhenxiong Zhao
Institutions
- Shanghai Jiao Tong University (CN)
- Fudan University (CN)
- Ruijin Hospital (CN)
- Zhongshan Hospital (CN)
- Taizhou Central Hospital (CN)
- The Central Hospital of Shaoyang (CN)
- Taizhou University (CN)
Publication Details
- Journal
- npj Digital Medicine
- Published
- 2026-01-15
- DOI
- https://doi.org/10.1038/s41746-025-02289-4
- Primary Topic
- AI in cancer detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00