10M-parameter triage model lets MAPLE top pathologists on four PathMMU sets

2026-11-24

MAPLE triages whole slides with a 10-million-parameter ViT, then reasons with Qwen3-14B. On PathMMU it scores 70.6% to 81.2%, above pathologists at 68.3% to 72.9%.

What problem this solves

A pathology diagnosis has to connect cell shape, tissue architecture, and clinical context on a single gigapixel whole-slide image. Patch vision-language models such as PathChat and MUSK never see that whole slide. MUSK's vision encoder was trained on about 50 million histopathology image-text pairs, and still works region by region. Slide-level models such as TITAN and ALPaCA do not segment, classify, or count individual cells, so cellular phenotype enters only indirectly. ALPaCA's reported inference uses an 80 GB A100. A small lab is more likely to have one consumer GPU.

The missing system is one that reads a whole slide, triages it at cell level, and runs on that single GPU.

Method

MAPLE splits the job in two. Both stages run inference on one NVIDIA RTX 3090.

AgenTile is the first stage. It keeps the CellViT segmentation layout and swaps the backbone for EfficientSAM-Ti, about 10 million parameters. On 256×256 patches at 40x (0.25 µm/pixel) it predicts a nuclei mask, horizontal and vertical gradients that split touching nuclei, five cell classes (neoplastic, inflammatory, connective, dead, epithelial), and a tissue type. Training data is PanNuke: 7,901 images, 189,744 labeled nuclei, 19 tissues, with two of the three official folds for training.

In parallel, a pathology CLIP (ViT-L/14) builds a zero-shot tumor-probability map at 10x or 5x from text class names, not from hand-drawn tumor regions. The slide is cut into 336×336 candidates. A patch is eligible only if abnormal nuclei are its most common class, viable tissue covers at least 90%, it holds at least 20 nuclei, and the tumor probability is at least 0.70. Eligible patches are ranked by tumor probability times neoplastic purity, with a spatial gap so they do not pile into one corner. The default keep is 20 patches, set so AgenTile, CLIP, and Qwen3-14B fit together on the 3090. The three highest-probability patches plus a section overview go through a two-layer MLP into Qwen3-14B. That stack is PathLLM. If under 1% of tissue clears the tumor threshold, the model sends the most epithelial and stromal patches instead, so a benign slide is not forced into a cancer read.

PathLLM training has two stages. Alignment uses about 600,000 image-question-answer pairs for one epoch, updating only the projector. Instruction tuning uses about 100,000 images with multi-turn dialogues for one epoch, sequence length 8,192, on 8 A100s. Back on one 3090, automatic selection takes 5 to 10 minutes per slide at 20x and 20 to 40 minutes at 40x. If a pathologist picks the regions, that drops to 1 to 2 minutes.

The reported training set is 7,272 whole slides, 31 cancer subtypes, 251 institutions, and 1,620,876 captioned patches. Thoracic tissue contributes 447,622 patches; hematologic tissue contributes 4,605. Captions cover non-neoplastic disease as well, including granulomatous inflammation. The methods section says about 15,000 TCGA slides were downloaded and low-quality slides were dropped. No TCGA image was reused in the reported evaluations.

Results

On PanNuke, AgenTile's global segmentation F1 is 81.1, matching CellViT++ and above CellposeSAM (71.6), HoverNext (68.8), and StarDist (65.1). CellViT++ has about 632 million parameters. AgenTile has about 10 million, roughly 65 times smaller, and 0.006 seconds per patch against 0.58 seconds, roughly 95 times faster on the same 3090. It leads CellViT++ on segmentation F1 in 6 of 19 tissues and on neoplastic classification in 8 of 19.

The image encoder alone, scored with 1-nearest neighbor and 5-fold cross-validation on the four-class BACH breast set, reaches 95.0%. UNI is at 92.3% and Virchow at 81.5%. Mean intra-class cosine distance is 0.156, against 0.503 and 0.462. Zero-shot balanced accuracy is 78.3% on BACH (CONCH 64.7%), 75.9% on 16-class SkinCancer (CONCH 74.1%), and 85.3% for tumor detection on a Johns Hopkins clinical breast cohort (MUSK 82.8%). On PatchCamelyon metastasis detection it is 85.0%, just under MUSK at 85.3%.

SettingMetricMAPLEComparison
PathMMU, pathologist subset, PubMedAccuracy77.9%Pathologists 72.9%, GPT-4V 49.8%
Same, SocialPathAccuracy75.9%Pathologists 71.5%, GPT-4V 53.5%
Same, EduContentAccuracy70.6%Pathologists 69.0%, GPT-4V 53.9%
Same, AtlasAccuracy81.2%Pathologists 68.3%, GPT-4V 53.6%
Full 7,691 items, AtlasAccuracy79.0%GPT-4V trails by 8.7 to 30.9 points
15 breast whole slidesAgreement15/15Johns Hopkins breast specialist

The pathologist numbers come from seven board-certified pathologists on the tiny splits, 979 questions in total. MAPLE is ahead on all four domains. The Atlas gap is 12.9 points. The EduContent gap is 1.6 points. On the full 7,691 questions, where pathologists were not scored item by item, MAPLE scores 71.3%, 69.2%, 69.1%, and 79.0%. LLaVA-1.5-13B trails by 26.8 to 35 points. PathCLS was left out because that subset is closed-ended classification.

In the Fig. 6b ablation, AgenTile-guided selection scores 91.3% at 40x against 80.7% for a standard ViT selector, and 88.0% against 79.7% at 20x. Selection time at 40x is about 1,200 seconds versus 2,285. The paper does not name the test set for that ablation.

On a liver metastasis, the model described atypical glands, excluded native hepatic architecture, and said the primary site needs immunohistochemistry. On a pulmonary hamartoma it separated cartilage in preserved lung from teratoma. The 15-slide breast set (9 invasive carcinomas, 3 low-grade DCIS, 3 benign) was called correctly at both 20x and 40x.

Why it matters

The compute bill is readable. Cell triage is about 65 times smaller than the segmentation model it matches, and the full diagnostic pass fits on one 3090. Training still used 8 A100s. The intended use is a copilot: overnight batches, a morning draft with suspicious regions, a probability map, and a microscopic description. Five to ten minutes at 20x can sit in that workflow. Twenty to forty minutes at 40x cannot sit inside an intraoperative consult.

Beating pathologists on PathMMU is a multiple-choice result, and on EduContent the margin is thin. The open-ended clinical evidence is still those 15 slides from one hospital.

Limitations

The discussion lists five constraints: scans need to be usable at 20x or 40x, and artifacts propagate; rare subtypes and tissues outside AgenTile's 19-type training set can slip; tiny diagnostic findings can be dropped at selection; history, prior diagnoses, and ancillary tests never enter unless someone types them into the query; multi-site prospective testing is still required.

A few more gaps sit on top of that list. Fifteen of fifteen has a denominator of 15, one institution, and a narrow band of breast disease. The preprint calls this preliminary. The PathMMU win is multiple choice, which the discussion separates from open clinical work. Some captions come from PathGen; the rest, and a rewrite of all of them, passed through Qwen and Gemini, so the report voice may be learning from model-written text. In the liver-metastasis example the model recommended CK20/CDX2 appropriately for colon and amylase/trypsin immunohistochemistry inappropriately for pancreas. The paper flags that second recommendation. Hematologic patches number 4,605 against 447,622 thoracic patches. This is an unreviewed preprint.

Terms

Source

What people are saying

All paper explainers