Vim4Path: Self-Supervised Vision Mamba for Histopathology Images

Ali Nasiri-Sarvi, Vincent Quoc-Huy Trinh, Hassan Rivaz, Mahdi S. Hosseini
4/20/2024
eess.IVcs.CV

Official code: AtlasAnalyticsLab/Vim4Path (60 stars, MIT, last commit 2025-07-23).

Abstract

Representation learning from Gigapixel Whole Slide Images (WSI) poses a significant challenge in computational pathology due to the complicated nature of tissue structures and the scarcity of labeled data. Multi-instance learning methods have addressed this challenge, leveraging image patches to classify slides utilizing pretrained models using Self-Supervised Learning (SSL) approaches. The performance of both SSL and MIL methods relies on the architecture of the feature encoder. This paper proposes leveraging the Vision Mamba (Vim) architecture, inspired by state space models, within the DINO framework for representation learning in computational pathology. We evaluate the performance of Vim against Vision Transformers (ViT) on the Camelyon16 dataset for both patch-level and slide-level classification. Our findings highlight Vim's enhanced performance compared to ViT, particularly at smaller scales, where Vim achieves an 8.21 increase in ROC AUC for models of similar size. An explainability analysis further highlights Vim's capabilities, which reveals that Vim uniquely emulates the pathologist workflow-unlike ViT. This alignment with human expert analysis highlights Vim's potential in practical diagnostic settings and contributes significantly to developing effective representation-learning algorithms in computational pathology. We release the codes and pretrained weights at \url{https://github.com/AtlasAnalyticsLab/Vim4Path}.

View on arXivView PDF

Code Implementations(1)

MIT

[CVPR 2024] Self-Supervised Vision Mamba for Histopathology Images

606C, C++Feb 1, 20241 years agoMIT

Similar Papers

Cite this paper

@article{nasirisarvi2024vimpath,
  title  = {Vim4Path: Self-Supervised Vision Mamba for Histopathology Images},
  author = {Ali Nasiri-Sarvi and Vincent Quoc-Huy Trinh and Hassan Rivaz and Mahdi S. Hosseini},
  year   = {2024},
  eprint = {2404.13222},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.13222v2}
}

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/2404.13222.svg)](https://codeofpaper.com/paper/2404.13222)

Discussion