arXiv:2609.01987cs.CVSep 2026

Manuscript Offprint

arXiv:2609.01987

Morphology signal in whole slide image foundation models can automatically triage slides

Ayushi Sinha, Shashank Yadav, Benjamin Holmes, Pravat Das, Aaron W. Bogan, James S. Lewis, Santiago Romero-Brufau, Andrew Y. K. Foong, Scott H. Kaufmann, Kathryn M. Van Abel, David M. Routman, Michael R. Lucas

Ayushi Sinha¹, Shashank Yadav², Benjamin Holmes³, Pravat Das³, Aaron W. Bogan⁴, James S. Lewis Jr.⁵, Santiago Romero-Brufau⁶, Andrew Y. K. Foong², Scott H. Kaufmann⁷, Kathryn M. Van Abel⁶, David M. Routman², and Michael R. Lucas³

¹ Department of Radiology, Mayo Clinic, Rochester MN ² Department of Radiation Oncology, Mayo Clinic, Rochester MN ³ AI Program, Mayo Clinic, Rochester MN ⁴ Department of Quantitative Health Sciences, Mayo Clinic, Scottsdale AZ ⁵ Department of Laboratory Medicine and Pathology, Mayo Clinic, Scottsdale AZ ⁶ Department of Otolaryngology-Head and Neck Surgery, Mayo Clinic, Rochester MN ⁷ Department of Oncology, Mayo Clinic, Rochester MN lucas.michael2@mayo.edu

Abstract. Patient exams in the cancer diagnosis and staging process typically generate several whole slide images (WSIs). One of the initial steps in training models on WSI data is identifying one or a few slides containing tumor or other diagnostic biomarkers necessary for downstream prediction tasks such as estimating recurrence risk or progression-free survival. This step requires tedious manual curation by experienced pathologists. Many published datasets make the artificial assumption of 1 slide per patient. Alternatively, all slides per patient may be used for model training, which may dilute the signal from the few slides containing tumor or other relevant information. In this paper, we present a pipeline to overcome these challenges using publicly available WSI foundation models (FMs). Our evaluations show that ranking WSIs based on predictions from zero-shot classification using WSI FMs accurately identifies slides with the most tumor, indicating that WSI FMs contain sufficient morphology signal to automatically triage slides. We also present a formulation for ranked evaluation to benchmark FM performance in slide triage. We show, on multiple datasets, that tumor slides are identified in the top-2 ranked slides for patients with up to 43 slides.

Keywords: whole slide image · slide triage · foundation models

1 Introduction

Cancer diagnosis and staging typically involve biopsy and resection specimens, which are prosected, sectioned, processed into paraffin-embedded blocks, processed into glass slide sections, and finally reviewed by the pathologist for diagnosis. With the growth of digital pathology, slides are increasingly being digitized to generate whole slide images (WSIs). This process typically generates

A. Sinha et al.

Figure

Fig. 1: Schematic diagram of the presented pipeline which takes all slides per patient and ranks them to enable selection of the top-kk slides. The shade of blue depicts, as an example, the percent tumor in each slide with darker blue denoting more tumor. From left to right, the slides are first segmented to remove background pixels, after which patches are extracted from the tissue regions. FMs are used to generate image embeddings at the patch- and slide-level, which are then used along with text embeddings generated from class specific prompts to classify the image. At the patch-level, classification results are aggregated by computing the percent patches in a class per slide, which are then used to rank the slides. At the patch-level, class probabilities are used directly to rank slides.

a large number of WSIs per patient, particularly for resection specimens. However, only a few WSIs contain tumor or other diagnostic biomarkers that may be useful for downstream prediction tasks such as estimating recurrence risk or progression-free survival. Current practice requires a pathologist to triage all generated WSIs per patient by visually analyzing and identifying those with primary tumor and/or lymph nodes involved by metastasis, which can take anywhere from about 30 – 90s per slide [8]. Automatically identifying the one or few most relevant slides per patient is a crucial, albeit overlooked, step in WSI model training. In this paper, we show that foundation models (FMs) trained jointly on histopathology image and text data may contain sufficient morphology signal to automatically triage slides without the need for manual curation.

WSIs present several computational challenges. A typical WSI is digitized at various magnifications ranging from 0.25 microns per pixel (mpp) to 2mpp. At the highest magnification levels, images may be tens of thousands of pixels in resolution. To process images of such magnitude, WSIs are split into smaller patches (e.g., 256×256256 \times 256 px or 512×512512 \times 512 px). Histopathology models are subsequently trained at the patch level, with FMs generating patch-level embeddings [4, 11, 14, 3, 2]. Patch-level embeddings can be aggregated across WSIs to generate slide-level embeddings [6, 12, 16, 15, 18]. Downstream training tasks, such as predicting recurrence risk, also typically use patch-level embeddings along with aggregation methods such as multiple instance learning (MIL) to learn slide-level labels [5]. Attention-based MIL (AB-MIL) proposes using attention to create weighted representations for each slide or patient by learning which patches contribute most to the prediction [9]. When datasets have not been manually curated to select a single slide per patient for prediction tasks, patches from all slides may be used [17,13]. However, each slide can generate thousands of patches, diluting the signal from the few patches containing tumor or other relevant information.

To overcome this limitation, we perform zero-shot classification using publicly available pathology FMs by computing cosine similarity between image and text embeddings to assess tumor content in WSIs. While FMs have been used to classify slides both by fine-tuning [7] and using zero-shot classification [1], these have primarily been done for cancer subtyping and not for slide triage. Using the pipeline presented in this paper (Fig. 1), we explore whether pathology FMs contain sufficient morphology signal to automatically triage slides. We evaluate patch- and slide-level embeddings, and present a formulation for ranked evaluation that takes into consideration the number of slides per patient, the number of slides with tumor content, and the rank of the accurately identified slides. This formulation is used to benchmark models for slide triage on 2 datasets. We show that by ranking WSIs by tumor content, we can accurately identify slides with the most tumor, demonstrating that automatic slide triage is possible.