English

Dimensionality Reduction and Nearest Neighbors for Improving Out-of-Distribution Detection in Medical Image Segmentation

Computer Vision and Pattern Recognition 2024-10-03 v3 Machine Learning

Abstract

Clinically deployed deep learning-based segmentation models are known to fail on data outside of their training distributions. While clinicians review the segmentations, these models tend to perform well in most instances, which could exacerbate automation bias. Therefore, detecting out-of-distribution images at inference is critical to warn the clinicians that the model likely failed. This work applied the Mahalanobis distance (MD) post hoc to the bottleneck features of four Swin UNETR and nnU-net models that segmented the liver on T1-weighted magnetic resonance imaging and computed tomography. By reducing the dimensions of the bottleneck features with either principal component analysis or uniform manifold approximation and projection, images the models failed on were detected with high performance and minimal computational load. In addition, this work explored a non-parametric alternative to the MD, a k-th nearest neighbors distance (KNN). KNN drastically improved scalability and performance over MD when both were applied to raw and average-pooled bottleneck features.

Keywords

Cite

@article{arxiv.2408.02761,
  title  = {Dimensionality Reduction and Nearest Neighbors for Improving Out-of-Distribution Detection in Medical Image Segmentation},
  author = {McKell Woodland and Nihil Patel and Austin Castelo and Mais Al Taie and Mohamed Eltaher and Joshua P. Yung and Tucker J. Netherton and Tiffany L. Calderone and Jessica I. Sanchez and Darrel W. Cleere and Ahmed Elsaiey and Nakul Gupta and David Victor and Laura Beretta and Ankit B. Patel and Kristy K. Brock},
  journal= {arXiv preprint arXiv:2408.02761},
  year   = {2024}
}

Comments

Accepted for publication at the Journal of Machine Learning for Biomedical Imaging (MELBA) https://melba-journal.org/2024:020. Expansion of "Dimensionality Reduction for Improving Out-of-Distribution Detection in Medical Image Segmentation" arXiv:2308.03723. Code available at https://github.com/mckellwoodland/dimen_reduce_mahal (https://zenodo.org/records/13881989)