Skip to main content
QUICK REVIEW

[Paper Review] FRODO: Free rejection of out-of-distribution samples: application to chest x-ray analysis

Erdi Çallı, Keelin Murphy|arXiv (Cornell University)|Apr 16, 2019
COVID-19 diagnosis using AIMedicine2 citations
TL;DR

This paper proposes FRODO, a novel method to detect out-of-distribution (OOD) chest X-ray images using Mahalanobis distance on intermediate feature activations from a pre-trained ResNet-50 model. Without requiring additional training data, FRODO achieves an AUC of 0.99 in distinguishing in-distribution from OOD samples, demonstrating strong generalization across diverse anatomical and orientation errors.

ABSTRACT

In this work, we propose a method to reject out-of-distribution samples which can be adapted to any network architecture and requires no additional training data. Publicly available chest x-ray data (38,353 images) is used to train a standard ResNet-50 model to detect emphysema. Feature activations of intermediate layers are used as descriptors defining the training data distribution. A novel metric, FRODO, is measured by using the Mahalanobis distance of a new test sample to the training data distribution. The method is tested using a held-out test dataset of 21,176 chest x-rays (in-distribution) and a set of 14,821 out-of-distribution x-ray images of incorrect orientation or anatomy. In classifying test samples as in or out-of distribution, our method achieves an AUC score of 0.99.

Motivation & Objective

  • To address the challenge of detecting out-of-distribution (OOD) medical images that can mislead diagnostic models.
  • To develop a method that detects OOD samples without requiring additional training data or architectural modifications.
  • To enable robust OOD detection in clinical imaging pipelines using only in-distribution training data.
  • To evaluate the method’s performance on real-world OOD cases such as incorrect X-ray orientations and abnormal anatomy.

Proposed method

  • The method uses feature activations from intermediate layers of a pre-trained ResNet-50 model as descriptors of the in-distribution data.
  • FRODO computes the Mahalanobis distance between a test sample’s feature vector and the distribution of training features to measure OOD likelihood.
  • The training data distribution is modeled using the covariance matrix of activation features from the ResNet-50’s intermediate layers.
  • The method is architecture-agnostic and can be applied to any deep neural network by extracting intermediate features.
  • A threshold on the Mahalanobis distance is used to classify samples as in- or out-of-distribution.

Experimental results

Research questions

  • RQ1Can a method detect OOD chest X-ray images without requiring additional training data?
  • RQ2How well does Mahalanobis distance on intermediate features perform in distinguishing OOD from in-distribution X-rays?
  • RQ3Can the method generalize to diverse OOD cases such as incorrect anatomy or image orientation?
  • RQ4What is the performance of the method in terms of AUC for OOD detection?

Key findings

  • FRODO achieved an AUC of 0.99 in distinguishing in-distribution chest X-rays from out-of-distribution samples, indicating excellent discrimination performance.
  • The method successfully detected OOD samples such as images with incorrect anatomical orientation or abnormal anatomy.
  • The approach required no additional training data, relying solely on the pre-trained ResNet-50 and its intermediate feature statistics.
  • The use of Mahalanobis distance on feature activations proved highly effective for OOD detection in medical imaging.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.