Healthy Counterfactual Generation via Diffusion Inpainting for Mammography Classification
In\^es Cruchinho Garcia, Mariana Mour\~ao, Francisco Maria Calisto, Carlos Santiago, Jacinto Nascimento
Key points
From the paper's conclusion- We train a Denoising Diffusion Probabilistic Model on BI-RADS 1 (healthy) mammograms and use a RePaint-based sampling strategy to inpaint realistic normal tissue within annotated lesion bounding boxes.
Abstract
False negatives remain a critical limitation of computer-aided diagnosis (CAD) systems for breast cancer screening due to delayed detection and treatment. To address this issue, we propose a counterfactual data augmentation strategy that generates healthy mammograms by "erasing" lesions from anomalous images, thereby enriching the training distribution. We train a Denoising Diffusion Probabilistic Model on BI-RADS 1 (healthy) mammograms and use a RePaint-based sampling strategy to inpaint realistic normal tissue within annotated lesion bounding boxes. The resulting healthy counterfactuals replace annotated lesion regions with realistic healthy tissue while preserving patient-specific anatomical structure, as supported by similarity metrics between real and generated images. Image realism was further assessed by radiologists and found to be consistent with the original dataset quality. We evaluate counterfactual augmentation across four representative classifier architectures: a convolutional neural network (ConvNeXt), a vision transformer (ViT), a vision-language model pre-trained on mammogram-report pairs (Mammo-CLIP) and a multi-scale attention-based multiple-instance learning framework (FPN-MIL). Experiments conducted on the VinDr-Mammo dataset show improvements in sensitivity across all architectures, particularly at 80\% fixed specificity, contributing towards more reliable CAD systems for breast cancer. Code is available at: https://github.com/ines03garcia/diffusion-based-counterfactual-generation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A hybrid vision transformer–CNN ensemble with radiomics fusion for robust cross-dataset breast cancer detection in mammographyDiscover Artificial Intelligence · 2026
- Two-stage synthetic-to-real transfer learning for automated mammography report generation using vision-language modelsScientific Reports · 2026
- Hierarchical causal construction for semantic-granularity-aligned counterfactual medical image generation.Medical image analysis · 2026
- Do Saliency Maps Fail Dense Breasts? A Chance-Normalized, Confounder-Aware Audit of Explanation Fairness in MammographyarXiv · 2026
- MammoDiff: weakly supervised mammographic anomaly detection via classifier-guided denoising diffusion models-a real-world clinical study on the KHCC mammography cohort.Frontiers in medical technology · 2026
- An Explainable Multimodal Framework for Breast Ultrasound Report Generation Using Vision-Language Transformers.Journal of imaging · 2026