Beyond Sparse Captions: Aligning Slide-Level Text and Patch-Level Vision in Pathology

Daniel Shao, Dongmin Bang, Luca L. Weishaupt, Sophia J. Wagner, Nic G. Reitsam +4 more
10/12/2026
cs.CV

Official code: mahmoodlab/LIMIT (22 stars, last commit 2026-10-14).

Abstract

Contrastive vision-language (VL) pretraining in computational pathology has generally relied on curated image-caption datasets sourced from social media, educational videos, and research publications. These corpora are sparse relative to the diversity of tissue morphology and difficult to scale further, as pathologists do not routinely produce descriptive captions in clinical practice.

Show full abstract

We propose to instead leverage slide-level pathology reports which can be generated during routine diagnostic workflows in a scalable manner. A key challenge in this weakly-supervised setting is that pathology reports describe macroscopic, diagnostic findings while patch-level visual features describe microscopic findings. We introduce Locked Image Multiple Instance PreTraining (LIMIT), which addresses this gap by freezing a pretrained vision encoder and fine-tuning only the text encoder: report embeddings serve as cross-attention queries over bags of patch features, producing report-conditioned slide representations optimized via InfoNCE. Using LIMIT, we establish CONCH-Z, which aligns the text encoder of CONCH v1.5 to 335k clinical reports. Evaluated across 22 tasks spanning patch-level classification, tumor detection, and slide-level subtyping, CONCH-Z establishes state-of-the-art zero-shot performance over VL encoders trained on curated caption datasets, while simultaneously closing the gap with slide-level foundation models trained with substantially more parameters and compute. The code and model is available at https://github.com/mahmoodlab/LIMIT.

View on arXivView PDF

Code Implementations(1)

mahmoodlab/LIMITOfficial100%

Vision-Language Fine-tuning with Pathology Reports | Conch-Z [Neurips 2026 Spotlight]

220Oct 12, 20261 months ago

Similar Papers

Cite this paper

@article{shao2026beyond,
  title  = {Beyond Sparse Captions: Aligning Slide-Level Text and Patch-Level Vision in Pathology},
  author = {Daniel Shao and Dongmin Bang and Luca L. Weishaupt and Sophia J. Wagner and Nic G. Reitsam and Ming Y. Lu and Long P. Le and Richard J. Chen and Faisal Mahmood},
  year   = {2026},
  eprint = {2610.17233},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.17233v2}
}

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

Discussion