Next Article in Journal
Prompt-Guided Semantic Latent Direction Learning in Diffusion Models for Abstract Visual Concept Manipulation
Previous Article in Journal
ESMStereo: Enhanced ShuffleMixer Disparity Upsampling for Real-Time and Accurate Stereo Matching
Previous Article in Special Issue
Computed Fluid Dynamics-Based Blood Pressure Prediction for Coronary Artery Disease Diagnosis Using Coronary Computed Tomography Angiography
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

MBRSNet: Boundary-Aware Multi-Task Learning with Signed Distance Field Regression for Polyp Segmentation

School of Information Science and Engineering, Harbin Institute of Technology, Weihai 264209, China
*
Author to whom correspondence should be addressed.
J. Imaging 2026, 12(7), 278; https://doi.org/10.3390/jimaging12070278 (registering DOI)
Submission received: 21 April 2026 / Revised: 14 June 2026 / Accepted: 22 June 2026 / Published: 24 June 2026
(This article belongs to the Special Issue AI-Driven Medical Image Processing and Analysis)

Abstract

Accurate polyp segmentation in colonoscopic images remains challenging due to low contrast, irregular morphology, and significant distribution shifts across datasets, which often lead to unreliable boundary delineation and poor generalization. Existing methods typically treat boundary information as an auxiliary cue or incorporate boundary information through hand-crafted architectural designs, resulting in limited integration between boundary-sensitive features and region-aware representations. In this paper, we propose a boundary-aware multi-task learning framework, termed MBRSNet, which explicitly models and exploits the complementarity between the segmentation task and the auxiliary signed distance field (SDF) regression task. Specifically, we formulate boundary modeling as an auxiliary SDF regression task, providing dense and continuous structural supervision without requiring additional annotations. To effectively couple the two tasks, we design a cross-gated multi-task bottleneck that enables bidirectional and selective feature interaction, allowing each task to selectively leverage complementary information while suppressing task-irrelevant responses. Furthermore, a hierarchical cross-task guidance strategy is introduced in the decoding stage, where boundary-aware weighting and segmentation-guided alignment jointly refine multi-scale features, ensuring consistent integration of boundary cues and regional semantics. Extensive experiments on five benchmark datasets demonstrate that MBRSNet achieves competitive or superior performance compared with representative state-of-the-art methods in both segmentation accuracy and cross-dataset generalization. In particular, the proposed framework achieves superior boundary delineation under challenging conditions and exhibits strong robustness to domain shifts, highlighting the effectiveness of structured task interaction for boundary-aware medical image segmentation.

1. Introduction

Colorectal cancer poses a serious threat to human health, and colonoscopy plays an important role in its screening and diagnosis [1]. Since polyps are important precancerous lesions in the development of colorectal cancer, accurate polyp segmentation in colonoscopic images is clinically important for computer-aided colorectal cancer screening. However, this task remains highly challenging. On the one hand, polyps usually exhibit low contrast with the surrounding mucosal tissues. On the other hand, colonoscopic images are often affected by complex interference such as uneven illumination, shadows, and specular reflections, while different polyps also show substantial variations in shape, size, and color distribution [2]. These factors jointly increase the difficulty of boundary delineation and impose higher demands on the accuracy and robustness of segmentation methods.
Early computer-aided diagnosis methods mainly relied on traditional image processing techniques [3,4,5]. However, these methods depend heavily on manually designed low-level features and therefore usually lack sufficient robustness and generalization under complex imaging conditions. With the development of deep learning, convolutional neural network (CNN)-based methods have achieved remarkable progress in local detail extraction, boundary delineation, and spatial structure modeling [6,7]. Subsequently, Vision Transformer (ViT) [8] and related Transformer-based methods further enhanced global contextual modeling and long-range dependency learning, showing stronger potential in handling polyps with large-scale variations, irregular morphology, and ambiguous boundaries [9,10,11]. In recent years, hybrid architectures combining the strengths of CNNs and ViTs have also attracted considerable attention [12,13]. Recent medical image segmentation studies have also explored adaptive boundary enhancement and feature fusion to improve boundary delineation [14].
Despite these advances, polyp segmentation still suffers from limited robustness and cross-dataset generalization. Many existing models rely heavily on appearance patterns learned from training data and are therefore vulnerable to distribution shifts caused by changes in illumination, reflection, shadow, viewpoint, and imaging devices. This may lead to degraded segmentation performance, inaccurate boundary localization, and even missed detections. Compared with appearance cues, boundary information provides a more stable structural cue for distinguishing polyps from surrounding tissues across different imaging conditions and data sources. Therefore, effectively exploiting boundary-related information is important for improving both segmentation accuracy and generalization.
However, related studies have demonstrated the effectiveness of feature-aware attention, structural representation learning, and adaptive feature modulation in visual analysis [15,16,17,18]. Nevertheless, existing boundary-aware polyp segmentation methods often use boundary information merely as an auxiliary cue, with weak and mostly implicit interaction between boundary-sensitive features and region-aware semantic features. Although multi-task learning has been introduced in segmentation, explicit inter-task collaboration remains insufficient, especially under low contrast, irregular shapes, and cross-domain distribution shifts.
In a single-task segmentation framework, it is difficult to achieve accurate region localization and precise boundary delineation simultaneously. Region-aware semantic features are effective for capturing global structure and contextual information, while boundary-sensitive features focus on local structural variations and fine contour details. These two types of features are complementary but have different representation characteristics. Therefore, introducing SDF regression as an auxiliary task for boundary modeling and designing structured interaction mechanisms can provide a more suitable framework for polyp segmentation. In this way, boundary information can guide the segmentation process, while regional semantics can improve the stability and discriminability of SDF-based boundary representations.
Based on the above analysis, this paper proposes MBRSNet, a task interaction-driven boundary-aware multi-task network for colonoscopic polyp segmentation, with a focus on the effective extraction, modeling, and integration of boundary information. Specifically, an SDF regression branch is introduced for boundary modeling to provide continuous and structured boundary supervision without requiring additional annotations. Meanwhile, explicit task interaction mechanisms are designed at both the bottleneck and decoding stages to more fully exploit the complementarity between segmentation and SDF regression, thereby enhancing the joint modeling of polyp regions and SDF-based boundary representations. The main contributions of this paper are summarized as follows:
  • We propose a boundary-aware multi-task learning paradigm for polyp segmentation, in which boundary modeling is formulated as a continuous SDF regression task. Compared with conventional edge supervision, the proposed formulation provides denser structural priors and alleviates the class imbalance problem, enabling more stable and informative SDF-based boundary modeling without requiring additional annotations.
  • We introduce a task interaction mechanism to explicitly model the complementary relationship between region-aware semantic representations and SDF-based boundary representations. Specifically, a Cross-gated Multi-task Bottleneck is designed to achieve bidirectional feature modulation between the segmentation branch and the SDF branch at the bottleneck stage, allowing each task to selectively absorb beneficial information while suppressing incompatible responses.
  • We further develop a hierarchical cross-task guidance strategy in the decoding stage, where Boundary-aware Weighting and Segmentation-guided Alignment are jointly applied to optimize multi-scale features. This design enables continuous integration of boundary cues and regional context throughout the decoding process, thereby improving boundary delineation accuracy and spatial consistency.
  • Extensive experiments on five publicly available benchmark datasets demonstrate that the proposed method achieves competitive or superior performance compared with representative methods in both segmentation accuracy and cross-dataset generalization, validating the effectiveness of the proposed task interaction paradigm.
The remainder of this paper is organized as follows. Section 2 reviews related research on colonoscopic image segmentation and MTL-based medical image segmentation. Section 3 introduces the proposed method. Section 4 presents the experimental settings and result analysis. Section 5 is a discussion, and Section 6 concludes the paper.

2. Related Work

2.1. Polyp Segmentation with Boundary Modeling

Accurate boundary delineation is a critical yet challenging aspect of polyp segmentation, as polyps often exhibit low contrast, irregular shapes, and ambiguous transitions with surrounding tissues. To address this issue, a large body of work has explored the integration of boundary information into segmentation frameworks.
Early approaches typically relied on explicit edge extraction techniques to enhance boundary perception during encoding. For example, MNet-SAt [19] employs the Sobel operator to provide auxiliary edge responses. Although such methods can strengthen low-level boundary awareness to some extent, they are highly sensitive to noise, illumination variation, and complex backgrounds, which limits their effectiveness in real-world colonoscopic images.
More recent studies incorporate boundary cues implicitly through attention mechanisms, particularly during the decoding stage. Representative methods such as PraNet [20] and CaraNet [21] leverage reverse attention and multi-scale feature refinement to emphasize boundary-related regions. MSBP-Net [22] further enhances edge-related representation during decoding through boundary feature extraction and fusion. While these methods improve segmentation performance to some extent, boundary information is still indirectly modeled and largely dependent on the quality of decoder features, making them vulnerable to decoding bias and error propagation.
Another line of work performs boundary modeling through auxiliary prediction tasks, where additional supervision is imposed via edge or boundary masks. Representative examples include MSNet [23], MACNet [2], MISNet [24], and CFANet [25]. These methods introduce explicit boundary guidance by predicting boundary-related masks or maps and, in some cases, further use boundary features to assist segmentation. However, such strategies usually treat boundary prediction as a binary segmentation problem, which suffers from severe class imbalance and limited representation capacity, thereby restricting the ability of the network to capture richer structural properties of boundaries.
Overall, existing boundary-aware polyp segmentation methods either rely on unstable low-level cues, implicitly model boundary information, or adopt suboptimal supervision formulations. As a result, they fail to fully exploit the structural properties of boundaries and their interaction with region-level semantics.

2.2. Multi-Task Learning for Medical Image Segmentation

Multi-task learning (MTL) has been widely adopted in medical image analysis to improve representation learning by leveraging complementary information across tasks [26].
Among them, joint learning of segmentation and classification has been extensively studied because both tasks often share similar regions of interest in clinical scenarios. For example, He et al. employed a shared U-shaped encoder with task-specific heads for simultaneous organ segmentation and multi-label classification in CT images [27], and Gende et al. proposed a similar end-to-end framework for concurrent structure segmentation and disease sign detection in OCT images [28]. Tang et al. further introduced a Transformer module at the encoder bottleneck to enhance long-range dependency modeling for simultaneous endoscopic image segmentation and benign–malignant polyp classification [29]. In addition, feature enhancement strategies have also been explored to further improve MTL performance in medical image analysis [30]. Beyond classification, other studies have combined segmentation with auxiliary tasks such as denoising [31], registration [32], and reconstruction [33] to enhance feature learning from different perspectives.
Despite these advances, existing MTL-based segmentation methods still exhibit several limitations. First, many approaches require heterogeneous annotations, such as image-level labels or additional supervision signals, which increases annotation cost and restricts practical applicability. Second, most methods treat auxiliary tasks as loosely coupled regularizers, without explicitly modeling how different tasks should interact during feature learning. As a result, the potential complementarity between tasks is not fully exploited.
More importantly, commonly used auxiliary tasks are often not well aligned with the specific requirements of segmentation, particularly in terms of boundary sensitivity. Tasks such as classification, denoising, reconstruction, and registration mainly emphasize global semantics, appearance restoration, or spatial transformation consistency, and therefore provide limited guidance for precise boundary delineation. These limitations suggest that effective multi-task learning for segmentation requires not only appropriate task design, but also structured interaction mechanisms that can explicitly model the relationship between complementary representations.

