Skip to Content
  • Article
  • Open Access

7 August 2026

23 Pages

MB-SwinRefiner: Mammographic Mass Segmentation with Probability-Guided Residual Refinement

,
and
Faculty of Electrical and Computer Engineering, University of Tabriz, Tabriz 5166616471, Iran
*
Author to whom correspondence should be addressed.

Abstract

Accurate mammographic mass segmentation is crucial for computer-aided breast cancer diagnosis, but remains challenging because masses may be small, low-contrast, irregularly shaped, and partially obscured by dense fibroglandular tissue. Although recent methods have improved contextual representation and multi-scale feature extraction, reliable segmentation still requires better integration of lesion-scale representation, contour-derived auxiliary supervision, and local probability-map refinement. This paper proposes MB-SwinRefiner, a novel two-stage framework consisting of a Multi-scale Boundary-aware SwinUNet (MB-SwinUNet) stage and a probability-guided residual refinement stage. The first stage, MB-SwinUNet, generates an initial mass probability map using hierarchical Swin encoding, multi-scale decoder fusion, and training-only auxiliary boundary supervision. The second stage refines this prediction through probability-guided residual correction by using the Stage 1 probability map as a prior and learning logit-space corrections. Experiments were conducted on a case-level five-fold cross-validation of the INbreast dataset under both a resized benchmark setting and a native sliding-window full-mammogram setting. Performance was evaluated using Dice, intersection over union, sensitivity, and specificity. In the resized benchmark setting, MB-SwinRefiner achieved Dice of 86.19%, IoU of 84.33%, sensitivity of 89.34%, and specificity of 99.98%. In the native sliding-window setting, MB-SwinRefiner improved mean Dice from 76.64% to 78.06% and mean IoU from 74.38% to 76.11%. These results suggest that combining Swin-based contextual encoding, multi-scale decoder fusion, contour-derived training supervision, and probability-guided residual refinement can improve region-based mammographic mass segmentation performance.

1. Introduction

Mammography remains the principal imaging modality for breast cancer screening [1]. However, accurate mass segmentation in full-field mammograms remains challenging because masses often occupy only a small fraction of the image, may have weak contrast against surrounding tissue, and can be partially obscured by dense fibroglandular parenchyma [2,3,4]. This difficulty is clinically important because dense breast tissue can reduce mammographic sensitivity by masking lesions, contributing to missed cancers and interval cancers [2,3,4]. In addition to lesion-to-background ambiguity, mammographic mass segmentation must address severe class imbalance, substantial variation in mass size and morphology, and clinically relevant boundary patterns such as indistinct, irregular, or spiculated margins [5]. Recent mammography studies further indicate that mass area can range from well below 1% of the image to much larger fractions across samples, making robust segmentation a joint problem of contextual disambiguation, scale-aware reconstruction, and contour localization rather than a simple foreground–background classification task [5].
Deep learning methods for mammographic mass segmentation have been developed under different input and evaluation protocols, including mass-centered patches, detected regions of interest, resized full mammograms, and full-image inference. Resized image-level evaluation is commonly used because it provides a practical benchmark setting and enables comparison with previously reported results. However, resizing the whole mammogram can also alter the apparent lesion scale, boundary appearance, and foreground-to-background relationship. Therefore, both settings are informative: the resized setting is useful for benchmarking against prior work, while native sliding-window inference is useful for analyzing how a model behaves when predictions are reconstructed at the original mammogram scale.
Because mammographic mass segmentation is strongly affected by lesion–background ambiguity, recent methods have increasingly moved beyond purely convolutional designs toward architectures that more explicitly model broader contextual dependencies. CNN-based methods have strengthened representation learning through attention, multi-level pyramids, contextual affinity, adaptive receptive fields, and skip redesign [6,7,8,9,10,11,12,13,14,15], whereas transformer and hybrid mammographic models have introduced token-based or cross-attention contextual encoding, including YOLO-LOGO, TrEnD, Swin-SFTNet, HTU-Net, and Mammo-SAM [16,17,18,19,20]. In the broader medical segmentation literature, transformer-family models such as TransUNet, TransFuse, Swin-Unet, nnFormer, and UNETR have also shown that attention-based contextual encoding can provide strong representations for dense prediction [21,22,23,24,25]. These studies suggest that hierarchical contextual encoding is valuable for mammographic segmentation, but they also show that accurate pixel-level mass delineation still depends on how the encoded features are reconstructed, regularized, and refined.
Decoder design remains important because contextual features must ultimately be reconstructed into spatially precise mass masks. Prior medical and mammographic segmentation studies have shown the value of multi-scale feature aggregation and improved skip-connected reconstruction [7,12,13,14,15,19,26,27,28]. However, the final prediction may still rely disproportionately on the last decoder representation. This motivates the proposed fusion of reconstructed decoder features from multiple semantic levels before final mask prediction.
Moreover, region-overlap losses may not fully preserve structural information around weak or irregular mass contours. Previous work has therefore investigated contour-sensitive losses, auxiliary supervision, and dedicated edge or shape pathways [5,29,30,31,32,33,34,35,36,37]. In this study, contour-derived targets are used only as auxiliary training supervision to regularize the shared decoder representation, while the boundary branch is removed during inference.
Motivated by these observations, we propose MB-SwinRefiner, a mammographic mass segmentation framework built around a Multi-scale Boundary-aware SwinUNet (MB-SwinUNet) and a probability-guided residual refinement stage. MB-SwinUNet uses a hierarchical Swin encoder, decoder-side multi-scale fusion, and training-only auxiliary boundary supervision to generate mass probability maps. To support comparison with prior work, MB-SwinUNet is first evaluated under a commonly used resized 512 × 512 image-level setting. The framework is then analyzed under a native sliding-window full-mammogram setting, where patch-level predictions are aggregated into a full-image probability map. MB-SwinRefiner uses the fixed Stage 1 probability map to guide decoder reconstruction and predicts an additive correction to the Stage 1 logits rather than an independent replacement mask. Although the training-only boundary branch does not add inference-time computation, the complete two-stage framework requires an additional refinement pass compared with Stage 1 alone. More broadly, deep medical-image segmentation networks may involve substantial parameter counts and computational requirements, motivating continued investigation of efficient training and model-compression strategies such as knowledge distillation [38].
The main contributions of this work are fourfold:
  • Full-mammogram mass segmentation is challenged by extreme foreground sparsity, scale variation, and the loss of lesion detail that may occur when whole mammograms are resized to a fixed low resolution. To address this, we propose MB-SwinUNet, a Swin-based mammographic mass segmentation model that uses multi-scale decoder fusion to combine reconstructed decoder features before final prediction.
  • Region-overlap losses alone may not fully preserve structural information around weak or irregular mammographic margins. We therefore introduce a training-only auxiliary boundary branch that regularizes the shared decoder features using contour-derived supervision without adding inference-time complexity.
  • To analyze full-mammogram segmentation at the original image scale, we extend MB-SwinUNet to native sliding-window inference, where patch-level predictions are aggregated into full-image probability maps. This setting preserves the native mammogram scale and allows the effects of multi-scale decoder fusion and boundary supervision to be evaluated under full-image reconstruction.
  • We formulate Stage 2 refinement as probability-guided logit residual correction. The fixed Stage 1 probability map modulates selected decoder features, while a zero-initialized correction head predicts additive changes to the Stage 1 logits. This design constrains the refiner to learn corrections to the initial prediction rather than independently generating a replacement mask. The same formulation is applied to both resized images and spatially aligned native sliding-window patches.
