TY - JOUR
T1 - Diffusion Models for Counterfactual Generation and Anomaly Detection in Brain Images
AU - Fontanella, Alessandro
AU - Mair, Grant
AU - Wardlaw, Joanna M.
AU - Trucco, Manuel
AU - Storkey, Amos
N1 - Copyright:
© 2024 IEEE.
PY - 2024/9/13
Y1 - 2024/9/13
N2 - Segmentation masks of pathological areasare useful in many medical applications, such as braintumour and stroke management. Moreover, healthy counterfactualsof diseased images can be used to enhance radiologists’training files and to improve the interpretabilityof segmentation models. In this work, we present a weaklysupervised method to generate a healthy version of a diseasedimage and then use it to obtain a pixel-wise anomalymap. To do so, we start by considering a saliency map thatapproximately covers the pathological areas, obtained withACAT. Then, we propose a technique that allows to performtargeted modifications to these regions, while preservingthe rest of the image. In particular, we employ a diffusionmodel trained on healthy samples and combine DenoisingDiffusion Probabilistic Model (DDPM) and Denoising DiffusionImplicit Model (DDIM) at each step of the samplingprocess. DDPM is used to modify the areas affected bya lesion within the saliency map, while DDIM guaranteesreconstruction of the normal anatomy outside of it. Thetwo parts are also fused at each timestep, to guarantee thegeneration of a sample with a coherent appearance anda seamless transition between edited and unedited parts.We verify that when our method is applied to healthy samples,the input images are reconstructed without significantmodifications. We compare our approach with alternativeweakly supervised methods on the task of brain lesionsegmentation, achieving the highest mean Dice and IoUscores among the models considered.
AB - Segmentation masks of pathological areasare useful in many medical applications, such as braintumour and stroke management. Moreover, healthy counterfactualsof diseased images can be used to enhance radiologists’training files and to improve the interpretabilityof segmentation models. In this work, we present a weaklysupervised method to generate a healthy version of a diseasedimage and then use it to obtain a pixel-wise anomalymap. To do so, we start by considering a saliency map thatapproximately covers the pathological areas, obtained withACAT. Then, we propose a technique that allows to performtargeted modifications to these regions, while preservingthe rest of the image. In particular, we employ a diffusionmodel trained on healthy samples and combine DenoisingDiffusion Probabilistic Model (DDPM) and Denoising DiffusionImplicit Model (DDIM) at each step of the samplingprocess. DDPM is used to modify the areas affected bya lesion within the saliency map, while DDIM guaranteesreconstruction of the normal anatomy outside of it. Thetwo parts are also fused at each timestep, to guarantee thegeneration of a sample with a coherent appearance anda seamless transition between edited and unedited parts.We verify that when our method is applied to healthy samples,the input images are reconstructed without significantmodifications. We compare our approach with alternativeweakly supervised methods on the task of brain lesionsegmentation, achieving the highest mean Dice and IoUscores among the models considered.
KW - Anomaly maps
KW - Counterfactual examples
KW - Diffusion models
KW - Segmentation masks
UR - https://arxiv.org/abs/2308.02062
U2 - 10.1109/TMI.2024.3460391
DO - 10.1109/TMI.2024.3460391
M3 - Article
C2 - 39269801
SN - 0278-0062
JO - IEEE Transactions on Medical Imaging
JF - IEEE Transactions on Medical Imaging
ER -