2.3. Limitation Summary

From the above analysis, two key limitations can be identified in existing methods. First, boundary information is either weakly modeled or suboptimally supervised, which limits its effectiveness in guiding segmentation under challenging conditions. Second, although multi-task learning provides a promising framework for integrating complementary information, current approaches lack explicit and structured interaction mechanisms to fully exploit task relationships.
In particular, the interaction between boundary-sensitive features and region-aware semantics remains insufficiently explored. This gap prevents existing methods from effectively leveraging boundary information to improve both segmentation accuracy and cross-dataset generalization.
To address these issues, this paper proposes a boundary-aware multi-task framework with structured task interaction, which explicitly couples segmentation and SDF regression for boundary modeling through representation learning and hierarchical feature guidance. Unlike existing boundary-aware or MTL-based approaches, our method explicitly models the SDF-based boundary representation and its interaction with region-aware segmentation features.

3. Methods

3.1. Network Architecture

The overall architecture of MBRSNet is illustrated in Figure 1.
The design of MBRSNet is motivated by the observation that effective polyp segmentation requires both accurate region localization and precise boundary delineation, which are inherently complementary but exhibit different representation characteristics. Region-aware features are typically robust to noise and capture global semantic context, while boundary-sensitive features focus on local structural variations but are more susceptible to interference. Directly optimizing these two aspects within a single-task framework often leads to suboptimal representations. To address this issue, MBRSNet is designed under a multi-task learning framework, where segmentation and SDF regression are jointly optimized for boundary modeling and explicitly coupled through structured interaction mechanisms. The encoder is built upon Pyramid Vision Transformer v2 (PVT v2) [34] to provide effective multi-scale feature extraction and global contextual modeling. The overall architecture follows a U-shaped design and consists of three key components:
  • An SDF regression branch for boundary modeling
  • A cross-gated bottleneck for task interaction
  • Hierarchical cross-task guidance modules in skip connections

3.2. Signed Distance Field (SDF) Regression Task

We formulate boundary modeling as an auxiliary signed distance field (SDF) regression task in MBRSNet. Here, SDF refers to a continuous representation, while SDF regression denotes the auxiliary task used to predict this representation. Unlike region-only supervision, the SDF-based boundary representation explicitly encodes foreground–background membership and the distance to the object boundary, thereby providing direct boundary priors for the main segmentation task.
Let G T denote the set of foreground pixels in the binary segmentation mask, G B denote the set of background pixels, and G = G T G B denote the set of all pixels. The foreground boundary is denoted by G T . In a discrete binary mask, G T can be approximated as the set of pixels located at the interface between foreground and background regions. For each pixel x G , the unsigned distance to the boundary is defined as:
D x = min y G T | x y | 2 .
The ground-truth SDF value at pixel x, denoted by S x , is then computed as:
S x = D x max y G T D y , x G T , D x max y G B D y , x G B .
According to this definition, pixels inside the polyp region are assigned positive values, whereas background pixels are assigned negative values. Pixels on the object boundary have zero distance to G T , and therefore the zero-level set of the ground-truth SDF corresponds to the polyp boundary. Compared with a binary mask, the SDF-based boundary representation provides richer structural information by jointly representing category membership and boundary distance. In addition, normalization to [ 1 , 1 ] keeps the target range consistent across objects of different sizes and helps stabilize optimization. Examples of input images, ground-truth segmentation masks, and ground-truth SDF maps are shown in Figure 2.
In MBRSNet, the decoder for the SDF regression task produces a raw response map through a convolutional layer. Let the raw output at pixel x be denoted by O x . The predicted SDF value is computed as:
P x = 2 O x 1 2 max y G O y + min y G O y max y G O y min y G O y .
Equation (3) maps the predicted response to the range of [ 1 , 1 ] . During training, P x is supervised to approximate the ground-truth SDF value S x , whose zero-level set corresponds to the object boundary. Therefore, the learned zero-level contour can be regarded as the predicted SDF-based boundary representation.
The loss function for the SDF regression task is defined as:
s d f = 1 | G | x G P x S x 2 .
The SDF regression task provides explicit supervision for boundary modeling without requiring additional annotations and establishes a continuous SDF-based boundary representation for the interaction between segmentation and SDF regression. Compared with conventional edge prediction, SDF regression is more suitable for polyp segmentation because it avoids formulating boundary modeling as a highly class-imbalanced binary segmentation problem. Instead, it provides dense regression targets and richer gradient signals while jointly encoding foreground-background membership and boundary distance.

3.3. Cross-Gated Multi-Task Bottleneck (CGMB)

Instead of directly sharing or concatenating features between tasks, CGMB is designed to explicitly disentangle task-specific representations and enable controlled information exchange. The key idea is to allow each task to selectively incorporate complementary features from the other task through gated modulation, rather than indiscriminately fusing all information. This design avoids feature interference caused by incompatible objectives, while preserving the complementarity between SDF-based boundary representations and region-aware semantic representations. As a result, the bottleneck features become both task-adaptive and interaction-aware. The architecture of CGMB is shown in Figure 3. Let E 4 denote the bottleneck feature produced by the encoder. For the segmentation branch, CGMB adopts a multi-scale aggregation strategy to enhance region-aware features. A 1 × 1 convolution first generates a basic representation:
F r a = Conv 1 × 1 ( E 4 )
Then, 3 × 3 and 5 × 5 convolutions are used to capture region information under different receptive fields:
F r a m s = Conv 3 × 3 ( F r a ) , Conv 5 × 5 ( F r a )
After channel adjustment, the base feature of the segmentation branch is obtained by residual fusion:
F s e g = E 4 + Conv 1 × 1 ( F r a m s )
For the SDF branch, CGMB adopts a more locally structure-sensitive design to emphasize boundary transition patterns. The shared feature is first projected by a 1 × 1 convolution:
F s a = Conv 1 × 1 ( E 4 )
A 3 × 3 convolution followed by a depthwise separable convolution is then used to refine local structural responses:
F s a l o c = DSConv 3 × 3 Conv 3 × 3 ( F s a )
Accordingly, the base feature of the SDF branch is defined as:
F s d f = E 4 + Conv 1 × 1 ( F s a l o c )
After obtaining the task-specific base features, CGMB introduces a Cross-task Feature Interaction (CTFI) module to establish bidirectional interaction between the two branches. Instead of directly adding one task feature to the other, CTFI uses channel and spatial gating to select complementary information and suppress irrelevant responses.
Channel attention weights are first generated from the modulating task features, where G A P ( · ) denotes global average pooling and σ S ( · ) denotes the Sigmoid activation function:
w c s e g s d f = σ S W 1 s e g s d f W 0 s e g s d f G A P ( F s e g )
w c s d f s e g = σ S W 1 s d f s e g W 0 s d f s e g G A P ( F s d f )
After the channel attention, spatial attention weights are further computed as:
w s s e g s d f = σ S Conv 1 × 1 G A P w c s e g s d f F s e g
w s s d f s e g = σ S Conv 1 × 1 G A P w c s d f s e g F s d f
The resulting gated compensation features are defined as:
F g s e g s d f = w c s e g s d f F s e g w s s e g s d f
F g s d f s e g = w c s d f s e g F s d f w s s d f s e g
Finally, the cross-task information is injected into the two branches by residual fusion, yielding the bottleneck decoding features:
D s e g 3 = F s e g + F g s d f s e g
D s d f 3 = F s d f + F g s e g s d f
In this way, CGMB achieves both task-specific feature construction and bidirectional cross-task guidance at the bottleneck stage. The segmentation branch receives SDF-based boundary cues from the SDF regression branch, while the SDF branch benefits from region-aware semantics from the segmentation branch. As a result, CGMB better exploits task complementarity while preserving task specificity, thereby improving segmentation.

3.4. Boundary-Aware Weighted Attention Module (BAWA)

MBRSNet not only performs boundary modeling through the auxiliary SDF regression task, but also uses the learned SDF-based boundary cues to guide segmentation more effectively. BAWA is designed for this purpose at the skip-connection stage. Shallow encoder features contain rich texture and edge details, but they are also easily contaminated by irrelevant responses from specular reflections, mucosal folds, intestinal wall textures, and foreground–background regions with similar appearances. When directly delivered to the decoder, these noisy features may interfere with boundary recovery and region reconstruction. Therefore, BAWA uses the SDF-based boundary cues learned by the SDF regression branch to adaptively reweight skip features, so that boundary-related responses can be strengthened while irrelevant interference is suppressed. The overall architecture of BAWA is shown in Figure 4.
BAWA first performs multi-scale spatial feature extraction on the shallow encoder feature E i . One branch applies a 1 × 1 convolution for preliminary feature organization, while the other uses a 1 × 1 convolution followed by a depthwise separable convolution and a dilated convolution to enlarge the receptive field and suppress local texture noise. The two branches are then fused to obtain the spatially enhanced feature:
F i 1 = IBR ( Conv 1 × 1 ( E i ) )
F i 2 = IBR ( AConv 3 × 3 ( DSConv 3 × 3 ( Conv 1 × 1 ( E i ) ) ) )
F i m = IBR ( Conv 1 × 1 ( [ F i 1 , F i 2 ] ) )
where IBR ( · ) denotes the sequential combination of layer normalization, batch normalization, and ReLU activation, and AConv 3 × 3 ( · ) denotes dilated convolution.
To introduce explicit boundary guidance, the SDF decoding feature D s d f i + 1 is upsampled and transformed into a spatial attention map:
A i s p = σ S ( Conv 1 × 1 ( U p × 2 ( D s d f i + 1 ) ) )
This attention map indicates how strongly each spatial location is related to the boundary region.
Based on A i s p , BAWA performs boundary-guided feature enhancement:
F i s p = A i s p ( F i m ) 2 + ( 1 A i s p ) F i m
In (23), boundary-related locations are selectively enhanced by the first term, while non-boundary regions retain the original feature responses through the second term. In this way, BAWA highlights true contour regions without excessively disturbing the semantic consistency of non-boundary areas.
Finally, channel attention is further applied to suppress redundant responses and emphasize channels that are more informative for boundary discrimination and target recognition:
S i B = σ S ( W i C ( G A P ( F i s p ) ) ) F i s p
Through the above design, BAWA serves as a boundary-aware guidance mechanism in the skip connections. It converts the boundary information learned by the SDF branch into adaptive weighting of shallow features, thereby reducing noise interference and providing cleaner and more boundary-sensitive inputs for subsequent decoding. In this way, BAWA helps the network make more effective use of boundary cues to guide segmentation.

3.5. Segmentation-Guided Feature Alignment Module (SGFA)

In MBRSNet, cross-task interaction in the skip connections is not only used to inject boundary guidance from the SDF branch, but also to exploit the regional semantics learned by the segmentation branch. Compared with the SDF branch, which mainly focuses on local boundary variation, the segmentation branch captures the overall spatial distribution of the target region more effectively, including its location, extent, and foreground–background layout. SGFA is designed from this perspective. It uses segmentation features to guide skip-feature fusion, so that region-aware semantics can complement boundary-aware cues during decoding. The architecture of SGFA is shown in Figure 5.
Specifically, SGFA concatenates the BAWA output feature at the i-th level with the upsampled segmentation decoding feature from the ( i + 1 ) -th level, and then generates a spatial guidance map through a 1 × 1 convolution followed by a Sigmoid activation:
w i S = σ S ( Conv 1 × 1 ( [ S i B , U p × 2 ( D s e g i + 1 ) ] ) )
The obtained guidance map is further used to reweight S i B and produce the skip feature enhanced by regional information:
S i = w i S S i B
In this way, SGFA highlights target-related spatial locations while suppressing background interference during feature fusion. As a result, it allows the regional semantics learned by the segmentation branch to guide decoding more effectively and to work together with the boundary guidance provided by BAWA, thereby improving the effectiveness of multi-task collaborative decoding.