The remainder of this paper is organized as follows. Section 2 reviews related work, Section 3 describes the materials and methods, Section 4 presents the experimental results, and Section 5 and Section 6 provide the discussion and conclusion, respectively.

3. Materials and Methods

The proposed framework is built around a Swin-based [44] encoder–decoder segmentation architecture. In the first stage, MB-SwinUNet generates an initial mammographic mass probability map. The Swin encoder extracts hierarchical contextual features through shifted-window self-attention, while the decoder restores spatial resolution through skip-connected reconstruction. Because mammographic masses may be small, low-contrast, and weakly bounded, the segmentation pathway should integrate coarse lesion context with higher-resolution spatial features.
To address this requirement, MB-SwinUNet integrates multi-scale decoder fusion and training-only auxiliary boundary supervision. Multi-scale decoder fusion combines reconstructed decoder features from different semantic levels before final prediction, allowing the segmentation head to use coarse, intermediate, and fine spatial information jointly. The auxiliary boundary branch encourages contour-sensitive feature learning during training and is removed during inference, avoiding additional deployment complexity.
The second stage, MB-SwinRefiner, uses the Stage 1 probability map as prior information for probability-guided residual refinement. Instead of re-segmenting the mammogram independently, it learns logit-space corrections from the mammogram input and the corresponding Stage 1 probability map. The framework is evaluated in both a resized setting and a sliding-window full-mammogram setting, enabling comparison under a common resized protocol and analysis of full-image reconstruction at the original mammogram scale.

3.1. MB-SwinUNet for Resized and Native Sliding-Window Segmentation

The first stage of the proposed framework is MB-SwinUNet (shown in Figure 1), a Swin-based encoder–decoder segmentation network designed to generate an initial mammographic mass probability map. In this work, MB denotes Multi-scale Boundary-aware, referring to the combination of multi-scale decoder fusion and training-only auxiliary boundary supervision. The same Stage 1 architecture is used in two experimental settings. In the resized benchmark setting, the full mammogram and its corresponding mask are resized to 512 × 512, and MB-SwinUNet predicts the mass probability map directly at the resized image level. In the native sliding-window setting, the network operates on local 512 × 512 mammogram patches and the patch-level predictions are aggregated to reconstruct a full-image probability map at the original mammogram scale.
Figure 1. Stage 1 MB-SwinUNet architecture and native sliding-window inference. Multi-scale decoder features are fused to generate a mass probability map, while the auxiliary boundary branch is used only during training. Overlapping patch predictions are averaged to reconstruct the full-mammogram probability map and binary mask.
Given an input x ∈ R 1 × 512 × 512 , where x denotes either a resized full mammogram or a native mammogram patch, MB-SwinUNet predicts a mass logit map z 1 ∈ R C × H × W , and the corresponding probability map is obtained as p 1 = σ z p 1 , where σ ⋅ denotes the sigmoid function. The input has one channel because mammograms are grayscale images. Therefore, the Swin patch-embedding layer is configured with in_chans = 1. When ImageNet-pretrained weights [45] are used, the RGB patch-embedding weights are converted to a single-channel kernel by averaging across the input-channel dimension:
W g r a y o , 1 , i , j = 1 3 ∑ c = 1 3 W R G B   o , c , i , j .
This produces a grayscale patch-embedding kernel while preserving the pretrained spatial projection filters. Mammograms were scaled and normalized using the parameters described in Section 3.3.
The encoder is implemented using a Swin-Tiny backbone in feature-extraction mode. Although Swin-Tiny is originally pretrained on natural images, the architecture can be applied to 512 × 512 mammographic inputs because it relies on local shifted-window self-attention and relative position bias rather than a fixed global absolute position embedding tied to the original pretraining resolution. The relative position bias is associated with the local attention window and is therefore retained during fine-tuning. For an input, the encoder produces four hierarchical feature maps:
E 1 ∈ R 96 × 128 × 128 , E 2 ∈ R 192 × 64 × 64 , E 3 ∈ R 384 × 32 × 32 , E 4 ∈ R 768 × 16 × 16 .
These feature maps correspond to spatial scales of 1/4, 1/8, 1/16, and 1/32 of the input resolution. The deepest feature map provides a coarse contextual representation of the lesion and surrounding tissue, while the shallower feature maps retain finer spatial information that is useful for boundary localization.
The decoder is a skip-connected convolutional reconstruction path that progressively restores spatial resolution from the deepest encoder feature. Starting from E 4 , each decoder stage performs bilinear upsampling, 1 × 1 channel projection, channel-wise concatenation with the corresponding encoder skip feature, and residual convolutional refinement. The first decoder stage upsamples E 4 to the spatial size of E 3 , projects the feature channels, concatenates the result with E 3 , and refines the combined tensor to produce
D 3 ∈ R 384 × 32 × 32 .
The same reconstruction procedure is repeated at the next two scales, producing
D 2 ∈ R 192 × 64 × 64 ,           D 1 ∈ R 96 × 128 × 128 .
After the final skip-connected decoder stage, D 1 is bilinearly upsampled to the full input resolution, projected to 64 channels, and refined to produce the full-resolution decoder feature
D f ∈ R 64 × 512 × 512 .
Each residual refinement block consists of a 1 × 1 projection followed by two 3 × 3 convolutional layers with group normalization and GELU activation. Let X denote the input to a residual refinement block. The block can be written as
X ′ = C o n v 1 × 1 X ,  
R ( X ) = G E L U X ′ + C o n v 3 × 3 2 G E L U C o n v 3 × 3 1 X ′
Group normalization [46] is applied after each convolutional projection before activation. It is used instead of batch normalization because training is performed with a small effective batch size, where batch statistics may be unstable.
The main reconstruction component of MB-SwinUNet is multi-scale decoder fusion (MSDF). Unlike a decoder that predicts the segmentation mask only from the final decoder feature, MSDF combines reconstructed decoder features from multiple semantic levels before final mask prediction. In the implemented configuration, the selected fusion levels are D 3 , D 2 , D f .
The feature D 1 is not used as a separate fusion input because it is immediately transformed into D f through full-resolution upsampling and refinement. Including both D 1 and D f would introduce a redundant high-resolution pathway. Therefore, MSDF combines one deeper decoder representation, one intermediate decoder representation, and the final full-resolution decoder representation. This design allows the final predictor to use coarse lesion context, mid-level structural information, and fine spatial localization jointly.
Each selected decoder feature is first projected to 64 channels using a 1 × 1 convolution. Lower-resolution features are then bilinearly upsampled to the full resolution:
D ~ k = U k C o n v 1 × 1 D k ,             k ∈ 3,2 , f ,  
where U k ⋅ denotes bilinear upsampling to the full input resolution when required. The aligned features are concatenated and passed through a residual fusion block:
F ( 1 ) = R M S D F C o n c a t D ~ 3 , D ~ 2 , D ~ f ,
where F 1 ∈ R 64 × 512 × 512 .
Although MSDF operates on decoder-level features, these representations remain encoder-informed because D 3 , D 2 , and D 1 are generated through skip-connected reconstruction from the hierarchical Swin encoder features. The fused representation therefore combines contextual encoding with reconstructed spatial detail.
The fused representation F 1 is shared by the segmentation and auxiliary boundary heads. The segmentation head consists of a 3 × 3 convolutional refinement layer followed by a 1 × 1 projection, producing the Stage 1 mass logit map:
z p 1 = H s e g F 1 ,
The probability output is then obtained as
p p 1 = σ z p 1
In parallel, the boundary head uses two 3 × 3 convolutional layers followed by a 1 × 1 projection to predict a boundary logit map:
b p 1 = H b n d F 1 ,
The boundary target is generated from the binary mass mask using a morphological-gradient operation. Given a binary mass mask Y, the boundary target is defined as
Y b b n d = D i l a t e Y p ; K 10 − E r o d e Y p ; K 10 ,
where K 10 is a 10 × 10 all-ones kernel. This produces a boundary band around the annotated mass contour and provides an additional structural training signal to the shared decoder representation. The auxiliary boundary branch is removed during inference and therefore does not increase the cost of either individual stage. However, the complete two-stage framework requires an additional refinement pass compared with Stage 1 alone.
The Stage 1 loss is defined directly from the segmentation and boundary outputs.
L s t a g e 1 = ω 1 L f o c a l s e g + ω 2 L t v e r s k y s e g + ω 3 L f o c a l b n d
The segmentation loss combines focal loss and Tversky loss to address foreground sparsity and class imbalance, while the boundary focal loss provides additional contour-aware supervision [47,48].
During inference, the output protocol depends on the experimental setting. In the resized benchmark setting, the full mammogram is resized to 512 × 512 , passed through MB-SwinUNet once, and the predicted probability map is thresholded to obtain the final binary segmentation at the resized image level. This setting is used to provide comparison with prior studies that evaluate INbreast segmentation using resized mammographic inputs.
In the native sliding-window setting, MB-SwinUNet is applied to the full preprocessed mammogram using overlapping sliding windows. The inference stride is set to 256 pixels, corresponding to 50 % overlap between adjacent windows. For a window located at coordinate x , y , the model predicts a probability patch p x , y 1 . The set of window coordinates includes the last valid positions along both axes, ensuring complete image coverage. If an image dimension is smaller than the patch size, reflection padding is applied to complete the input patch, and only the valid non-padded region is retained after prediction.
The full-image Stage 1 probability map is obtained by uniform count-normalized averaging over overlapping predictions:
P 1 u , v = ∑ x , y ∈ Ω u , v p x , y 1 u − y , v − x Ω u , v
where Ω u , v denotes the set of sliding windows covering pixel u , v . This overlap aggregation reduces patch-border discontinuities while preserving the native mammogram scale. The resulting P 1 ∈ 0,1 H × W is used as the initial full-mammogram segmentation output and later serves as the probability prior for the Stage 2 residual refinement model.

