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.
Figure 1.
The overall architecture of MBRSNet.
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 denote the set of foreground pixels in the binary segmentation mask, denote the set of background pixels, and denote the set of all pixels. The foreground boundary is denoted by . In a discrete binary mask, can be approximated as the set of pixels located at the interface between foreground and background regions. For each pixel , the unsigned distance to the boundary is defined as:
The ground-truth SDF value at pixel x, denoted by , is then computed as:
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 , 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 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.
Figure 2.
Examples of input images, ground-truth segmentation masks, and ground-truth SDF maps.
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 . The predicted SDF value is computed as:
Equation (3) maps the predicted response to the range of . During training, is supervised to approximate the ground-truth SDF value , 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:
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 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 convolution first generates a basic representation:
Then, and convolutions are used to capture region information under different receptive fields:
After channel adjustment, the base feature of the segmentation branch is obtained by residual fusion:
Figure 3.
The architecture of CGMB.
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 convolution:
A convolution followed by a depthwise separable convolution is then used to refine local structural responses:
Accordingly, the base feature of the SDF branch is defined as:
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 denotes global average pooling and denotes the Sigmoid activation function:
After the channel attention, spatial attention weights are further computed as:
The resulting gated compensation features are defined as:
Finally, the cross-task information is injected into the two branches by residual fusion, yielding the bottleneck decoding features:
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.
Figure 4.
The architecture of BAWA.
BAWA first performs multi-scale spatial feature extraction on the shallow encoder feature . One branch applies a convolution for preliminary feature organization, while the other uses a 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:
where denotes the sequential combination of layer normalization, batch normalization, and ReLU activation, and denotes dilated convolution.
To introduce explicit boundary guidance, the SDF decoding feature is upsampled and transformed into a spatial attention map:
This attention map indicates how strongly each spatial location is related to the boundary region.
Based on , BAWA performs boundary-guided feature enhancement:
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:
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.
Figure 5.
The architecture of SGFA.
Specifically, SGFA concatenates the BAWA output feature at the i-th level with the upsampled segmentation decoding feature from the -th level, and then generates a spatial guidance map through a convolution followed by a Sigmoid activation:
The obtained guidance map is further used to reweight and produce the skip feature enhanced by regional information:
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 to . The second is CVC-ClinicDB [36], which consists of 612 polyp images extracted from 31 colonoscopy video sequences, with a resolution of 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 . Data augmentation included random horizontal and vertical flipping, as well as random rotation, each applied with a probability of 0.5. In addition, random translation and isotropic scaling within 10%, random rotation within , 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 [37], [38], and [39].
The model was trained using the Adam optimizer, with a learning rate of 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:
where and 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).
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.
Table 1.
Configuration of the ablation study. The symbols ✓ and × indicate that the corresponding component is included and excluded, respectively.
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.
Table 2.
Ablation results of in-domain performance on Kvasir-SEG.
Table 3.
Ablation results of in-domain performance on CVC-ClinicDB.
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.
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.
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.
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.
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 by 0.0064 and 0.0130, and improves 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.
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.
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.
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 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.
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.
Table 7.
Comparison results of different encoders. Params and FLOPs denote the number of parameters and floating-point operations, respectively.
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, , , and 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.
Table 8.
Five-fold cross-validation ablation results on Kvasir-SEG and CVC-ClinicDB.
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.
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, , , and 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, , and by 0.0254, 0.0131, and 0.0290, respectively. Although the 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 pixels.
- CVC-300 [49], which includes 60 polyp images with a resolution of pixels.
- ETIS [50], which contains 196 polyp images collected from 44 distinct polyps in 34 sequences, each with a resolution of 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.
Table 10.
Ablation results of cross-dataset generalization on CVC-ColonDB, CVC-300, and ETIS.
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.
Table 11.
Comparison results of cross-dataset generalization on CVC-ColonDB. 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.
Table 13.
Comparison results of cross-dataset generalization on ETIS. The best and second-best results 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.
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 16.
Image-level standard deviation and corresponding p-values on ETIS. The best and second-best standard deviations are marked in bold and underlined.
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, , , and 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.
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.
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.
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.
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.
Figure 9.
Grad-CAM visualization results of different encoder stages.
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.
Figure 10.
Visualization of boundary attention in BAWA, region attention in SGFA, and feature response heatmaps on Kvasir-SEG and CVC-ClinicDB.
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 18.
Comparison of model complexity between MBRSNet and MBRSNet-Lite.
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.
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.
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.
Figure 11.
Examples of segmentation failure cases. Correctly segmented regions, false positives, and false negatives are marked in cyan, magenta, and blue, respectively.
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:
| BAWA | Boundary-aware Weighted Attention Module |
| CNN | Convolutional Neural Network |
| MTL | Multi-task Learning |
| PVT | Pyramid Vision Transformer |
| SDF | Signed Distance Field |
| SGFA | Segmentation-guided Feature Alignment |
| CGMB | Cross-gated Multi-task Bottleneck |
| ViT | Vision Transformer |
References
- 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] [Scilit]
- 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] [Scilit]
- 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]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit] [PubMed]
- 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]
- 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]
- 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]
- 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] [Scilit]
- 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] [Scilit]
- 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]
- 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] [Scilit]
- 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] [Scilit]
- 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]
- 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] [Scilit]
- 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]
- 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] [Scilit]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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] [Scilit]
- 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] [Scilit]
- 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] [Scilit] [PubMed]
- 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]
- 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]
- 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]
- 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]
- 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]
- 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] [Scilit]
- 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] [Scilit]
- 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]
- 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] [Scilit] [PubMed]
- 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]
- 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]
- 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]
- 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]
- 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] [Scilit] [PubMed]
- 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]
- 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] [Scilit]
- 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]
- 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]
- 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] [Scilit] [PubMed]
- 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]
- Geetha, K.; Rajan, C. Automatic colorectal polyp detection in colonoscopy video frames. Asian Pac. J. Cancer Prev. APJCP 2016, 17, 4869. [Google Scholar] [CrossRef] [Scilit]
- 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] [Scilit] [PubMed]
- 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]
- 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]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.