4. Experiments and Results

4.1. In-Domain Performance

4.1.1. Datasets and Training Settings

To evaluate the in-domain performance of MBRSNet, experiments were conducted on two publicly available polyp segmentation datasets. The first public dataset is Kvasir-SEG [35], which contains 1000 polyp images with diverse sizes and shapes, along with their corresponding mask annotations. The image resolutions range from 332 × 487 to 1920 × 1072 . The second is CVC-ClinicDB [36], which consists of 612 polyp images extracted from 31 colonoscopy video sequences, with a resolution of 384 × 288 pixels. Each image was annotated by medical experts and is accompanied by a corresponding polyp mask. Each dataset was split into training, validation, and test sets at an 8:1:1 ratio.
Before being fed into the network, all images were uniformly resized to 352 × 352 . Data augmentation included random horizontal and vertical flipping, as well as random 90 rotation, each applied with a probability of 0.5. In addition, random translation and isotropic scaling within 10%, random rotation within ± 15 , and random brightness and contrast adjustment were also applied with a probability of 0.5.
All compared methods used the same data splits, preprocessing procedures, and evaluation protocol.
To evaluate model performance, two commonly used segmentation metrics, namely the mean Dice coefficient (mDice) and mean Intersection over Union (mIoU), were adopted. In addition, to provide a more comprehensive evaluation, three metrics widely used in polyp segmentation were further introduced, including S m [37], F β ω [38], and E m [39].
The model was trained using the Adam optimizer, with a learning rate of 1 × 10 4 and 50 epochs. The batch size was set to 16. The loss function of MBRSNet consists of a segmentation loss and an SDF loss. The segmentation loss includes the Dice loss and the binary cross-entropy (BCE) loss, while the SDF loss is computed according to (4). For the segmentation task, the Dice loss and BCE loss are defined as (27) and (28), respectively:
Dice = 1 2 i = 1 N y i y ^ i i = 1 N ( y i + y ^ i )
BCE = 1 N i = 1 N y i log ( y ^ i ) + ( 1 y i ) log ( 1 y ^ i )
where y i and y ^ i denote the ground-truth value and the predicted value of all pixels in the current batch, respectively. Accordingly, the overall loss of the network is defined as (29).
= Dice + BCE + s d f
Experiments were conducted on a workstation running Ubuntu 20.04, equipped with an NVIDIA RTX 5880 Ada Generation GPU with 48 GB of memory. The deep learning framework in this study was PyTorch 2.4.0, and the code was executed under Python 3.8.

4.1.2. Ablation Study for In-Domain Performance

To verify the contribution of the MTL mechanism, the SDF regression task, and each proposed module to the model’s in-domain performance, ablation experiments were conducted, and the corresponding configurations are summarized in Table 1.
Specifically, a UNet with PVT v2 as the encoder was adopted as the baseline model, denoted as M1. Based on M1, the MTL framework with SDF regression was first introduced to construct M2, in order to validate the benefit of multi-task optimization for segmentation. CGMB was then incorporated to form M3, so as to demonstrate the effect of adaptive bidirectional cross-task guidance at the bottleneck stage. Subsequently, SGFA and BAWA were introduced separately to obtain M4 and M5, respectively, thereby evaluating the individual contribution of the two task-guided interaction modules. In addition, M6 was designed by removing CGMB while retaining SDF, SGFA, and BAWA, so as to isolate the contribution of CGMB. Therefore, M4, M5, and M6 can be regarded as single-module ablation variants for BAWA, SGFA, and CGMB, respectively. Finally, all modules were integrated to form the complete MBRSNet.
The ablation results on Kvasir-SEG and CVC-ClinicDB are reported in Table 2 and Table 3.
For the sequential ablation study, M1 already achieves competitive performance on both datasets, with mDice of 0.8569 and 0.8598, indicating that PVT v2 provides a strong segmentation baseline. After introducing SDF supervision, M2 improves the mDice by 0.0330 and 0.0371 on Kvasir-SEG and CVC-ClinicDB, respectively, demonstrating that SDF regression helps the network learn SDF-based boundary representations. Based on M2, M3 further improves the mDice by 0.0124 and 0.0168, showing that CGMB enhances the interaction between segmentation and SDF features at the bottleneck stage. Compared with M3, M4 and M5 bring further improvements by introducing SGFA and BAWA, respectively. BAWA yields larger mDice gains than SGFA on both datasets, suggesting that boundary-aware refinement provides more direct assistance for polyp segmentation, while SGFA contributes to region-level feature alignment.
For the single-module ablation study, removing any of the three proposed modules leads to consistent performance degradation compared with the complete MBRSNet, confirming that BAWA, SGFA, and CGMB all contribute to the final segmentation performance. Among them, the removal of BAWA results in the most obvious decline, suggesting that boundary-aware refinement is particularly important for accurate polyp segmentation. The variants without SGFA or CGMB still maintain competitive performance, but they remain inferior to MBRSNet, indicating that region-level feature alignment and bottleneck-level cross-task interaction provide complementary benefits. Overall, the performance trend shows that the proposed modules are mutually beneficial rather than redundant.
Figure 6 presents qualitative ablation results on representative samples. Compared with the baseline, the introduction of SDF regression effectively suppresses large-scale errors and improves boundary prediction. CGMB further refines the segmentation results, while SGFA and BAWA provide additional gains by enhancing region-level consistency and boundary awareness, respectively. Among them, BAWA shows a stronger ability to suppress systematic erroneous segmentation. By combining all these improvements, MBRSNet produces the most accurate and complete segmentation results, especially in challenging boundary regions.

4.1.3. Comparison Study for In-Domain Performance

To evaluate the in-domain performance of MBRSNet, we compared it with 10 polyp segmentation networks, including UNet [40], UNet++ [41], PraNet [20], Polyp-PVT [42], CaraNet [21], CFANet [25], MISNet [24], MSBPNet [22], MNet-SAt [19], and DEP-Net [43]. Among them, UNet and UNet++ are classical CNN-based models, and Polyp-PVT is built upon PVT [44]. PraNet and CaraNet enhance boundary analysis through reverse attention during decoding, whereas CFANet uses edge prediction as an auxiliary task. MISNet introduces edge attention during decoding, MSBPNet incorporates a boundary prediction module into decoding, MNet-SAt explicitly introduces the Sobel operator at both the encoding and decoding stages, and DEP-Net employs shape distribution map prediction as an auxiliary task and further incorporates it into decoding as an attention map. Overall, these compared methods cover the major existing strategies for exploiting edge information in polyp segmentation, thereby highlighting the advantage of MBRSNet in boundary information analysis and utilization. The results are reported in Table 4.
The quantitative comparison results on Kvasir-SEG and CVC-ClinicDB demonstrate the superior in-domain performance of MBRSNet. On Kvasir-SEG, MBRSNet achieves the best performance across all metrics, with an mDice of 0.9216, outperforming the second-best method by 0.0122. On CVC-ClinicDB, MBRSNet further attains an mDice of 0.9429, exceeding the second-best result by 0.0174. In addition, MBRSNet improves F β ω by 0.0064 and 0.0130, and improves E m by 0.0175 and 0.0267 on the two datasets, respectively. These results indicate that MBRSNet can more accurately capture the main lesion region while preserving boundary details, thereby achieving stronger in-domain performance.
Figure 7 presents qualitative comparisons on representative samples. In the first, fourth, and fifth columns, most competing methods are affected by shape bias and produce incomplete or overly regular predictions, whereas MBRSNet recovers the polyp regions more accurately. In the second and third columns, competing methods show obvious erroneous segmentation under distracting regions and blurred boundaries, while MBRSNet suppresses these errors more effectively. For the relatively regular polyps in the seventh and eighth columns, MBRSNet also achieves more precise boundary delineation.
To evaluate the statistical stability of MBRSNet, we computed the image-level standard deviation (std) for each metric and conducted paired t-tests on Kvasir-SEG and CVC-ClinicDB. As shown in Table 5 and Table 6, MBRSNet achieves the lowest std values for all metrics on both datasets, indicating the most stable image-level segmentation performance among all compared methods. The paired t-test results further show statistically significant differences between MBRSNet and all competing methods across all metrics, with all p-values below 0.05. These results demonstrate the stability and statistical reliability of the proposed method.

4.1.4. Component Replacement Study

To verify the rationality of adopting PVT v2 [34] as the encoder, we replaced it with several representative CNN- and Transformer-based encoders with comparable model complexity, including ResNet-50 [45], Res2Net-50 [46], and Swin-Tiny [47], while keeping the remaining MBRSNet architecture unchanged. The results are reported in Table 7.
As shown in Table 7, PVT v2 achieves the best segmentation performance on both Kvasir-SEG and CVC-ClinicDB while requiring the smallest number of parameters and FLOPs. Compared with ResNet-50, Res2Net-50, and Swin-Tiny, PVT v2 obtains higher mDice, mIoU, F β ω , S m , and E m on both datasets. These results indicate that PVT v2 provides a better balance between feature representation ability and computational efficiency, thereby supporting its use as the encoder of MBRSNet.

4.1.5. Cross-Validation Study

Five-fold cross-validation was conducted on Kvasir-SEG and CVC-ClinicDB to evaluate stability and ensure fair comparison, with identical fold-wise splits for each method. The ablation and comparison results are reported in Table 8 and Table 9, respectively.
As shown in Table 8, the five-fold cross-validation ablation results show consistent performance improvements on both Kvasir-SEG and CVC-ClinicDB. In the sequential ablation setting, the mDice on Kvasir-SEG increases from 0.8565 for M1 to 0.8809 for M2, 0.8995 for M3, 0.9044 for M4, and finally 0.9161 for the complete MBRSNet. A similar trend is observed on CVC-ClinicDB, where the mDice improves from 0.8543 to 0.8863, 0.9050, 0.9131, and 0.9393, respectively. These results indicate that SDF supervision, CGMB, SGFA, and BAWA progressively contribute to the segmentation performance.
In the single-module removal setting, M4, M5, and M6 correspond to the variants without BAWA, SGFA, and CGMB, respectively. Compared with the complete MBRSNet, removing BAWA leads to mDice decreases of 0.0117 and 0.0262 on Kvasir-SEG and CVC-ClinicDB, respectively. Removing SGFA decreases the mDice by 0.0047 and 0.0083, while removing CGMB reduces the mDice by 0.0111 and 0.0104 on the two datasets. These results further demonstrate that all three modules are effective, and their combination enables MBRSNet to achieve the best and most stable performance across different folds.
The comparison results in Table 9 further verify the robustness of MBRSNet against different training-test partitions. On Kvasir-SEG, MBRSNet achieves the best performance across all metrics, with an mDice of 0.9161, outperforming the second-best method by 0.0231. It also improves mIoU, F β ω , S m , and E m by 0.0329, 0.0236, 0.0137, and 0.0296, respectively. On CVC-ClinicDB, MBRSNet obtains the best results in four out of five metrics, achieving an mDice of 0.9393 and exceeding the second-best result by 0.0180. In addition, MBRSNet improves mIoU, F β ω , and E m by 0.0254, 0.0131, and 0.0290, respectively. Although the S m of MBRSNet is slightly lower than that of PraNet by only 0.0004, it achieves a smaller standard deviation, indicating more stable performance across different folds. Overall, these cross-validation results demonstrate that MBRSNet not only benefits from the complementary design of its components, but also maintains strong segmentation accuracy and robustness under different data partitions.

