StaDis: Stability distance to detecting out-of-distribution data in computational pathology

IF 11.8 1区 医学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Di Zhang , Jiusong Ge , Jiashuai Liu , Chunbao Wang , Tieliang Gong , Zeyu Gao , Chen Li
{"title":"StaDis: Stability distance to detecting out-of-distribution data in computational pathology","authors":"Di Zhang ,&nbsp;Jiusong Ge ,&nbsp;Jiashuai Liu ,&nbsp;Chunbao Wang ,&nbsp;Tieliang Gong ,&nbsp;Zeyu Gao ,&nbsp;Chen Li","doi":"10.1016/j.media.2025.103774","DOIUrl":null,"url":null,"abstract":"<div><div>Modern Computational pathology (CPath) models aim to alleviate the burden on pathologists. However, once deployed, these models may generate unreliable predictions when encountering data types not seen during training, potentially causing a trust crisis within the computational pathology community. Out-of-distribution (OOD) detection, acting as a safety measure before model deployment, demonstrates significant promise in ensuring the reliable use of models in real clinical application. However, most existing computational pathology models lack OOD detection mechanisms, and no OOD detection method is specifically designed for this field. In this paper, we propose a novel OOD detection approach called Stability Distance (StaDis), uniquely developed for CPath. StaDis measures the feature gap between an image and its perturbed counterpart. As a plug-and-play module, it requires no retraining and integrates seamlessly with any model. Additionally, for the first time, we explore OOD detection at the whole-slide image (WSI) level within the multiple instance learning (MIL) framework. Then, we design different pathological OOD detection benchmarks covering three real clinical scenarios: patch- and slide-level anomaly tissue detection, rare case mining, and frozen section (FS) detection. Finally, extensive comparative experiments are conducted on these pathological OOD benchmarks. In 38 experiments, our approach achieves SOTA performance in 23 cases and ranks second in 10 experiments. Especially, the AUROC results of StaDis with “Conch” as the backbone improve by 7.91% for patch-based anomaly tissue detection. Our code is available at <span><span>https://github.com/zdipath/StaDis</span><svg><path></path></svg></span>.</div></div>","PeriodicalId":18328,"journal":{"name":"Medical image analysis","volume":"107 ","pages":"Article 103774"},"PeriodicalIF":11.8000,"publicationDate":"2025-08-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Medical image analysis","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1361841525003202","RegionNum":1,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

Modern Computational pathology (CPath) models aim to alleviate the burden on pathologists. However, once deployed, these models may generate unreliable predictions when encountering data types not seen during training, potentially causing a trust crisis within the computational pathology community. Out-of-distribution (OOD) detection, acting as a safety measure before model deployment, demonstrates significant promise in ensuring the reliable use of models in real clinical application. However, most existing computational pathology models lack OOD detection mechanisms, and no OOD detection method is specifically designed for this field. In this paper, we propose a novel OOD detection approach called Stability Distance (StaDis), uniquely developed for CPath. StaDis measures the feature gap between an image and its perturbed counterpart. As a plug-and-play module, it requires no retraining and integrates seamlessly with any model. Additionally, for the first time, we explore OOD detection at the whole-slide image (WSI) level within the multiple instance learning (MIL) framework. Then, we design different pathological OOD detection benchmarks covering three real clinical scenarios: patch- and slide-level anomaly tissue detection, rare case mining, and frozen section (FS) detection. Finally, extensive comparative experiments are conducted on these pathological OOD benchmarks. In 38 experiments, our approach achieves SOTA performance in 23 cases and ranks second in 10 experiments. Especially, the AUROC results of StaDis with “Conch” as the backbone improve by 7.91% for patch-based anomaly tissue detection. Our code is available at https://github.com/zdipath/StaDis.
计算病理学中检测非分布数据的稳定距离
现代计算病理学(CPath)模型旨在减轻病理学家的负担。然而,一旦部署,当遇到训练期间未见的数据类型时,这些模型可能会产生不可靠的预测,从而可能导致计算病理学社区的信任危机。out -distribution (OOD)检测作为模型部署前的一项安全措施,在确保模型在实际临床应用中的可靠使用方面显示出巨大的希望。然而,大多数现有的计算病理学模型缺乏OOD检测机制,也没有专门为该领域设计的OOD检测方法。在本文中,我们提出了一种新的OOD检测方法,称为稳定距离(StaDis),这是专门为CPath开发的。StaDis测量图像与其扰动对应图像之间的特征差距。作为一个即插即用模块,它不需要再培训,并与任何模型无缝集成。此外,我们首次在多实例学习(MIL)框架中探索了全幻灯片图像(WSI)级别的OOD检测。然后,我们设计了不同的病理性OOD检测基准,涵盖了三种真实的临床场景:贴片和幻灯片水平的异常组织检测、罕见病例挖掘和冷冻切片(FS)检测。最后,对这些病理性OOD基准进行了广泛的对比实验。在38个实验中,我们的方法在23个案例中实现了SOTA性能,在10个实验中排名第二。特别是在基于patch的异常组织检测中,以“海螺”为主干的StaDis的AUROC结果提高了7.91%。我们的代码可在https://github.com/zdipath/StaDis上获得。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Medical image analysis
Medical image analysis 工程技术-工程:生物医学
CiteScore
22.10
自引率
6.40%
发文量
309
审稿时长
6.6 months
期刊介绍: Medical Image Analysis serves as a platform for sharing new research findings in the realm of medical and biological image analysis, with a focus on applications of computer vision, virtual reality, and robotics to biomedical imaging challenges. The journal prioritizes the publication of high-quality, original papers contributing to the fundamental science of processing, analyzing, and utilizing medical and biological images. It welcomes approaches utilizing biomedical image datasets across all spatial scales, from molecular/cellular imaging to tissue/organ imaging.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信