arXiv:2610.32282cs.CVOct 2026

Manuscript Offprint

arXiv:2610.32282

Polyp-VSSD: A Pre-trained Transformer with Local-Global Joint VSSD Decoding for Polyp Segmentation

Xiaobo Zhu, Shiwei Wu, Yu An, Yuechen Tao, He Sun, Song Zhang, Zhenyu Liu

Xiaobo Zhu 1,2^{1,2}, Shiwei Wu 3^{3}, Yu An 4,5^{4,5}, Yuechen Tao 1,2^{1,2}, He Sun 4,5^{4,5}, Song Zhang 1,2^{1,2}, and Zhenyu Liu 1,2,∗^{1,2,*}

1^{1}CAS Key Laboratory of Molecular Imaging and Beijing Key Laboratory of Molecular Imaging, Institute of Automation, Chinese Academy of Sciences, Beijing 100190, China

2^{2}School of Artificial Intelligence, University of Chinese Academy of Sciences, Beijing 100049, China

3^{3}School of Computer Science and Engineering, Nanjing University of Science and Technology, Nanjing, Jiangsu 210094, China

4^{4}School of Engineering Medicine, Beihang University, Beijing 100191, China

5^{5}Key Laboratory of Big Data-Based Precision Medicine (Beihang University), Ministry of Industry and Information Technology of China, Beijing 100191, China

∗^{*}Corresponding author: Zhenyu Liu

Abstract—Early detection of colorectal polyps is essential for preventing colorectal cancer, making accurate polyp segmentation a key component in computer-aided diagnosis systems. However, existing endoscopic segmentation methods often exhibit limited representational capacity and insufficient integration of global and local contextual information. To address these limitations, we propose Polyp-VSSD, a novel local–global joint decoding framework built upon a pre-trained Transformer backbone for high-precision polyp segmentation. Polyp-VSSD leverages the strong feature expressiveness of large-scale visual pre-training and unifies global semantic modeling with local fine-grained reconstruction to enhance segmentation fidelity. Extensive experiments on multiple public endoscopic datasets demonstrate that our approach significantly outperforms state-of-the-art methods in both Dice and IoU. On the EndoScene dataset, Polyp-VSSD achieves mIoU and mDice scores of 0.903 and 0.946, respectively, highlighting its robustness and strong generalization capability. This work presents an effective and scalable solution for intelligent endoscopic image analysis.

Index Terms—polyp segmentation, foundation model, endoscopic imaging, state space duality

I. INTRODUCTION

Colorectal cancer (CRC) is one of the most common cancers globally, and its consistently high incidence and mortality rates present a significant threat to public health [1]–[3]. Extensive clinical evidence shows that more than 90% of CRC cases arise from the malignant transformation of adenomatous polyps, a process that typically progresses over several years [4]. Consequently, early screening via colonoscopy—enabling timely detection and removal of precancerous lesions, particularly colorectal polyps—remains an essential strategy for preventing CRC and reducing associated mortality [5], [6]. However, precisely detecting and segmenting polyps during colonoscopy remains challenging because of the wide variability in polyp morphology, size, and color, along with frequent imaging artifacts such as uneven illumination, specular highlights, motion blur, and residual bowel contents. Therefore, developing a highly accurate and robust automated polyp segmentation system is fundamental to building an effective Computer-Aided Diagnosis (CAD) framework, which can alleviate clinicians' workload and enhance both diagnostic efficiency and accuracy.

In recent years, with the rapid advancement of deep learning—particularly convolutional neural networks (CNNs) and Transformer-based architectures—artificial intelligence (AI) has shown remarkable potential in medical image analysis [7]. By learning complex visual representations, these models have been successfully applied to lesion detection, classification, and segmentation tasks. In polyp segmentation, deep learning-based approaches have substantially outperformed traditional image processing methods, leading to notable improvements in segmentation accuracy. For example, the U-Net architecture and its numerous variants [8], as well as methods integrating attention mechanisms and cross-scale feature fusion [9], can effectively extract polyp boundaries from complex endoscopic scenes through end-to-end feature learning. Despite these advancements, current models still fall short of fully addressing the intrinsic challenges of endoscopic imaging, such as the low contrast between polyps and surrounding mucosa, highly irregular polyp shapes, and domain shift across datasets collected under different clinical conditions.