4.2. Cross-Dataset Generalization

4.2.1. Datasets and Training Settings

To evaluate the cross-dataset generalization of the proposed method, the training sets of Kvasir-SEG and CVC-ClinicDB were combined into a unified training set containing 1290 samples.
Generalization was evaluated on three unseen polyp segmentation datasets as follows:
  • CVC-ColonDB [48], which contains 380 polyp images extracted from 15 colonoscopy sequences of 13 patients, each with a resolution of 574 × 500 pixels.
  • CVC-300 [49], which includes 60 polyp images with a resolution of 574 × 500 pixels.
  • ETIS [50], which contains 196 polyp images collected from 44 distinct polyps in 34 sequences, each with a resolution of 1225 × 966 pixels. Since ETIS contains relatively small polyps with complex boundaries, it is particularly challenging and therefore well suited for evaluating the cross-dataset generalization and practical applicability of polyp segmentation networks.
All other experimental settings were identical to those described in Section 4.1.1.

4.2.2. Ablation Study for Cross-Dataset Generalization

Table 10 reports the ablation results on three external test sets. For the sequential ablation study, M1 already shows a certain degree of cross-dataset generalization, achieving mDice of 0.7279, 0.8351, and 0.6165 on CVC-ColonDB, CVC-300, and ETIS, respectively. After introducing the SDF auxiliary task, M2 improves the mDice by 0.0275, 0.0337, and 0.0776 on the three datasets, demonstrating that SDF regression provides effective SDF-based boundary supervision and is particularly beneficial under large distribution shifts. Based on M2, CGMB further brings consistent mDice gains, indicating that bottleneck-level bidirectional cross-task interaction helps enhance high-level feature representation. Compared with M3, both SGFA and BAWA further improve the cross-dataset performance, suggesting that segmentation-guided alignment and boundary-aware weighting are complementary, with explicit boundary guidance contributing more directly to robust generalization.
For the single-module ablation study, removing BAWA, SGFA, or CGMB consistently degrades the performance compared with the complete MBRSNet. This trend indicates that boundary refinement, region-level semantic alignment, and bottleneck-level cross-task interaction all contribute to cross-dataset generalization. Among them, the performance drops are more evident on ETIS, which suggests that the proposed modules are especially useful under stronger domain shifts and more challenging segmentation conditions. Overall, MBRSNet achieves the best performance on all three external datasets, demonstrating that SDF supervision, CGMB, SGFA, and BAWA are complementary rather than redundant.

4.2.3. Comparison Study for Cross-Dataset Generalization

The cross-dataset generalization and statistical reliability of MBRSNet were evaluated on three external test sets, with quantitative results reported in Table 11, Table 12 and Table 13 and the image-level standard deviations and paired t-test results summarized in Table 14, Table 15 and Table 16.
As shown in Table 11, Table 12 and Table 13, MBRSNet achieves the best performance across all five metrics on CVC-ColonDB, CVC-300, and ETIS. Compared with the second-best methods, MBRSNet improves mDice, mIoU, F β ω , S m , and E m by 0.0364, 0.0368, 0.0548, 0.0497, and 0.0260 on CVC-ColonDB, respectively. On CVC-300, the corresponding improvements are 0.0430, 0.0449, 0.0274, 0.0363, and 0.0413. On the more challenging ETIS dataset, MBRSNet still obtains gains of 0.0270, 0.0263, 0.0139, 0.0430, and 0.0230 for the five metrics, respectively. These results demonstrate that MBRSNet can achieve accurate lesion segmentation and boundary delineation under cross-dataset distribution shifts.
Furthermore, Table 14, Table 15 and Table 16 show that MBRSNet maintains lower image-level performance dispersion than the competing methods. Specifically, it achieves the lowest std values for four metrics on CVC-ColonDB and all five metrics on CVC-300, while also obtaining competitive std values on ETIS. The paired t-test results show that most p-values are below 0.001, and all reported p-values are below 0.05. These results further support the robustness and statistical reliability of MBRSNet under cross-dataset evaluation.

4.3. Computational Efficiency

Table 17 summarizes the relationship between model complexity, in-domain performance, and cross-dataset generalization for MBRSNet and the competing methods. For each model, the in-domain average mDice is calculated as the mean mDice on Kvasir-SEG and CVC-ClinicDB, while the cross-dataset average mDice is calculated as the mean mDice on CVC-ColonDB, CVC-300, and ETIS. As shown in the table, MBRSNet achieves the best average mDice for both in-domain performance and cross-dataset generalization without a substantial increase in model complexity. Compared with CaraNet, MBRSNet only slightly increases the parameters and FLOPs from 44.59 M to 45.62 M and from 17.62 G to 19.65 G, respectively, but improves the in-domain average mDice from 0.9138 to 0.9323 and the cross-dataset average mDice from 0.7754 to 0.8214. These results indicate that the performance gain mainly comes from boundary-aware multi-task learning and structured task interaction, rather than simply from increased model complexity.

4.4. Visualization

4.4.1. Effectiveness of SDF

Figure 8a,b show representative segmentation results and SDF outputs on Kvasir-SEG and CVC-ClinicDB.
The predicted zero-level contour is highly consistent with the segmentation boundary and generally matches the ground-truth boundary well. Meanwhile, the predicted SDF values exhibit clear differences across the boundary with a smooth transition near the contour. These results indicate that the proposed model can effectively capture boundary-related distance variation and improve both boundary delineation and overall segmentation quality.

4.4.2. Interpretability of Model Decisions

We used Grad-CAM [51] to visualize the attention regions of different encoder stages, as shown in Figure 9. Stage1–Stage4 represent the four stages of the encoder from shallow to deep layers. It can be observed that the shallow Stage1 mainly responds to the texture and boundary details of polyps. As the encoding depth increases, the responses of Stage2 and Stage3 gradually concentrate on the main polyp regions. Although the deep Stage4 contains less spatial detail, it can roughly locate the overall polyp region. These results indicate that the model can progressively extract high-level semantic information from local details during encoding and effectively focus on polyp-related regions.

4.4.3. Effectiveness of BAWA and SGFA

To verify the effectiveness of BAWA and SGFA, we visualized the boundary attention map in BAWA, the region attention map in SGFA, and three feature response heatmaps from the second-level skip connection on Kvasir-SEG dataset and the first-level skip connection on CVC-ClinicDB dataset, as shown in Figure 10. Different skip levels were selected because the two datasets exhibit different data distributions. Specifically, the second-level skip connection on Kvasir-SEG and the first-level skip connection on CVC-ClinicDB contain sufficient texture and semantic information for feature analysis.
As can be observed, the high-activation regions of the boundary attention map generated by BAWA are mainly distributed within a ring-like area around the polyp boundary, indicating that BAWA effectively enhances the model’s ability to focus on critical boundary regions. In contrast, the high-activation regions of the region attention map generated by SGFA are mainly located inside the entire polyp region, demonstrating the contribution of SGFA to improving global region perception. After the skip features are processed by BAWA, the responses around boundary regions are well preserved, whereas the responses in non-boundary regions are largely suppressed. With the further introduction of SGFA, responses from non-polyp boundary edges are further reduced. These observations demonstrate the effectiveness of BAWA in enhancing boundary-region representation and SGFA in improving overall region perception.

4.5. Model Lightweight Design

Although MBRSNet demonstrates favorable in-domain performance and cross-dataset generalization, its parameter count (45.62 M) and computational burden (19.65 G) are still higher than those of lightweight segmentation models, which may limit its applicability in efficiency-sensitive deployment scenarios. To address this limitation, we further develop a lightweight variant, MBRSNet-Lite, by replacing standard convolutions with depthwise separable convolutions, removing one layer of cross-task interaction modules, and adopting the PVT v2 Tiny encoder.
Table 18 presents the parameter count and computational cost of MBRSNet and MBRSNet-Lite. It can be observed that, benefiting from the simpler encoder, more compact architecture, and the use of depthwise separable convolutions, MBRSNet-Lite contains only 4.34 M parameters, achieving a reduction of 90.49%. Meanwhile, its computational cost is reduced to 1.56 G FLOPs, corresponding to a reduction of 92.07%.
Table 19 reports the in-domain performance and cross-dataset generalization of MBRSNet-Lite on five benchmark datasets. Owing to its compact architecture and substantially reduced parameter count, MBRSNet-Lite exhibits a certain decrease in representation capacity compared with MBRSNet. Nevertheless, by retaining the SDF-based boundary modeling strategy and cross-task interaction mechanism, it still achieves competitive segmentation performance. Specifically, the mDice on Kvasir-SEG and CVC-ClinicDB remain as high as 0.9016 and 0.9297, respectively, while those on CVC-ColonDB, CVC-300, and ETIS reach 0.7742, 0.8657, and 0.7172, respectively. These results indicate that MBRSNet-Lite provides a favorable trade-off between segmentation accuracy and model efficiency. More importantly, the performance gains introduced by MBRSNet-Lite mainly stem from its task-specific and boundary-aware design, rather than from simply increasing the number of parameters.

5. Discussion

Accurate polyp segmentation remains challenging because weak contrast, irregular morphology, and complex imaging artifacts often obscure lesion boundaries, thereby reducing robustness and cross-dataset generalization. To address this issue, MBRSNet introduces SDF as an auxiliary task without requiring additional annotations. By providing explicit boundary-related structural guidance, SDF regression imposes stronger structural constraints on segmentation learning than region-only supervision. The experimental results show that the SDF-based boundary representation improves contour awareness and localization accuracy, particularly for small polyps and those with irregular shapes or thin boundaries.
Beyond explicit boundary supervision, MBRSNet further enhances joint optimization between segmentation and SDF regression through multi-level cross-task interaction. At the bottleneck stage, CGMB constructs task-specific representations and enables adaptive bidirectional information exchange between the segmentation branch and the SDF branch, thereby improving the complementary modeling of regional semantics and SDF-based boundary structures. In the skip connections, BAWA and SGFA further strengthen cross-task collaboration through boundary-guided feature enhancement and segmentation-guided feature alignment, respectively. These designs help suppress irrelevant shallow responses while improving spatial consistency during decoding.
The quantitative results on both in-domain performance and cross-dataset generalization further support this interpretation. MBRSNet achieves superior performance on the in-domain evaluation and maintains strong robustness under evident distribution shifts in the external evaluation. These findings suggest that MBRSNet improves not only feature learning on seen datasets but also boundary-sensitive generalization on unseen datasets.
Nevertheless, MBRSNet still has several limitations. As shown in Figure 11, false positives may occur on incomplete polyps or normal regions with polyp-like structural patterns, while false negatives may still appear when the polyps are extremely small, exhibit low contrast with the background, or when multiple polyps are present in a single image. These failure cases indicate that, although MBRSNet improves SDF-based boundary modeling, its predictions are still influenced by dominant shape patterns in the training data. Therefore, improving the discrimination of atypically shaped polyps and hard negative regions remains an important direction for future work.

6. Conclusions

