Safeguarding AI in Medical Imaging: Post-Hoc Out-of-Distribution Detection with Normalizing Flows
- 19 February 2026
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Journal of Biomedical and Health Informatics
- Vol. PP (21682194) , 1-14
Abstract
In AI-driven medical imaging, the failure to detect out-of-distribution (OOD) data poses a severe risk to clinical reliability, potentially leading to critical diagnostic errors. Current OOD detection methods often demand impractical retraining or modifications to pre-trained models, hindering their adoption in regulated clinical environments. To address this challenge, we propose a post-hoc normalizing flow-based approach that seamlessly integrates with existing pre-trained models without altering their weights. We evaluate the approach on our in-house-curated MedOOD dataset, designed to capture clinically relevant distribution shifts, and on the MedMNIST benchmark. The proposed method achieves an AUROC of 84.61% on MedOOD, outperforming ViM (80.65%) and MDS (80.87%), and reaches 93.8% AUROC on MedMNIST, surpassing ViM (88.08%) and ReAct (87.05%). This combination of strong performance and post-hoc integration capability makes our approach a practical and effective safeguard for clinical imaging workflows.Keywords
All Related Versions
Funding Information
- JC STEM Lab of Innovative Medical Imaging Research
- The Hong Kong Jockey Club Charities Trust
This publication has 35 references indexed in Scilit:
- Multi-layer Aggregation as a Key to Feature-Based OOD Detection2023
- Full-Spectrum Out-of-Distribution DetectionInternational Journal of Computer Vision, 2023
- DICE: Leveraging Sparsification for Out-of-Distribution Detection2022
- Out of Distribution Detection for Medical Images2021
- CHAOS Challenge - combined (CT-MR) healthy abdominal organ segmentationMedical Image Analysis, 2021
- Simulation of Brain Resection for Cavity Segmentation Using Self-supervised and Semi-supervised Learning2020
- A dataset of microscopic peripheral blood cell images for development of automatic recognition systemsData in Brief, 2020
- Automated brain extraction of multisequence MRI using artificial neural networksHuman Brain Mapping, 2019
- Identifying Medical Diagnoses and Treatable Diseases by Image-Based Deep LearningCell, 2018
- The SRI24 multichannel atlas of normal adult human brain structureHuman Brain Mapping, 2009