To overcome the limitations of existing models in handling long-range dependencies and computational efficiency, State Space Models (SSMs) have attracted increasing attention due to their linear computational complexity. Mamba and its enhanced variant, Mamba2 [10], achieve performance comparable to—or even exceeding—that of Transformers in sequence modeling tasks by incorporating selective state-space mechanisms and leveraging State Space Duality (SSD). The SSD framework uncovers an algorithmic-level duality between SSMs and structured masked attention, facilitating both computational acceleration and improved model capacity. Given that the original SSD/SSM formulation is inherently causal, we introduce Visual State Space Duality (VSSD) [11] to extend these advantages to non-causal visual tasks. By adopting a non-causal SSD formulation and integrating multi-scan strategies, VSSD effectively adapts this efficient linear decoding paradigm to the visual domain. This establishes a new pathway for designing visual backbone networks that preserve strong performance while offering computational benefits comparable to or surpassing those of Transformer-based architectures.

In the field of polyp segmentation, numerous deep learning-based methods have been proposed. PraNet [12] addresses the challenges posed by polyp size variation and indistinct boundaries by introducing Parallel Partial Decoders (PPD) and Reverse Attention (RA) modules, which operate in a region-boundary coordination scheme to refine predictions and improve contour delineation. ColnNet [13] integrates convolution and deconvolution (involution) operations, further incorporating statistical feature attention and anomaly boundary approximation modules to enhance spatial feature discrimination and recursive boundary fusion, showing particular strength in detecting subtle or diminutive polyps. With the rise of large-scale pre-trained vision models, recent research trends have shifted toward leveraging foundation models for medical imaging. For example, ASPS [14] exploits the strong generalization of the Segment Anything Model (SAM) by coupling trainable CNNs with frozen ViTs through a Cross-Branch Feature Augmentation (CFA) module, effectively narrowing the domain gap between natural and endoscopic images while recovering fine-grained local structures. Polyper [15] further draws inspiration from clinical workflow to introduce a boundary-sensitive attention mechanism that uses interior features to enhance boundary discrimination. In parallel, CFA-Net [16] develops a dual-stream framework consisting of a boundary prediction network and Cross-Level Feature Fusion (CFF) modules, enabling the joint aggregation of multi-scale and cross-level semantics to better handle polyp size variability.

However, although these models have substantially advanced polyp segmentation, they continue to face several fundamental limitations [17]. First, the encoder is often trained from scratch or subjected only to limited pre-training on small publicly available polyp datasets (e.g., Kvasir-SEG, CVC-ClinicDB). Such restricted training leads to insufficient generalization ability, preventing the encoder from learning robust representations that can adapt to complex endoscopic environments and diverse polyp morphologies—particularly when encountering unseen or rare polyp appearances. Second, existing decoder designs often fail to adequately exploit global semantic information and local structural details in a unified manner. Many rely on relatively simple feature fusion strategies and thus struggle to simultaneously leverage long-range global context (e.g., overall polyp location and shape) for linear decoding while reconstructing fine-grained, high-resolution local details (e.g., precise polyp boundaries). This imbalance ultimately undermines segmentation accuracy and reduces overall robustness.

To address these challenges, we propose Polyp-VSSD, a polyp segmentation framework that integrates a large-scale pre-trained Transformer backbone with a Local–Global Joint VSSD Decoding (LG-VSSD) mechanism. First, we pre-train the Transformer encoder using the DINOv2 [18] self-supervised learning paradigm on a large-scale private endoscopic video dataset exceeding 20,000 minutes. This enables the encoder to acquire robust and highly generalizable representations tailored to diverse endoscopic morphologies. Second, we carefully design the LG-VSSD decoder, which incorporates a lightweight CNN branch to recover fine-grained local structures and a VSSD-based branch to perform efficient linear decoding of long-range global features. By jointly leveraging local detail reconstruction and global semantic modeling, the proposed decoder yields segmentation outputs that preserve precise boundary information while maintaining rich contextual understanding. Moreover, we conduct extensive evaluations across five public datasets—CVC-ClinicDB, Kvasir-SEG, CVC-ColonDB, ETIS-LaribPolypDB, and EndoScene. The experimental results show that Polyp-VSSD significantly surpasses existing state-of-the-art methods across key metrics such as Dice and IoU. In particular, on the challenging EndoScene dataset, Polyp-VSSD attains an mIoU of 0.903 and an mDice of 0.946, demonstrating outstanding robustness and strong generalization capability. Our contributions are summarized as follows:

  • Through self-supervised pre-training on a large-scale private endoscopy dataset, a novel Transformer encoder is obtained, exhibiting strong generalization and significantly enhanced polyp feature representation.

• An innovatively designed local–global joint VSSD decoder (LG-VSSD) integrates the detail-preserving strengths of the CNN branch with the global linear decoding efficiency of the VSSD branch, enabling high-precision and high-performance polyp segmentation.

• Extensive and systematic evaluations over five mainstream public polyp segmentation benchmarks demonstrate that Polyp-VSSD delivers state-of-the-art results, showing consistent superiority across all datasets.

References (28)