Abstract
Unsupervised Anomaly Detection (UAD) in medical imaging aims to identify pathologies by learning the distribution of healthy anatomy, thereby identifying anomalies as deviations from this learned norm. This paper investigates the critical role of noise characteristics in training denoising models for UAD. We demonstrate that the spatial frequency of noise is a primary determinant of performance. By introducing "coarse noise"—low-resolution Gaussian noise upsampled to image dimensions—simple Denoising Autoencoders (DAEs) can significantly outperform complex, state-of-the-art Diffusion models. Our findings across multiple modalities (MRI and CT) suggest that coarse noise forces models to learn global anatomical context, which is essential for effective anomaly reconstruction and detection.
Introduction
Identifying anomalies such as tumors or hemorrhages in medical scans is a critical task that traditionally relies on supervised deep learning. However, supervised methods are constrained by the requirement for massive, expertly annotated datasets, which are often unavailable or expensive to produce. Unsupervised Anomaly Detection (UAD) offers a compelling alternative: by training only on "healthy" data, a model learns to reconstruct normal anatomy. At inference time, the model's failure to accurately reconstruct an unseen pathology creates a "reconstruction error" that serves as a proxy for anomaly detection.
Despite their potential, traditional Denoising Autoencoders (DAEs) often struggle with a trade-off between local texture reconstruction and global anatomical understanding. If the noise used during training is too fine (e.g., pixel-wise Gaussian noise), the model becomes an expert at local interpolation but fails to recognize larger structural anomalies. This paper explores the "Goldilocks zone" of noise to optimize UAD performance.
Methodology
Architectures
The study compares two primary denoising architectures:
- Denoising Autoencoders (DAEs): A U-Net based architecture that performs a single-step reconstruction from a noisy input to a clean output.
- Denoising Diffusion Probabilistic Models (DDPM): A generative approach that iteratively removes noise over hundreds of steps.
The Coarse Noise Innovation
The central contribution of this work is the investigation of Coarse Noise. Unlike standard Gaussian noise applied independently to each pixel, coarse noise is generated through the following process:
- Low-Resolution Sampling: Gaussian noise is sampled at a significantly lower resolution (e.g., $16 \times 16$ for a $128 \times 128$ image).
- Upsampling: This low-res noise is bilinearly upsampled to the target image resolution, creating "blurry" noise blocks.
- Random Translation: To prevent the model from overfitting to the upsampling grid, random translations are applied to the noise mask.
This approach prevents the model from relying on immediate neighboring pixels for reconstruction. Instead, the model is forced to utilize wider anatomical context to "fill in" the noisy regions, which is crucial for identifying when that context is disrupted by a lesion.
Experimental Setup
Datasets
The models were evaluated across three diverse datasets to ensure robustness:
- BraTS 2021: A benchmark dataset for brain MRI tumor segmentation.
- iCAIRD (GG&C NHS): A large-scale, "uncurated" dataset of brain CT scans. The researchers utilized an NLP-based pipeline to extract a "healthy" training cohort from over 16,000 radiology reports, demonstrating the feasibility of using real-world hospital data.
- qure.ai CQ500: Used for qualitative validation across various head CT pathologies.
Results and Discussion
The Superiority of Coarse Noise
The experiments revealed that the spatial resolution of noise ($\alpha$) is a critical hyperparameter. A noise resolution of approximately $\alpha=16$ was found to be optimal. At this level, the DAE achieved an AUPRC of 0.833 on the BraTS dataset, a massive improvement over the 0.325 AUPRC achieved with standard Gaussian noise. Remarkably, this simple DAE configuration also outperformed the best-tuned Diffusion models (0.796 AUPRC).
Efficiency and Generalization
Beyond accuracy, the DAE approach offers significant practical advantages. Because it requires only a single forward pass, it is orders of magnitude faster at inference time than iterative Diffusion models. Furthermore, the optimal noise parameters ($\alpha=16, \sigma=0.2$) proved consistent across both MRI and CT modalities, suggesting that coarse noise addresses a fundamental requirement of the UAD task rather than a dataset-specific quirk.
Limitations
While highly effective for large or high-contrast anomalies like tumors and hemorrhages, the reconstruction-based approach still faces challenges with subtle pathologies. If an anomaly (such as early-stage ischemia) shares a similar intensity profile with healthy tissue, the reconstruction error may be too low for reliable detection.
Conclusion
This research demonstrates that in the context of medical anomaly detection, model complexity is secondary to the design of the pretext task. By carefully calibrating the scale of noise, simple Denoising Autoencoders can surpass the performance of more complex generative models. The use of coarse noise provides a robust, efficient, and scalable framework for unsupervised pathology detection in clinical settings, particularly when paired with automated data curation via NLP.
Summary updated