BreastMammo and DenseMammo: Benchmarks for Mammography Domain Generalization

Hongyi Pan, Gorkem Durak, Halil Ertugrul Aktas, Andrea Mia Bejar, Mustafa Ege Seker, Nebile Alibeyoglu, Rumeysa Guclu, Rana Gunoz Comert Bozkurt, Sibel Ozkan Gurdal, Neslihan Cabioglu, Beyza Ozcinar, Ravza Yilmaz, Vahit Ozmen, Erkin Aribal, Sukru Mehmet Erturk, Yalda Zafari, Mohamed Mabrok, Kayhan Batmanghelich, Mohammad Yaqub, Ziyue Xu, Ulas BagciarXiv 2026

TL;DR

AI models for mammography often fail to generalize when deployed at new clinical sites due to vendor-specific hardware and post-processing styles. This paper introduces two new multi-view datasets—BreastMammo and DenseMammo—alongside a novel foreground-only histogram matching framework that mitigates domain shift by stripping out uninformative background noise during style alignment.

What Problem Does This Paper Address?

Accurate breast density classification is vital for breast cancer risk assessment because dense tissue can obscure tumors (the "masking effect"). While deep learning shows promise in automating this task, models suffer from severe domain shift. Variations in X-ray hardware and proprietary vendor post-processing algorithms alter pixel-intensity distributions across different hospitals.

When models are trained on merged, unaligned data from multiple institutions, these conflicting vendor styles can actually degrade performance compared to training on a single site. Existing Domain Generalization (DG) methods fall short: feature-space methods (like MixStyle) corrupt subtle, localized texture patterns, while frequency-space methods (like Discrete Fourier Transform) get confused by the massive black backgrounds typical of mammogram images.

Methods

The authors propose a target-free domain generalization pipeline consisting of two main components:

  1. Foreground-Only Histogram Matching: Traditional histogram matching aligns the cumulative distribution functions (CDFs) of a source and reference image. To prevent the large, uninformative black background of mammograms from biasing the statistics, this framework explicitly isolates and evaluates only the foreground breast tissue pixels ($p > 0$).
  2. Continuous Style Blending: To expose the network to a diverse spectrum of vendor characteristics without destroying underlying anatomy, they introduce a blending hyperparameter $\alpha$. This linearly mixes the style-matched image with the original source image, creating a continuous manifold of synthetic training variations.
  3. Clinical Constraints: The pipeline enforces inter-view style synchronization, meaning that both the Craniocaudal (CC) and Mediolateral Oblique (MLO) views of a single patient are mapped to the exact same reference style during training.

The aligned images are then processed through a multi-view Swin Transformer (Swin-T) backbone with shared weights, which concatenates the features from both views to perform the final classification.

The proposed multi-view domain generalization and classification pipeline.

Datasets

The paper introduces two new expert-annotated benchmarks to facilitate robust multi-view research:

  • BreastMammo: A diagnostic, two-view dataset containing 894 images from 447 pathology-confirmed cases (576 benign, 318 malignant). It includes BI-RADS scores and ACR breast density categories (A–D).
  • DenseMammo: A large-scale screening, four-view dataset containing 2,480 images from 620 patients, complete with full screening sets (Left CC, Left MLO, Right CC, Right MLO) and expert density labels.

For zero-shot external evaluation, the authors use two independent datasets: TNMammo and LUMINA.

Representative samples and density distributions from BreastMammo and DenseMammo.

Key Insights and Ideas

  • The Background is Noise: Standard frequency-domain methods (like DFT) operate on fixed rectangular windows. In mammography, this inadvertently incorporates the black background, causing severe artifact bleeding and frequency leakage into the tissue region. Operating strictly on the foreground completely circumvents this issue.
  • Pixel-Space Beats Feature-Space: While feature-space augmentation methods like MixStyle provide regularization, they lack explicit anatomical grounding. Directly expanding the training manifold via high-fidelity, pixel-space synthetic images preserves the delicate, localized textures critical for distinguishing tissue densities.
Fig. 3: Intensity Alignment via Foreground-Only Histogram Matching. Top: mammograms. Bottom: Intensity histograms and CDFs. The objective is to adapt the acquisition style of the source image (a) to match the reference target (b). The progressive transition (c–f) demonstrates the synthetic variations.

Key Results

  • Internal Evaluation: Using a 5-fold cross-validation protocol without domain generalization, the Swin-T backbone established a strong baseline, achieving a peak Area Under the Curve (AUC) of 98.32% on DenseMammo and 96.53% on BreastMammo for density classification, outperforming standard CNN architectures like ResNet-50 and DenseNet-121.
  • External Generalization: When tested on completely unseen clinical domains, the proposed foreground-only histogram matching method consistently achieved top-tier performance. It boosted the baseline AUC on the TNMammo dataset from 83.46% to 86.38%, and on the LUMINA dataset from 81.72% to 86.13%, significantly outperforming MixStyle and DFT-based frameworks.

Limitations and Future Work

The authors noted a resolution mismatch limitation: scaling the input resolution from $224^2$ to $512^2$ did not yield significant performance gains. This marginal improvement is likely because the foundational backbones were initialized with weights pretrained on ImageNet-1K at a native $224^2$ resolution. Future work could explore training or pretraining foundational mammography backbones natively at higher resolutions to better capture ultra-fine pathological textures.

Summary updated

BibTeX
@misc{pan2026breastmammo,
  author = {Hongyi Pan and Gorkem Durak and Halil Ertugrul Aktas and Andrea Mia Bejar and Mustafa Ege Seker and Nebile Alibeyoglu and Rumeysa Guclu and Rana Gunoz Comert Bozkurt and Sibel Ozkan Gurdal and Neslihan Cabioglu and Beyza Ozcinar and Ravza Yilmaz and Vahit Ozmen and Erkin Aribal and Sukru Mehmet Erturk and Yalda Zafari and Mohamed Mabrok and Kayhan Batmanghelich and Mohammad Yaqub and Ziyue Xu and Ulas Bagci},
  title = {{BreastMammo and DenseMammo: Benchmarks for Mammography Domain Generalization}},
  year = {2026},
  eprint = {2608.10271},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.10271},
}
Figure