Abstract
Accurate medical image segmentation typically requires dense, pixel-perfect annotations, which are costly and time-consuming to produce. This paper presents SparseMamba-PCL, a framework designed to achieve high-quality segmentation using only sparse "scribble" annotations. By integrating a novel Sparse Mamba architecture, an iterative boundary estimation algorithm (SPOBE), and a progressive collaborative learning (PCL) strategy guided by the Med-SAM foundation model, the proposed method effectively recovers structural details and precise anatomical boundaries. Experimental results across multiple MRI datasets demonstrate that SparseMamba-PCL significantly outperforms existing weakly-supervised methods, achieving state-of-the-art performance with minimal annotation effort.
Introduction
Deep learning models for medical segmentation often rely on massive datasets with manual, pixel-level labels. To reduce annotation burden, "weakly-supervised" learning using scribbles has emerged as a popular alternative. However, scribbles inherently lack boundary information, leading to imprecise segmentation masks. Furthermore, while State Space Models (SSMs) like Mamba offer efficient global context modeling, standard multi-directional scanning (SS2D) introduces feature redundancy that can obscure fine details. SparseMamba-PCL addresses these challenges by bootstrapping boundary information and optimizing the Mamba scanning process through a collaborative training paradigm.
Methodology
The SparseMamba-PCL framework consists of three primary components: the Scribble-Propagated Object Boundary Estimator (SPOBE), the Sparse Mamba Network, and the Progressive Collaborative Learning (PCL) strategy.
Scribble-Propagated Object Boundary Estimator (SPOBE)
SPOBE is an iterative algorithm designed to enrich sparse scribbles with boundary information. It utilizes a standard edge detector and iteratively dilates the scribbles, logically combining them with the edge map to estimate the true object boundaries. This process creates "enriched scribbles" that provide better supervision for the network. By setting a threshold on how many edge pixels can be added per iteration, SPOBE prevents noisy, irrelevant edges from corrupting the training data.
Sparse Mamba Network
The core architecture employs a Sparse SS2D module within the Mamba blocks. Unlike standard SS2D, which scans in four directions and creates redundancy, Sparse SS2D uses a skip-sampling procedure to ensure each image patch is scanned exactly once. This reduces computational overhead and improves spatial representation. Importantly, only this network is used during inference, ensuring fast prediction speeds.
Progressive Collaborative Learning (PCL)
During training, the Sparse Mamba network is paired with Med-SAM (a medical variant of the Segment Anything Model). The network generates a coarse mask, which is converted into a bounding box to prompt Med-SAM. Med-SAM then produces a highly refined mask that serves as a pseudo-label for the Sparse Mamba network. Simultaneously, feature embeddings from both models are fused to create a richer representation, creating a positive feedback loop where both models iteratively improve each other.
Results
The framework was evaluated on three public medical MRI datasets: ACDC (Cardiac Cine-MRI), MSCMRseg (Cardiac LGE MRI), and CHAOS (Abdominal T1-weighted MRI). SparseMamba-PCL achieved state-of-the-art results across all benchmarks:
- ACDC Dataset: Achieved an 89.15% Dice score and a 5.49mm HD95 (Hausdorff Distance), outperforming the next best model, Scribbleformer (88.63% Dice, 5.85mm HD95).
- CHAOS Dataset: Achieved a 73.84% Dice score and 16.77mm HD95, significantly beating the baseline SparseMamba (68.01% Dice, 42.63mm HD95).
- Ablation Studies: The inclusion of the SPOBE boundary estimator and the PCL training strategy improved the baseline SparseMamba's Dice score by approximately 4 to 8 percentage points across all datasets.
Qualitative visual results show that SparseMamba-PCL produces much smoother and more anatomically accurate boundaries compared to the jagged edges produced by competing weakly-supervised methods.
Conclusion
SparseMamba-PCL demonstrates that high-quality medical segmentation is achievable with minimal annotation effort. By combining iterative boundary estimation with the prior knowledge of foundation models like Med-SAM and the efficient context modeling of Sparse Mamba, the framework sets a new standard for scribble-supervised learning. While the training phase involves significant computational overhead due to the collaborative use of multiple large models, the resulting inference-ready Sparse Mamba network provides robust and clinically relevant segmentation. Future work may explore extending this approach to 3D volumetric data and other imaging modalities.
Summary updated