Manuscript Offprint

arXiv:2610.17233

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, Ming Y. Lu, Long P. Le, Richard J. Chen, Faisal Mahmood

Daniel Shao ∗^{*}

MIT

MGB AI Institute

Harvard University

dshao@mit.edu

Dongmin Bang ∗^{*}

MGB AI Institute

Harvard University

Luca L. Weishaupt

MIT

MGB AI Institute

Harvard University

Sophia J. Wagner

MGB AI Institute

Harvard University

Nic G. Reitsam

University of Augsburg

MGB AI Institute

Harvard University

Ming Y. Lu

MGB AI Institute

Harvard University

Long P. Le

MGB AI Institute

Harvard University

Richard J. Chen †^{\dagger}

MGB AI Institute

Harvard University

Faisal Mahmood †^{\dagger}

MGB AI Institute

Harvard University

∗^{*}Co-first authors

†^{\dagger}Co-senior authors

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. 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.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

1 Introduction

Foundation models have advanced computational pathology (CPath), enabling scalable analysis of digitized tissue sections for diagnosis, prognosis, and biomarker prediction [1, 2]. In particular, vision-language (VL) models have extended patch-level representation learning by aligning visual features with medical text, unlocking multimodal capabilities such as zero-shot classification, text-to-image retrieval, and slide-level inference without task-specific supervision [3–5]. VL encoders have consequently become integral to a growing number of CPath systems, serving as upstream modules for slide-level architectures [6, 7], explainability frameworks [8], and reasoning systems [9, 10].

In current foundation models development, while vision-only pretraining recipes have naturally scaled to pathology via abundance of unlabeled tissue patches [11, 12], VL pretraining faces a fundamental data bottleneck. General-purpose VL models such as CLIP and CoCa [13, 14] are pretrained on hundreds of millions of image-text pairs curated from the open web. By contrast, pathology VL models must rely on far smaller, domain-specific corpora that are difficult to scale, sourced from social media platforms, educational videos, and open-access research publications [15, 16, 3]. While these sources have enabled the initial development of pathology VL encoders, they do not reflect standard clinical practice, as pathologists do not routinely produce descriptive morphological captions outside of academic or educational contexts. The resulting datasets, typically on the order of one million curated pairs, are sparse relative to the diversity of tissue morphology, linguistically narrow, and difficult to scale further within the same sourcing paradigm. Continuing to improve VL alignment in pathology therefore requires moving beyond curated captions towards the scalable generation of slide-level pathology reports from routine diagnostic workflows as a supervisory signal.

This work addresses the challenge of vision-language alignment under weak supervision, where slide-level reports describe macroscopic diagnostic findings but only patch-level visual features are available. This setting mirrors the classical MIL formulation in CPath, which learns to aggregate patch representations for slide-level prediction without patch-level labels, but extended to the cross-modal case, where the supervisory signal is an unstructured text report rather than a class label.

To this end, we propose Locked Image Multiple Instance PreTraining (LIMIT), which freezes a pretrained vision encoder and fine-tunes only the text encoder by using report embeddings as cross-attention queries over bags of patch embeddings, producing report-conditioned slide representations that can be optimized via InfoNCE in slide classification pretext tasks. Using LIMIT, we present CONCH-Z, which aligns the text encoder of CONCHv1.5[3] to 335,645 clinical pathology reports for improved zero-shot cross-modal capabilities. Evaluated across 22 diverse benchmarks, CONCH-Z reaches SOTA performance on zero-shot patch-level classification compared to VL encoders trained on curated caption datasets, while simultaneously closing the gap with supervised MIL slide-level foundation models (e.g., PRISM, TITAN) trained with orders of magnitude more parameters and compute (Table 2). Our main contributions are as follows:

• We formalize vision-language pretraining for pathology as a weakly-supervised cross-modal MIL problem and introduce LIMIT, a method that fine-tunes only the text encoder via report-guided cross-attention over frozen patch embeddings.

• We train CONCH-Z on 335,645 clinical reports and establish state-of-the-art zero-shot performance across diverse benchmarks, including pan-cancer subtyping, tumor detection, and patch-level classification.

• We show that slide-level report supervision, mediated through text-guided attention, strengthens fine-grained visual-semantic alignment, yielding simultaneous improvements at both the patch and slide level without requiring local annotations or learned aggregation parameters.

References (43)