3.2. Stage 2: Probability-Guided Residual Refinement

The second stage of the proposed framework is MB-SwinRefiner (shown in Figure 2), a probability-guided residual refinement network designed to improve the initial Stage 1 prediction rather than re-segmenting the mammogram from scratch. Because MB-SwinRefiner follows the same general encoder–decoder reconstruction design described in Section 3.1, this section focuses only on the components that differ from MB-SwinUNet: the use of the Stage 1 probability map as an explicit prior, probability-guided decoder modulation, and logit-space residual correction.
Figure 2. Stage 2 MB-SwinRefiner architecture. The aligned mammogram and Stage 1 probability map are used to predict an additive logit-space correction, producing the refined mask. Native setting: repeated for every aligned sliding-window coordinate.
Let P 1 denote the probability map generated by Stage 1. In the resized setting, Stage 1 directly produces a 512   ×   512 probability map from the resized full mammogram. Stage 2 therefore receives one aligned image-level pair consisting of the complete resized mammogram X and its corresponding Stage 1 probability map P 1 .
In the native sliding-window setting, Stage 1 first reconstructs a full-mammogram probability map at the original image resolution by aggregating overlapping patch predictions. Stage 2 then processes multiple aligned patch pairs rather than a single selected probability patch. For every sliding-window coordinate c i , a mammogram patch X i and the spatially corresponding Stage 1 probability patch P i 1 are extracted from the same coordinates.
During training, the corresponding ground-truth mask patch Y i is also extracted from the same coordinates. Each aligned pair ( X i , P i 1 ) is independently passed through MB-SwinRefiner to produce a refined probability patch. During full-mammogram inference, all refined patches are returned to their original spatial locations, and predictions in overlapping regions are combined using count-normalized averaging. Thus, the native Stage 2 procedure is applied repeatedly across all sliding-window locations, whereas the resized Stage 2 procedure processes one complete resized image–probability pair.
MB-SwinRefiner uses the same Swin-Tiny encoder family and skip-connected convolutional decoder described for MB-SwinUNet. The encoder processes the mammogram image input, while the Stage 1 probability map is introduced as a guidance signal in the decoder. For every outer fold, the Stage 2 encoder was initialized using the corresponding selected outer-fold Stage 1 encoder weights; decoder and prediction-head parameters from Stage 1 are not transferred. This initialization provides mammography-specific feature representations while allowing the refiner to learn a separate correction function.
The main difference from Stage 1 is the probability-attention mechanism. At selected decoder levels, the aligned Stage 1 probability map is resized to the spatial size of the decoder feature and passed through a small convolutional gating module. For decoder level l, the probability gate is defined as
G l = σ A l R e s i z e p p 1 ,
where A l ⋅ denotes the convolutional gating module and σ ⋅ is the sigmoid function. The decoder feature is then modulated using residual multiplicative gating:
D ^ l 2 = D l 2 ⊙ 1 + η G l ,
where D l 2 is the Stage 2 decoder feature at level l, η = 0.1 is the attention strength, and ⊙ denotes element-wise multiplication. This formulation allows the Stage 1 probability prior to guide feature reconstruction without completely suppressing image-derived information. In the implemented configuration, probability attention is applied to the selected decoder levels before multi-scale decoder fusion.
After probability-guided modulation, MB-SwinRefiner uses the same multi-scale decoder fusion principle as Stage 1. The selected modulated decoder features are projected to a common channel dimension, aligned to the full 512 × 512 resolution, concatenated, and refined to produce the fused Stage 2 representation:
F 2 = R M S D F C o n c a t D ~ 3 2 , D ~ 2 2 , D ~ f 2 ,
The purpose of this fusion is different from Stage 1: instead of producing an initial segmentation representation, Stage 2 combines mammographic appearance features with probability-guided decoder features to estimate local corrections to the Stage 1 output.
The Stage 2 prediction head outputs a residual correction in logit space. Before Stage 2 training, the trained Stage 1 model is applied in inference mode to generate probability maps, which are stored and used as fixed inputs when constructing the Stage 2 dataset. Therefore, Stage 1 is not part of the Stage 2 computational graph, and no gradient is propagated through the stored probability maps. To prevent undefined or infinite values when a Stage 1 probability is numerically equal to 0 or 1, the probability patch is clipped before applying the logit function:
z p 1 = l o g i t c l i p p p 1 , ϵ , 1 − ϵ ,
where ϵ = 1 0 − 4 . The correction head predicts
Δ z p = H c o r r F 2
The refined Stage 2 logit is then computed by residual addition:
z p 2 = z p 1 + δ Δ z p ,
where δ controls the correction strength and is set to 1.0 in the implemented configuration. The refined probability output is obtained as
p p 2 = σ z p 2 .
This residual formulation makes the Stage 2 output explicitly depend on the Stage 1 belief. Rather than learning a new mask independently, the refiner learns how to modify the Stage 1 logit map where local evidence suggests that correction is needed. To stabilize this behavior, the final convolution of the correction head is initialized to zero, so that Δ z p ≈ 0 at the start of training and the initial Stage 2 prediction is approximately equal to the Stage 1 prediction.
As in Stage 1, an auxiliary boundary head is attached to the fused representation during training. The boundary target is generated using the same morphological-gradient operation described in Section 3.1. The Stage 2 training objective is
L s t a g e 2 = ω 1 L f o c a l s e g + ω 2 L t v e r s k y s e g + ω 3 L f o c a l b n d
In the resized setting, the refined probability map is produced directly at 512 × 512 resolution and thresholded to obtain the final binary segmentation. In the native sliding-window setting, MB-SwinRefiner is applied to overlapping aligned mammogram and Stage 1 probability patches. The refined probability patches are written back to their original spatial locations and averaged over overlapping regions using the same count-normalized aggregation strategy described for Stage 1:
P 2 u , v = ∑ x , y ∈ Ω u , v p x , y 2 u − y , v − x Ω u , v
The resulting P 2 is the final refined probability map of the two-stage framework. This design allows MB-SwinRefiner to operate consistently in both resized and native sliding-window settings, while preserving the central idea of probability-guided residual correction.

