MSCPT
Prompt tuning of a pre-trained vision-language model for few-shot whole slide image classification.
Medical imaging · 1,031 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Medical imaging
- Parameters
- 151M
- Operations
- 1,031
- Framework
- PyTorch
- Recurrent
- No
- Published
- IEEE Transactions on Medical Imaging 2025
- Paper
- MSCPT: Few-shot Whole Slide Image Classification with Multi-scale and Context-focused Prompt Tuning
- Cited by
- 22 (as of 29 October 2026)
- Authors
- Minghao Han, Linhao Qu, Dingkang Yang and others
- Source
- GitHub: Hanminghao/MSCPT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m18221
- Graph hash
- ef2c7791e300d639a9239b6d76ebb61461b883823300ad5a863b1eeb7785f3e2
- Skeleton hash
- 992442340a22ab6a09a6970d0f8faf203bfabc25cd07963b8a8b6f6972d10790
- Architecture hash
- 6ce84256a2b1e5c4646ef16ceb538ea60c1bd1c73487b69ff3d084c62891fc76
- Diagram SHA-256
- 776e0a83868d0ec6be86b3ddcbaa43979c0ec5c11162cfce747aa2d4e4e07b3a
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
MSCPT, short for Multi-Scale and Context-focused Prompt Tuning, is a method for classifying whole slide images (WSIs) when only a few labeled slides are available. The standard approach, multiple instance learning, relies on a large number of labeled slides for training. MSCPT instead builds on prompt tuning combined with a pre-trained vision-language model, which the paper presents as an effective route to few-shot weakly supervised WSI classification.
The authors argue that prompt tuning methods designed for natural images overlook the multi-scale and contextual information in WSIs. MSCPT has three parts. A frozen large language model generates pathological visual language prior knowledge at multiple scales, and this knowledge guides hierarchical prompt tuning. A graph prompt tuning module learns contextual information within the slide, and a non-parametric cross-guided instance aggregation module derives the slide-level features.
The paper reports experiments on five datasets and three downstream tasks using three vision-language models.
Key idea. MSCPT tunes a pre-trained vision-language model for few-shot whole slide image classification using multi-scale language priors, graph prompt tuning and non-parametric instance aggregation.
- MSCPT
- Multi-Scale and Context-focused Prompt Tuning
- whole slide image classification
- WSI
- few-shot
- prompt tuning
- vision-language model
- pathology
- multiple instance learning
- graph prompt tuning
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{han2025mscptfewshotslideimage,
title={MSCPT: Few-shot Whole Slide Image Classification with Multi-scale and Context-focused Prompt Tuning},
author={Minghao Han and Linhao Qu and Dingkang Yang and Xukun Zhang and Xiaoying Wang and Lihua Zhang},
year={2025},
eprint={2408.11505},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2408.11505},
}