Skip to main content
Frontiers in Medicine logoLink to Frontiers in Medicine
. 2026 Mar 13;13:1760720. doi: 10.3389/fmed.2026.1760720

MAP-SCTNet: multi-scale pyramid and frequency-enhanced network for colorectal cancer histopathological image segmentation

Haitao Chen 1, Zhengxu Duan 2,*, Lan Li 3, Jie Wei 1, Jia Zhang 1, Rongchao Zheng 1
PMCID: PMC13022984  PMID: 41907249

Abstract

Medical image segmentation remains challenging due to the morphological heterogeneity of lesions, inherently low contrast with ambiguous boundaries, and limited availability of annotated training data. Existing methods often struggle to simultaneously capture multi-scale contextual information and preserve fine-grained boundary details, particularly in resource-constrained clinical settings. To address these challenges, we propose MAP-SCTNet, an efficient segmentation network that enhances the SCTNet architecture through three synergistic innovations. First, we design a Multi-Scale Atrous Spatial Pyramid Pooling (MS-ASPP) module that employs five parallel dilated convolution branches coupled with a dual-attention mechanism and boundary-aware refinement, enabling comprehensive multi-scale feature extraction while maintaining precise edge localization. Second, we introduce an Adaptive Frequency Enhancement and Texture-Aware Module (AFE-TAM) that operates in the frequency domain to adaptively fuse low, mid, and high-frequency components, complemented by Gabor filtering and Local Binary Patterns for robust texture representation across pathological subtypes. Third, we develop a Progressive Dual-Teacher Knowledge Distillation (PDTKD) framework that leverages both Transformer-based and CNN-based teacher networks through a three-stage training strategy, effectively bridging the gap between training and inference while improving generalization from limited data. Extensive experiments on the EBHI-SEG colorectal cancer histopathological dataset, which comprises biopsy specimens collected via colonoscopy, demonstrate that MAP-SCTNet achieves state-of-the-art performance with a mean Dice coefficient of 83.76% and mean IoU of 74.5%, surpassing recent methods including TransUNet, Swin-UNet, and SegNeXt. Notably, our model requires only 21.8M parameters and 30.7G FLOPs, representing a 79.3% reduction in parameters and 71.1% reduction in computation compared to TransUNet, making it well-suited for real-time computer-aided diagnosis in clinical colorectal cancer diagnosis workflows.

Keywords: dual-domain enhancement, frequency-texture enhancement, image segmentation, knowledge distillation, multi-scale feature extraction

1. Introduction

Colorectal cancer remains one of the most prevalent malignancies worldwide, encompassing both colon and rectal cancers. According to the American Cancer Society's 2024 statistics, colorectal cancer incidence among adults aged 30–44 has increased by 1%−2% annually, rising from the fourth leading cause of cancer death in individuals under 50 during the late 1990s to now ranking first in men and second in women (1). Despite these alarming trends, colorectal cancer is among the few cancers that can be effectively prevented through early screening and detection (2, 3). In clinical practice, pathologists examine H&E-stained tissue sections under microscopy to identify and localize lesions (4, 5). However, this conventional approach heavily relies on subjective physician experience and lacks standardized quantitative assessment, highlighting the urgent need for computer-aided diagnostic tools to ensure consistent and accurate histological diagnosis (6).

Automated segmentation of colorectal lesions in endoscopic and histopathological images faces three fundamental challenges that remain inadequately addressed. First, multi-scale morphological heterogeneity: colorectal lesions exhibit substantial variations in size, shape, and appearance across different pathological stages—from millimeter-scale early polyps to large irregular advanced tumors—demanding models capable of simultaneously capturing fine-grained local details and broad contextual information (7, 8). Second, inherently low contrast and ambiguous boundaries: unlike natural images with well-defined edges, medical images suffer from non-uniform illumination, similar intensity distributions between lesions and surrounding tissues, and complex textural patterns, making precise boundary delineation extremely challenging even for experienced clinicians (9, 10). Third, limited annotated data and generalization difficulty: pixel-level annotation of medical images requires specialized expertise and is prohibitively time-consuming, resulting in relatively small training datasets that pose significant challenges for deep learning models to generalize across diverse patients, imaging devices, and clinical centers (11, 12).

Existing deep learning approaches have attempted to address these challenges with varying degrees of success, yet significant limitations persist. CNN-based architectures such as U-Net and its variants (13, 14) excel at extracting local features and fine details through hierarchical convolutions, but their inherently limited receptive fields make it difficult to model long-range dependencies essential for understanding the global context of morphologically diverse lesions. Transformer-based methods including TransUNet and Swin-UNet effectively capture global semantic relationships through self-attention mechanisms, but incur substantial computational overhead—TransUNet requires 105.3M parameters and 106.3G FLOPs—limiting their practical deployment in resource-constrained clinical environments. Moreover, the pursuit of global modeling often sacrifices boundary precision, resulting in inadequate delineation of lesions with ambiguous edges. Lightweight segmentation networks designed for real-time applications typically achieve efficiency at the cost of accuracy, particularly struggling with challenging cases involving small lesions or fuzzy boundaries. Furthermore, most existing methods operate exclusively in the spatial domain, neglecting frequency-domain information that could provide complementary cues for boundary enhancement and texture discrimination in low-contrast medical images. The training-inference inconsistency inherent in knowledge distillation frameworks—where student networks trained with teacher guidance must perform independently during deployment—also remains underexplored, limiting the effectiveness of knowledge transfer for improving small-sample generalization.

Recently, SCTNet (15) has emerged as a promising architecture that cleverly integrates CNN's local detail extraction capabilities with Transformer's global semantic understanding through a dual-branch training and single-branch inference design, partially alleviating the trade-off between accuracy and efficiency. However, SCTNet was originally designed for natural scene parsing and exhibits several limitations when applied to medical image segmentation: (1) insufficient multi-scale feature extraction for handling the extreme size variations of colorectal lesions; (2) lack of mechanisms to enhance low-contrast boundaries and exploit texture information characteristic of medical images; and (3) suboptimal knowledge transfer that does not fully address training-inference inconsistency or leverage domain-specific prior knowledge.

  • To address multi-scale morphological heterogeneity, we design a Multi-Scale Atrous Spatial Pyramid Pooling (MS-ASPP) module inserted at H/8 × W/8 resolution. This module employs five parallel branches with varying dilation rates (1 × 1 convolution, 3 × 3 convolution, atrous convolutions with rates of 6, 12, and 18, and global average pooling), coupled with a dual-attention mechanism (channel and spatial) and a boundary-aware sub-module. This design enables comprehensive multi-level feature capture from local to global scales while maintaining precise edge localization, significantly improving recognition of small and medium-sized lesions.

  • To overcome low contrast and ambiguous boundaries, we introduce an Adaptive Frequency Enhancement and Texture-Aware Module (AFE-TAM) embedded at H/16 × W/16 resolution. This module leverages Fourier transform to decompose images into low, mid, and high-frequency components with learnable adaptive weighting, complemented by multi-scale texture extraction through Gabor filter banks (8 orientations × 4 scales) and Local Binary Patterns (LBP). A category-adaptive detector dynamically adjusts frequency processing strategies based on the detected pathological subtype, optimizing enhancement for each of the six colorectal lesion categories;

  • To improve generalization with limited annotated data, we develop a Progressive Dual-Teacher Knowledge Distillation (PDTKD) framework that leverages complementary knowledge from two teacher networks: the original Transformer branch capturing global semantics and a pre-trained ResNet-UNet providing domain-relevant structural priors. A three-stage training strategy (joint dual-teacher distillation for the first 40% epochs, dynamic weight adjustment for the middle 40%, and student autonomous learning for the final 20%) explicitly addresses training-inference inconsistency while enhancing small-sample generalization capability.

Extensive experiments on the EBHI-SEG colorectal cancer histopathological image dataset (16) demonstrate that MAP-SCTNet achieves state-of-the-art segmentation performance while maintaining computational efficiency suitable for clinical deployment. The remainder of this paper is organized as follows: Section 2 reviews related work; Section 3 details the proposed methodology; Section 4 presents experimental results and analysis; and Section 5 concludes the paper.

2. Related work

Medical image segmentation plays an important role in computer vision and medical diagnosis. Fully Convolutional Network (FCN) and U-Net are two representative models that have laid the foundation for this field (17). Guo X et al. (18) used FCN for the task of segmentation of liver and tumors in CT images. Bi et al. (19) proposed Stacked-FCN using multi-channel learning and cascaded fully convolutional networks for more accurate and robust medical image segmentation. U-Net (20) further incorporates skip connections to transfer information between features at different levels, effectively capturing boundary information and significantly improving segmentation accuracy. Xiao et al. (21) proposed Res-UNet for retinal blood vessel segmentation, introducing residual connections to preserve fine vessel information. Alom et al. (22) proposed R2U-Net using recurrent residual convolutional layers to enhance contextual information extraction. Li et al. (23) proposed H-DenseUNet for liver and tumor 3D image segmentation through hybrid dense connectivity. More recently, Isensee et al. (24) introduced nnU-Net, a self-configuring framework that automatically adapts preprocessing, architecture, and training strategies to specific datasets, establishing a strong baseline that has dominated numerous medical image segmentation challenges. However, CNN networks excel at capturing local features but lack global feature representations due to their limited receptive fields, making it difficult to comprehensively capture global contextual information.

In 2017, the Transformer network proposed by Vaswani et al. (25) excelled in learning long-range feature representations. TransUNet (26) and TransSegNet (27) combine U-Net with Transformer to enhance both local and global feature processing. Swin Transformer (28) introduces a hierarchical structure for multi-scale feature modeling, while Swin-Unet (29) combines Swin Transformer with U-Net, demonstrating strong performance in handling fuzzy boundaries and low contrast regions. However, these Transformer-based methods typically require substantial computational resources, limiting their deployment in resource-constrained clinical environments.

