Skip to main content
QUICK REVIEW

[Paper Review] Anomaly Detection on X-Rays Using Self-Supervised Aggregation Learning

Behzad Bozorgtabar, Dwarikanath Mahapatra|arXiv (Cornell University)|Oct 19, 2020
Anomaly Detection Techniques and ApplicationsComputer Science29 references5 citations
TL;DR

This paper proposes SALAD, a self-supervised deep learning framework for X-ray anomaly detection that learns prototypical normal patterns via a memory bank and similarity aggregation, achieving state-of-the-art performance on NIH Chest X-ray and MURA datasets without using anomalous labels during training.

ABSTRACT

Deep anomaly detection models using a supervised mode of learning usually work under a closed set assumption and suffer from overfitting to previously seen rare anomalies at training, which hinders their applicability in a real scenario. In addition, obtaining annotations for X-rays is very time consuming and requires extensive training of radiologists. Hence, training anomaly detection in a fully unsupervised or self-supervised fashion would be advantageous, allowing a significant reduction of time spent on the report by radiologists. In this paper, we present SALAD, an end-to-end deep self-supervised methodology for anomaly detection on X-Ray images. The proposed method is based on an optimization strategy in which a deep neural network is encouraged to represent prototypical local patterns of the normal data in the embedding space. During training, we record the prototypical patterns of normal training samples via a memory bank. Our anomaly score is then derived by measuring similarity to a weighted combination of normal prototypical patterns within a memory bank without using any anomalous patterns. We present extensive experiments on the challenging NIH Chest X-rays and MURA dataset, which indicate that our algorithm improves state-of-the-art methods by a wide margin.

Motivation & Objective

  • Address the challenge of poor generalization in supervised anomaly detection due to long-tailed distributions and rare anomalies in X-ray imaging.
  • Reduce reliance on costly radiologist-annotated anomalies by enabling fully self-supervised training.
  • Improve clustering of normal X-ray features to form robust prototypical patterns in the latent space.
  • Develop a method that generalizes well to unseen, imbalanced anomalies without overfitting to previously seen rare classes.
  • Achieve state-of-the-art performance in both unsupervised and semi-supervised anomaly detection regimes on clinical X-ray datasets.

Proposed method

  • Use a deep autoencoder backbone with a convolutional encoder and transposed decoder to learn image representations and reconstructions.
  • Maintain a memory bank of feature embeddings from normal training samples to store prototypical normal patterns.
  • Optimize a self-supervised loss that minimizes entropy of similarity distributions between each sample and its nearest neighbors in the embedding space.
  • Introduce a novel aggregation loss ($\mathcal{L}_{\text{agg}}$) that encourages similar normal samples to cluster tightly around learned prototypes.
  • Apply progressive training with a contrastive objective and a temperature-scaled cross-entropy loss to stabilize representation learning.
  • Compute anomaly scores as the weighted similarity between test image features and the most representative normal prototypes in the memory bank.

Experimental results

Research questions

  • RQ1Can self-supervised representation learning with a memory bank improve anomaly detection in X-rays without using labeled anomalies?
  • RQ2How does the proposed aggregation loss enhance the formation of prototypical normal patterns compared to standard contrastive or reconstruction losses?
  • RQ3To what extent does SALAD generalize to rare and unseen anomalies compared to supervised or semi-supervised baselines?
  • RQ4How sensitive is SALAD's performance to the inclusion of labeled anomalous data during training, given its self-supervised nature?
  • RQ5Can the method achieve state-of-the-art results across multiple clinical X-ray benchmarks like NIH and MURA under unsupervised and semi-supervised settings?

Key findings

  • SALAD outperforms all state-of-the-art unsupervised and self-supervised anomaly detection methods on the NIH Chest X-ray dataset, achieving a 5.8% absolute improvement in AUC over the baseline MemDAE.
  • On the MURA dataset, SALAD achieves a significant performance gain over existing methods, with a notable improvement in both AUC and AUPRC metrics.
  • The method surpasses semi-supervised and supervised baselines like Deep SAD and ResNet-18, even when the latter use labeled anomalies, due to reduced overfitting to rare classes.
  • Ablation studies confirm that both the aggregation loss ($\mathcal{L}_{\text{agg}}$) and the MSE reconstruction loss ($\mathcal{L}_{\text{mse}}$) contribute significantly to performance, with $\mathcal{L}_{\text{agg}}$ being particularly effective.
  • SALAD shows low sensitivity to the ratio of labeled anomalous data (up to 15%), confirming its robustness and self-supervised nature.
  • The method achieves state-of-the-art results across all learning regimes, including fully unsupervised and semi-supervised settings, on both NIH and MURA datasets.

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.