Discrepancy-based Diffusion Models for Lesion Detection in Brain MRI

Keqiang Fan, Xiaohao Cai, Mahesan Niranjan · DOI

Abstract

Automated lesion detection in brain MRI is challenged by the high cost of pixel-level annotations and the subtle boundaries between healthy and abnormal tissue. This paper introduces Discrepancy Distribution Medical Diffusion (DDMD), a novel framework that guides diffusion probabilistic models (DPMs) using discrepancy features. By analyzing the reconstruction errors of autoencoder ensembles trained on healthy versus mixed data, DDMD generates informative priors that significantly improve segmentation accuracy. Evaluated on the BraTS2020 benchmark, DDMD achieves state-of-the-art performance, outperforming traditional U-Nets and existing diffusion-based methods.

Introduction

Precise segmentation of brain tumors is critical for diagnosis and treatment planning. However, supervised deep learning models typically require vast amounts of manually labeled data, which are expensive to acquire. Furthermore, standard models often struggle with the inherent subtlety of lesion boundaries in multimodal MRI scans. While Diffusion Probabilistic Models (DPMs) have shown promise in image generation, their application to medical segmentation often lacks specific guidance to distinguish abnormal features from healthy anatomy. DDMD addresses these challenges by "priming" the diffusion process with discrepancy-based features that highlight potential anomalies.

Methods

The DDMD framework operates in a two-stage pipeline: discrepancy feature generation followed by guided diffusion.

Discrepancy Feature Generation

The system first constructs a "roadmap" of potential abnormalities by comparing two sets of Autoencoders (AEs). AE-1 is trained on a mixture of healthy and abnormal slices, while AE-2 is trained exclusively on healthy data. When presented with a new scan, the difference in reconstruction between these ensembles—termed inter-discrepancy—effectively highlights lesions, as the healthy-only model (AE-2) fails to accurately reconstruct abnormal tissue. Additionally, intra-discrepancy is calculated from the variance within the AE-2 ensemble to represent pixel-wise uncertainty.

Overview of the DDMD framework, illustrating the two-stage process of discrepancy feature generation and guided diffusion.

Guided Diffusion Process

The core segmentation is performed by a DPM. Unlike standard models that denoise from pure noise based on the raw image alone, DDMD conditions the denoising process on a concatenation of the four MRI modalities (T1, T1ce, T2, FLAIR) and the generated inter- and intra-discrepancy maps. This additional prior information provides a strong signal that guides the model to "carve" precise segmentation masks out of the noise.

Results and Discussion

The framework was evaluated using the BraTS2020 benchmark, utilizing 5,643 training slices and a comprehensive test set of 1,150 tumor and 660 healthy slices.

Quantitative Performance

DDMD demonstrated superior performance over several state-of-the-art (SOTA) baselines. The "DDMD-light" variant, which focuses primarily on inter-discrepancy, achieved a Dice Score of 84.26%, a significant improvement over the standard U-Net (74.16%) and the previous SOTA, CIMD (81.15%). The model also reached a mean Intersection over Union (mIoU) of 88.58%, indicating high spatial fidelity.

Qualitative Analysis

Visual comparisons reveal that DDMD produces cleaner and more anatomically consistent masks than traditional CNN-based models. While models like U-Net often produce blurry boundaries or over-segmentation, DDMD’s guided diffusion process results in sharp, accurate delineations of tumor boundaries.

Qualitative comparison of segmentation results across different models, highlighting the precision of DDMD in capturing complex tumor geometries.

Conclusion

DDMD represents a significant advancement in medical image segmentation by effectively utilizing the "gap" between healthy and abnormal data reconstructions. While the iterative nature of diffusion models introduces higher computational costs and architectural complexity compared to single-pass models, the gains in accuracy and reliability are substantial. Future work will focus on optimizing inference speed and extending this discrepancy-based approach to other medical imaging domains, such as lung and skin lesion detection.

Summary updated

BibTeX
@article{fan2024discrepancy,
  author = {Keqiang Fan and Xiaohao Cai and Mahesan Niranjan},
  title = {{Discrepancy-based Diffusion Models for Lesion Detection in Brain MRI}},
  journal = {Computers in Biology and Medicine},
  year = {2024},
  doi = {10.1016/j.compbiomed.2024.109079},
}
Figure