Recent advances in polyp and medical image segmentation have introduced several innovative architectures. Fan et al. (8) proposed PraNet, which employs parallel reverse attention to aggregate features and achieve accurate polyp boundary detection. Dong et al. (30) introduced Polyp-PVT, utilizing Pyramid Vision Transformer as the encoder with a cascaded fusion module and camouflage identification module to effectively suppress noise and improve feature expressiveness for polyp segmentation. Wang et al. (31) proposed SSFormer, which uses a pyramid Transformer encoder with a stepwise feature aggregation decoder to progressively fuse multi-level features, improving generalization on unseen colonoscopy data. Duc et al. (32) developed ColonFormer, a lightweight Transformer-based encoder-decoder architecture capable of modeling long-range semantic information at multiple scales for efficient colon polyp segmentation. Valanarasu et al. (33) proposed UNeXt, an MLP-based architecture that reduces parameters by 72× and computational complexity by 68 × compared to TransUNet while maintaining competitive segmentation performance, demonstrating the potential of efficient architectures for point-of-care applications.

Beyond polyp segmentation, recent studies have further advanced the broader landscape of endoscopic and colorectal cancer image analysis. Narasimha Raju et al. (34) proposed a synergistic AI framework that integrates hyper-granular image dissection with precision segmentation and automated diagnosis for colorectal cancer, demonstrating the effectiveness of combining fine-grained feature extraction with end-to-end diagnostic pipelines. Podda et al. (35) developed a deep learning strategy for 3D segmentation of colorectal tumors from ultrasound imaging, extending the applicability of deep learning-based segmentation beyond conventional endoscopic modalities to volumetric ultrasound data. Liu et al. (36) proposed GLBFormer, a Global-to-Local Deep Interaction and Boundary-Aware Transformer for accurate polyp segmentation, which leverages multi-scale global-to-local interaction mechanisms to achieve improved boundary delineation in complex endoscopic scenes. Furthermore, in the related domain of medical image segmentation, Li et al. (37) proposed a deep feature fusion approach for acute ischemic stroke lesion segmentation, demonstrating that multi-level feature fusion strategies can effectively capture lesion boundaries in challenging imaging conditions, an insight that is also applicable to endoscopic image analysis. These studies collectively highlight the growing research interest in developing more accurate and robust segmentation methods for colorectal cancer diagnosis, motivating the need for architectures that can effectively handle the unique challenges of endoscopic images, including low contrast, blurred boundaries, and variable lesion morphology.

The emergence of foundation models has opened new paradigms for medical image segmentation. Ma et al. (38) introduced MedSAM, adapting the Segment Anything Model (SAM) for universal medical image segmentation by fine-tuning on a large-scale dataset of 1.57 million image-mask pairs covering 10 imaging modalities and over 30 cancer types. While MedSAM demonstrates impressive generalization capabilities, it requires interactive prompts (bounding boxes) during inference and incurs substantial computational overhead, limiting its applicability for fully automated clinical workflows.

To further balance the local efficiency of CNN with the global modeling capability of Transformer, SCTNet proposes a hybrid architecture that introduces Transformer branches during training to capture long-range dependencies while retaining only the lightweight CNN backbone during inference, achieving efficient single-branch inference. This model has demonstrated significant advantages in 2D medical image segmentation tasks. However, SCTNet still suffers from insufficient multi-scale feature extraction, resulting in limited adaptability to lesions of different sizes; training-inference inconsistency makes it difficult to fully transfer knowledge from the auxiliary Transformer branch to the CNN backbone; and the adaptability to medical image characteristics is poor, making it difficult to effectively handle challenges such as low contrast, blurred boundaries, and complex textures.

3. Materials and methods

Taking inspiration from references (39–41), this paper proposes an improved SCTNet network architecture, abbreviated as MAP-SCTNet, to address the issues of insufficient multi-scale feature extraction, inconsistent training inference, and poor adaptability of medical image characteristics in 2D medical image segmentation tasks of the original SCTNet. The network maintains the efficient single branch inference structure of the original SCTNet, while introducing three innovatively designed modules at key locations to comprehensively improve the performance of medical image segmentation.

The core innovation of MAP-SCTNet lies in systematically addressing three critical bottlenecks in colorectal cancer endoscopic image segmentation: (1) insufficient multi-scale feature representation for lesions with diverse morphologies, (2) inadequate enhancement of low-contrast boundaries and complex textures inherent to medical images, and (3) training-inference inconsistency limiting model generalization. Unlike existing methods that address these challenges in isolation, our approach integrates three synergistic modules—MS-ASPP for hierarchical multi-scale feature capture, AFE-TAM for dual-domain frequency-texture enhancement, and PDTKD for progressive knowledge transfer—forming a unified framework that achieves superior segmentation performance while maintaining computational efficiency suitable for clinical deployment.

The overall architecture of MAP-SCTNet is shown in Figure 1. The network adopts an encoder decoder structure. The encoder first extracts initial features from the input image through the Stem module, and then gradually extracts deep features and reduces spatial resolution through multiple convolutional blocks. Unlike the original SCTNet, this paper inserts two enhancement modules at key positions in the encoder:

Figure 1.

Flowchart diagram depicting a dual-branch neural network architecture for segmentation, integrating convolutional and transformer pathways, teacher-student knowledge distillation, and outlining three improvement modules: multi-scale pyramid pooling, dual-teacher distillation, and adaptive frequency domain enhancement.

The overall architecture of the MAP-SCTNet network framework. Composed of MS-ASPP, PDTKD, and AFE-TAM.

MAP-SCTNet incorporates two enhancement modules at different resolution levels of the backbone: the MS-ASPP module is embedded after the H/8 × W/8 × 2C layer, capturing multi-scale features through five parallel branches (including 1 × 1 convolution, 3 × 3 convolution, two dilated convolutions with different dilation rates, and global average pooling) with a dual attention mechanism; the AFE-TAM module is embedded after the H/16 × W/16 × 4C layer, decomposing features into low, mid, and high-frequency bands via Fourier transform with adaptive fusion, while extracting multi-scale and multi-directional texture information using Gabor filter banks (8 directions × 4 scales) and Local Binary Patterns (LBP). During training, the PDTKD framework retains the Transformer branch of the original SCTNet as Teacher 1 and introduces ImageNet pre-trained ResNet-UNet as Teacher 2, enabling the CNN student network to simultaneously learn the global semantic understanding of Transformers and the prior knowledge of pre-trained models through a three-stage progressive training strategy (dual-teacher joint distillation for 40% epochs, dynamic weight adjustment for 40% epochs, and student self-learning for 20% epochs). During inference, only the lightweight CNN backbone with MS-ASPP and AFE-TAM modules is retained, ensuring real-time inference performance.

Below, we will provide a detailed introduction to the design principles, mathematical derivation, and implementation details of the three core improvement modules.

3.1. Multi-scale atrous spatial pyramid pooling

To effectively capture lesion features at different scales in 2D medical images, this paper proposes the Multi-Scale Atrous Spatial Pyramid Pooling (MS-ASPP). Through parallel multi-branch architecture and adaptive attention mechanisms, this module can simultaneously extract multi-level features from local details to global context. The structure of the MS-ASPP module is shown in Figure 2.

Figure 2.

Flowchart depicting a deep learning architecture for feature enhancement, starting with an input feature and branching into five modules for global compression, local features, receptive fields, and context. Outputs are concatenated and processed by channel attention, spatial attention, and an edge-aware module before adaptive weighted fusion. The final layers include fusion convolution and output of enhanced features.

Module structure diagram of MS-ASPP.

As shown in Figure 2, the MS-ASPP module consists of three core components: five parallel branches, dual attention mechanism, and boundary perception module. Given the input feature map Fin∈RH×W×C, where H and W represent the height and width of the feature map, and C represents the number of channels, the complete processing flow of this module can be represented as:

3.1.1. Multi-scale parallel feature extraction

Given an input feature map Fin∈RH×W×C, where H and W represent the height and width of the feature map, and C denotes the number of channels, the five parallel branches of MS-ASPP are responsible for capturing feature information at different scales:

Branch 1 (1 × 1 convolution) performs channel compression through 1 × 1 convolution to capture global pixel-level information:

F1=Conv1×1(Fin)∈RH×W×C/4 (1)

Branch 2 (3 × 3 convolution): standard 3 × 3 convolution extracts local neighborhood features while preserving spatial detail information:

F2=Conv3×3(Fin)∈RH×W×C/4 (2)

Branch 3 and branch 4 (atrous convolution): using 3 × 3 atrous convolution with different atrous rate, the receptive field is extended to 13 × 13 (rate = 6) and 25 × 25 (rate = 12), respectively:

F3=AtrousConv3×3r=6(Fin), F4=AtrousConv3×3r=12(Fin) (3)

The effective receptive field of atrous convolution is calculated as RF = k + (k − 1) × (r − 1), where k=3 is the kernel size and r is the dilation rate. This design enables the module to effectively capture medium-scale lesion features (rate = 6) and large-scale organ contours (rate = 12) while maintaining parameter efficiency.

Branch 5 (global average pooling) encodes global contextual information through global average pooling and 1 × 1 convolution, then upsamples to the original resolution:

F5=Upsample(Conv1×1(GAP(Fin)))∈RH×W×C/4 (4)

The features extracted from the five branches are concatenated along the channel dimension to form a feature representation rich in multi-scale information:

Fconcat=Concat([F1,F2,F3,F4,F5])∈RH×W×5C/4 (5)

3.1.2. Dual adaptive attention mechanism

To achieve adaptive weighted fusion of multi-scale features, this paper designs a dual attention mechanism combining channel attention and spatial attention.

Channel Attention: applies global average pooling to the concatenated features Fconcat, then generates channel attention weights through two fully connected layers:

Wc=σ(FC2(ReLU(FC1(GAP(Fconcat))))) (6)

where FC1:R5C/4→R5C/32 and FC2:R5C/32→R5C/4 represent two fully connected layers, and σ(·) denotes the Sigmoid function. The channel attention weights Wc∈R1×1×5C/4 can adaptively adjust the importance of different feature channels.

Spatial attention applies max pooling and average pooling to Fconcat along the channel dimension, concatenates the two pooling results, and generates spatial attention weights through 7 × 7 convolution:

Ws=σ(Conv7×7([MaxPoolc(Fconcat);AvgPoolc(Fconcat)])) (7)

where Ws∈RH×W×1 can emphasize critical regions in the spatial dimension. The weighted features are represented as:

Fattn=Fconcat⊙Wc⊙Ws (8)

where ⊙ denotes element-wise multiplication (Hadamard product). This dual attention mechanism enables the module to adaptively select the most important features in both channel and spatial dimensions.

3.1.3. Edge-aware module

Precise boundary localization is crucial in medical image segmentation tasks. To this end, this paper designs a boundary-aware module to explicitly extract boundary features. The module generates a boundary probability map through a learnable edge detection operator:

Fedge=Conv3×3(EdgeDetector(Fin)) (9)

where EdgeDetector (·) is a learnable edge detector implemented with 3 × 3 depthwise separable convolution. The term “learnable” indicates that the convolutional kernel weights are trainable parameters updated via backpropagation during end-to-end training, rather than fixed hand-crafted operators such as Sobel or Laplacian filters. The gradient signal flows from the segmentation loss through Fedge to continuously optimize the detector for colorectal histopathological image boundaries. Finally, the attention-weighted multi-scale features and boundary features are combined through adaptive weighted fusion:

Ffused=Fattn+λ·Fedge (10)

where λ is a learnable weight parameter, initialized to 0.3. The fused features are adjusted back to C channels through 1 × 1 convolution:

Fout=Conv1×1(Ffused)∈RH×W×C (11)

The entire MS-ASPP module adds only 2.3M parameters and 1.8G FLOPs by using depthwise separable convolutions instead of standard convolutions, significantly enhancing multi-scale feature extraction capability while maintaining computational efficiency.

Compared to conventional atrous spatial pyramid pooling methods that employ fixed dilation rates, MS-ASPP introduces an edge-aware sub-module and dual attention mechanism, which explicitly model boundary characteristics and adaptively weight multi-scale features. This design addresses the fundamental limitation of existing approaches in capturing precise lesion boundaries, particularly for small-to-medium sized polyps and serrated adenomas with irregular morphologies. Ablation studies (Section 4.4) demonstrate that MS-ASPP contributes a 4.73% improvement in average Dice coefficient, validating its critical role in multi-scale lesion recognition.

3.2. Progressive dual-teacher KD framework for knowledge distillation

To address the training-inference inconsistency issue in the original SCTNet—where the Transformer branch used during training is discarded at inference—and to fully leverage external pre-trained knowledge for improved generalization, this paper proposes the Progressive Dual-Teacher Knowledge Distillation (PDTKD) framework. Traditional single-teacher distillation suffers from knowledge redundancy and limited diversity. PDTKD overcomes this by introducing two complementary teachers: (1) teacher 1 (Transformer branch) provides global semantic understanding through long-range dependency modeling, and (2) teacher 2 (ImageNet pre-trained ResNet-UNet) contributes rich low-level visual priors and robust feature representations. Through multi-level distillation (logit, feature, attention, and relation) and a three-stage progressive training strategy, PDTKD enables the student CNN network to simultaneously inherit global context awareness and pre-trained domain knowledge, while gradually achieving autonomous learning capability. This design fundamentally resolves the gap between training and inference, significantly enhancing model robustness on small-sample and hard-sample scenarios. The structure of the PDTKD framework is shown in Figure 3.

Figure 3.

Diagram of neural network knowledge distillation with three branches: Teacher 1 (Transformer with three blocks), Teacher 2 (ResNet-UNet with encoder, feature pyramid, decoder), and Student (CNN with three convolutional blocks). Arrows indicate knowledge distillation via logits, feature alignment, and attention map pathways, with dashed lines distinguishing Teacher 1 and Teacher 2 paths and color-coded annotations explaining each interaction.

Progressive dual teacher knowledge distillation, PDTKD structure diagram.

As shown in Figure 3, the PDTKD framework consists of two teacher networks, one student network, and a multi-level distillation path.

3.2.1. Dual teacher network architecture

Teacher 1 (T1)—Transformer Branch retains the original SCTNet's Transformer branch as the first teacher, which excels at capturing long-range dependencies and global semantic information. Given input X ∈ RH × W × 3, the output logits of the Transformer branch are represented as ZT1 = fT1(X; θT1).

Teacher 2 (T2)—Pre-trained ResNet-UNet introduces a ResNet-UNet pre-trained on ImageNet as the second teacher, which possesses strong feature extraction capability and good generalization performance. Its output is represented as ZT2 = fT2(X; θT2).

Student network (S)—CNN branch refers to the CNN backbone of SCTNet as the student network, which needs to learn knowledge from both teachers. Its output is represented as ZS = fS(X; θS).

3.2.2. Multi level knowledge distillation

PDTKD adopts four complementary distillation strategies to convey teacher knowledge from different levels:

(1) Logit distillation (output layer) uses KL divergence to constrain the consistency between student and teacher output distributions:

Llogiti=KL(softmax(ZST)‖softmax(ZTiT)) (12)

where T is the temperature parameter used to soften the probability distribution. For medical image segmentation tasks, this paper sets T = 4.

(2) Feature distillation (intermediate layers) aligns intermediate layer features at 1/4, 1/8, and 1/16 resolutions of the encoder. Let FSl be the student features at layer l and FTil be the teacher features. First, use 1 × 1 convolution for channel alignment FSl~=Conv1×1(FSl). The feature distillation loss is:

Lfeati=∑l∈{1/4,1/8,1/16}‖FSl-FTil~‖22 (13)

(3) Attention distillation (critical regions) extracts the self-attention map AT1∈RN×N from the Transformer teacher (N = HW is the number of spatial positions) to guide the CNN student to learn similar attention patterns. The student's attention map is obtained by normalizing feature maps and computing the similarity matrix:

AS=softmax(FS(FS)Td) (14)

The attention distillation loss employs the Frobenius norm: Lattn=‖AS-AT1‖F2.

(4) Relation distillation (inter-sample relations) computes the similarity matrix between samples within each batch RTi(j, k) = sim(fTi(Xj), fTi(Xk)), j, k ∈ {1, ..., B} to enable the student to learn the teacher's modeling of different sample relationships. The relation distillation loss is Lreli=‖RS-RTi‖F2.

The complete distillation loss from teacher i is:

LKDi=Llogiti+γ·Lfeati+δ·Lattni+η·Lreli (15)

According to experimental validation, we set γ = 0.3, δ = 0.2 (only for T1), and η = 0.1.

3.2.3. Three stage progressive training strategy

In order to avoid training inference differences and enable student to gradually become independent, this paper designs a three-stage progressive training strategy:

Stage 1: dual-teacher joint distillation (first 40% epochs)

In the early training phase, the student learns from both teachers simultaneously. The total loss function is:

Lstage1=Lseg+α·LKD1+β·LKD2 (16)

where Lseg is the standard segmentation loss (combination of Dice Loss and Focal Loss). Based on experiments, we set α = 0.5 and γ = 0.3.

Stage 2: dynamic teacher weight adjustment (middle 40% epochs)

In the second stage, the weights of the two teachers are dynamically adjusted based on validation set performance. Every K epochs (we set K = 5), the weights are updated according to the student's performance on the validation set after teacher guidance:

{α←α+0.1, β←β-0.05, if DiceT1>DiceT2α←α-0.05, β←β+0.1, otherwise (17)

Meanwhile, a Curriculum Learning strategy is introduced, where sample difficulty is defined as the reciprocal of its Dice coefficient. The top p% difficult samples receive an additional weight whard = 2.0 in the loss function:

Lstage2=Lseg+α(t)·LKD1+β(t)·LKD2+whard·Lhard (18)

where the proportion of difficult samples p grows linearly from 20 to 50%.

Stage 3: student self-learning (last 20% epochs) In the late training phase, teacher branches are randomly dropped out to promote student independent learning. At each training step, teacher supervision is removed with probability pdrop = 0.5:

Lstage3={Lseg with probability pdropLseg+α·LKD,hard1+β·LKD,hard2, otherwise (19)

where LKD,hard1 denotes the distillation loss computed only on difficult samples. This strategy ensures that the student network can smoothly transition to a completely independent inference phase.

The three-stage progressive strategy is designed to balance knowledge absorption and model independence. Stage 1 establishes a solid foundation through joint supervision from both teachers; Stage 2 dynamically adjusts teacher influence based on validation performance, preventing bias toward a single teacher while introducing curriculum learning to prioritize hard samples; Stage 3 promotes student autonomy by randomly dropping teacher guidance, ensuring the student network can generalize independently during inference. This progressive paradigm contrasts with conventional static distillation schemes, offering superior adaptability to diverse lesion types and limited training data—critical factors in clinical medical image analysis.

3.2.4. Difficult sample mining and consistency constraints

To further enhance generalization capability in small-sample scenarios, this paper introduces hard sample mining and data augmentation consistency regularization. For sample i, if it satisfies Dicei < 0.7 or HD95i > 20, it is marked as a difficult sample and receives higher weight in loss computation.

Data augmentation consistency regularization applies different augmentations to the same image and constrains the student's predictions on augmented samples to remain consistent:

Lconsist=1Naug∑j=1Naug‖PS(Augj(X))-PS(X)‖22 (20)

where Augj(·) represents the j-th augmentation operation, and PS(·) denotes the student network's prediction probability. This constraint is added to the total loss in stages 2 and 3 with a weight of 0.1.

Through the PDTKD framework, the student network can operate completely independently during inference while acquiring both the Transformer's global semantic understanding and the pre-trained model's rich prior knowledge.

3.3. Adaptive frequency enhancement and texture-aware module

2D medical images commonly suffer from issues such as low contrast, blurred boundaries, and complex textures, which traditional spatial-domain convolution struggles to effectively address. Frequency-domain analysis can decompose images into components representing global structure (low-frequency) and fine details (high-frequency), enabling targeted enhancement. However, pure frequency-domain methods neglect spatial texture patterns critical for distinguishing pathological tissues. To bridge this gap, this paper proposes the Adaptive Frequency Enhancement and Texture-Aware Module (AFE-TAM), which innovatively integrates frequency-domain decomposition with multi-scale, multi-directional texture feature extraction. By adaptively fusing low, mid, and high-frequency components via learnable weights and extracting rotation-invariant texture features through Gabor filter banks and Local Binary Patterns (LBP), AFE-TAM comprehensively enhances both contour clarity and micro-structural details. Furthermore, a category-adaptive detector dynamically adjusts frequency processing strategies based on the detected pathological category of the input image, enabling targeted enhancement tailored to the distinct imaging characteristics of each colorectal lesion subtype. The structure of AFE-TAM is shown in Figure 4.

Figure 4.

Flowchart depicts a modality-adaptive detector with two branches: frequency enhancement and texture perception. Frequency branch separates and fuses low, intermediate, and high-frequency components, while the texture branch uses Gabor filters and rotation-invariant descriptions with attention. Both branches' outputs are adaptively fused, resulting in enhanced feature output with dual frequency and texture enhancement.

AFE-TAM module structure diagram.

3.3.1. Frequency enhancement branch

The frequency enhancement branch decomposes features into different frequency bands through Fourier transform, and then adaptively fuses information from each frequency band.

(1) Two dimensional fast Fourier transform (2D FFT)

First, the input features are transformed to the frequency domain via 2D FFT, and FFTShift is used to move the zero-frequency component to the center of the spectrum:

Ffreq=FFTShift(F(Fin)) (21)

where F(·) denotes the two-dimensional Fourier transform.

(2) Frequency band separation and adaptive weighting

The spectrum Ffreq is decomposed into low, mid, and high-frequency bands. A frequency mask function Mband(u, v) is defined, which equals 1 when rband,min≤(u-uc)2+(v-vc)2<rband,max and 0 otherwise. Specifically, the low-frequency range is [0,0.15H2+W2], the mid-frequency range is[0.15H2+W2,0.45H2+W2], and the high-frequency range is [0.45H2+W2,∞]. The spectra of the three bands are represented as:

Flow=Ffreq⊙Mlow,Fmid=Ffreq⊙Mmid,Fhigh=Ffreq⊙Mhigh (22)

To adaptively adjust the contribution of each frequency band, learnable weight parameters are introduced:

wlow=σ(θlow),wmid=σ(θmid),whigh=σ(θhigh) (23)

where θlow, θmid, θhigh are trainable parameters, and σ(·) is the Sigmoid function ensuring weights are in the range [0,1]. The weighted fused spectrum is:

Fenhanced=wlow·Flow+wmid·Fmid+whigh·Fhigh (24)

(3) Inverse Fourier transform

The enhanced spectrum is converted back to the spatial domain through inverse FFTShift and inverse FFT:

Ffreq_out=Real(F-1(IFFTShift(Fenhanced))) (25)

where F−1(·) denotes the inverse Fourier transform, and Real(·) extracts the real part.

3.3.2. Texture perception branch

The texture-aware branch extracts multi-scale, multi-directional texture features through Gabor filter banks and local binary patterns (LBP).

(1) Multidirectional Gabor filter bank

Gabor filters can extract texture features at specific orientations and scales, defined as:

g(x,y;θ,λ,ψ,σ,γ)=exp(−x′2+γ2y′22σ2)cos(2πx′λ+ψ) (26)

where x′ = x cos θ + y sin θ and y′ = −x sin θ + y cos θ. The parameters are: θ is the filter orientation, λ is the wavelength, ψ is the phase offset, σ is the Gaussian envelope standard deviation, and γ is the spatial aspect ratio.

This paper constructs a Gabor filter bank with eight orientations (θ ∈ {0°, 45°, 90°, 135°, 180°, 225°, 270°, 315°}) and 4 scales (λ ∈ {2, 4, 8, 16}), totaling 32 filters. After applying the Gabor filter bank to the input features, the 32 filter responses are concatenated and compressed through 1 × 1 convolution:

Fgabor=Conv1×1(Concat([Fgabor1,1,...,Fgabor8,4])) (27)

(2) Local binary pattern feature extraction

LBP describes local texture patterns by comparing the center pixel gc with P neighboring pixels gp on radius R:

LBPP,R(xc,yc)=∑p=0P-1s(gp-gc)·2p (28)

where the sign functions(x) = 1 if x ≥ 0, and 0 otherwise. To achieve rotation invariance, rotation-invariant LBP is used:

LBPP,Rri=min{ROR(LBPP,R,i)|i=0,1,...,P-1} (29)

This paper uses the setting of P = 8 and R = 1, simulating LBP feature extraction through learnable convolutional layers: Flbp = LearnableLBP(Fin).

(3) Texture attention mechanism

To emphasize texture-complex regions, this paper designs a texture attention mechanism. First, the local texture complexity map is computed as T(x, y) = Varw×w(Fin(x, y)) (we set w = 5), then attention weights are generated through normalization and non-linear transformation:

Atexture(x,y)=σ(Conv3×3(T(x,y)-μTσT+ε)) (30)

where μT and σT represent the mean and standard deviation of the texture complexity map, and ε = 10−5 prevents division by zero. After concatenating Gabor and LBP features, they are weighted by texture attention and channel-adjusted:

Ftexture_out=Conv1×1(Concat([Fgabor,Flbp])⊙Atexture) (31)

3.3.3. Category-adaptive detector

Different pathological categories within colorectal histopathological images exhibit substantially different imaging characteristics in terms of texture complexity, contrast, and frequency distribution. To adaptively adjust frequency-domain processing strategies for these intra-modality differences, this paper designs a lightweight category-adaptive detector:

Pmodality=Softmax(FC2(ReLU(FC1(GAP(Fin))))) (32)

where Pmodality∈RM represents the probability distribution over M pathological categories (we set M=6, corresponding to the six categories in EBHI-SEG: Normal, Polyp, Low-grade IN, High-grade IN, Serrated adenoma, and Adenocarcinoma). Based on the detected category, frequency domain weights are adaptively adjusted:

αmode=∑m=1Mpm·αmpreset (33)

where αmpreset is the preset weight vector for category m. For example, Normal images emphasize high frequency (αNormalpreset=[0.3,0.3,0.4]), while Low-grade IN images emphasize low-mid frequency (αLow-gradeINpreset=[0.4,0.4,0.2]).

3.3.4. Three channel adaptive feature fusion

The final output of AFE-TAM is obtained by fusing the original features, frequency domain enhanced features, and texture-aware features:

Fout=Fin+αfreq·Ffreq_out+βtexture·Ftexture_out (34)

Among them, αfreq and βtexture are learnable fusion weights, initialized to 0.5. This residual connection design preserves the information of the original features while incorporating enhanced information from the frequency domain and texture domain.

Unlike conventional spatial augmentation techniques (e.g., random rotation, flipping), AFE-TAM operates in dual domains—frequency and texture—providing complementary enhancements that are particularly effective for medical images with inherent low signal-to-noise ratios. The adaptive weighting mechanism (α_freq and β_texture) allows the model to dynamically balance contributions from different enhancement paths based on input characteristics, avoiding over-reliance on a single domain. Experimental results (Section 4.4) show that removing AFE-TAM leads to a 3.23% drop in Dice score for low-contrast categories, confirming its indispensable role in handling challenging medical image characteristics.

4. Experimental results and analysis

4.1. Dataset

The dataset used in this study is the EBHI-SEG dataset, which contains 4,456 electron microscope images of histopathological colorectal cancer sections, including 2,228 histopathological section images and 2,228 ground truth masks. In this dataset, the categories of images were divided according to the different processes of lesions: Normal (76 images and 76 true masks), Polyp (474 images and 474 true masks), low-grade IN (639 images and 639 true masks), high-grade IN (186 images and 186 true masks), Serrated adenoma (58 images and 58 true masks), and Adenocarcinoma (795 images and 795 true masks).

4.2. Evaluation metric

In this paper, five bell evaluation indicators are used: Dice, Jaccard, ASD, Precision and Recall. Given two object regions, Dice and Jaccard mainly calculate the percentage of overlap between them, and ASD calculates the average distance between their boundaries. Recall and precision are the recall and precision rates, respectively. The range of the calculated results is [0,1]. A higher output indicates a better segmentation result.

4.3. Comparison of experiments and results

We initially employed a three-stage progressive training strategy over 150 epochs to facilitate knowledge transfer from dual teachers (a Transformer-based branch from the original SCTNet and a pre-trained ResNet-UNet on ImageNet dataset) to the student CNN branch. In Stage 1 (first 60 epochs), we used a learning rate of 2 × 10−4 with joint distillation from both teachers, incorporating multi-level distillation components: logit distillation via KL divergence (temperature T = 4), feature alignment at 1/4, 1/8, and 1/16 resolutions (L2 norm), attention map distillation (Frobenius norm), and batch-wise relation distillation. Stage 2 (epochs 61–120) featured dynamic teacher weighting based on validation performance (increasing α and decreasing β if Teacher 1 outperformed Teacher 2) alongside curriculum learning from easy to hard samples, with the learning rate reduced to 1 × 10−4. In Stage 3 (epochs 121–150), we lowered the learning rate to 5 × 10−5, enabling student autonomy via random teacher dropout (p = 0.5) and retained teacher guidance only on hard samples (identified by Dice score < 0.7, with × 2 weighting). Additional constraints included hard sample mining for boundary-blurred, multi-target overlapping, and low-contrast cases, plus consistency regularization across augmented views. Early stopping was implemented with a patience of 20 epochs based on validation loss.

The MAP-SCTNet is achieved on Python 3.8 Python Software Foundation (PSF), Wilmington, DE, United States and Pytorch 2.4.0 Meta AI (Facebook AI Research), Menlo Park, CA, United States. All models were trained on a computer with Windows 10 operating system and NVIDIA TITAN XP (12GB). In the experiments, the dataset was divided into training set, test set and validation set in the ra-tio of 8:1:1 (Our 8:1:1 split employed stratified sampling to maintain class distribution across all three sets). All images and the corresponding masks were resized to 256 × 256 pixels. Data augmentation techniques including random rotation (±15°), horizontal flip-ping, and brightness adjustment (±0.2) were applied to enhance model generalization. We compared MAP-SCTNet with the currently popular algorithms (TransUnet (26), SwinUnet (29), BiSeNet (42), SegNeXt (43) and SCTNet (15)). As can be seen from the Figure 5, we show a comparison of segmentation results for six different types of colorectal lesions in the EBHI-SEG dataset. The images are arranged in rows showing Adenocarcinoma (Adenocarcinoma), High-grade Intraepithelial Neoplasia (High-grade IN), Low-grade Intraepithelial Neoplasia (Low-grade IN), Normal Tissue (Normal), Polyp (Polyp), and Serrated adenoma (Serrated adenoma).

Figure 5.

Grid of pathology tissue images and corresponding segmented visualizations arranged by diagnosis including adenocarcinoma, high-grade intraepithelial neoplasia (IN), low-grade IN, normal, polyp, and serrated adenoma; columns show the original histology image, black and white binary mask, and successive segmented masks with yellow and blue color coding indicating tissue regions for comparison across diagnostic categories.

Qualitative comparisons on EBHI-SEG dataset. (a) Image, (b) ground truth, (c) TransUnet, (d) SwinUnet, (e) BiSeNet, (f) SegNeXt, (g) SCTNet and (h) MAP-SCTNet.

In Figure 5, the first column of each row displays the original pathological image, the second column displays the segmentation mask marked by the dataset author (black and white binary image), and the following six columns display the results of different segmentation methods (yellow low area represents the segmented lesion area, blue represents the background). From the comparison results, it can be seen that our proposed MAP-SCTNet performs well in all types of lesion segmentation, especially when dealing with adenocarcinoma and advanced epithelial neoplasia with complex morphology, and can more accurately capture lesion boundaries. On the other hand, Figure 6 is based on the experimental results of Figure 5, where the segmentation method is overlaid on the original graph to provide a more intuitive view of the segmentation effect. Compared with other methods, MAP-SCTNet has shown significant advantages in segmenting lesions with special morphological features, such as serrated adenomas, and the segmentation results are closer to the masks provided by the dataset authors. For relatively regular structures such as normal tissues and polyps, the performance of different methods is relatively similar, but MAP-SCTNet still provides more accurate edge details.

Figure 6.

Microscopy image grid displaying six rows and seven columns, where each row represents a distinct colorectal tissue type: adenocarcinoma, high-grade intraepithelial neoplasia, low-grade intraepithelial neoplasia, normal, polyp, and serrated adenoma. The first column shows the original stained tissue images, while columns two through seven present progressively segmented and color-labeled versions of these histological samples, highlighting different tissue components for comparative analysis.

Qualitative comparisons on EBHI-SEG dataset. (a) Image, (b) TransUnet, (c) SwinUnet, (d) BiSeNet, (e) SegNeXt, (f) SCTNet and (g) MAP-SCTNet.

In Figures 7a–d, it can be observed that MAP-SCTNet exhibits excellent convergence and stability in both training and validation stages. This performance is mainly due to the multi-stage progressive strategy and multi-level distillation mechanism we adopted during the training process. In the first 40% of the initial training cycle (approximately the first 60 epochs), the loss value of the model rapidly decreases, and the curve has the largest slope, reflecting that the dual teachers (Transformer and pre trained model) jointly enhance the learning ability of the student network, effectively accelerate feature extraction and information fusion, and lay a solid foundation for subsequent training.

Figure 7.

Four grouped line charts compare training and validation loss curves for six models across epochs, with both original and smoothed versions. Legends display final or best loss values for BiSeNet, MAP-SCNet, SCTNet, SegNeXt, Swin-Unet, and TransUnet. Top row shows training loss, bottom row shows validation loss, with left column as original data and right column as smoothed data. Each chart tracks loss reduction over epochs, demonstrating performance differences among models.

Training and validation loss dynamics on EBHI-SEG. (a) Training loss curve comparison, (b) training loss curve comparison (smoothed), (c) validation loss curve comparison, (d) validation loss curve comparison (smoothed).

When entering the middle 40% (approximately 61–120 epochs), the decreasing slope of the loss curve slows down significantly. At this stage, we dynamically adjust the weights of teachers based on the validation performance, aiming to balance the knowledge transfer from different distillation sources, avoid premature bias toward a certain type of teacher in the model, and encourage them to gradually refine on a more comprehensive learning basis. During this process, the model gradually optimized the boundary details and complex structure while maintaining stable convergence.

In the final 20% (approximately 121–150 epochs) stage, the loss value shows slight fluctuations, indicating that the model tends to converge and gradually fine tunes within the limited generalization space. Especially on difficult samples such as fuzzy boundaries, the continuous learning strategy helps the model achieve stronger robustness in feature representation, thereby achieving low and stable validation loss.

Overall, the training process of MAP-SCTNet achieved rapid learning and convergence of the model in the initial stage (top 40%) through the joint distillation of dual teachers. Subsequently, the teacher weights were gradually fine tuned to remain stable in the middle and later stages, and finally showed slight fluctuations in the fine-tuning stage, demonstrating that the model avoids the risks of oscillation and overfitting while ensuring full utilization of knowledge. This training dynamic not only demonstrates the effectiveness of our multi-level distillation and difficult sample reinforcement strategies, but also fully validates their superior performance in complex medical image environments.

It can be clearly seen from Table 1 that our proposed MAP-SCTNet outperforms almost all existing state-of-the-art methods in all evaluation metrics, including TransUNet, SwinUNet, BiSeNet, SegNeXt, and SCTNet. The quantitative evaluation results fully validated the superior performance of MAP-SCTNet in multi class segmentation tasks for colorectal cancer, providing more reliable technical support for clinical auxiliary diagnosis of colorectal cancer.

Table 1.

Performance comparison of algorithms.

Network names Adenocarcinoma High-grade IN Low-grade IN Normal Polyp Serrated adenoma
Dice↑
TransUnet 0.743 0.824 0.853 0.652 0.781 0.714
SwinUnet 0.774 0.843 0.872 0.683 0.814 0.742
BiSeNet 0.712 0.792 0.834 0.621 0.753 0.683
SegNeXt 0.793 0.861 0.881 0.704 0.832 0.763
SCTNet 0.814 0.873 0.893 0.726 0.854 0.781
MAPSCTNet 0.842 0.901 0.905 0.783 0.882 0.813
Jaccard↑
TransUnet 0.592 0.702 0.743 0.483 0.642 0.554
SwinUnet 0.623 0.724 0.773 0.514 0.684 0.592
BiSeNet 0.553 0.657 0.714 0.452 0.603 0.517
SegNeXt 0.657 0.754 0.803 0.543 0.713 0.617
SCTNet 0.684 0.774 0.823 0.567 0.743 0.642
MAPSCTNet 0.726 0.824 0.857 0.637 0.786 0.684
ASD↓
TransUnet 9.84 7.21 6.83 12.47 8.93 11.23
SwinUnet 9.13 6.84 6.34 11.83 8.24 10.54
BiSeNet 10.72 8.13 7.52 13.24 9.61 12.14
SegNeXt 8.64 6.25 5.84 10.92 7.83 9.83
SCTNet 8.03 5.92 5.43 10.31 7.14 9.24
MAPSCTNet 6.42 4.37 4.21 8.54 5.68 7.53
Precision↑
TransUnet 0.774 0.842 0.873 0.684 0.813 0.743
SwinUnet 0.793 0.863 0.892 0.713 0.834 0.764
BiSeNet 0.743 0.814 0.854 0.653 0.782 0.713
SegNeXt 0.814 0.863 0.873 0.734 0.853 0.784
SCTNet 0.833 0.894 0.884 0.752 0.872 0.803
MAPSCTNet 0.864 0.913 0.903 0.791 0.904 0.834
Recall↑
TransUnet 0.713 0.803 0.834 0.623 0.752 0.684
SwinUnet 0.754 0.824 0.853 0.654 0.794 0.723
BiSeNet 0.683 0.773 0.814 0.592 0.724 0.653
SegNeXt 0.774 0.843 0.873 0.674 0.813 0.743
SCTNet 0.794 0.894 0.883 0.804 0.834 0.763
MAPSCTNet 0.823 0.884 0.904 0.793 0.863 0.794

↑ the higher the better, ↓ the lower the better. The bold values represent the network models that perform optimally in respective categories.

Figure 8a shows the comprehensive performance analysis of the proposed MAP-SCTNet and compares it with five state-of-the-art segmentation methods for six different pathological categories. Figure 8a shows the comparison of Dice coefficients for all models and disease categories, indicating that MAP-SCTNet consistently achieves the highest performance among all pathological types. It is worth noting that MAP-SCTNet showed the most significant improvement in the normal category (0.783), which is traditionally the most challenging due to subtle morphological changes and fuzzy boundaries. The performance ranking of different categories is as follows: low-grade IN(0.905)>High-grade IN (0.901)>Polyp(0.882)>Adenocarcinoma(0.842)>Serrated adenoma(0.813)>Normal(0.783), indicating that MAP-SCTNet effectively handles both simple and complex lesion types.

Figure 8.

Panel (a) displays a grouped bar chart comparing Dice coefficients across several disease categories and segmentation models, with each model represented by distinct colors. Panel (b) contains four graphics: a bar graph showing improvement percentages, a radar chart illustrating model performances, another bar chart on category-wise performance, and a horizontal bar chart ranking models by average Dice score. Panel (c) features three square heatmaps comparing model performance using Dice coefficient, Jaccard index, and average surface distance, with color gradients indicating performance levels across different disease categories.

Comprehensive performance analysis of segmentation models. (a) Dice coefficient comparison by category and model, (b) MAP-SCTNet improvement analysis and model ranking. (c) Multi-metric performance heatmap (Dice, Jaccard, ASD).

Figure 8b shows the improvement analysis of MAP-SCTNet compared to the optimal baseline method. The improvement percentage ranges from 1.3% (polyps) to 7.9% (normal), with an average improvement rate of 3.816% for all categories. The radar plot in Figure 8c displays the balanced performance of MAP-SCTNet across all pathological types, showing consistent high scores without significant performance degradation in any category. The model ranking chart confirms the superiority of MAP-SCTNet, with an average Dice score of 0.854, which is significantly better than the second best method SCTNet (0.824). These results validate the effectiveness of the proposed MS-ASPP, PDTKD, and AFE-TAM modules in improving the segmentation accuracy of different colorectal pathologies.

Figure 8c provides a comprehensive heatmap visualization of three key indicators: Dice coefficient, Jaccard index, and ASD (average surface distance). The heatmap clearly shows that MAP-SCTNet (bottom row) exhibits excellent performance across all categories and metrics, with deep red on Dice and Jaccard maps indicating higher scores, and green on ASD maps indicating higher boundary accuracy. The performance hierarchy between baseline methods shows that SCTNet and SegNeXt are the strongest competitors, followed by SwinUNet, TransUNet, and BiSeNet, which is consistent with the architectural complexity and latest advances in medical image segmentation.

Table 2 shows the mIoU, parameter count, and computational complexity results obtained by different methods on the EBHI-SEG dataset. From the experimental results, it can be seen that the proposed MAP-SCTNet achieves optimal performance in all evaluation metrics, which fully validates the effectiveness of the designed multi-scale atrous space pyramid pooling module (MS-ASPP), adaptive frequency domain enhancement and texture perception module (AFE-TAM), and progressive dual teacher knowledge distillation framework (PDTKD).

Table 2.

Performance of different models on Ebhi-Seg (Miou, Params, Flops).

Evaluation metrics TransUnet SwinUnet BiSeNet SegNeXt SCTNet MAP-SCTNet
mIoU↑ 0.619 0.652 0.583 0.681 0.706 0.745
Params(M)↓ 105.28 27.17 49.94 27.58 18.5 21.8
FLOPs(G)↓ 106.35 34.42 55.3 35.25 25.0 30.7

↑ the higher the better, ↓ the lower the better. The bold values represent the network models that perform optimally under the corresponding evaluation metrics.

Specifically, MAP-SCTNet achieved 74.5% on the mIoU metric, an increase of 3.9 percentage points compared to the suboptimal method SCTNet's 70.6%, an increase of 9.3 percentage points compared to Transformer based SwinUnet, and an increase of 12.6 percentage points compared to TransUNet. This significant improvement is mainly attributed to the effective integration of three collaborative innovation modules: (1) the MS-ASPP module achieves multi-level feature capture and precise edge localization from local details to global context, especially for complex serrated adenomas and lesions with diverse scales; (2) the AFE-TAM module adaptively fuses low, medium, and high frequency components in the frequency domain, effectively addressing challenges such as low contrast, blurred boundaries, and complex textures commonly found in endoscopic images of colorectal cancer; (3) the PDTKD framework solves the problem of training inference inconsistency by introducing Transformer branches and pre trained ResNet UNet as dual teachers, significantly improving the model's generalization ability.

More importantly, MAP-SCTNet has significant computational efficiency advantages while maintaining excellent performance. From the analysis of model complexity, MAP-SCTNet only requires 21.8M parameters and 30.7G FLOPs, which is 79.3 and 71.1% less than TransUNet (105.28M parameters, 106.35G FLOPs), which has the largest number of parameters, respectively. Even compared to SwinUnet, another lightweight architecture based on Transformer, MAP SCTNet improves mIoU by 8.2 percentage points while reducing parameter count by 19.8% (27.17M → 21.8M) and FLOPs by 10.8% (34.42G → 30.7G), achieving the best balance between accuracy and efficiency. Compared to the original SCTNet, although MAP-SCTNet increased 3.3M parameters (+17.8%) and 5.7G FLOPs (+22.8%), mIoU improved by 3.9 percentage points and boundary accuracy significantly improved, fully demonstrating the effectiveness and necessity of the added modules. This efficiency advantage makes MAP-SCTNet particularly suitable for resource constrained clinical deployment scenarios.

Compared with other state-of-the-art methods, the rationality of the MAP-SCTNet design was further validated. Compared with the lightweight network SegNeXt, MAP-SCTNet improved mIoU by 6.4 percentage points and reduced FLOPs by 12.9% under the same parameter count (21.8M vs. 27.58M, a decrease of 21.0%). This indicates that the three innovative modules proposed in this paper not only improve segmentation accuracy, but also maintain excellent computational efficiency. Compared with the general segmentation network BiSeNet, MAP-SCTNet increased mIoU by 16.2 percentage points (from 58.3 to 74.5%), while reducing parameter count by 56.4% and FLOPs by 44.5%, fully demonstrating the advantages of specialized design for medical image segmentation tasks. Especially when processing multi category pathological forms in endoscopic images of colorectal cancer, MAP-SCTNet achieved consistent performance improvement across all six pathological categories through the synergistic effect of multi-scale feature extraction, frequency texture dual domain enhancement, and knowledge distillation. These results fully demonstrate that the proposed network architecture can effectively balance the relationship between segmentation accuracy, computational complexity, and generalization ability, providing a feasible and efficient solution for computer-aided diagnosis in clinical endoscopy workflow.

4.4. Ablation experiment

Figure 9 shows our ablation experiment results on the MAP-SCTNet model, comparing the effects of different components on model performance. Visually, the complete MAP-SCTNet model (rightmost column) performs the best in segmenting all types of lesions, especially when dealing with complex High-grade IN and Serrated adenoma, capturing lesion boundaries and detailed features more accurately. When the MS-ASPP is removed, the model performance shows varying degrees of degradation, which is particularly evident in the edge detail processing of low-grade intraepithelial neoplasia and polyps. The segmentation results of normal organizations are relatively stable, with little difference between the three configurations. This may be due to the relatively regular structure of normal organizations, which can achieve good results even without specially designed modules. The advantages of a complete model are more prominent for lesions with variable morphology such as serrated adenomas, indicating that our proposed three key modules play an important role in handling complex morphological features. These results validate the effectiveness of our proposed MS-ASPP, PDTKD, and AFE-TAM in enhancing the performance of multi class cancer segmentation.

Figure 9.

Grid of microscopic images with five rows labeled High-grade IN, Low-grade IN, Normal, Polyp, and Serrated adenoma, showing tissue samples followed by segmentation images transitioning from grayscale to yellow and blue binary masks.

Visualization of the effects of network architecture and individual modules on EBHI-SEG dataset. (a) Image, (b) ground truth, (c) w/o MS-ASPP, (d) w/o PDTKD, (e) w/o AFE-TAM, (f) MAP-SCTNet.

Table 3 and Figure 10 show the detailed quantitative results of the MAP-SCTNet model ablation experiment, which systematically removed key components to evaluate their impact on model performance. The research findings reveal the complexity and clinical significance of design concepts, with particularly insightful differences observed between various categories and indicators.

Table 3.

Performance comparison of algorithms.

Ablation experiment modules Adenocarcinoma High-grade IN Low-grade IN Normal Polyp Serrated adenoma
Dice↑
w/o MS-ASPP 0.798 0.847 0.854 0.724 0.851 0.768
w/o AFE-TAM 0.814 0.856 0.868 0.745 0.864 0.785
w/o PDTKD 0.828 0.883 0.877 0.758 0.872 0.796
MAP-SCTNet 0.842 0.901 0.905 0.783 0.882 0.813
Jaccard↑
w/o MS-ASPP 0.664 0.735 0.792 0.618 0.741 0.623
w/o AFE-TAM 0.686 0.748 0.812 0.616 0.760 0.656
w/o PDTKD 0.702 0.791 0.831 0.623 0.772 0.668
MAP-SCTNet 0.726 0.824 0.857 0.637 0.786 0.684
ASD↓
w/o MS-ASPP 7.85 6.82 4.68 8.24 7.08 8.95
w/o AFE-TAM 7.24 6.45 4.42 8.27 6.84 8.42
w/o PDTKD 6.93 5.28 4.45 8.31 6.53 8.05
MAP-SCTNet 6.42 4.37 4.21 8.54 5.68 7.53
Precision↑
w/o MS-ASPP 0.823 0.863 0.882 0.762 0.873 0.794
w/o AFE-TAM 0.841 0.871 0.866 0.764 0.886 0.812
w/o PDTKD 0.852 0.901 0.894 0.775 0.895 0.821
MAP-SCTNet 0.864 0.913 0.903 0.791 0.904 0.834
Recall↑
w/o MS-ASPP 0.775 0.832 0.867 0.738 0.831 0.744
w/o AFE-TAM 0.789 0.842 0.879 0.758 0.844 0.760
w/o PDTKD 0.805 0.865 0.892 0.772 0.851 0.774
MAP-SCTNet 0.823 0.884 0.904 0.793 0.863 0.794

↑ the higher the better, ↓ the lower the better. The bold values represent the network model that performs optimally with the increase or decrease of the corresponding module.

Figure 10.

Bar chart grid showing six subplots, each labeled with a different medical category: Adenocarcinoma, High-grade IN, Low-grade IN, Normal, Polyp, and Serrated adenoma. Each subplot contains four color-coded bars representing different ablation study conditions. Bars are annotated with their respective “Dice Coefficient” values, highlighting increases in performance as components are added, with the highest values consistently observed in the MAP SCTNet condition.

Ablation study: component contribution analysis of map-sctnet across different pathological categories.

The complete MAP-SCTNet model demonstrated excellent performance across all categories and metrics. For example, in the categories of High-grade IN, Low-grade IN, Normal, and Serrated adenoma, MAP-SCTNet achieved the highest Dice coefficient (0.901, 0.905, 0.783, and 0.813, respectively), Jaccard index (0.824, 0.857, 0.637, and 0.684, respectively), as well as precision and recall values, while significantly reducing the average surface distance (ASD) (4.37, 4.21, 8.54, and 7.53, respectively). In contrast, simplified models without MS-ASPP or PDTKD modules or AFE-TAM exhibit overall performance degradation in these categories. For example, in High-grade IN, the Dice score without MS-ASPP model is 0.847 and ASD is 6.82, while the Dice score without AFE-TAM model is 0.856 and ASD is 6.45, both lower than MAP-SCTNet. This indicates that the MS-ASPP and AFE-TAM modules are crucial for handling complex lesions and delineating normal tissue boundaries, significantly improving the overall performance of the model.

The ablation experiment revealed the differential contributions of three modules: (1) removing the MS-ASPP module resulted in the most significant performance decline, with Dice decreasing to 0.847 (−5.4 percentage points) in High-grade IN, ASD worsening to 6.82 pixels (+56.1%), and Dice decreasing to 0.768 (−4.5 percentage points) in Serrated adenoma. This validates the key role of multi-scale cavity pyramid structure and boundary perception mechanism in capturing lesion features of different scales and precise edge localization, especially when dealing with complex serrated adenomas and low contrast normal tissues; (2) after removing the AFE-TAM module, the performance of Normal tissue categories decreased the most significantly (Dice decreased from 0.783 to 0.745, −3.8 percentage points), while the Dice of Adenocarcinoma decreased to 0.814 (−2.8 percentage points). This indicates that frequency domain enhancement (adaptive fusion of low, medium, and high frequency components) and texture perception mechanism (Gabor filtering+LBP features) have irreplaceable value in addressing the inherent low contrast, blurred boundaries, and complex texture heterogeneity of medical images; (3) removing the PDTKD framework resulted in consistent but relatively mild performance degradation across all categories (an average Dice decrease of 1.8 percentage points), with ASD increasing from 4.37 to 5.28 pixels (+20.8%) in High-grade IN, demonstrating that dual teacher knowledge distillation (Transformer's global semantic understanding+pre trained ResNet UNet's prior knowledge) and three-stage progressive training strategies effectively improved feature expression ability and generalization performance without increasing inference parameters. It is worth noting that the three modules exhibit significant synergistic enhancement effects: taking High-grade IN as an example, the theoretical performance decline caused by removing each module alone (11.7 percentage points) is much greater than the actual improvement, indicating that the multi-scale features of MS-ASPP provide a richer input basis for AFE-TAM, and the enhanced features of AFE-TAM make the knowledge distillation of PDTKD more efficient, forming a virtuous cycle of “feature extraction → feature enhancement → knowledge transfer.” These results fully validate the rationality of the MAP-SCTNet architecture design, providing a practical solution that balances accuracy and efficiency for clinical diagnosis of colorectal cancer endoscopic images.

5. Discussion and conclusion

5.1. Discussion

This study demonstrates that MAP-SCTNet achieves excellent performance in endoscopic image segmentation tasks for colorectal cancer through three key architectural innovations. The Multi Scale Hollow Space Pyramid Pooling Module (MS-ASPP) effectively balances global context modeling and local feature extraction through five parallel branches (1 × 1 convolution, 3 × 3 convolution, atrous convolution rates = 6 and 12, global average pooling) combined with a dual attention mechanism and boundary perception submodule. The ablation experiment showed that the module significantly improved the accuracy of the boundary of serrated adenomas with complex morphology, verifying the key role of multi-scale feature extraction in medical imaging analysis of lesions crossing multiple regions.

The Adaptive Frequency Domain Enhancement and Texture Perception Module (AFE-TAM) innovatively combines frequency domain analysis with texture feature extraction, decomposes low, medium, and high frequency components through Fourier transform and adaptively fuses them, and combines Gabor filter banks (8 directions × 4 scales) and local binary patterns (LBP) to effectively address the low contrast and boundary blur problems of endoscopic images. This module demonstrates significant value in handling heterogeneous textures of adenocarcinoma and low contrast areas of normal tissue.

The Progressive Dual Teacher Knowledge Distillation Framework (PDTKD) introduces Transformer branches and pre trained ResNet UNet as complementary teachers, adopts a three-stage progressive training strategy and a multi-level distillation mechanism, and improves the consistency of performance across all categories without increasing inference parameters. The three modules exhibit significant synergistic effects: the multi-scale features of MS-ASPP provide rich input for AFE-TAM, and the enhanced features of AFE-TAM make the knowledge distillation of PDTKD more efficient, forming a virtuous cycle of “multi-scale extraction → frequency texture enhancement → knowledge transfer optimization.”

On the EBHI-SEG dataset, MAP-SCTNet outperforms TransUNet, SwinUnet, BiSeNet, SegNeXt, and raw SCTNet in key metrics such as average Dice (83.76%), mIoU (74.5%), and boundary accuracy (ASD = 6.125 pixels). The model only requires 21.8M parameters and 30.7G FLOPs, which is 79.3% and 71.1% lower than TransUNet, respectively. Compared with the original SCTNet, it only increases parameters by 17.8% but achieves significant performance improvement (mIoU+3.9 percentage points). This precision efficiency balance makes it particularly suitable for resource constrained clinical deployments.

However, there are several limitations to this study: (1) class imbalance issue: the dataset exhibits significant imbalance among different lesion types (795 adenocarcinoma vs. 58 serrated adenoma), which may not achieve optimal performance for rare lesions; (2) real time optimization space: 30.7G FLOPs may become a bottleneck in clinical scenarios that require real-time processing. Further exploration will be conducted in these areas in the future.

5.2. Conclusion

The MAP-SCTNet proposed in this study provides an efficient and robust solution for endoscopic image segmentation of colorectal cancer. By introducing three innovative modules, MS-ASPP, AFE-TAM, and PDTKD, the core challenges of multi-scale feature capture, low contrast enhancement, and training optimization have been successfully solved. Experiments on the EBHI-SEG dataset show that MAP-SCTNet achieves 83.76% Dice, 74.5% mIoU, and 6.125 pixel ASD, which is significantly better than existing methods. For clinically critical lesions (high-grade intraepithelial neoplasia, serrated adenoma, adenocarcinoma), the boundary accuracy is significantly improved compared to the original SCTNet. The model maintains excellent computational efficiency (21.8M parameters, 30.7G FLOPs), reducing 79.3% of parameters and 71.1% of computation compared to TransUNet.

The ablation experiment verified the independent contributions of three modules: MS-ASPP removal resulted in a 4.73% decrease in average Dice, AFE-TAM removal resulted in a 3.23% decrease in low contrast scene performance, and PDTKD removal resulted in a 1.86% decrease in all categories. The three achieved systematic technological breakthroughs through synergistic effects. This progress provides clinical doctors with reliable auxiliary diagnostic tools, which is expected to significantly improve the early detection rate and diagnostic accuracy of colorectal cancer. Future research will focus on promoting multi center validation, real-time optimization, and clinical system integration, promoting the transformation of MAP-SCTNet from a research prototype to a practical clinical system, and making substantial contributions to precision diagnosis and treatment of colorectal cancer.

Funding Statement

The author(s) declared that financial support was received for this work and/or its publication. This research was funded by Sichuan University of Science & Engineering Postgraduate Innovation Fund Project, grant number Y2024296, Y2024297.

Footnotes

Edited by: Xiaochun Cheng, Swansea University, United Kingdom

Reviewed by: Chen Shanxiong, Southwest University, China

Yangyang Bao, Peng Cheng Laboratory, China

Data availability statement

Publicly available datasets were analyzed in this study. This data can be found here: https://doi.org/10.6084/m9.figshare.21540159.v1.

Author contributions

HC: Conceptualization, Funding acquisition, Writing – review & editing. ZD: Software, Writing – original draft. LL: Methodology, Supervision, Writing – review & editing. JW: Conceptualization, Validation, Writing – review & editing. JZ: Data curation, Formal analysis, Writing – review & editing. RZ: Funding acquisition, Project administration, Resources, Writing – review & editing.

Conflict of interest

The author(s) declared that this work was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declared that generative AI was used in the creation of this manuscript. This paper uses artificial intelligence to correct relevant English. Because none of the author(s) in the paper are native English speakers, we have incorporated artificial intelligence for English correction in some paragraphs of the paper.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

References

  • 1.Siegel RL, Giaquinto AN, Jemal A. Cancer statistics, 2024. CA Cancer J Clin. (2024) 74:12–49. doi: 10.3322/caac.21820 [DOI] [PubMed] [Google Scholar]
  • 2.Lee Y-C, Lee Y-L, Chuang J-P, Lee J-C. Differences in survival between colon and rectal cancer from SEER data. PLoS ONE. (2013) 8:e78709. doi: 10.1371/journal.pone.0078709 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3.Pamudurthy V, Lodhia N, Konda VJ. Advances in endoscopy for colorectal polyp detection and classification. Baylor Univ Med Center. (2019) 71:28–35. doi: 10.1080/08998280.2019.1686327 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Fischer AH, Jacobson KA, Rose J, Zeller R. Hematoxylin and eosin staining of tissue and cell sections. CSH Protoc. (2008). doi: 10.1101/pdb.prot4986 [DOI] [PubMed] [Google Scholar]
  • 5.Chan JK. The wonderful colors of the hematoxylin-eosin stain in diagnostic surgical pathology. Int J Surg Pathol. (2014) 22:12–32. doi: 10.1177/1066896913517939 [DOI] [PubMed] [Google Scholar]
  • 6.Labianca R, Nordlinger B, Beretta GD, Mosconi S, Mandalà M, Cervantes A, et al. Early colon cancer: ESMO clinical practice guidelines for diagnosis, treatment and follow-up. Ann Oncol. (2013) 24:64–72. doi: 10.1093/annonc/mdt354 [DOI] [PubMed] [Google Scholar]
  • 7.You C, Zhao R, Liu F, Dong S, Chinchali S, Topcu U, et al. Class-aware adversarial transformers for medical image segmentation. Proc Neural Inf Process Syst. (2022) 35:29582–96. [PMC free article] [PubMed] [Google Scholar]
  • 8.Fan D-P, Ji G-P, Zhou T, Chen G. PraNet: parallel reverse attention network for polyp segmentation. Proc Med Image Comput Comput-Assist Interv (MICCAI). (2020) 12266:263–73. doi: 10.1007/978-3-030-59725-2_26 [DOI] [Google Scholar]
  • 9.Shang C, Song Z, Qiu H, Wang L, Meng F, Li H. Prompt-driven referring image segmentation with instance contrasting. In: Proceedings IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE: Seattle, WA; (2024). doi: 10.1109/CVPR52733.2024.00395 [DOI] [Google Scholar]
  • 10.Chen H, Li C, Wang G, Li X, Rahaman MM, Sun H, et al. GasHis-Transformer: a multi-scale visual transformer approach for gastric histopathological image detection. Pattern Recognit. (2022) 130:108827. doi: 10.1016/j.patcog.2022.108827 [DOI] [Google Scholar]
  • 11.Hu W, Chen H, Liu W, Li X, Sun H, Huang X, et al. A comparative study of gastric histopathology sub-size image classification: from linear regression to visual transformer. Front Med. (2022) 9:1072109. doi: 10.3389/fmed.2022.1072109 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12.Sarhan MH, Albarqouni S, Yigitsoy M, Navab N, Eslami A. Multi-scale microaneurysms segmentation using embedding triplet loss. In: Proceedings of the International Conference on Medical Image Computing and Computer-Assisted Intervention (MICCAI) (Cham: ), Vol. 11764 (2019). doi: 10.1007/978-3-030-32239-7_20 [DOI] [Google Scholar]
  • 13.Chen T, Zhou X, Tan Z, Wu Y, Wang Z, Ye Z, et al. Zig-RiR: Zigzag RWKV-in-RWKV for efficient medical image segmentation. IEEE Trans. Med. Imaging. (2025) 44:3245–57. doi: 10.1109/TMI.2025.3561797 [DOI] [PubMed] [Google Scholar]
  • 14.Zhu Y, Xiong C, Zhao H, Yao Y. SAM-Att: a prompt-free SAM-related model with an attention module for automatic segmentation of the left ventricle in echocardiography. IEEE Access. (2024) 12:50335–46. doi: 10.1109/ACCESS.2024.3384383 [DOI] [Google Scholar]
  • 15.Xu Z, Wu D, Yu C, Chu X, Song N, Gao C. SCTNet: single-branch CNN with transformer semantic information for real-time segmentation. In: Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 38. Vancouver, BC (2023). p. 6378–86. doi: 10.1609/aaai.v38i6.28457 [DOI] [Google Scholar]
  • 16.Peng S, Qin W, Pan W, Zhang J, Zhu J, Wu J, et al. EBHI-Seg: a novel enteroscope biopsy histopathological hematoxylin and eosin image dataset for image segmentation tasks. Sci Data. (2021) 8:89. doi: 10.3389/fmed.2023.1114673 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Zhang D, Huang G, Zhang Q, Han J. Cross-modality deep feature learning for brain tumor segmentation. Pattern Recognit. (2020) 110:107562. doi: 10.1016/j.patcog.2020.107562 [DOI] [Google Scholar]
  • 18.Guo X, Schwartz LH, Zhao B. Fully convolutional network for liver segmentation and lesions detection. Proc Deep Learn Data Label Med Appl. (2019) 46:4455–69. doi: 10.1007/978-3-319-46976-8_9 [DOI] [PubMed] [Google Scholar]
  • 19.Bi L, Kim J, Kumar A, Fulham MJ, Feng D. Stacked fully convolutional networks with multi-channel learning: application to medical image segmentation. Vis Comput. (2017) 33:1061–71. doi: 10.1007/s00371-017-1379-4 [DOI] [Google Scholar]
  • 20.Ronneberger O, Fischer P, Brox T. U-Net: convolutional networks for biomedical image segmentation. In: Medical Image Computing and Computer-Assisted Intervention – MICCAI 2015 (Cham: ), Vol. 9351 (2015). p. 234–41. doi: 10.1007/978-3-319-24574-4_28 [DOI] [Google Scholar]
  • 21.Xiao X, Lian S, Luo Z, Li S. Weighted Res-UNet for high-quality retina vessel segmentation. In: Proceedings of the IEEE International Conference on Image Processing (ICIP: ). Athens (2018). p. 436–40. doi: 10.1109/ITME.2018.00080 [DOI] [Google Scholar]
  • 22.Alom MZ, Yakopcic C, Hasan M, Taha TM, Asari VK. Recurrent residual U-Net for medical image segmentation. J Med Imag. (2019) 6:014006. doi: 10.1117/1.JMI.6.1.014006 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 23.Li X, Chen H, Qi X, Dou Q, Fu C-W, Heng P-A. H-DenseUNet: hybrid densely connected UNet for liver and tumor segmentation from CT volumes. IEEE Trans Med Imaging. (2018) 37:2663–74. doi: 10.1109/TMI.2018.2845918 [DOI] [PubMed] [Google Scholar]
  • 24.Isensee F, Jaeger PF, Kohl SAA, Petersen J, Maier-Hein KH. nnU-Net: a self-configuring method for deep learning-based biomedical image segmentation. Nat Methods. (2021) 18:203–11. doi: 10.1038/s41592-020-01008-z [DOI] [PubMed] [Google Scholar]
  • 25.Vaswani A, Shazeer N, Parmar N, Uszkoreit J, Jones L, Gomez AN, et al. Attention is all you need. In: Proceedings of Neural Information Processing Systems (NIPS) (Long Beach, CA: ), Vol. 30 (2017). p. 5998–6008. [Google Scholar]
  • 26.Chen J, Lu Y, Yu Q, Luo X, Adeli E, Wang Y, et al. TransUNet: transformers make strong encoders for medical image segmentation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (2021). [Google Scholar]
  • 27.Zhang Y, Li Z, Nan N, Wang X. TranSegNet: hybrid CNN-vision transformers encoder for retina segmentation of optical coherence tomography. Life. (2023) 13:976. doi: 10.3390/life13040976 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 28.Liu Z, Lin Y, Cao H, Wei Y, Zhang Z, Lin S, et al. Swin transformer: hierarchical vision transformer using shifted windows. In: Proceedings of IEEE/CVF International Conference on Computer Vision (ICCV). IEEE: Montreal, QC; (2021). p. 10012–22. doi: 10.1109/ICCV48922.2021.00986 [DOI] [Google Scholar]
  • 29.Cao H, Wang Y, Chen J, Jiang D, Zhang X, Tian Q, et al. Swin-Unet: unet-like pure transformer for medical image segmentation. Proc Eur Conf Comput Vis (ECCV). (2021) 13868:205–18. doi: 10.1007/978-3-031-25066-8_9 [DOI] [Google Scholar]
  • 30.Dong B, Wang W, Fan D-P, Li J, Fu H, Shao L. Polyp-PVT: polyp segmentation with pyramid vision transformers. Artif Intell Rev. (2023) 56:6789–811. doi: 10.26599/AIR.2023.9150015 [DOI] [Google Scholar]
  • 31.Wang J, Huang C, Zhang W, Xu Y, Chen K. SSFormer: stepwise feature fusion: local guides global. Proc Med Image Comput Comput-Assist Interv (MICCAI). (2022) 13433:110–20. doi: 10.1007/978-3-031-16437-8_11 [DOI] [Google Scholar]
  • 32.Duc NT, Oanh NT, Thuy NT, Triet TM, Dinh VS. ColonFormer: an efficient transformer based method for colon polyp segmentation. IEEE Access. (2022) 10:80575–86. doi: 10.1109/ACCESS.2022.3195241 [DOI] [Google Scholar]
  • 33.Valanarasu JMJ, Oza P, Hacihaliloglu I, Patel VM. UNeXt: MLP-based rapid medical image segmentation network. Proc Med Image Comput Comput-Assist Interv (MICCAI). (2022) 13435:23–33. doi: 10.1007/978-3-031-16443-9_3 [DOI] [Google Scholar]
  • 34.Narasimha Raju AS, Venkatesh K, Rajababu M, Kumar Gatla R, Jakeer Hussain S, Satya Mohan Chowdary G, et al. Colorectal cancer unmasked: a synergistic AI framework for hyper-granular image dissection, precision segmentation, automated diagnosis. BMC Med Imaging. (2025) 25:283. doi: 10.1186/s12880-025-01826-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 35.Podda AS, Balia R, Manca MM, Martellucci J, Pompianu L. A deep learning strategy for the 3D segmentation of colorectal tumors from ultrasound imaging. Image Vis Comput. (2025) 162:105668. doi: 10.1016/j.imavis.2025.105668 [DOI] [Google Scholar]
  • 36.Liu X, Li X, Liu Z, Peng K, Chen S, Zhang Y, et al. Global-to-local deep interaction and boundary-aware transformer for accurate polyp segmentation. Eng Appl Artif Intell. (2026) 166:113543. doi: 10.1016/j.engappai.2025.113543 [DOI] [Google Scholar]
  • 37.Li L, Liu J, Chen S, Wang J, Li Y, Liao Q, et al. Segmentation of acute ischemic stroke lesions based on deep feature fusion. Inf Fusion. (2024) 114:102724. doi: 10.1016/j.inffus.2024.102724 [DOI] [Google Scholar]
  • 38.Ma J, He Y, Li F, Han L, You C, Wang B. Segment anything in medical images. Nat Commun. (2024) 15:654. doi: 10.1038/s41467-024-44824-z [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 39.Wang J, Sun K, Cheng T, Jiang B, Deng C, Zhao Y, et al. Deep high-resolution representation learning for visual recognition. IEEE Trans Pattern Anal Mach Intell. (2020) 43:3349–64. doi: 10.1109/TPAMI.2020.2983686 [DOI] [PubMed] [Google Scholar]
  • 40.Chen D, Mei JP, Wang C, Feng Y, Chen C. Online knowledge distillation with diverse peers. Proc AAAI Conf Artif Intell (AAAI). (2021) 35:7152–60. doi: 10.1609/aaai.v34i04.5746 [DOI] [Google Scholar]
  • 41.Xu K, Qin M, Sun F, Wang Y, Chen YK, Ren F. Learning in the frequency domain. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE: Seattle, WA; (2020). p. 1740–9. doi: 10.1109/CVPR42600.2020.00181 [DOI] [Google Scholar]
  • 42.Fan X, Wang X, Gao J, Wang J, Luo Z, Liu R. Bi-level learning of task-specific decoders for joint registration and one-shot medical image segmentation. In: Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). IEEE: Seattle, WA; (2024). p. 11726–35. doi: 10.1109/CVPR52733.2024.01114 [DOI] [Google Scholar]
  • 43.Guo M-H, Lu C-Z, Hou Q-H, Liu Z-N, Chen M-M, Hu S-M. SegNeXt: rethinking convolutional attention design for semantic segmentation. In: Advances in Neural Information Processing System (NeurIPS: ). Curran Associates, Inc: New Orleans, LA (2022). [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Publicly available datasets were analyzed in this study. This data can be found here: https://doi.org/10.6084/m9.figshare.21540159.v1.


Articles from Frontiers in Medicine are provided here courtesy of Frontiers Media SA

RESOURCES