This paper presents MBRSNet, a boundary-aware multi-task learning framework for polyp segmentation that explicitly models the interaction between SDF-based boundary representations and region-aware semantics. Instead of treating boundary information as an auxiliary cue, the proposed method formulates boundary modeling as a continuous SDF regression task and tightly integrates it with segmentation through structured cross-task interaction mechanisms.
By enabling bidirectional and selective information exchange between tasks, MBRSNet effectively captures the complementary characteristics of SDF-based boundary representations and region-aware features. This design not only improves boundary delineation but also enhances the robustness of segmentation under challenging conditions, such as low contrast, irregular shapes, and cross-dataset distribution shifts. The experimental results across multiple benchmark datasets demonstrate that the performance gains of the proposed method stem from effective task interaction and representation coupling, rather than merely from increased architectural complexity.
Despite these advantages, the full MBRSNet still introduces additional computational overhead due to its multi-level interaction design. To alleviate this issue, MBRSNet-Lite was further developed to reduce model complexity while maintaining competitive segmentation performance, providing a more efficient alternative for efficiency-sensitive application scenarios.
In future work, we plan to further improve the efficiency of task interaction mechanisms and evaluate the deployment potential of MBRSNet and MBRSNet-Lite in real-time clinical scenarios. Moreover, extending the proposed framework to broader segmentation tasks and integrating it with emerging paradigms, such as foundation models or prompt-based learning, may further improve its robustness and adaptability.

Author Contributions

Conceptualization, R.L.; methodology, R.L.; software, R.L.; validation, R.L.; formal analysis, R.L.; writing—original draft preparation, R.L.; writing—review and editing, R.L. and L.M.; visualization, R.L.; supervision, L.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Key R&D Program of China (Grant No. 2024YFC2417403).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The datasets used in this study are openly available as follows: the Kvasir-SEG dataset is available in the Simula Datasets repository at https://datasets.simula.no/kvasir-seg/ (accessed on 21 June 2026); the CVC-ClinicDB dataset is available on the Grand Challenge platform at https://polyp.grand-challenge.org/CVCClinicDB/ (accessed on 21 June 2026); the CVC-ColonDB dataset is available on Kaggle at https://www.kaggle.com/datasets/longvil/cvc-colondb (accessed on 21 June 2026); the CVC-300 dataset is available on Kaggle at https://www.kaggle.com/datasets/nourabentaher/cvc-300 (accessed on 21 June 2026); and the ETIS dataset is available on Kaggle at https://www.kaggle.com/datasets/nguyenvoquocduong/etis-laribpolypdb (accessed on 21 June 2026).

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
BAWABoundary-aware Weighted Attention Module
CNNConvolutional Neural Network
MTLMulti-task Learning
PVTPyramid Vision Transformer
SDFSigned Distance Field
SGFASegmentation-guided Feature Alignment
CGMBCross-gated Multi-task Bottleneck
ViTVision Transformer

References

  1. Rawla, P.; Sunkara, T.; Barsouk, A. Epidemiology of colorectal cancer: Incidence, mortality, survival, and risk factors. Gastroenterol. Rev./Prz. Gastroenterol. 2019, 14, 89–103. [Google Scholar] [CrossRef]
  2. Jiang, X.; Wei, C.; Li, X.; Dai, Z. MACNet: Multiscale attention cross-sharing networks for colorectal polyp segmentation. Biomed. Signal Process. Control 2026, 116, 109450. [Google Scholar] [CrossRef]
  3. Jardim, S.; António, J.; Mora, C. Image thresholding approaches for medical image segmentation-short literature review. Procedia Comput. Sci. 2023, 219, 1485–1492. [Google Scholar]
  4. Mayangsari, A.D.; Agung, I.W.P. A Systematic Literature Review: Performance Comparison of Edge Detection Operators in Medical Images. J. Eltikom J. Tek. Elektro Teknol. Inf. Dan Komput. 2024, 8, 9–25. [Google Scholar] [CrossRef]
  5. Ghalati, M.K.; Nunes, A.; Ferreira, H.; Serranho, P.; Bernardes, R. Texture analysis and its applications in biomedical imaging: A survey. IEEE Rev. Biomed. Eng. 2021, 15, 222–246. [Google Scholar] [CrossRef]
  6. Wu, H.; Zhao, Z. EPSegNet: Lightweight semantic recalibration and assembly for efficient polyp segmentation. IEEE Trans. Neural Netw. Learn. Syst. 2025, 36, 13805–13817. [Google Scholar] [CrossRef] [PubMed]
  7. Xu, X.; Liu, H.; Zhang, T.; Xiong, H.; Yu, W. PreCM: The Padding-Based Rotation Equivariant Convolution Mode for Semantic Segmentation. IEEE Trans. Image Process. 2025, 34, 2781–2795. [Google Scholar] [PubMed]
  8. Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. In Proceedings of the ICLR, Virtual, 3–7 May 2021; pp. 1–22. [Google Scholar]
  9. Liu, X.; Li, X.; Liu, Z.; Peng, K.; Chen, S.; Zhang, Y.; Hou, B. Global-to-Local Deep Interaction and Boundary-Aware Transformer for accurate polyp segmentation. Eng. Appl. Artif. Intell. 2026, 166, 113543. [Google Scholar]
  10. Wang, S.; Lin, S.; Sun, F.; Li, X. Multi-feature fusion for accurate polyp segmentation using pyramid visual transformers. Expert Syst. Appl. 2025, 280, 127558. [Google Scholar] [CrossRef]
  11. Chu, J.; Liu, W.; Tian, Q.; Lu, W. PFPRNet: A phase-wise feature pyramid with retention network for polyp segmentation. IEEE J. Biomed. Health Inform. 2024, 29, 1137–1150. [Google Scholar] [CrossRef]
  12. Li, D.; Li, D.; Liu, Y. DFIMFD-Net: Dual-branch feature interaction and mutual-guidance feature decoding network for polyp segmentation. Biomed. Signal Process. Control 2025, 110, 108213. [Google Scholar]
  13. Gao, J.; Hu, J.; Sun, W. RBSTUNet: A dual-branch parallel network for colorectal polyp segmentation. Biomed. Signal Process. Control 2025, 108, 107931. [Google Scholar] [CrossRef]
  14. Zhang, K.; Zhao, S.; Wang, C.; Dong, S.; Hu, D.; Gao, G.; Yang, J.; Gan, T.; Yin, L.; Rao, N. Adaptive-PVT: Unlocking the power of adaptive mechanisms for medical image segmentation. Knowl.-Based Syst. 2026, 342, 115859. [Google Scholar] [CrossRef]
  15. Jiang, H.; Peng, Y.; Li, R.; Peng, Z. Feature-aware multi-head self-attention hashing for Chinese ancient document image retrieval. Appl. Soft Comput. 2026, 193, 114770. [Google Scholar]
  16. Xu, J.; Yu, X. The immune depth presentation convolutional neural network used for oil and gas pipeline fault diagnosis. IEEE Access 2024, 12, 163739–163751. [Google Scholar] [CrossRef]
  17. Yu, X.; Zhao, X. YOLO-TCS: An enhanced multi-scale network for traffic sign detection integrating multi-level feature fusion and attention. Multimed. Syst. 2026, 32, 110. [Google Scholar]
  18. Yu, X.; Liang, X.; Zhou, Z.; Zhang, B.; Xue, H. Deep soft threshold feature separation network for infrared handprint identity recognition and time estimation. Infrared Phys. Technol. 2024, 138, 105223. [Google Scholar] [CrossRef]
  19. Raghaw, C.S.; Yadav, A.; Sanjotra, J.S.; Dangi, S.; Kumar, N. MNet-SAt: A Multiscale Network with Spatial-enhanced Attention for segmentation of polyps in colonoscopy. Biomed. Signal Process. Control 2025, 102, 107363. [Google Scholar]
  20. Fan, D.P.; Ji, G.P.; Zhou, T.; Chen, G.; Fu, H.; Shen, J.; Shao, L. Pranet: Parallel reverse attention network for polyp segmentation. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Berlin/Heidelberg, Germany, 2020; pp. 263–273. [Google Scholar]
  21. Lou, A.; Guan, S.; Ko, H.; Loew, M.H. CaraNet: Context axial reverse attention network for segmentation of small medical objects. In Proceedings of the Medical Imaging 2022: Image Processing; SPIE: Bellingham, WA, USA, 2022; Volume 12032, pp. 81–92. [Google Scholar]
  22. Pan, X.L.; Ding, J.R.; Li, X.; Liu, S.; Wang, J.; Hua, B.; Tang, G.Z.; Zhong, C.H. MSBP-Net: A multi-scale boundary prediction network for automated polyp segmentation. Pattern Recognit. 2026, 170, 112101. [Google Scholar]
  23. He, D.; Li, C.; Ma, Z.; Li, Y. MSNet: A novel network with comprehensive multi-scale feature integration for gastric cancer and colon polyp segmentation. Signal Image Video Process. 2025, 19, 119. [Google Scholar]
  24. Kang, X.; Ma, Z.; Liu, K.; Li, Y.; Miao, Q. Multi-scale information sharing and selection network with boundary attention for polyp segmentation. Eng. Appl. Artif. Intell. 2025, 139, 109467. [Google Scholar]
  25. Zhou, T.; Zhou, Y.; He, K.; Gong, C.; Yang, J.; Fu, H.; Shen, D. Cross-level feature aggregation network for polyp segmentation. Pattern Recognit. 2023, 140, 109555. [Google Scholar] [CrossRef]
  26. Yu, X.; Liang, X.; Zhou, Z.; Zhang, B. Multi-task learning for hand heat trace time estimation and identity recognition. Expert Syst. Appl. 2024, 255, 124551. [Google Scholar] [CrossRef]
  27. He, T.; Hu, J.; Song, Y.; Guo, J.; Yi, Z. Multi-task learning for the segmentation of organs at risk with label dependence. Med. Image Anal. 2020, 61, 101666. [Google Scholar] [CrossRef] [PubMed]
  28. Gende, M.; de Moura, J.; Novo, J.; Ortega, M. End-to-end multi-task learning approaches for the joint epiretinal membrane segmentation and screening in OCT images. Comput. Med. Imaging Graph. 2022, 98, 102068. [Google Scholar] [PubMed]
  29. Tang, S.; Yu, X.; Cheang, C.F.; Liang, Y.; Zhao, P.; Yu, H.H.; Choi, I.C. Transformer-based multi-task learning for classification and segmentation of gastrointestinal tract endoscopic images. Comput. Biol. Med. 2023, 157, 106723. [Google Scholar] [PubMed]
  30. Bui, P.N.; Le, D.T.; Bum, J.; Han, J.C.; Pham, V.N.; Choo, H. Multi-scale feature enhancement in multi-task learning for medical image analysis. Artif. Intell. Med. 2025, 173, 103338. [Google Scholar] [PubMed]
  31. Shen, Y.; Chen, L.; Liu, J.; Chen, H.; Wang, C.; Ding, H.; Zhang, Q. PADS-Net: GAN-based radiomics using multi-task network of denoising and segmentation for ultrasonic diagnosis of Parkinson disease. Comput. Med. Imaging Graph. 2025, 120, 102490. [Google Scholar] [PubMed]
  32. Zhang, J.; Fu, T.; Xiao, D.; Fan, J.; Song, H.; Ai, D.; Yang, J. Bi-fusion of structure and deformation at multi-scale for joint segmentation and registration. IEEE Trans. Image Process. 2024, 33, 3676–3691. [Google Scholar] [PubMed]
  33. Han, L.; Zhang, J.; Hu, Y.; Liu, X.; Yue, G.; Wei, M.; Wu, Y. Multi-task cyclical consistency learning based medical image segmentation. Eng. Appl. Artif. Intell. 2025, 160, 111863. [Google Scholar] [CrossRef]
  34. Wang, W.; Xie, E.; Li, X.; Fan, D.P.; Song, K.; Liang, D.; Lu, T.; Luo, P.; Shao, L. Pvt v2: Improved baselines with pyramid vision transformer. Comput. Vis. Media 2022, 8, 415–424. [Google Scholar] [CrossRef]
  35. Jha, D.; Smedsrud, P.H.; Riegler, M.A.; Halvorsen, P.; De Lange, T.; Johansen, D.; Johansen, H.D. Kvasir-seg: A segmented polyp dataset. In Proceedings of the International Conference on Multimedia Modeling; Springer: Berlin/Heidelberg, Germany, 2019; pp. 451–462. [Google Scholar]
  36. Bernal, J.; Sánchez, F.J.; Fernández-Esparrach, G.; Gil, D.; Rodríguez, C.; Vilariño, F. WM-DOVA maps for accurate polyp highlighting in colonoscopy: Validation vs. saliency maps from physicians. Comput. Med. Imaging Graph. 2015, 43, 99–111. [Google Scholar] [CrossRef] [PubMed]
  37. Fan, D.P.; Cheng, M.M.; Liu, Y.; Li, T.; Borji, A. Structure-measure: A new way to evaluate foreground maps. In Proceedings of the IEEE International Conference on Computer Vision, Venice, Italy, 22–29 October 2017; pp. 4548–4557. [Google Scholar]
  38. Margolin, R.; Zelnik-Manor, L.; Tal, A. How to evaluate foreground maps? In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Columbus, OH, USA, 23–28 June 2014; pp. 248–255. [Google Scholar]
  39. Fan, D.P.; Gong, C.; Cao, Y.; Ren, B.; Cheng, M.M.; Borji, A. Enhanced-alignment measure for binary foreground map evaluation. arXiv 2018, arXiv:1805.10421. [Google Scholar]
  40. Ronneberger, O.; Fischer, P.; Brox, T. U-net: Convolutional networks for biomedical image segmentation. In Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention; Springer: Berlin/Heidelberg, Germany, 2015; pp. 234–241. [Google Scholar]
  41. Zhou, Z.; Siddiquee, M.M.R.; Tajbakhsh, N.; Liang, J. Unet++: Redesigning skip connections to exploit multiscale features in image segmentation. IEEE Trans. Med. Imaging 2019, 39, 1856–1867. [Google Scholar] [CrossRef] [PubMed]
  42. Dong, B.; Wang, W.; Fan, D.P.; Li, J.; Fu, H.; Shao, L. Polyp-PVT: Polyp Segmentation with Pyramid Vision Transformers. CAAI Artif. Intell. Res. 2023, 2, 9150015. [Google Scholar]
  43. Cui, K.; Ma, C.; Wang, H.; Tian, Q. A perception network for improved segmentation of endoscopic polyp images with enhanced detail. Expert Syst. Appl. 2025, 281, 127518. [Google Scholar] [CrossRef]
  44. Wang, W.; Xie, E.; Li, X.; Fan, D.P.; Song, K.; Liang, D.; Lu, T.; Luo, P.; Shao, L. Pyramid vision transformer: A versatile backbone for dense prediction without convolutions. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, QC, Canada, 10–17 October 2021; pp. 568–578. [Google Scholar]
  45. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 770–778. [Google Scholar]
  46. Gao, S.H.; Cheng, M.M.; Zhao, K.; Zhang, X.Y.; Yang, M.H.; Torr, P. Res2Net: A New Multi-Scale Backbone Architecture. IEEE Trans. Pattern Anal. Mach. Intell. 2021, 43, 652–662. [Google Scholar] [CrossRef] [PubMed]
  47. 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, Montreal, QC, Canada, 10–17 October 2021; pp. 10012–10022. [Google Scholar]
  48. Geetha, K.; Rajan, C. Automatic colorectal polyp detection in colonoscopy video frames. Asian Pac. J. Cancer Prev. APJCP 2016, 17, 4869. [Google Scholar] [CrossRef]
  49. Vázquez, D.; Bernal, J.; Sánchez, F.J.; Fernández-Esparrach, G.; López, A.M.; Romero, A.; Drozdzal, M.; Courville, A. A benchmark for endoluminal scene segmentation of colonoscopy images. J. Healthc. Eng. 2017, 2017, 4037190. [Google Scholar] [CrossRef] [PubMed]
  50. Silva, J.; Histace, A.; Romain, O.; Dray, X.; Granado, B. Toward embedded detection of polyps in wce images for early diagnosis of colorectal cancer. Int. J. Comput. Assist. Radiol. Surg. 2014, 9, 283–293. [Google Scholar] [PubMed]
  51. Selvaraju, R.R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual Explanations from Deep Networks via Gradient-Based Localization. In Proceedings of the 2017 IEEE International Conference on Computer Vision (ICCV), Venice, Italy, 22–29 October 2017; pp. 618–626. [Google Scholar]
