Skip to main content
QUICK REVIEW

[Paper Review] BMAD: Benchmarks for Medical Anomaly Detection

Jinan Bao, Hanshi Sun|arXiv (Cornell University)|Jun 20, 2023
Anomaly Detection Techniques and ApplicationsComputer Science3 citations
TL;DR

BMAD introduces a standardized, comprehensive benchmark for medical anomaly detection (MAD) using six curated datasets across five medical imaging domains—brain MRI, liver CT, retinal OCT, chest X-ray, and histopathology—featuring 14 state-of-the-art AD models and three evaluation metrics (AUROC, PRO, DICE). The benchmark enables fair, reproducible comparisons and accelerates progress in unsupervised medical AD by providing a unified codebase and pre-trained models.

ABSTRACT

Anomaly detection (AD) is a fundamental research problem in machine learning and computer vision, with practical applications in industrial inspection, video surveillance, and medical diagnosis. In medical imaging, AD is especially vital for detecting and diagnosing anomalies that may indicate rare diseases or conditions. However, there is a lack of a universal and fair benchmark for evaluating AD methods on medical images, which hinders the development of more generalized and robust AD methods in this specific domain. To bridge this gap, we introduce a comprehensive evaluation benchmark for assessing anomaly detection methods on medical images. This benchmark encompasses six reorganized datasets from five medical domains (i.e. brain MRI, liver CT, retinal OCT, chest X-ray, and digital histopathology) and three key evaluation metrics, and includes a total of fourteen state-of-the-art AD algorithms. This standardized and well-curated medical benchmark with the well-structured codebase enables comprehensive comparisons among recently proposed anomaly detection methods. It will facilitate the community to conduct a fair comparison and advance the field of AD on medical imaging. More information on BMAD is available in our GitHub repository: https://github.com/DorisBao/BMAD

Motivation & Objective

  • To address the lack of a standardized, fair benchmark for evaluating anomaly detection methods on medical images.
  • To unify and reorganize existing medical imaging datasets from diverse domains into a consistent, evaluation-ready format for anomaly detection.
  • To enable comprehensive, reproducible comparisons across state-of-the-art anomaly detection models in medical imaging.
  • To provide a well-documented, open-source codebase with training and inference pipelines for all 14 evaluated methods.
  • To facilitate future research by identifying performance gaps and potential directions through systematic evaluation.

Proposed method

  • The benchmark integrates six reorganized medical imaging datasets from five domains: BraTS2021 (brain MRI), BTCV+LiTs (liver CT), RESC (retinal OCT), NIH-ChestXRay (chest X-ray), and three histopathology datasets (TCGA-NSCLC, TCGA-KIRC, TCGA-KIRP).
  • Datasets are preprocessed to ensure consistency: normal samples are used for training, and anomalies are preserved for evaluation, with pixel-level and sample-level annotations available where applicable.
  • The benchmark evaluates 14 state-of-the-art unsupervised anomaly detection models, including reconstruction-based (e.g., Autoencoders, GANs, Diffusion models) and feature-embedding-based methods (e.g., PatchCore, PaDiM, DRAEM, STFPM).
  • Three evaluation metrics are used: AUROC (image and pixel-level), Per-Region Overlap (PRO), and Dice score (threshold-dependent), with threshold optimization explored for Dice.
  • A unified codebase is provided via GitHub, supporting training, inference, and evaluation with consistent hyperparameters and data splits.
  • Hyperparameters are optimized per method (e.g., CS-Flow uses Adam with 2e-4 initial LR, weight decay 1e-5, gradient clamping at 1, and flow clamping at 3).

Experimental results

Research questions

  • RQ1How do state-of-the-art anomaly detection models perform across diverse medical imaging domains with standardized evaluation?
  • RQ2What are the relative strengths and weaknesses of reconstruction-based vs. feature-embedding-based anomaly detection methods in medical imaging?
  • RQ3To what extent do model performance and generalization vary across different medical imaging modalities (e.g., MRI vs. OCT vs. histopathology)?
  • RQ4How do different evaluation metrics (AUROC, PRO, Dice) correlate with clinical relevance and localization accuracy?
  • RQ5What are the key bottlenecks in current medical AD methods, and what research directions are suggested by benchmark results?

Key findings

  • PatchCore achieved the highest pixel-level AUROC of 32.82±0.59 on BraTS2021, outperforming other models including CFA (30.22±0.32) and STFPM (25.40±0.82).
  • On the BTCV+LiTs dataset, CFA achieved 14.93±0.08 AUROC, the highest among all methods, indicating strong performance on liver CT.
  • PatchCore achieved the highest DICE score of 57.04±0.21 on the RESC dataset, demonstrating superior localization accuracy for retinal OCT anomalies.
  • STFPM achieved the highest DICE score of 49.23±0.23 on the RESC dataset, highlighting strong performance in fine-grained anomaly localization.
  • The DICE score is highly threshold-dependent; with optimal threshold tuning, performance can be significantly improved beyond the 0.5 threshold baseline (e.g., PatchCore DICE increased from 57.04 to potentially higher values).
  • The benchmark reveals that no single model dominates across all domains, indicating the need for domain-specific adaptation and further research in generalization.

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.