Skip to main content
QUICK REVIEW

[Paper Review] Vivim: a Video Vision Mamba for Medical Video Segmentation

Yijun Yang, Zhaohu Xing|arXiv (Cornell University)|Jan 25, 2024
Generative Adversarial Networks and Image SynthesisComputer Science26 citations
TL;DR

Vivim introduces a Video Vision Mamba framework that uses spatiotemporal selective state-space modeling (ST-Mamba) within a hierarchical encoder to efficiently perform medical video object segmentation.

ABSTRACT

Medical video segmentation gains increasing attention in clinical practice due to the redundant dynamic references in video frames. However, traditional convolutional neural networks have a limited receptive field and transformer-based networks are mediocre in constructing long-term dependency from the perspective of computational complexity. This bottleneck poses a significant challenge when processing longer sequences in medical video analysis tasks using available devices with limited memory. Recently, state space models (SSMs), famous by Mamba, have exhibited impressive achievements in efficient long sequence modeling, which develops deep neural networks by expanding the receptive field on many vision tasks significantly. Unfortunately, vanilla SSMs failed to simultaneously capture causal temporal cues and preserve non-casual spatial information. To this end, this paper presents a Video Vision Mamba-based framework, dubbed as Vivim, for medical video segmentation tasks. Our Vivim can effectively compress the long-term spatiotemporal representation into sequences at varying scales with our designed Temporal Mamba Block. We also introduce an improved boundary-aware affine constraint across frames to enhance the discriminative ability of Vivim on ambiguous lesions. Extensive experiments on thyroid segmentation, breast lesion segmentation in ultrasound videos, and polyp segmentation in colonoscopy videos demonstrate the effectiveness and efficiency of our Vivim, superior to existing methods. The code is available at: https://github.com/scott-yjyang/Vivim. The dataset will be released once accepted.

Motivation & Objective

  • Motivate improved long-range temporal modeling for medical video segmentation.
  • Develop a computationally efficient architecture that captures spatiotemporal cues across scales.
  • Demonstrate effectiveness on breast ultrasound lesion segmentation and colonoscopy polyp segmentation.
  • Provide a lightweight decoder that fuses multi-level features to predict segmentation masks.

Proposed method

  • Introduce Temporal Mamba Block to fuse spatial attention with temporal dependencies.
  • Use a hierarchical encoder to extract multi-level spatiotemporal features at resolutions 1/4, 1/8, 1/16, 1/32.
  • Replace self-attention with ST-Mamba (spatiotemporal selective scan) for efficient long-sequence modeling.
  • Employ a lightweight CNN-based decoder to fuse multi-level features and predict segmentation masks.
  • Ground ST-Mamba in state space models with discrete A, B, C matrices and zero-order hold discretization for efficient kernel construction.
  • Train in an end-to-end manner on ultrasound breast lesion and colonoscopy polyp video datasets with standard losses (cross-entropy and IoU).
Figure 1: (a ) The overview of the proposed Vivim. (b) The fundamental building block of Vivim, namely Temporal Mamba Block. (c) ST-Mamba incorporates spatiotemporal sequence modeling for video vision tasks in a multi-way spirit.
Figure 1: (a ) The overview of the proposed Vivim. (b) The fundamental building block of Vivim, namely Temporal Mamba Block. (c) ST-Mamba incorporates spatiotemporal sequence modeling for video vision tasks in a multi-way spirit.

Experimental results

Research questions

  • RQ1Can ST-Mamba capture long-range spatiotemporal dependencies more efficiently than traditional Transformer self-attention in medical video segmentation?
  • RQ2Does a hierarchical Temporal Mamba encoder improve segmentation performance across multiple scales compared to single-scale methods?
  • RQ3Is a lightweight CNN decoder sufficient to fuse multi-level ST-Mamba features for accurate segmentation?
  • RQ4How does Vivim perform on breast ultrasound lesion segmentation and colonoscopy polyp segmentation in terms of accuracy and speed?
  • RQ5What are the computational trade-offs between ST-Mamba and self-attention for long video sequences?

Key findings

  • Vivim achieves strong segmentation performance on polyp and breast lesion video datasets, outperforming several state-of-the-art methods across metrics.
  • The Temporal Mamba Block enables efficient intra- and inter-frame dependency modeling with reduced computational cost compared to full self-attention.
  • ST-Mamba, with spatiotemporal selective scan, effectively handles long video sequences while maintaining higher FPS than many Transformer-based approaches.
  • The hierarchical encoder provides multi-scale representations that improve boundary accuracy and segmentation fidelity in medical videos.
  • Experiments on CVC-300, CVC-612, ASU-Mayo, and breast US datasets demonstrate the universality and effectiveness of Vivim.
  • Vivim achieves superior run-time performance on the breast ultrasound dataset, illustrating advantages in speed alongside accuracy.
Figure 2: Qualitative results on CVC-612-T.
Figure 2: Qualitative results on CVC-612-T.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.