Papers › Vivim: a Video Vision Mamba for Medical Video Segmentation

Vivim: a Video Vision Mamba for Medical Video Segmentation

25 Jan 2024arXiv:2401.14168archive 2025-07-28

Yijun Yang, Zhaohu Xing, Chunwang Huang, Lei Zhu

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.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2401.14168")

Code

Syntology Ran 10 of 13 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 2 ran · fixture could not drive it; 6 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

scott-yjyang/vivim officialmentioned in papermentioned on GitHubpytorchNOASSERTION report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 10 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
2ran · fixture could not drive it
6ran
3unverified

Licence: 13 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from scott-yjyang/vivim. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

binary_entropy_loss scott-yjyang/vivim/loss.py official repository ran licence not identified · pointer only · c6e70d5ac2de73bf · report
causal_conv1d_ref scott-yjyang/vivim/causal-conv1d/causal_conv1d/causal_conv1d_interface.py official repository ran no licence file found · pointer only · 0595d8b8521fd9ca · report
cv_random_flip scott-yjyang/vivim/data_polyp.py official repository ran · fixture could not drive it no licence file found · pointer only · 41839b27773cccf7 · report
jaccard scott-yjyang/vivim/misc2.py official repository ran licence not identified · pointer only · 00364c3c6b4b23e8 · report
load_model_from_dict scott-yjyang/vivim/modeling/utils.py official repository ran licence not identified · pointer only · 418a04607e943f31 · report
mask_iou scott-yjyang/vivim/loss.py official repository ran licence not identified · pointer only · 53bd64a4a61b8042 · report
randomCrop scott-yjyang/vivim/data_polyp.py official repository ran · our draft was wrong no licence file found · pointer only · b8fc70f2a16b23cc · report
randomRotation scott-yjyang/vivim/data_polyp.py official repository ran · our draft was wrong no licence file found · pointer only · 8d40bcc4f2cf3edb · report
structure_loss scott-yjyang/vivim/train_pl_polyp.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 797eafbb72dabcfd · report
structure_loss scott-yjyang/vivim/modeling/utils.py official repository ran licence not identified · pointer only · a0c651abef32e608 · report
cross_entropy_loss scott-yjyang/vivim/loss.py official repository unverified licence not identified · pointer only · e4f26582292cf067 · report
dice scott-yjyang/vivim/misc2.py official repository unverified licence not identified · pointer only · 1b2b6e788bbbb51a · report
precision scott-yjyang/vivim/misc2.py official repository unverified licence not identified · pointer only · a0be218082173339 · report

Tasks

Lesion SegmentationMambaSegmentationSemantic SegmentationState Space ModelsVideo Object SegmentationVideo Semantic Segmentation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

SPEED

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections