PathNavigate: A Training-Free Pathology Agent with Surprise-Guided Scan and Shared Slide Memory for Whole-Slide VQA

Chunze Yang, Qidong Liu, Wenjie Zhao, Yue Tang, Jiusong Ge, Di Zhang, Jiashuai Liu, wu lei, Junbo Lu, Ni Zhang, Xian Wu, Zeyu Gao, Chen LiNeurIPS 2026

TL;DR

Answering a clinical question about a digitized tissue slide requires finding tiny, cellular-level clues across an image containing billions of pixels—without blowing up your compute budget. Instead of training massive new models or blindly searching for keywords in the prompt, PathNavigate mimics human pathologists: it first scans the slide to learn what looks "normal" for that specific patient, flags "surprising" anomalies, and only then brings in the clinical question to zoom in and formulate an answer. It beats both supervised models and existing training-free agents while using half the tokens.

What Problem Does This Paper Address?

A digitized pathology slide—a Whole-Slide Image (WSI)—is a gigapixel landscape. Feeding an entire slide at full resolution into a Multimodal Large Language Model (MLLM) is computationally impossible; shrinking it into a thumbnail destroys the cellular details needed for diagnosis.

To solve Whole-Slide Visual Question Answering (WSI-VQA), researchers generally take one of two paths:

  1. Supervised Models: Train specialized pathology MLLMs end-to-end. These work well, but they are rigid; if clinical workflows or tasks change, you have to retrain them.
  2. Training-Free Agents: Keep pre-trained models frozen and use an agentic loop to decide where to zoom in at test time.

Existing training-free agents almost universally use a Question-First design: they read the clinical question and immediately search the slide for matching regions. The catch? Clinical questions rarely name the exact visual clue needed. Asking "What is the histological grade?" doesn't tell a vision encoder to look for "moderate nuclear pleomorphism." Question-first agents end up missing decisive tissue regions and compensating with heavy, slow reflection loops.

Existing WSI-VQA paradigms vs. PathNavigate's Scan-Search-Readout routine

Methods

PathNavigate flips the control order using a training-free Scan-Search-Readout routine, keeping all visual and language backbones completely frozen. What’s novel here isn't the individual building blocks, but how a single online test-time memory ties navigation and final reasoning together:

  • 1. Surprise-Guided Scan (Low Magnification, $5\times$): Before looking at the question's semantics, PathNavigate streams $5\times$ image tiles (encoded via frozen CONCH v1.5) through a tiny, freshly initialized two-layer MLP. As the MLP tries to reconstruct each tile on the fly, it quickly adapts to abundant, repetitive background tissue (like fat or stroma). When an unusual cluster of cells appears, reconstructing it causes a spike in the pre-update gradient norm. PathNavigate uses this gradient norm as a surprise score, applying spatial filtering (Non-Maximum Suppression) to build a compact pool of up to 30 atypical candidate regions.
  • 2. Task-Conditioned Search: Now the question enters. Using a frozen pathology vision-language model (PLIP), the system scores how relevant each candidate in the pool is to the question, blending this relevance score 50/50 with the slide-specific surprise score to pick the top ~10–13 targets.
  • 3. Evidence Readout & QA (High Magnification, $20\times$): For each selected target, the agent zooms in to $20\times$, runs a quick local surprise check to grab the top 2 micro-patches, and feeds them to a frozen Perceptor (Patho-R1-7B) to generate text descriptions. Finally, a frozen Adjudicator (Qwen3.5-4B) synthesizes those descriptions, optional reference cases, and a summary of the scan's surprise statistics to answer the question.
Figure 2: Overview of PathNavigate as a scan-search-readout pathology agent.

Datasets

Because PathNavigate is training-free, datasets are used strictly for evaluation (save for 100 disjoint training-split slides used as an optional text-summary reference archive):

  • WSI-VQA: 735 breast cancer slide questions (TCGA-BRCA) testing both multiple-choice (390) and open-ended generation (345).
  • SlideBench-BCNB: A multiple-choice WSI benchmark covering seven breast cancer diagnostic sub-tasks (e.g., Tumor detection, ER/PR/HER2 status, Grading, Molecular Subtyping).
  • PathMMU: An image-level (single patch) pathology benchmark used purely as a sanity check for patch-level transfer.
  • CAMELYON16: Held-out lymph node metastasis slides used in ablations to test whether "surprise" acts as a literal tumor detector.

Key Insights and Ideas

  • Scan before you ask: Studies of human pathologists show that broad initial scanning correlates more strongly with diagnostic accuracy than zooming alone. Establishing a baseline of what is "typical" for this specific slide prevents subtle, unnamed abnormalities from being filtered out prematurely.
  • Online adaptation beats static averages: Why use an online neural memory instead of just measuring cosine distance from the slide's average feature? When tested, the static mean-distance approach dropped accuracy by 3.68 points, and its tile rankings barely correlated with online surprise (Spearman $0.014$). Adapting sequentially captures local context shifts much better than a global average.
  • Surprise is a curiosity filter, not a tumor detector: On CAMELYON16, raw surprise only separated tumor from normal tiles with a 0.537 ROC-AUC (barely above chance), because tissue folds, pen marks, and stain shifts are also surprising. Yet it excels as a first-pass filter because subsequent PLIP reranking and $20\times$ inspection easily discard non-diagnostic artifacts.

Key Results

  • SlideBench-BCNB: PathNavigate achieved the highest overall accuracy at 59.42%, outperforming supervised slide models like SlideChat (54.22%) and WSI-LLaVA (52.86%), as well as the question-first training-free baseline PathAgent (56.06%).
  • WSI-VQA: PathNavigate reached 55.65% Total accuracy, dominating open-ended questions (60.29% vs. PathAgent's 13.91%, using the exact same Perceptor/Adjudicator models). On a blinded LLM-judge check of 80 open-ended answers, PathNavigate achieved 75.0% strict semantic accuracy vs. PathAgent's 15.0%.
  • Efficiency: Compared to PathAgent on the same hardware, PathNavigate was slightly faster (84s vs. 92s per question), cut prompt tokens nearly in half (17K vs. 30K), and slashed on-disk auxiliary storage from 277 MB to 4 MB.
  • Encoder Agnostic: Swapping the CONCH v1.5 feature extractor for UNI2-h yielded virtually identical performance (55.92% vs. 55.65%).

Limitations and Future Work

The authors are admirably candid about where the system hits its limits:

  • Order Dependence: Because the online memory updates sequentially in a raster scan, reversing the scan order flips the surprise rankings (Spearman $-0.42$), even though end-to-end QA accuracy remained stable on a 100-question test.
  • Low-Magnification Blind Spots & Rigid Budgets: Cues completely invisible at $5\times$ will never trigger surprise, and the fixed inspection budgets don't dynamically expand when a slide's surprise map is unusually flat.
  • Narrow Clinical Scope: All WSI evaluations were conducted on H&E-stained breast cancer slides, where certain molecular markers (like HER2 expression) are inherently hard to read from H&E morphology alone. Future agents will need adaptive inspection budgets and multi-modal evidence integration—and, of course, validation across broader tissue types before nearing a clinic.

Summary updated

Abstract

Whole-slide image visual question answering (WSI-VQA) frames pathology as an extreme-context search problem: to answer a free-form clinical query, a system must first navigate a gigapixel slide under a strict inspection budget to locate sparse, high-resolution evidence. Existing approaches largely fall into two paradigms: i) supervised pathology multimodal large language models (MLLMs) and agents can absorb localization and reasoning into learned modules, but they often couple navigation to task-specific supervision and retraining, limiting their practicality; ii) training-free pathology agents avoid this cost by keeping core models frozen, but often follow a question-first design, i.e. constructing the initial candidate set mainly from query-conditioned relevance. This can miss decisive morphology that is not named in the question, and force heavier inference-time scaffolding. To address this challenge, we introduce PathNavigate, a training-free pathology agent built around a scan-search-readout routine. Before question matching, PathNavigate scans the current slide at low magnification with a shared online memory module over frozen pathology features, producing a slide-specific surprise field that marks an abnormal-region pool. It then applies question-conditioned PLIP relevance only within this pool to select high-magnification search targets. Finally, it extracts local high-magnification evidence and answers with a frozen perceptor-adjudicator stack, using the same online memory as slide-level context. Experiments on WSI-VQA and SlideBench-BCNB show that the proposed scan-search-readout design improves answer accuracy and yields more interpretable evidence-selection trajectories with higher efficiency. To ease reproducibility, we have released the code online.
BibTeX
@inproceedings{yang2026pathnavigate,
  author = {Chunze Yang and Qidong Liu and Wenjie Zhao and Yue Tang and Jiusong Ge and Di Zhang and Jiashuai Liu and wu lei and Junbo Lu and Ni Zhang and Xian Wu and Zeyu Gao and Chen Li},
  title = {{PathNavigate: A Training-Free Pathology Agent with Surprise-Guided Scan and Shared Slide Memory for Whole-Slide VQA}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=FIFc5S0Khq},
}
Figure