Merging Context Clustering with Visual State Space Models for Medical Image Segmentation

Yun Zhu, Dong Zhang, Yi Lin, Yifei Feng, Jinhui Tang
1/3/2025
73 citations
cs.CVcs.AI

Official code: zymissy/CCViM (65 stars, Python, Apache-2.0, last commit 2025-08-01).

Abstract

Medical image segmentation demands the aggregation of global and local feature representations, posing a challenge for current methodologies in handling both long-range and short-range feature interactions. Recently, vision mamba (ViM) models have emerged as promising solutions for addressing model complexities by excelling in long-range feature iterations with linear complexity.

Show full abstract

However, existing ViM approaches overlook the importance of preserving short-range local dependencies by directly flattening spatial tokens and are constrained by fixed scanning patterns that limit the capture of dynamic spatial context information. To address these challenges, we introduce a simple yet effective method named context clustering ViM (CCViM), which incorporates a context clustering module within the existing ViM models to segment image tokens into distinct windows for adaptable local clustering. Our method effectively combines long-range and short-range feature interactions, thereby enhancing spatial contextual representations for medical image segmentation tasks. Extensive experimental evaluations on diverse public datasets, i.e., Kumar, CPM17, ISIC17, ISIC18, and Synapse demonstrate the superior performance of our method compared to current state-of-the-art methods. Our code can be found at https://github.com/zymissy/CCViM.

View on arXivView PDF

Code Implementations(1)

zymissy/CCViMOfficial100%
Apache-2.0

Merging Context Clustering with Visual State Space Models for Medical Image Segmentation

657PythonDec 30, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhu2025merging,
  title  = {Merging Context Clustering with Visual State Space Models for Medical Image Segmentation},
  author = {Yun Zhu and Dong Zhang and Yi Lin and Yifei Feng and Jinhui Tang},
  year   = {2025},
  eprint = {2501.01618},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.01618v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.01618.svg)](https://codeofpaper.com/paper/2501.01618)

Discussion