Slide-Level Prompt Learning with Vision Language Models for Few-Shot Multiple Instance Learning in Histopathology

Devavrat Tomar, Guillaume Vray, Dwarikanath Mahapatra, Sudipta Roy, Jean-Philippe Thiran +1 more
3/21/2025
cs.CV

Official code: LTS5/SLIP (4 stars, last commit 2025-08-19).

Abstract

In this paper, we address the challenge of few-shot classification in histopathology whole slide images (WSIs) by utilizing foundational vision-language models (VLMs) and slide-level prompt learning. Given the gigapixel scale of WSIs, conventional multiple instance learning (MIL) methods rely on aggregation functions to derive slide-level (bag-level) predictions from patch representations, which require extensive bag-level labels for training. In contrast, VLM-based approaches excel at aligning visual embeddings of patches with candidate class text prompts but lack essential pathological prior knowledge. Our method distinguishes itself by utilizing pathological prior knowledge from language models to identify crucial local tissue types (patches) for WSI classification, integrating this within a VLM-based MIL framework. Our approach effectively aligns patch images with tissue types, and we fine-tune our model via prompt learning using only a few labeled WSIs per category. Experimentation on real-world pathological WSI datasets and ablation studies highlight our method's superior performance over existing MIL- and VLM-based methods in few-shot WSI classification tasks. Our code is publicly available at https://github.com/LTS5/SLIP.

View on arXivView PDF

Code Implementations(1)

LTS5/SLIPOfficial100%

[ISBI 2025] SLIP: Slide-Level Prompt Learning with Vision Language Models for Few-Shot Multiple Instance Learning in Histopathology

40PythonJan 24, 20251 years ago

Similar Papers

Cite this paper

@article{tomar2025slidelevel,
  title  = {Slide-Level Prompt Learning with Vision Language Models for Few-Shot Multiple Instance Learning in Histopathology},
  author = {Devavrat Tomar and Guillaume Vray and Dwarikanath Mahapatra and Sudipta Roy and Jean-Philippe Thiran and Behzad Bozorgtabar},
  year   = {2025},
  eprint = {2503.17238},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.17238v1}
}

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

Discussion