3.3. Dataset and Experimental Setup

Experiments were conducted on the INbreast full-field digital mammography dataset, which provides DICOM images and expert annotations [49]. The task was formulated as binary mass segmentation. The experimental index contained 410 mammograms from 108 cases: 107 images had target mass annotations and 303 were treated as target-negative. XML annotation files were available for 343 images, whereas 67 images had no annotation file. All processed mammograms were stored as 16-bit images.
Binary segmentation masks were generated from the XML annotations by labeling annotated masses as foreground and all remaining pixels as background. Target-negative mammograms were retained during training to improve background suppression. For comparability with previous INbreast mass segmentation studies, quantitative segmentation metrics were calculated only on the 107 mass-positive mammograms. Boundary targets for auxiliary supervision were derived from the binary masks using the morphological-gradient operation described in Section 3.1.
All experiments used stratified five-fold cross-validation at the case level to prevent data leakage and reduce split-dependent bias [50]. Cases were stratified according to whether they contained at least one mass-positive mammogram. In each outer fold, one fold was reserved for testing, while 10% of the remaining cases were randomly assigned to validation and the rest to training. All mammograms from the same case remained in the same subset. The validation set was used for checkpoint and segmentation-threshold selection, and the test fold remained excluded from all training and model-selection procedures. Identical case-level splits were used for Stages 1 and 2.
To avoid training Stage 2 with in-sample Stage 1 predictions, five-fold inner cross-fitting was performed within each outer training subset. For each inner fold, Stage 1 was trained on the remaining inner folds and applied only to the held-out cases. Repeating this procedure produced out-of-fold probability maps for every outer-training case, which were used to construct the Stage 2 training set. The Stage 1 model selected using the outer validation set was then applied separately to the outer validation and test cases to generate fixed probability maps. Stage 2 was trained on the out-of-fold training maps, selected on the validation set, and evaluated only on the held-out test fold.
Two experimental protocols were considered. In the resized setting, each mammogram and mask were resized to 512 × 512. Stage 1 predicted the segmentation directly from the resized mammogram, and Stage 2 received the aligned mammogram and Stage 1 probability map as inputs. This protocol enabled contextual comparison with previous INbreast studies using resized full-mammogram images.
In the native sliding-window setting, Stage 1 was trained on 512 × 512 patches extracted at the original mammogram resolution. Patches were sampled only from training cases and included dense-background, breast-background, mass-boundary, near-mass negative, and mass-core regions to address foreground sparsity while maintaining sufficient negative examples. During inference, overlapping windows with a stride of 256 pixels were applied across the full mammogram, and patch probabilities were combined by count-normalized averaging. For Stage 2, the mammogram patch, Stage 1 probability patch, and ground-truth mask patch were extracted from identical coordinates. Refined predictions were aggregated using the same sliding-window procedure, preserving both native image scale and spatial alignment between the image and probability prior.
Preprocessing and augmentation. Mammograms were horizontally reoriented when necessary so that the chest wall was on the left and the breast extended toward the right. The 16-bit intensities were divided by 65,535 and normalized using a mean of 0.5 and a standard deviation of 0.25. During training, random affine transformation was applied with probability 0.3, including translation up to 4%, scaling within 0.92–1.08, and rotation within ±10°. Brightness and contrast adjustments within ±0.1 were applied with probability 0.3, and gamma adjustment within 0.85–1.15 was applied with probability 0.15. Horizontal flipping was disabled, and no augmentation was applied during validation or testing. Table 2 summarizes the main training and inference settings used in the experiments.
Table 2. Experimental training and inference settings.

3.4. Evaluation Metrics

Segmentation performance was evaluated using the Dice similarity coefficient (DSC), intersection over union (IoU), sensitivity, and specificity. These metrics were computed from pixel-level true positives (TP), true negatives (TN), false positives (FP), and false negatives (FN). DSC and IoU were used to measure the overlap between the predicted binary mask and the ground-truth mass mask, while sensitivity and specificity were used to assess foreground detection and background suppression, respectively. Metrics were calculated separately for each held-out mass-positive mammogram. Within each outer test fold, the image-level scores were averaged across the mass-positive mammograms, and the reported cross-validation results were calculated as the mean and standard deviation of the fold-level averages across the five outer folds. The metrics were defined as follows:
D S C = 2 T P 2 T P + F P + F N
I o U = T P T P + F P + F N
S e n s i t i v i t y = T P T P + F N
S p e c i f i c i t y = T N T N + F P

4. Experimental Results

4.1. Resized 512 × 512 Benchmark Comparison

