Self-Prior Guided Mamba-UNet Networks for Medical Image Super-Resolution

Zexin Ji, Beiji Zou, Xiaoyan Kui, Pierre Vera, Su RuanarXiv 2024

TL;DR

SMamba-UNet is a novel architecture for medical image super-resolution that leverages State Space Models (Mamba) to capture long-range dependencies with linear computational complexity. By integrating a self-prior learning mechanism and an improved multi-directional scanning module, the model achieves state-of-the-art performance on MRI datasets while being significantly more memory-efficient than Transformer-based alternatives.

What Problem Does This Paper Address?

High-resolution medical imaging, such as MRI, is essential for accurate clinical diagnosis but often requires long acquisition times and expensive equipment. Super-resolution (SR)—the process of computationally upscaling low-resolution (LR) images—offers a cost-effective solution.

However, existing deep learning approaches face a trade-off:

  1. CNNs are efficient but have limited receptive fields, making them "short-sighted" and unable to capture the global context necessary for reconstructing complex anatomical structures.
  2. Transformers can model long-range dependencies but suffer from quadratic computational complexity ($O(L^2)$ relative to sequence length). This makes them prohibitively expensive in terms of GPU memory and processing time for high-resolution medical data.

The authors aim to bridge this gap by using Mamba, a State Space Model (SSM) that provides global receptive fields with linear complexity ($O(L)$).

Methods

The proposed SMamba-UNet framework (shown in Figure 1) combines the hierarchical structure of a U-Net with the efficiency of Mamba blocks.

Fig. 1. Our SMamba-Unet framework primarily comprising a patch embedding layer, a Mamba-based encoder module, a Mamba-based decoder module, and a final projection layer.

Key innovations include:

  • Self-Prior Learning (SPL): During training, the model is forced to perform a "self-reasoning" task. The authors perturb the brightness of a random 5x5 block in the input image. To successfully reconstruct the high-resolution output, the network must learn to "inpaint" this area by mining texture and brightness priors from the rest of the image.
  • Improved 2D-Selective-Scan (ISS2D): Standard Vision Mamba models typically scan image patches in two directions. The ISS2D module (detailed in Figure 2) expands this to four directions (horizontal and vertical, forward and backward). Crucially, it introduces adaptive weights to fuse these sequences, allowing the model to dynamically prioritize the most relevant directional information for a given image.
The Vision Mamba module and the ISS2D module, showing the four-direction scanning and adaptive weighting mechanism.
  • Hybrid Loss Function: The model is trained using a combination of $L_1$ pixel-level loss and a VGG19-based perceptual loss to ensure both numerical accuracy and visual realism.

Datasets

The model was evaluated on two widely used public medical imaging datasets:

  • IXI: T2-weighted brain MRI scans (368 subjects for training, 92 for testing).
  • fastMRI: T2-weighted knee MRI scans (227 subjects for training, 45 for testing).

The authors tested both $2\times$ and $4\times$ upsampling factors, using a frequency-domain degradation model to simulate realistic low-resolution images.

Key Insights and Ideas

  • Efficiency is King: The most striking insight is the memory efficiency. For a $128 \times 128$ input, Mamba-UNet required only ~4.5 GB of GPU memory compared to ~30.6 GB for a comparable TransUnet. This makes high-resolution SR accessible on consumer-grade hardware.
  • Inpainting as a Prior: The "Self-Prior Learning" mechanism effectively turns the SR task into a partial inpainting task. This forces the model to understand the internal statistics of the specific image it is processing, leading to better recovery of fine textures.
  • Directional Importance: By moving from simple addition to adaptive weighting in the ISS2D module, the authors acknowledge that spatial dependencies in medical images aren't uniform. A horizontal scan might capture different anatomical features than a vertical one, and the model should decide which to trust.

Key Results

SMamba-UNet consistently outperformed established methods like SRCNN, VDSR, and even recent specialized architectures like DiVANet.

  • Quantitative Performance: On the IXI $2\times$ task, SMamba-UNet achieved a PSNR of 33.36 dB and an SSIM of 0.9355, surpassing all competitors.
  • Qualitative Clarity: Error maps (visualized in Figures 3 and 4) show that SMamba-UNet produces significantly lower residuals in high-texture areas compared to CNN-based methods, which often produce blurry edges.
  • Ablation Success: Removing either the ISS2D or the SPL components led to measurable drops in PSNR, confirming that both the architectural and training-strategy innovations contribute to the final result.

Limitations and Future Work

While the paper demonstrates strong results for single-modality MRI, the authors note that multi-modal medical image super-resolution (e.g., using a T1 scan to help upscale a T2 scan) remains an intriguing future direction. Additionally, while Mamba reduces complexity, the optimal patch size remains a hyperparameter that requires tuning; smaller patches improve detail but increase the sequence length the SSM must handle.

Not discussed in the paper is the model's performance on non-MRI modalities (like CT or Ultrasound) or its robustness to different types of image noise beyond the frequency-domain degradation model used.

Summary updated

BibTeX
@misc{ji2024self,
  author = {Zexin Ji and Beiji Zou and Xiaoyan Kui and Pierre Vera and Su Ruan},
  title = {{Self-Prior Guided Mamba-UNet Networks for Medical Image Super-Resolution}},
  year = {2024},
  eprint = {2407.05993},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.05993},
}
Figure