Introduction
In medical imaging, segmenting anomalies such as tumors or stroke lesions is critical for diagnosis and treatment planning. While deep learning has advanced this field, most high-performing models require extensive pixel-level annotations, which are costly and time-consuming to obtain. Weakly-supervised methods, which only require image-level labels (e.g., "healthy" vs. "unhealthy"), offer a more scalable alternative. However, many current diffusion-based anomaly detection methods suffer from the "reconstruction trap"—relying on slow, error-prone iterative reconstruction—and the "tuning paradox," where pixel-level labels are still needed to optimize hyperparameters during testing.
This paper introduces AnoFPDM (Anomaly Detection with Forward Process of Diffusion Models), a framework that circumvents these issues by analyzing the forward noise-addition process of diffusion models.
Methodology
AnoFPDM shifts the focus from backward reconstruction to the forward diffusion process. The core of the method lies in comparing two distinct paths: the Healthy-guided Forward Process (HFP) and the Unguided Forward Process (UFP).
HFP vs. UFP Divergence
The HFP forces the model to predict a "healthy" version of a noisy input, while the UFP provides a standard prediction. The mathematical divergence between these two predictions highlights anomalous regions. By avoiding iterative sampling, AnoFPDM reduces computational overhead and eliminates the accumulation of reconstruction errors.
Dynamic Hyperparameters and SAM Aggregation
A significant contribution of AnoFPDM is the dynamic selection of the Noise Scale ($t_e$) and Segmentation Threshold ($Q^*$) for each individual image. The model identifies a "sweet spot" where the anomaly signal is most prominent. To further refine the output, the framework utilizes Sub-Anomaly Map (SAM) Aggregation. By summing maps across multiple noise levels, the model leverages the consistency of anomalous features to filter out random background noise.
Experimental Results
The framework was evaluated on two benchmark datasets: BraTS21 (brain tumors) and ATLAS v2.0 (stroke lesions). ATLAS is particularly challenging due to the subtle appearance of stroke lesions in T1-weighted images.
Performance Metrics
AnoFPDM achieved state-of-the-art results, particularly in "unhealthy-only" training scenarios where no healthy reference data is used during inference tuning:
- BraTS21: Achieved a DICE score of 77.4% in mixed settings and 61.5% in unhealthy-only settings.
- ATLAS v2.0: Significantly outperformed baselines with a DICE score of 21.5% in the unhealthy setup, whereas traditional reconstruction methods often failed to exceed 5%.
- AUPRC: The model demonstrated superior Area Under the Precision-Recall Curve, indicating high precision in delineating anomaly boundaries.
Conclusion
AnoFPDM provides a robust, truly weakly-supervised solution for brain MRI anomaly segmentation. By utilizing the forward diffusion process and dynamic hyperparameter selection, it eliminates the need for pixel-level labels and iterative reconstruction. While challenges remain for very subtle lesions, AnoFPDM sets a new standard for efficiency and accuracy in medical anomaly detection.
Summary updated