The first experimental setting evaluates the proposed framework under a resized image-level protocol. This setting was included because several previously reported INbreast mammographic mass segmentation studies use resized mammographic inputs, making it the most suitable setting for contextual comparison with existing methods. In this protocol, each full mammogram and its corresponding ground-truth mask were resized to 512 × 512 . Stage 1 MB-SwinUNet generated an initial probability map at the resized image resolution, and Stage 2 MB-SwinRefiner refined this prediction through probability-guided residual correction at the same spatial resolution.
Table 3 presents the ablation study and stage-wise performance of the proposed framework in the resized setting. The complete Stage 1 model, which uses both multi-scale decoder fusion and training-only boundary supervision, achieved Dice of 85.70 ± 2.90%, IoU of 84.07 ± 2.60%, sensitivity of 87.40 ± 3.50%, and specificity of 99.97 ± 0.02%. Removing the auxiliary boundary branch while keeping MSDF enabled reduced Dice to 83.36 ± 3.30% and IoU to 82.54 ± 2.90%, indicating that contour-derived auxiliary supervision improves region-overlap performance in the resized setting. Removing MSDF caused a larger reduction, decreasing Dice to 78.22 ± 3.40% and IoU to 76.42 ± 3.50%, which supports the importance of combining reconstructed decoder representations before final mask prediction.
Table 3. Ablation study and stage-wise performance of the proposed framework in the resized 512 × 512. Bold values indicate the best result for each performance metric.
The final configuration corresponds to the complete two-stage framework with probability-guided residual refinement. Compared with the complete Stage 1 model, MB-SwinRefiner improved Dice from 85.70 ± 2.90% to 86.19 ± 3.00% and IoU from 84.07 ± 2.60% to 84.33 ± 2.80%. Sensitivity increased from 87.40 ± 3.50% to 89.34 ± 3.30%, while specificity remained high, increasing from 99.97 ± 0.02% to 99.98 ± 0.01%. These results suggest that probability-guided residual refinement provides a modest improvement over the Stage 1 probability map in the resized benchmark setting, particularly in sensitivity.
Table 4 compares the proposed resized models with previously reported INbreast mammographic mass segmentation results obtained under resized image-level settings. The compared methods include single-stage resized segmentation models and presegmenter cascaded frameworks. Among the prior methods listed, Cas-DeepLabV3+ with ResNet50 reported the highest Dice score, with Dice of 80.00%, sensitivity of 78.00%, and specificity of 99.88%. In comparison, the proposed MB-SwinUNet achieved Dice of 85.70%, sensitivity of 87.40%, and specificity of 99.97%, while the full MB-SwinRefiner framework achieved Dice of 86.19%, sensitivity of 89.34%, and specificity of 99.98%.
Table 4. Comparison with resized 512 × 512 INbreast mammographic mass segmentation results. Bold values indicate the best result for each performance metric.
Overall, the resized benchmark results provide the most direct comparison with previously reported INbreast studies using resized mammographic inputs. However, because published studies may still differ in data partitioning, preprocessing, augmentation, threshold selection, and metric aggregation, Table 4 should be interpreted as a contextual benchmark comparison rather than a fully controlled head-to-head evaluation.

4.2. Native Sliding-Window Extension

Table 5 presents the native sliding-window ablation and stage-wise refinement results. In this setting, overlapping patch predictions were aggregated to reconstruct full-mammogram probability maps at the original image scale. Compared with the resized benchmark, this protocol introduces additional challenges related to foreground sparsity, patch consistency, and false responses across a large anatomical background.
Table 5. Native sliding-window ablation and stage-wise refinement performance of the proposed framework. Bold values indicate the best result for each performance metric.
Among the native Stage 1 configurations, the complete MB-SwinUNet achieved the best mean overlap performance, with Dice of 76.64 ± 5.40% and IoU of 74.38 ± 6.70%. Removing auxiliary boundary supervision while retaining multi-scale decoder fusion reduced Dice to 76.17 ± 6.10% and IoU to 73.89 ± 6.90%, indicating a small but consistent benefit from contour-derived supervision. In contrast, removing MSDF caused a substantially larger decrease, reducing Dice to 61.54 ± 7.20% and IoU to 58.67 ± 5.80%. These findings identify multi-scale decoder fusion as the principal contributor to native Stage 1 performance.
The complete native two-stage framework further improved Dice to 78.06 ± 5.90% and IoU to 76.11 ± 6.40%, corresponding to gains of 1.42 and 1.73 percentage points over Stage 1, respectively. These results indicate that probability-guided residual refinement provides a modest improvement after full-image sliding-window reconstruction and supports its role in correcting local errors in the initial probability map.

4.3. Computational Complexity

Table 6 summarizes the parameter count and computational complexity of Stage 1 MB-SwinUNet and Stage 2 MB-SwinRefiner. FLOPs were measured using the PyTorch v2.13 profiler for a single 512 × 512 input with batch size 1. Stage 1 contains 32.150 million parameters and requires 246.154 GFLOPs per forward pass, whereas Stage 2 contains 32.213 million parameters and requires 252.855 GFLOPs.
Table 6. Computational characteristics of Stage 1 and Stage 2 for a single 512 × 512 input with batch size 1 using FP32 precision. Throughput and GPU memory were measured on an NVIDIA GeForce GTX 1660 SUPER GPU (ASUSTeK Computer Inc., Taipei, Taiwan).

4.4. Case-Level Paired Analysis in the Resized Setting

Patient-level paired analysis showed that Stage 2 improved all evaluated segmentation metrics compared with Stage 1 (see Table 7). Mean Dice increased by 4.62 percentage points (95% CI, 0.54–9.79; two-sided Wilcoxon signed-rank p < 0.001), with higher Dice observed in 47 of 50 cases and lower Dice in 3 cases. Mean IoU increased by 4.39 percentage points (95% CI, 0.31–9.55; p < 0.001), sensitivity by 2.76 percentage points (95% CI, 2.01–3.33; p < 0.001), and specificity by 0.014 percentage points (95% CI, 0.010–0.017; p < 0.001). These results indicate a statistically significant patient-level refinement benefit, although the magnitude of improvement varied across metrics.
Table 7. Patient-level paired comparison of Stage 1 and Stage 2 performance in the resized setting. Values are reported as mean ± standard deviation across 50 mass-positive cases. Differences were calculated as Stage 2 minus Stage 1 and are expressed in percentage points. The 95% confidence intervals were estimated using a fold-stratified paired bootstrap with 10,000 resamples. p-values were obtained using two-sided Wilcoxon signed-rank tests.

5. Discussion