Figure 1. The overall architecture of MBRSNet.
Figure 1. The overall architecture of MBRSNet.
Jimaging 12 00278 g001
Figure 2. Examples of input images, ground-truth segmentation masks, and ground-truth SDF maps.
Figure 2. Examples of input images, ground-truth segmentation masks, and ground-truth SDF maps.
Jimaging 12 00278 g002
Figure 3. The architecture of CGMB.
Figure 3. The architecture of CGMB.
Jimaging 12 00278 g003
Figure 4. The architecture of BAWA.
Figure 4. The architecture of BAWA.
Jimaging 12 00278 g004
Figure 5. The architecture of SGFA.
Figure 5. The architecture of SGFA.
Jimaging 12 00278 g005
Figure 6. Visualization of the ablation results on representative samples. Correctly segmented regions, false positives, and false negatives are marked in cyan, magenta, and blue, respectively.
Figure 6. Visualization of the ablation results on representative samples. Correctly segmented regions, false positives, and false negatives are marked in cyan, magenta, and blue, respectively.
Jimaging 12 00278 g006
Figure 7. Visualization of segmentation results on representative samples. Correctly segmented regions, false positives, and false negatives are marked in cyan, magenta, and blue, respectively.
Figure 7. Visualization of segmentation results on representative samples. Correctly segmented regions, false positives, and false negatives are marked in cyan, magenta, and blue, respectively.
Jimaging 12 00278 g007
Figure 8. Examples of segmentation and SDF outputs on (a) Kvasir-SEG and (b) CVC-ClinicDB. Each sample shows the input image, ground truth, predicted mask with the predicted zero-level SDF contour marked by a white dashed line, and predicted SDF output. Correctly segmented regions, false positives, and false negatives are marked in cyan, magenta, and blue, respectively.
Figure 8. Examples of segmentation and SDF outputs on (a) Kvasir-SEG and (b) CVC-ClinicDB. Each sample shows the input image, ground truth, predicted mask with the predicted zero-level SDF contour marked by a white dashed line, and predicted SDF output. Correctly segmented regions, false positives, and false negatives are marked in cyan, magenta, and blue, respectively.
Jimaging 12 00278 g008
Figure 9. Grad-CAM visualization results of different encoder stages.
Figure 9. Grad-CAM visualization results of different encoder stages.
Jimaging 12 00278 g009
Figure 10. Visualization of boundary attention in BAWA, region attention in SGFA, and feature response heatmaps on Kvasir-SEG and CVC-ClinicDB.
Figure 10. Visualization of boundary attention in BAWA, region attention in SGFA, and feature response heatmaps on Kvasir-SEG and CVC-ClinicDB.
Jimaging 12 00278 g010
Figure 11. Examples of segmentation failure cases. Correctly segmented regions, false positives, and false negatives are marked in cyan, magenta, and blue, respectively.
Figure 11. Examples of segmentation failure cases. Correctly segmented regions, false positives, and false negatives are marked in cyan, magenta, and blue, respectively.
Jimaging 12 00278 g011
Table 1. Configuration of the ablation study. The symbols ✓ and × indicate that the corresponding component is included and excluded, respectively.
Table 1. Configuration of the ablation study. The symbols ✓ and × indicate that the corresponding component is included and excluded, respectively.
ModelSDFCGMBSGFABAWA
M1××××
M2×××
M3××
M4 (w/o BAWA)×
M5 (w/o SGFA)×
M6 (w/o CGMB)×
MBRSNet
Table 2. Ablation results of in-domain performance on Kvasir-SEG.
Table 2. Ablation results of in-domain performance on Kvasir-SEG.
ModelmDicemIoU F β ω S m E m
M10.85690.77070.86680.81860.8927
M20.88990.82940.89220.85370.9093
M30.90230.84570.89430.90150.9112
M40.90730.85400.90460.91140.9380
M50.91300.85710.91620.91480.9415
M60.90940.85300.90540.91180.9378
MBRSNet0.92160.86810.92310.92160.9492
Table 3. Ablation results of in-domain performance on CVC-ClinicDB.
Table 3. Ablation results of in-domain performance on CVC-ClinicDB.
ModelmDicemIoU F β ω S m E m
M10.85980.77130.83160.88690.9369
M20.89690.82270.87690.89460.9569
M30.91370.85270.91720.91300.9698
M40.92580.86860.92590.92680.9730
M50.93430.88140.93470.93840.9802
M60.93710.88760.93050.94070.9827
MBRSNet0.94290.89680.94340.94780.9871
Table 4. Comparison results of in-domain performance on Kvasir-SEG and CVC-ClinicDB. The best and second-best results on each dataset are marked in bold and underlined.
Table 4. Comparison results of in-domain performance on Kvasir-SEG and CVC-ClinicDB. The best and second-best results on each dataset are marked in bold and underlined.
DatasetModelmDicemIoU F β ω S m E m
Kvasir-SEGUNet [40]0.77380.67940.79710.83400.8627
UNet++ [41]0.83330.75380.85140.85530.8704
Polyp-PVT [42]0.83280.75300.83650.85630.8723
PraNet [20]0.89180.82880.88450.90980.9171
CFANet [25]0.81930.72030.81900.84640.8489
CaraNet [21]0.90940.84540.91670.91520.9317
MISNet [24]0.81210.73240.83400.84230.8625
MSBPNet [22]0.87730.81180.89790.89380.9180
MNet-SAt [19]0.83570.74980.85370.85280.8824
DEP-Net [43]0.88210.81950.88290.89590.9138
MBRSNet0.92160.86810.92310.92160.9492
CVC-ClinicDBUNet [40]0.82250.74650.83650.84670.9103
UNet++ [41]0.85370.78220.86710.87240.9098
Polyp-PVT [42]0.83030.73890.84250.83990.9208
PraNet [20]0.92550.86950.92850.94140.9604
CFANet [25]0.80360.70650.79810.85910.8558
CaraNet [21]0.91810.85420.92570.93830.9543
MISNet [24]0.90780.84070.91590.92750.9393
MSBPNet [22]0.92410.86620.93040.93830.9556
MNet-SAt [19]0.81160.73060.83430.84980.8838
DEP-Net [43]0.81610.72440.84300.85390.8897
MBRSNet0.94290.89680.94340.94780.9871
Table 5. Image-level standard deviation and corresponding p-values on Kvasir-SEG. The best and second-best standard deviations are marked in bold and underlined.
Table 5. Image-level standard deviation and corresponding p-values on Kvasir-SEG. The best and second-best standard deviations are marked in bold and underlined.
ModelDiceIoU F β ω S m E m
std p std p std p std p std p
UNet [40]0.2047<0.0010.2347<0.0010.2129<0.0010.1186<0.0010.1638<0.001
UNet++ [41]0.2005<0.0010.2360<0.0010.1811<0.0010.1066<0.0010.1583<0.001
PraNet [20]0.1503<0.050.1830<0.050.1619<0.050.1010<0.050.1511<0.05
Polyp-PVT [42]0.2424<0.0010.2503<0.0010.2360<0.0010.1382<0.0010.1640<0.001
CFANet [25]0.1633<0.0010.1955<0.0010.1830<0.0010.1047<0.0010.1611<0.001
CaraNet [21]0.1364<0.050.1441<0.050.1327<0.050.0963<0.050.1563<0.05
MISNet [24]0.2450<0.0010.2591<0.0010.2422<0.0010.1379<0.0010.1746<0.001
MSBPNet [22]0.2713<0.0010.2719<0.0010.2639<0.0010.1331<0.0010.1704<0.001
MNet-SAt [19]0.2598<0.0010.2690<0.0010.2582<0.0010.1435<0.0010.1966<0.001
DEP-Net [43]0.2703<0.0010.2744<0.0010.2660<0.0010.1462<0.0010.1873<0.001
MBRSNet0.06550.10830.10450.08140.1123
Table 6. Image-level standard deviation and corresponding p-values on CVC-ClinicDB. The best and second-best standard deviations are marked in bold and underlined.
Table 6. Image-level standard deviation and corresponding p-values on CVC-ClinicDB. The best and second-best standard deviations are marked in bold and underlined.
ModelDiceIoU F β ω S m E m
std p std p std p std p std p
UNet [40]0.2347<0.0010.2482<0.0010.2303<0.0010.1047<0.0010.1328<0.001
UNet++ [41]0.2018<0.0010.2203<0.0010.1939<0.010.0923<0.0010.1344<0.001
PraNet [20]0.0795<0.0010.1110<0.0010.0872<0.050.0909<0.050.0720<0.001
Polyp-PVT [42]0.2013<0.0010.2134<0.0010.2008<0.0010.1094<0.0010.1466<0.001
CFANet [25]0.1744<0.0010.2007<0.0010.1577<0.0010.1019<0.0010.0911<0.001
CaraNet [21]0.0746<0.0010.1046<0.0010.0800<0.010.0783<0.050.0694<0.001
MISNet [24]0.2227<0.0010.2236<0.0010.2187<0.0010.1164<0.0010.1271<0.001
MSBPNet [22]0.2609<0.0010.2555<0.0010.2505<0.0010.1006<0.0010.1714<0.001
MNet-SAt [19]0.2214<0.0010.2345<0.0010.2126<0.0010.1092<0.0010.1059<0.001
DEP-Net [43]0.2323<0.0010.2372<0.0010.2184<0.0010.1100<0.0010.1005<0.001
MBRSNet0.06260.09530.06180.05320.0553
Table 7. Comparison results of different encoders. Params and FLOPs denote the number of parameters and floating-point operations, respectively.
Table 7. Comparison results of different encoders. Params and FLOPs denote the number of parameters and floating-point operations, respectively.
DatasetEncodermDicemIoU F β ω S m E m Params (M)FLOPs (G)
Kvasir-SEGResNet-50 [45]0.88770.82420.89630.89710.925245.8320.70
Res2Net-50 [46]0.90370.84470.91000.90780.935145.9720.73
Swin-Tiny [47]0.90650.84920.91500.91060.936048.7320.73
PVT v2 [34]0.92160.86810.92310.92160.949245.6219.65
CVC-ClinicDBResNet-50 [45]0.93420.88330.93540.94440.981945.8320.70
Res2Net-50 [46]0.93580.88990.93740.93990.978345.9720.73
Swin-Tiny [47]0.93510.88220.94270.93800.981748.7320.73
PVT v2 [34]0.94290.89680.94340.94780.987145.6219.65
Table 8. Five-fold cross-validation ablation results on Kvasir-SEG and CVC-ClinicDB.
Table 8. Five-fold cross-validation ablation results on Kvasir-SEG and CVC-ClinicDB.
DatasetModelmDicemIoU F β ω S m E m
Kvasir-SEGM10.8565 ± 0.00890.7749 ± 0.01030.8666 ± 0.00740.8207 ± 0.00640.8872 ± 0.0052
M20.8809 ± 0.00620.8147 ± 0.00740.8897 ± 0.00720.8509 ± 0.00240.9069 ± 0.0102
M30.8995 ± 0.00620.8447 ± 0.00740.8957 ± 0.00720.8909 ± 0.00240.9169 ± 0.0102
M40.9044 ± 0.00610.8534 ± 0.00910.9049 ± 0.00790.9020 ± 0.00600.9201 ± 0.0094
M50.9114 ± 0.00450.8586 ± 0.00650.9130 ± 0.00480.9125 ± 0.00320.9323 ± 0.0092
M60.9050 ± 0.00560.8561 ± 0.00880.9025 ± 0.00540.9060 ± 0.00430.9285 ± 0.0096
MBRSNet0.9161 ± 0.00330.8630 ± 0.00410.9184 ± 0.00400.9251 ± 0.00250.9423 ± 0.0083
CVC-ClinicDBM10.8543 ± 0.00910.7356 ± 0.00650.8501 ± 0.00720.8221 ± 0.02170.9038 ± 0.0039
M20.8863 ± 0.00890.7866 ± 0.00930.8926 ± 0.00620.8592 ± 0.01820.9171 ± 0.0046
M30.9050 ± 0.00850.8369 ± 0.00540.9041 ± 0.00720.8957 ± 0.00540.9282 ± 0.0056
M40.9131 ± 0.00550.8436 ± 0.01020.9214 ± 0.00680.9197 ± 0.00610.9449 ± 0.0055
M50.9310 ± 0.00670.8795 ± 0.00190.9296 ± 0.00550.9332 ± 0.00440.9662 ± 0.0063
M60.9289 ± 0.00770.8695 ± 0.01110.9236 ± 0.00650.9232 ± 0.00540.9562 ± 0.0073
MBRSNet0.9393 ± 0.00340.8933 ± 0.00400.9391 ± 0.00390.9414 ± 0.00190.9813 ± 0.0032
Table 9. Five-fold cross-validation results on Kvasir-SEG and CVC-ClinicDB. The best and second-best results on each dataset are marked in bold and underlined.
Table 9. Five-fold cross-validation results on Kvasir-SEG and CVC-ClinicDB. The best and second-best results on each dataset are marked in bold and underlined.
DatasetModelmDicemIoU F β ω S m E m
Kvasir-SEGUNet [40]0.7782 ± 0.04110.6882 ± 0.04570.7909 ± 0.03430.8277 ± 0.02180.8507 ± 0.0186
UNet++ [41]0.8284 ± 0.02080.7480 ± 0.02370.8412 ± 0.01440.8621 ± 0.01200.8781 ± 0.0106
Polyp-PVT [42]0.7982 ± 0.00920.6962 ± 0.00990.8087 ± 0.00890.8257 ± 0.00480.8449 ± 0.0126
PraNet [20]0.8930 ± 0.00880.8301 ± 0.01040.8948 ± 0.00860.9114 ± 0.00360.9127 ± 0.0070
CFANet [25]0.7545 ± 0.02150.6616 ± 0.02400.7738 ± 0.01980.8217 ± 0.01180.8363 ± 0.0074
CaraNet [21]0.8703 ± 0.01080.7986 ± 0.01130.8707 ± 0.00660.8942 ± 0.00580.8913 ± 0.0140
MISNet [24]0.7977 ± 0.02580.7118 ± 0.02650.8098 ± 0.02570.8480 ± 0.01450.8597 ± 0.0168
MSBPNet [22]0.8656 ± 0.03000.7760 ± 0.02960.8517 ± 0.02800.8835 ± 0.01510.8791 ± 0.0150
MNet-SAt [19]0.8206 ± 0.01260.7417 ± 0.01390.8328 ± 0.01220.8508 ± 0.01350.8760 ± 0.0149
DEP-Net [43]0.8050 ± 0.03610.6961 ± 0.03670.6345 ± 0.02930.7360 ± 0.01870.7735 ± 0.0166
MBRSNet0.9161 ± 0.00330.8630 ± 0.00410.9184 ± 0.00400.9251 ± 0.00250.9423 ± 0.0083
CVC-ClinicDBUNet [40]0.8017 ± 0.02560.7149 ± 0.02860.8137 ± 0.01960.8582 ± 0.01220.8838 ± 0.0183
UNet++ [41]0.8279 ± 0.01570.7418 ± 0.02150.8391 ± 0.01610.8703 ± 0.00610.8955 ± 0.0131
Polyp-PVT [42]0.8065 ± 0.01540.7078 ± 0.01470.8206 ± 0.01760.7828 ± 0.01450.8866 ± 0.0138
PraNet [20]0.9213 ± 0.00920.8679 ± 0.00900.9260 ± 0.00870.9418 ± 0.00500.9523 ± 0.0080
CFANet [25]0.7588 ± 0.02070.6681 ± 0.02170.7873 ± 0.01840.8462 ± 0.01050.8477 ± 0.0100
CaraNet [21]0.9171 ± 0.00970.8612 ± 0.01060.9234 ± 0.00690.9388 ± 0.00470.9521 ± 0.0050
MISNet [24]0.8222 ± 0.01480.7444 ± 0.01700.8361 ± 0.01300.8857 ± 0.00760.8928 ± 0.0081
MSBPNet [22]0.8689 ± 0.02670.7823 ± 0.02480.8594 ± 0.02640.8144 ± 0.01440.8753 ± 0.0177
MNet-SAt [19]0.8590 ± 0.01060.7892 ± 0.01050.8639 ± 0.01020.8243 ± 0.00980.9317 ± 0.0065
DEP-Net [43]0.8237 ± 0.04130.7209 ± 0.03560.8325 ± 0.04160.8195 ± 0.01830.8957 ± 0.0224
MBRSNet0.9393 ± 0.00340.8933 ± 0.00400.9391 ± 0.00390.9414 ± 0.00190.9813 ± 0.0032
Table 10. Ablation results of cross-dataset generalization on CVC-ColonDB, CVC-300, and ETIS.
Table 10. Ablation results of cross-dataset generalization on CVC-ColonDB, CVC-300, and ETIS.
DatasetModelmDicemIoU F β ω S m E m
CVC-ColonDBM10.72790.64030.71060.73020.8104
M20.75540.67680.76350.83250.8785
M30.76110.67700.76670.83780.8775
M40.77300.68910.77600.84690.8712
M50.78410.70720.78760.85020.8873
M60.76290.67420.76730.84160.8841
MBRSNet0.79190.71190.79960.85640.8935
CVC-300M10.83510.76600.80800.81250.8834
M20.86880.79850.86550.91420.9402
M30.87470.80030.85190.92570.9328
M40.88030.81240.87670.93160.9331
M50.89160.82140.86840.93470.9440
M60.88190.81330.86360.92890.9482
MBRSNet0.90670.83920.89640.94270.9635
ETISM10.61650.53070.57530.66830.6972
M20.69410.60900.67270.78980.8191
M30.70140.62400.68750.81530.8316
M40.72790.64490.70820.83430.8559
M50.73680.65760.71120.83300.8638
M60.71450.64250.73450.82530.8599
MBRSNet0.76550.68650.74990.85190.8821
Table 11. Comparison results of cross-dataset generalization on CVC-ColonDB. The best and second-best results are marked in bold and underlined.
Table 11. Comparison results of cross-dataset generalization on CVC-ColonDB. The best and second-best results are marked in bold and underlined.
ModelmDicemIoU F β ω S m E m
UNet [40]0.62400.54590.64230.76390.7324
UNet++ [41]0.45900.37590.47850.67480.6175
Polyp-PVT [42]0.73170.64500.74480.80620.7807
PraNet [20]0.74900.64740.71910.75120.8652
CFANet [25]0.67180.59050.67710.78410.7465
CaraNet [21]0.75550.67510.72180.76650.8055
MISNet [24]0.72390.65270.73660.80670.8675
MSBPNet [22]0.64910.56830.65550.77800.7489
MNet-SAt [19]0.64050.56820.64270.77040.7802
DEP-Net [43]0.65320.56800.63860.76710.7504
MBRSNet0.79190.71190.79960.85640.8935
Table 12. Comparison results of cross-dataset generalization on CVC-300. The best and second-best results are marked in bold and underlined.
Table 12. Comparison results of cross-dataset generalization on CVC-300. The best and second-best results are marked in bold and underlined.
ModelmDicemIoU F β ω S m E m
UNet [40]0.71570.64770.70990.81200.7439
UNet++ [41]0.78590.69920.79430.85670.8880
PraNet [20]0.86070.79430.86900.90580.9034
Polyp-PVT [42]0.82300.74470.79830.80090.8800
CFANet [25]0.80250.71670.76540.78630.8515
CaraNet [21]0.85140.78120.84410.88770.9222
MISNet [24]0.86370.77860.85470.90640.8320
MSBPNet [22]0.80030.72020.78600.87830.8072
MNet-SAt [19]0.64010.54090.64580.74280.8201
DEP-Net [43]0.74740.64360.72940.84790.7465
MBRSNet0.90670.83920.89640.94270.9635
Table 13. Comparison results of cross-dataset generalization on ETIS. The best and second-best results are marked in bold and underlined.
Table 13. Comparison results of cross-dataset generalization on ETIS. The best and second-best results are marked in bold and underlined.
ModelmDicemIoU F β ω S m E m
UNet [40]0.41130.36070.41580.67420.5909
UNet++ [41]0.48550.42360.47970.70040.6386
PraNet [20]0.73850.66020.73600.80890.8588
Polyp-PVT [42]0.69060.60170.67770.78010.7545
CFANet [25]0.67800.57360.52500.79910.7932
CaraNet [21]0.71920.64520.72440.79900.8591
MISNet [24]0.62660.57430.64550.77000.7473
MSBPNet [22]0.69030.59310.66120.76080.7922
MNet-SAt [19]0.55610.46390.52260.68140.6639
DEP-Net [43]0.62010.49430.59810.68530.7698
MBRSNet0.76550.68650.74990.85190.8821
Table 14. Image-level standard deviation and corresponding p-values on CVC-ColonDB. The best and second-best standard deviations are marked in bold and underlined.
Table 14. Image-level standard deviation and corresponding p-values on CVC-ColonDB. The best and second-best standard deviations are marked in bold and underlined.
ModelDiceIoU F β ω S m E m
std p std p std p std p std p
UNet [40]0.3675<0.0010.3513<0.0010.3669<0.0010.1829<0.0010.2383<0.001
UNet++ [41]0.3423<0.0010.3335<0.0010.3426<0.0010.1803<0.0010.2414<0.001
PraNet [20]0.3693<0.0010.3299<0.0010.3794<0.0010.1819<0.0010.2342<0.001
Polyp-PVT [42]0.3374<0.0010.3216<0.0010.3369<0.0010.1907<0.0010.2414<0.001
CFANet [25]0.3005<0.0010.2418<0.0010.3369<0.0010.1317<0.0010.2036<0.001
CaraNet [21]0.3260<0.0010.2724<0.0010.3434<0.0010.1506<0.0010.2052<0.001
MISNet [24]0.3654<0.0010.3467<0.0010.3683<0.0010.1959<0.0010.2538<0.001
MSBPNet [22]0.2993<0.0010.2608<0.0010.3358<0.0010.1482<0.0010.2120<0.001
MNet-SAt [19]0.3525<0.0010.3412<0.0010.3510<0.0010.1910<0.0010.2428<0.001
DEP-Net [43]0.3784<0.0010.3487<0.0010.3816<0.0010.1922<0.0010.2400<0.001
MBRSNet0.24650.24330.24740.12100.1881
Table 15. Image-level standard deviation and corresponding p-values on CVC-300. The best and second-best standard deviations are marked in bold and underlined.
Table 15. Image-level standard deviation and corresponding p-values on CVC-300. The best and second-best standard deviations are marked in bold and underlined.
ModelDiceIoU F β ω S m E m
std p std p std p std p std p
UNet [40]0.3549<0.0010.3352<0.0010.3521<0.010.1590<0.0010.1930<0.001
UNet++ [41]0.2509<0.0010.2583<0.0010.2574<0.0010.1243<0.0010.1963<0.001
PraNet [20]0.3555<0.050.3379<0.050.3483<0.050.1364<0.050.1691<0.001
Polyp-PVT [42]0.2223<0.0010.2354<0.0010.2275<0.0010.1262<0.0010.1890<0.001
CFANet [25]0.2888<0.0010.2252<0.0010.3297<0.0010.1108<0.0010.1385<0.001
CaraNet [21]0.3311<0.050.2880<0.050.3270<0.050.1155<0.050.1360<0.001
MISNet [24]0.1288<0.0010.1672<0.0010.1725<0.0010.0790<0.0010.1759<0.001
MSBPNet [22]0.2189<0.0010.1549<0.0010.2733<0.0010.1165<0.0010.1829<0.001
MNet-SAt [19]0.2506<0.0010.2617<0.0010.2491<0.0010.1190<0.0010.1836<0.001
DEP-Net [43]0.2409<0.0010.2522<0.0010.2517<0.0010.1134<0.0010.1825<0.001
MBRSNet0.09980.13540.14280.06250.1267
Table 16. Image-level standard deviation and corresponding p-values on ETIS. The best and second-best standard deviations are marked in bold and underlined.
Table 16. Image-level standard deviation and corresponding p-values on ETIS. The best and second-best standard deviations are marked in bold and underlined.
ModelDiceIoU F β ω S m E m
std p std p std p std p std p
UNet [40]0.4224< 0.001 0.3873<0.0010.4210<0.0010.1791<0.0010.2535<0.001
UNet++ [41]0.4104<0.0010.3858<0.0010.4053<0.0010.1816<0.0010.2476<0.001
PraNet [20]0.3622<0.0010.3300<0.0010.3641<0.0010.1798<0.0010.2490<0.001
Polyp-PVT [42]0.3869<0.0010.3558<0.0010.3874<0.0010.1920<0.0010.2628<0.001
CFANet [25]0.3389<0.0010.1896<0.0010.3233<0.0010.0863<0.0010.2192<0.001
CaraNet [21]0.3271<0.0010.2778<0.0010.3420<0.010.1382<0.010.2352<0.001
MISNet [24]0.3836<0.0010.3458<0.0010.3728<0.0010.1655<0.0010.2437<0.001
MSBPNet [22]0.3313<0.0010.2841<0.0010.3491<0.0010.1708<0.0010.2392<0.001
MNet-SAt [19]0.4152<0.0010.3858<0.0010.4125<0.0010.1949<0.0010.2671<0.001
DEP-Net [43]0.3754<0.0010.3309<0.0010.3830<0.0010.1722<0.0010.2534<0.001
MBRSNet0.32780.32190.26170.12540.1803
Table 17. Comparison of model complexity, in-domain performance, and cross-dataset generalization. The in-domain average mDice is calculated on Kvasir-SEG and CVC-ClinicDB, while the cross-dataset average mDice is calculated on CVC-ColonDB, CVC-300, and ETIS.
Table 17. Comparison of model complexity, in-domain performance, and cross-dataset generalization. The in-domain average mDice is calculated on Kvasir-SEG and CVC-ClinicDB, while the cross-dataset average mDice is calculated on CVC-ColonDB, CVC-300, and ETIS.
ModelParams (M)FLOPs (G)In-Domain Avg. mDiceCross-Dataset Avg. mDice
UNet [40]31.0383.820.79820.5837
UNet++ [41]36.62211.460.84350.5768
PraNet [20]30.4810.650.90870.7827
Polyp-PVT [42]25.108.110.83160.7484
CFANet [25]25.2344.840.81150.7174
CaraNet [21]44.5917.620.91380.7754
MISNet [24]33.6345.940.86000.7381
MSBPNet [22]25.5212.860.90070.7132
MNet-SAt [19]90.6338.530.82370.6122
DEP-Net [43]28.838.470.84910.6736
MBRSNet45.6219.650.93230.8214
Table 18. Comparison of model complexity between MBRSNet and MBRSNet-Lite.
Table 18. Comparison of model complexity between MBRSNet and MBRSNet-Lite.
ModelParams (M)FLOPs (G)
MBRSNet45.6219.65
MBRSNet-Lite4.341.56
Table 19. Internal and external testing performance of MBRSNet-Lite on five benchmark polyp segmentation datasets. Kvasir-SEG and CVC-ClinicDB are used for internal testing, while CVC-ColonDB, CVC-300, and ETIS are used for external testing.
Table 19. Internal and external testing performance of MBRSNet-Lite on five benchmark polyp segmentation datasets. Kvasir-SEG and CVC-ClinicDB are used for internal testing, while CVC-ColonDB, CVC-300, and ETIS are used for external testing.
Testing TypeDatasetmDicemIoU F β ω S m E m
Internal testingKvasir-SEG0.90160.83880.89240.90990.9296
CVC-ClinicDB0.92970.87850.92500.93680.9776
External testingCVC-ColonDB0.77420.68560.78390.84620.8856
CVC-3000.86570.79360.84750.91920.9452
ETIS0.71720.63470.69190.82950.8399
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.

Share and Cite

MDPI and ACS Style

Lin, R.; Ma, L. MBRSNet: Boundary-Aware Multi-Task Learning with Signed Distance Field Regression for Polyp Segmentation. J. Imaging 2026, 12, 278. https://doi.org/10.3390/jimaging12070278

AMA Style

Lin R, Ma L. MBRSNet: Boundary-Aware Multi-Task Learning with Signed Distance Field Regression for Polyp Segmentation. Journal of Imaging. 2026; 12(7):278. https://doi.org/10.3390/jimaging12070278

Chicago/Turabian Style

Lin, Ruishi, and Liyong Ma. 2026. "MBRSNet: Boundary-Aware Multi-Task Learning with Signed Distance Field Regression for Polyp Segmentation" Journal of Imaging 12, no. 7: 278. https://doi.org/10.3390/jimaging12070278

APA Style

Lin, R., & Ma, L. (2026). MBRSNet: Boundary-Aware Multi-Task Learning with Signed Distance Field Regression for Polyp Segmentation. Journal of Imaging, 12(7), 278. https://doi.org/10.3390/jimaging12070278

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop