[Paper Review] Diffusion Models for Medical Anomaly Detection
This paper proposes a novel weakly supervised anomaly detection method using denoising diffusion implicit models (DDIMs) combined with classifier guidance for medical image-to-image translation. By iteratively noising and denoising input images with guidance from a trained classifier, the method generates high-fidelity healthy reconstructions, producing detailed anomaly maps as the pixel-wise difference—achieving state-of-the-art performance on BRATS2020 and CheXpert datasets without architectural or training modifications.
In medical applications, weakly supervised anomaly detection methods are of great interest, as only image-level annotations are required for training. Current anomaly detection methods mainly rely on generative adversarial networks or autoencoder models. Those models are often complicated to train or have difficulties to preserve fine details in the image. We present a novel weakly supervised anomaly detection method based on denoising diffusion implicit models. We combine the deterministic iterative noising and denoising scheme with classifier guidance for image-to-image translation between diseased and healthy subjects. Our method generates very detailed anomaly maps without the need for a complex training procedure. We evaluate our method on the BRATS2020 dataset for brain tumor detection and the CheXpert dataset for detecting pleural effusions.
Motivation & Objective
- Address the challenge of obtaining pixel-wise annotations in medical imaging by enabling weakly supervised anomaly detection using only image-level labels.
- Overcome limitations of existing autoencoder and GAN-based methods, which often struggle with training complexity or poor preservation of fine anatomical details.
- Develop a method that generates detailed, realistic healthy image translations while preserving non-pathological structures, enabling precise anomaly localization.
- Demonstrate the feasibility and effectiveness of diffusion models in medical anomaly detection, a domain previously unexplored for this task.
- Provide a plug-and-play solution that requires no changes to the model architecture or training procedure beyond standard DDIM and classifier training.
Proposed method
- Train a denoising diffusion probabilistic model (DDPM) and a binary classifier on unpaired healthy and diseased medical images using only image-level labels.
- Use the deterministic iterative noising process of DDIM to encode the anatomical structure of an input image by reversing the forward diffusion process.
- Apply classifier guidance during the denoising phase to steer the generation toward a healthy image, using the gradient of the classifier to guide the denoising network.
- Generate a synthetic healthy image by iteratively denoising the encoded noisy representation, with guidance from the classifier to ensure disease removal.
- Compute the anomaly map as the L2 difference between the original input image and the generated healthy image, highlighting pathological regions.
- Leverage the DDIM sampling scheme to preserve fine details in non-pathological regions while reconstructing only the diseased areas with realistic tissue appearance.
Experimental results
Research questions
- RQ1Can diffusion models be effectively adapted for weakly supervised medical anomaly detection without requiring pixel-level annotations?
- RQ2Does the combination of DDIM's iterative noising/denoising and classifier guidance produce more detailed and accurate anomaly maps than existing autoencoder or GAN-based methods?
- RQ3How sensitive is the method's performance to hyperparameters such as the number of sampling steps (L) and the classifier guidance scale (s)?
- RQ4Can the method preserve fine anatomical details in non-pathological regions while accurately removing or reconstructing diseased areas?
- RQ5Does the proposed method outperform state-of-the-art baselines such as FP-GAN and VAE on standard medical anomaly detection benchmarks?
Key findings
- The proposed method achieved state-of-the-art performance on the BRATS2020 dataset, with an average Dice score of 0.62 and AUROC of 0.97 for tumor segmentation using optimal hyperparameters.
- On the CheXpert dataset, the method demonstrated strong generalization for detecting pleural effusions, outperforming baseline methods in anomaly map quality and localization accuracy.
- The method produced highly detailed anomaly maps that preserved fine anatomical structures in non-diseased regions, unlike DDPM-based baselines that distorted basic anatomy.
- Hyperparameter sensitivity analysis showed that both the noise level (L) and classifier guidance scale (s) significantly affect performance, with optimal values balancing artifact suppression and tumor removal.
- When applied to healthy images, the method generated near-zero anomaly maps, confirming that it does not introduce spurious anomalies in the absence of pathology.
- The method achieved high-quality image-to-image translation with minimal architectural or training modifications, demonstrating its plug-and-play potential for diverse medical imaging applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.