This study proposed MB-SwinRefiner, a two-stage framework for mammographic mass segmentation that combines Swin-based contextual encoding, multi-scale decoder fusion, auxiliary boundary supervision, and probability-guided residual refinement. The framework was evaluated on INbreast using case-level five-fold cross-validation under two complementary protocols: resized 512 × 512 image-level segmentation and native sliding-window full-mammogram reconstruction. Overall, Stage 2 improved the initial Stage 1 predictions, while the resized results provided a competitive contextual comparison with previously reported INbreast methods.
In the resized setting, MB-SwinUNet achieved Dice of 85.70 ± 2.90%, IoU of 84.07 ± 2.60%, sensitivity of 87.40 ± 3.50%, and specificity of 99.97 ± 0.02%. After probability-guided refinement, MB-SwinRefiner achieved Dice of 86.19 ± 3.00%, IoU of 84.33 ± 2.80%, sensitivity of 89.34 ± 3.30%, and specificity of 99.98 ± 0.01%. The modest Dice and IoU gains indicate that Stage 1 already provided strong overlap performance, whereas the larger sensitivity improvement suggests that Stage 2 recovered lesion pixels that were missed or under-segmented initially. Such improved lesion coverage may be useful for downstream analysis, although diagnostic performance and clinical utility were not evaluated.
The results reflect the complementary roles of the proposed components. The Swin encoder provides hierarchical context for distinguishing masses from dense fibroglandular tissue, while multi-scale decoder fusion combines coarse lesion extent with intermediate and fine spatial information. Auxiliary boundary supervision encourages contour-sensitive representation learning without adding an inference-time branch. Stage 2 differs from an independent replacement model because the fixed Stage 1 probability map guides decoder reconstruction and the output head predicts an additive correction to the Stage 1 logits.
The qualitative findings in Figure 3 and Figure 4 provide additional insight into this refinement behavior. In several resized cases, Stage 2 improved incomplete lesion coverage and reduced over-segmentation into surrounding parenchyma. It also suppressed a Stage 1 false-positive response in one target-negative example, although a dedicated lesion-level false-positive analysis was not performed. In the native examples, Stage 1 probability maps sometimes showed incomplete coverage, reduced confidence near irregular margins, or patch-like patterns resulting from sliding-window reconstruction. Stage 2 generally increased probability values across the target region and improved lesion coverage, consistent with the native quantitative results. However, refinement occasionally preserved or amplified small non-lesion responses and, in one example, over-corrected a weak initial prediction and suppressed the lesion. These observations indicate that the refiner remains dependent on the quality of the Stage 1 probability map, particularly for small, weakly contrasted, or low-confidence lesions. False-positive control and patch-boundary consistency therefore remain important challenges.
Figure 3. Qualitative comparison of segmentation performance between Stage 1 (MB-SwinUNet) and Stage 2 (MB-SwinRefiner) on representative cases from the INbreast dataset (a–e). Green contours denote the ground truth boundaries, while red contours represent the predicted boundaries of segmented masses. MB-SwinRefiner demonstrates strong segmentation quality in cases (a,c–e). However, it exhibits a failure to segment the mass in case (b).
Figure 4. Qualitative visualization of native sliding-window probability maps for three representative INbreast test cases (a–c). Each row presents, from left to right, the ground-truth mask, the raw probability map from Stage 1 (MB-SwinUNet), and the refined probability map from Stage 2 (MB-SwinRefiner), all shown prior to thresholding. Stage 2 successfully enhances the probability values across the target regions in cases (b,c); conversely, in case (a), the Stage 2 results in a comparatively weaker probability response.
The ablation results support the principal architectural choices. Removing auxiliary boundary supervision reduced resized Dice from 85.70% to 83.36%, indicating that contour-derived supervision provided useful training guidance. Removing multi-scale decoder fusion produced a larger reduction, decreasing Dice to 78.22% and IoU to 76.42%, suggesting that fusion of reconstructed decoder features was a major contributor to Stage 1 performance. In the native setting, Stage 2 improved mean Dice from 76.64% to 78.06% and mean IoU from 74.38% to 76.11%, showing that residual refinement remained beneficial when full-image predictions were reconstructed from overlapping patches. The lower native performance relative to resized evaluation is expected because native inference must address foreground sparsity, patch consistency, extensive anatomical background, and false responses across the full mammogram.
In the contextual comparison with previously reported resized INbreast methods, Cas-DeepLabV3+ with ResNet50 reported the highest previous Dice of 80.00%, whereas MB-SwinUNet and MB-SwinRefiner achieved 85.70% and 86.19%, respectively. The proposed models also showed higher sensitivity than the listed methods, suggesting improved lesion-pixel recovery. Nevertheless, these comparisons should be interpreted cautiously because published studies may differ in preprocessing, data partitioning, augmentation, threshold selection, and metric aggregation. The comparison therefore provides contextual evidence rather than a controlled head-to-head evaluation.
This study has several limitations. First, evaluation was restricted to the relatively small INbreast dataset, and external validation on larger and more diverse mammography datasets is required. Second, although case-level five-fold cross-validation reduces split-dependent bias, protocol differences continue to limit direct comparison with previous studies. Third, the native sliding-window experiment has limited comparability with existing literature and should be interpreted primarily as an internal full-resolution analysis. Fourth, the evaluation focused on pixel-level region metrics and did not include dedicated boundary, lesion-level detection, false-positive, or downstream clinical-utility analyses. Finally, the Stage 2 comparison evaluated the complete refinement framework without independently separating the effects of probability guidance, residual prediction, encoder initialization, and additional model capacity. The findings should therefore be interpreted as internal segmentation results on INbreast rather than evidence of cross-dataset generalizability or clinical effectiveness. Future work should include factorized refinement ablations, boundary and lesion-level metrics, lesion-subtype analysis, false-positive evaluation, and external validation under diverse acquisition conditions.

6. Conclusions

This paper proposes MB-SwinRefiner, a two-stage mammographic mass segmentation framework that leverages an initial probability map to guide residual refinement for the challenging task of breast mass segmentation. The probability map generated by the first-stage MB-SwinUNet model is used as prior information in the second-stage refinement model, allowing MB-SwinRefiner to focus on correcting local segmentation errors rather than re-segmenting the mammogram independently. The proposed framework combines Swin-based contextual encoding, multi-scale decoder fusion, training-only contour-derived supervision, and probability-guided residual correction to improve region-based mass segmentation and probability-map refinement.
The proposed framework was validated on the INbreast dataset under both resized benchmark evaluation and native sliding-window full-mammogram analysis. The internal cross-validation results show a modest improvement in the evaluated segmentation metrics after probability-guided refinement compared with the first-stage model. The main contribution of this study is the residual refinement mechanism, which uses the Stage 1 probability map as guidance for correcting local segmentation errors and refining full-mammogram predictions.

Author Contributions

Conceptualization, Z.S.S., P.S. and H.A.; methodology, Z.S.S., P.S. and H.A.; software, Z.S.S. and P.S.; validation, Z.S.S., P.S. and H.A.; formal analysis, Z.S.S., P.S. and H.A.; investigation, Z.S.S. and P.S.; resources, Z.S.S., P.S. and H.A.; data curation, Z.S.S., P.S. and H.A.; writing—original draft preparation, Z.S.S.; writing—review and editing, P.S. and H.A.; visualization, Z.S.S., P.S. and H.A.; supervision, P.S. and H.A.; project administration, P.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data that support the findings of this study are from the INbreast dataset (Moreira et al., [49] at https://doi.org/10.1016/j.acra.2011.09.014), which is publicly accessible at: https://www.kaggle.com/datasets/ramanathansp20/inbreast-dataset (accessed on 2 August 2026).

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Marmot, M.G.; Altman, D.G.; Cameron, D.A.; Dewar, J.A.; Thompson, S.G.; Wilcox, M. The benefits and harms of breast cancer screening: An independent review. Br. J. Cancer 2013, 108, 2205–2240. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  2. Boyd, N.F.; Guo, H.; Martin, L.J.; Sun, L.; Stone, J.; Fishell, E.; Jong, R.A.; Hislop, G.; Chiarelli, A.; Minkin, S.; et al. Mammographic density and the risk and detection of breast cancer. N. Engl. J. Med. 2007, 356, 227–236. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  3. Mandelson, M.T.; Oestreicher, N.; Porter, P.L.; White, D.; Finder, C.A.; Taplin, S.H.; White, E. Breast density as a predictor of mammographic detection: Comparison of interval-and screen-detected cancers. J. Natl. Cancer Inst. 2000, 92, 1081–1087. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  4. Jassim, G.; AlZayani, F.; Dsilva, S. Adjunct Automated Breast Ultrasound in Mammographic Screening: A Systematic Review and Meta-Analysis. J. Imaging 2025, 12, 3. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Aliniya, P.; Nicolescu, M.; Nicolescu, M.; Bebis, G. Improved loss function for mass segmentation in mammography images using density and mass size. J. Imaging 2024, 10, 20. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  6. Li, S.; Dong, M.; Du, G.; Mu, X. Attention dense-u-net for automatic breast mass segmentation in digital mammogram. IEEE Access 2019, 7, 59037–59047. [Google Scholar] [CrossRef] [Scilit]
  7. Sun, H.; Li, C.; Liu, B.; Liu, Z.; Wang, M.; Zheng, H.; Dagan Feng, D.; Wang, S. AUNet: Attention-guided dense-upsampling networks for breast mass segmentation in whole mammograms. Phys. Med. Biol. 2020, 65, 055005. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  8. Zhao, W.; Lou, M.; Qi, Y.; Wang, Y.; Xu, C.; Deng, X.; Ma, Y. Adaptive channel and multiscale spatial context network for breast mass segmentation in full-field mammograms. Appl. Intell. 2021, 51, 8810–8827. [Google Scholar] [CrossRef] [Scilit]
  9. Lou, M.; Qi, Y.; Meng, J.; Xu, C.; Wang, Y.; Pi, J.; Ma, Y. DCANet: Dual contextual affinity network for mass segmentation in whole mammograms. Med. Phys. 2021, 48, 4291–4303. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  10. Xu, C.; Qi, Y.; Wang, Y.; Lou, M.; Pi, J.; Ma, Y. Arf-net: An adaptive receptive field network for breast mass segmentation in whole mammograms and ultrasound images. Biomed. Signal Process. Control 2022, 71, 103178. [Google Scholar] [CrossRef] [Scilit]
  11. Wang, R.; Ma, Y.; Sun, W.; Guo, Y.; Wang, W.; Qi, Y.; Gong, X. Multi-level nested pyramid network for mass segmentation in mammograms. Neurocomputing 2019, 363, 313–320. [Google Scholar] [CrossRef] [Scilit]
  12. Pi, J.; Qi, Y.; Lou, M.; Li, X.; Wang, Y.; Xu, C.; Ma, Y. FS-UNet: Mass segmentation in mammograms using an encoder-decoder architecture with feature strengthening. Comput. Biol. Med. 2021, 137, 104800. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. Baccouche, A.; Garcia-Zapirain, B.; Castillo Olea, C.; Elmaghraby, A.S. Connected-UNets: A deep learning architecture for breast mass segmentation. npj Breast Cancer 2021, 7, 151. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  14. Alkhaleefah, M.; Tan, T.H.; Chang, C.H.; Wang, T.C.; Ma, S.C.; Chang, L.; Chang, Y.L. Connected-segNets: A deep learning model for breast tumor segmentation from X-ray images. Cancers 2022, 14, 4030. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Chowdary, G.J.; Yoagarajah, P. EU-Net: Enhanced U-shaped network for breast mass segmentation. IEEE J. Biomed. Health Inform. 2023, 1–11. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  16. Su, Y.; Liu, Q.; Xie, W.; Hu, P. YOLO-LOGO: A transformer-based YOLO segmentation model for breast mass detection and segmentation in digital mammograms. Comput. Methods Programs Biomed. 2022, 221, 106903. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  17. Liu, D.; Wu, B.; Li, C.; Sun, Z.; Zhang, N. TrEnD: A transformer-based encoder-decoder model with adaptive patch embedding for mass segmentation in mammograms. Med. Phys. 2023, 50, 2884–2899. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  18. Kamran, S.A.; Hossain, K.F.; Tavakkoli, A.; Bebis, G.; Baker, S. Swin-sftnet: Spatial feature expansion and aggregation using swin transformer for whole breast micro-mass segmentation. In Proceedings of the 2023 IEEE 20th International Symposium on Biomedical Imaging (ISBI), Cartagena de Indias, Colombia, 18–21 April 2023. [Google Scholar]
  19. Mohammadi, S.; Livani, M.A. Enhanced breast mass segmentation in mammograms using a hybrid transformer UNet model. Comput. Biol. Med. 2025, 184, 109432. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  20. Xiong, X.; Wang, C.; Li, W.; Li, G. Mammo-sam: Adapting foundation segment anything model for automatic breast mass segmentation in whole mammograms. In Proceedings of the International Workshop on Machine Learning in Medical Imaging, Vancouver, BC, Canada, 8 October 2023. [Google Scholar]
  21. Chen, J.; Lu, Y.; Yu, Q.; Luo, X.; Adeli, E.; Wang, Y.; Lu, L.; Yuille, A.L.; Zhou, Y. Transunet: Transformers make strong encoders for medical image segmentation. arXiv 2021, arXiv:2102.04306. [Google Scholar]
  22. Zhang, Y.; Liu, H.; Hu, Q. Transfuse: Fusing transformers and cnns for medical image segmentation. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention, Strasbourg, France, 27 September–1 October 2021. [Google Scholar]
  23. Cao, H.; Wang, Y.; Chen, J.; Jiang, D.; Zhang, X.; Tian, Q.; Wang, M. Swin-unet: Unet-like pure transformer for medical image segmentation. In Proceedings of the European Conference on Computer Vision, Tel Aviv, Israel, 23–27 October 2022. [Google Scholar]
  24. Zhou, H.Y.; Guo, J.; Zhang, Y.; Han, X.; Yu, L.; Wang, L.; Yu, Y. nnformer: Volumetric medical image segmentation via a 3d transformer. IEEE Trans. Image Process. 2023, 32, 4036–4045. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  25. Hatamizadeh, A.; Tang, Y.; Nath, V.; Yang, D.; Myronenko, A.; Landman, B.; Roth, H.R.; Xu, D. Unetr: Transformers for 3d medical image segmentation. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, Waikoloa, HI, USA, 3–8 January 2022. [Google Scholar]
  26. Zhou, Z.; Rahman Siddiquee, M.M.; Tajbakhsh, N.; Liang, J. Unet++: A nested u-net architecture for medical image segmentation. In Proceedings of the International Workshop on Deep Learning in Medical Image Analysis, Granada, Spain, 20 September 2018. [Google Scholar]
  27. Huang, H.; Lin, L.; Tong, R.; Hu, H.; Zhang, Q.; Iwamoto, Y.; Han, X.; Chen, Y.W.; Wu, J. Unet 3+: A full-scale connected unet for medical image segmentation. In Proceedings of the ICASSP 2020—2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Virtual, 4–8 May 2020. [Google Scholar]
  28. Rahman, M.M.; Munir, M.; Marculescu, R. Emcad: Efficient multi-scale convolutional attention decoding for medical image segmentation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 16–22 June 2024. [Google Scholar]
  29. Kervadec, H.; Bouchtiba, J.; Desrosiers, C.; Granger, E.; Dolz, J.; Ayed, I.B. Boundary loss for highly unbalanced segmentation. In Proceedings of the International Conference on Medical Imaging with Deep Learning (PMLR), London, UK, 24 May 2019. [Google Scholar]
  30. Karimi, D.; Salcudean, S.E. Reducing the hausdorff distance in medical image segmentation with convolutional neural networks. IEEE Trans. Med. Imaging 2019, 39, 499–513. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  31. Takikawa, T.; Acuna, D.; Jampani, V.; Fidler, S. Gated-scnn: Gated shape cnns for semantic segmentation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Seoul, Republic of Korea, 27 October–2 November 2019. [Google Scholar]
  32. Kuang, H.; Wang, Y.; Liang, Y.; Liu, J.; Wang, J. BEA-Net: Body and Edge Aware Network with Multi-Scale Short-Term Concatenation for Medical Image Segmentation. IEEE J. Biomed. Health Inform. 2023, 27, 4828–4839. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  33. Wang, C.; Zhang, Y.; Cui, M.; Ren, P.; Yang, Y.; Xie, X.; Hua, X.S.; Bao, H.; Xu, W. Active boundary loss for semantic segmentation. In Proceedings of the AAAI Conference on Artificial Intelligence, Virtual, 22 February–1 March 2022. [Google Scholar]
  34. Yeung, M.; Yang, G.; Sala, E.; Schönlieb, C.B.; Rundo, L. Incorporating Boundary Uncertainty into loss functions for biomedical image segmentation. arXiv 2021, arXiv:2111.00533. [Google Scholar]
  35. Ramesh, N. Deeply supervised u-net for mass segmentation in digital mammograms. Int. J. Imaging Syst. Technol. 2021, 31, 59–71. [Google Scholar] [CrossRef] [Scilit]
  36. Li, Y.; Zhao, G.; Zhang, Q.; Lin, Y.; Wang, M. SAP-cGAN: Adversarial learning for breast mass segmentation in digital mammogram based on superpixel average pooling. Med. Phys. 2021, 48, 1157–1167. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  37. Xiong, X.; Wang, C.; Li, W.; Li, G. Semi-and weakly-supervised learning for mammogram mass segmentation with limited annotations. In Proceedings of the 2024 IEEE International Symposium on Biomedical Imaging (ISBI), Athens, Greece, 27–30 May 2024. [Google Scholar]
  38. Li, X.; Li, L.; Li, M.; Yan, P.; Feng, T.; Luo, H.; Zhao, Y.; Yin, S. Knowledge distillation and teacher-student learning in medical imaging: Comprehensive overview, pivotal role, and future directions. Med. Image Anal. 2025, 107, 103819. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  39. Li, G.; Huang, Q.; Dong, X.F. Enhancing long-range contextual interactions via frequency-aware directional shifts for medical image segmentation. Appl. Soft Comput. 2026, 199, 115395. [Google Scholar] [CrossRef] [Scilit]
  40. Kirillov, A.; Mintun, E.; Ravi, N.; Mao, H.; Rolland, C.; Gustafson, L.; Xiao, T.; Whitehead, S.; Berg, A.C.; Lo, W.Y.; et al. Segment anything. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Paris, France, 1–6 October 2023. [Google Scholar]
  41. Ma, J.; He, Y.; Li, F.; Han, L.; You, C.; Wang, B. Segment anything in medical images. Nat. Commun. 2024, 15, 654. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  42. Du, Y.; Bai, F.; Huang, T.; Zhao, B. Segvol: Universal and interactive volumetric medical image segmentation. Adv. Neural Inf. Process. Syst. 2024, 37, 110746–110783. [Google Scholar] [CrossRef] [Scilit]
  43. Shi, P.; Qiu, J.; Abaxi, S.M.D.; Wei, H.; Lo, F.P.W.; Yuan, W. Generalist vision foundation models for medical imaging: A case study of segment anything model on zero-shot medical segmentation. Diagnostics 2023, 13, 1947. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  44. Liu, Z.; Lin, Y.; Cao, Y.; Hu, H.; Wei, Y.; Zhang, Z.; Lin, S.; Guo, B. Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Virtual, 11–17 October 2021. [Google Scholar]
  45. Russakovsky, O.; Deng, J.; Su, H.; Krause, J.; Satheesh, S.; Ma, S.; Huang, Z.; Karpathy, A.; Khosla, A.; Bernstein, M.; et al. Imagenet large scale visual recognition challenge. Int. J. Comput. Vis. 2015, 115, 211–252. [Google Scholar] [CrossRef] [Scilit]
  46. Wu, Y.; He, K. Group normalization. In Proceedings of the European Conference on Computer Vision (ECCV), Munich, Germany, 8–14 September 2018. [Google Scholar]
  47. Lin, T.Y.; Goyal, P.; Girshick, R.; He, K.; Dollár, P. Focal loss for dense object detection. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017. [Google Scholar]
  48. Salehi, S.S.M.; Erdogmus, D.; Gholipour, A. Tversky loss function for image segmentation using 3D fully convolutional deep networks. In Proceedings of the International Workshop on Machine Learning in Medical Imaging, Quebec City, QC, Canada, 10 September 2017. [Google Scholar]
  49. Moreira, I.C.; Amaral, I.; Domingues, I.; Cardoso, A.; Cardoso, M.J.; Cardoso, J.S. Inbreast: Toward a full-field digital mammographic database. Acad. Radiol. 2012, 19, 236–248. [Google Scholar] [PubMed]
  50. Viegas, L.; Domingues, I.; Mendes, M. Study on Data Partition for Delimitation of Masses in Mammography. J. Imaging 2021, 7, 174. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  51. Oza, U.; Gohel, B.; Kumar, P.; Oza, P. Presegmenter cascaded framework for mammogram mass segmentation. Int. J. Biomed. Imaging 2024, 2024, 9422083. [Google Scholar] [CrossRef] [Scilit] [PubMed]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.