arXiv(opens in a new tab)cs.CVOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.16734

PathPilot: An Adaptive Question-Conditioned Multi-Magnification Navigation Agent for Whole-Slide Image Analysis

Zhengyang Xu, Han Li, Jingsong Liu, Ayako Ura, Shihui Zu, Shaohua Kevin Zhou, Nassir Navab, Peter Schüffler

ABSTRACT

The diagnostic capability of Whole-Slide Image (WSI) agents relies on effective slide navigation to identify diagnostically relevant regions and efficiently integrate evidence across the slide. While in clinical practice, pathologists dynamically examine slides across multiple scales, integrating global and cellular evidence in a sequential manner, existing AI navigation approaches mostly operate at a single fixed magnification or rely on predefined magnification traversal. This mismatch prevents existing methods from modeling cross-magnification interactions and adaptive magnification selection inherent to real diagnostic workflows. We propose PathPilot, a clinically consistent multi-magnification WSI navigation agent that explicitly models cross-magnification localization and evidence-adaptive exploration. Specifically, we introduce a Cross-Magnification Localization Tool (CrossMagLoc) that learns magnification-specific diagnostic localization from pathologist viewing behavior and integrates information from adjacent magnifications to identify the diagnostically most relevant region within the current ROI, thereby providing a diagnostically informed starting point for subsequent question-conditioned exploration. We further introduce an Evidence-Adaptive Region Search Tool (EviRegionSearch) that starts question-conditioned exploration from this region, progressively accumulating question-relevant evidence and adaptively determining the next navigation action according to the remaining evidence requirement. Their iterative interaction enables PathPilot to sequentially explore across ROIs and magnifications until sufficient evidence is acquired. Extensive QA evaluations across five cohorts demonstrate consistent superiority over competing SOTA methods, with GACC improvements of 8.46% and 9.03% on inter/external cohorts, respectively, validating question-conditioned evidence acquisition across regions and magnifications that mirrors the sequential, knowledge-driven navigation of pathologists. Code will be public upon acceptance.

1. Introduction

Recent advances in artificial intelligence have enabled the development of increasingly capable agents for Whole-Slide Image (WSI) analysis, with the potential to perform iterative visual exploration, evidence acquisition, and diagnostic reasoning over gigapixel pathology slides Ghezloo et al. (2025); Chen et al. (2026); Yang et al. (2026); Wang et al. (2026). Effectively analyzing WSIs remains challenging because diagnostically relevant information is sparsely distributed across extremely large spatial domains and may appear at different magnification levels within a WSI Van Rijthoven et al. (2021); Bilal et al. (2023). In routine diagnosis, pathologists therefore do not inspect the slide uniformly. Instead, they first identify regions that are potentially diagnostically informative across magnification levels, and then selectively examine different regions ac-

e-mail: zhengyang.xu@tum.de (Zhengyang Xu), peter.schueffler@tum.de (Peter Schüffler)

Figure

Fig. 1: Overview of PathPilot for adaptive WSI exploration. For each navigation step (e.g., Step t), CrossMagLoc identifies the diagnostically most relevant region within the current ROI, while EviRegionSearch accumulates question-relevant evidence and adaptively selects the next navigation action (e.g., Step t+1t+1). Their iterative interaction enables sequential movement across ROIs and magnifications until evidence is sufficient (e.g., Step t+Nt+N), where Stop is selected and the final answer is generated.

according to the specific pathological question under consideration Van der Laak et al. (2021); Nan et al. (2025); Srinidhi et al. (2022). Such a sequential and selective diagnostic workflow makes WSI analysis particularly well suited to agent-based approaches, where an agent can iteratively explore the slide and gather visual evidence as needed.

Existing AI navigation approaches improve WSI analysis by modeling spatial exploration and identifying diagnostically relevant regions Raciti et al. (2023); Pantanowitz et al. (2020). Compared with conventional patch-based approaches that treat WSIs largely as unordered collections of independently processed patches Ilse et al. (2018); Zhao et al. (2022); Ding et al. (2023), navigation-based methods introduce structured spatial exploration, allowing diagnostically informative regions to be selectively examined across the slide Nan et al. (2025); Ghezloo et al. (2025); Sun et al. (2025a). More recently, navigation has been incorporated into pathology agents Chen et al. (2026); Yang et al. (2026), extending such spatial exploration toward question-conditioned WSI analysis.

However, existing navigation approaches still face two key limitations. First, fixed-magnification localization: many methods operate at a single magnification, preventing them from identifying diagnostically relevant regions across different magnification levels. Second, exploration is not sufficiently flexible: although existing agents can autonomously select regions to inspect, they have limited ability to adjust their search across regions and magnification levels according to the information being sought. Both limitations stand in contrast to clinical practice, where pathologists identify diagnostically relevant regions across magnifications and continuously adapt their exploration according to the evidence still needed, integrating tissue-level architectural context with cellular-level details Thandiackal et al. (2022); Agarwal et al. (2021); Ghezloo et al. (2022); Lee et al. (2024).

To address these limitations, we propose PathPilot, an adaptive question-conditioned Multi-Magnification WSI Navigation Agent with two sequentially coupled components (Fig. 1). The Cross-Magnification Localization Tool (CrossMagLoc) performs question-agnostic diagnostic localization within the current Region of Interest (ROI), identifying the diagnostically most relevant region independently of the current question. The Evidence-Adaptive Region Search Tool (EviRegionSearch) then starts its question-conditioned exploration from this region according to the current question and accumulated evidence. As evidence progressively accumulates, EviRegionSearch identifies the remaining evidence requirement and selects the next navigation action accordingly. Specifically:

The CrossMagLoc (Sec. 3.2) learns magnification-specific diagnostic localization from pathologist viewing behavior. Given the current ROI, it generates a question-agnostic diagnostic relevance heatmap and identifies the diagnostically most relevant region, providing a starting point for subsequent question-conditioned exploration. To move beyond fixed-magnification localization, we introduce learnable magnification tokens that capture the diagnostic focus at each magnification. Guided by these tokens, CrossMagLoc incorporates information from the current and adjacent magnification levels to improve navigation performance.

The EviRegionSearch (Sec. 3.3), starting from the most diagnostically relevant ROI identified by the question-agnostic heatmap generated by CrossMagLoc, performs iterative, question-conditioned exploration according to the current question and accumulated question-relevant evidence. At each step, it examines the ROI selected through the previous action, updates the accumulated question-relevant evidence, and dynamically selects which candidate ROI and magnification level should be examined next to continue evidence accumulation. This iterative process enables movement to another region within the previous step's ROI at the current magnification (Move), closer inspection at a higher magnification (Zoom In), or a return to a lower magnification (Zoom Out), and terminates when sufficient evidence has been accumulated to answer the question (Stop).

Obviously, evaluating diagnostic navigation in WSIs is inherently challenging because there is no unique ground-truth navigation behavior. Different pathologists may inspect different yet equally diagnostic regions, while their viewing patterns can also vary substantially with experience and individual practice Ghezloo et al. (2022); Nan et al. (2025); Chakraborty et al. (2025). Therefore, neither reproducing a particular pathologist's viewing trajectory nor matching a single set of attended regions can fully characterize navigation quality. To address this inherent evaluation challenge, we assess PathPilot from multiple complementary perspectives: whether navigation ultimately supports accurate WSI analysis, whether the localized regions agree with pathologist prioritization, whether they cover objectively annotated pathological regions, and whether their diagnostic relevance is confirmed by independent pathologists.

Following this evaluation strategy, we conduct experiments on five open-ended question-answer (QA) cohorts spanning skin, liver, and uterine pathology, where answers are generated freely rather than selected from predefined options, together with three navigation datasets (Sec. 4.1). Specifically, we first evaluate the overall WSI analysis performance of the complete PathPilot framework through open-ended QA under both internal and external validation settings (Sec. 4.3). We then independently benchmark the diagnostic localization pro-vided by CrossMagLoc against existing navigation methods, assessing both alignment with pathologist-derived region prioritization and coverage of annotated tumor regions across magnifications (Sec. 4.4). The contribution of EviRegionSearch is further examined through controlled ablation studies (Sec. 4.5). Moreover, qualitative analyses, including independent pathologist assessment and a representative PathPilot workflow, provide complementary evaluation of the diagnostic relevance of the selected regions and the adaptive exploration behavior of PathPilot (Sec. 4.6).

Across all five open-ended QA cohorts, PathPilot achieves the highest overall GACC, outperforming SOTA methods by an average of 8.46% and 9.03% on the internal and external cohorts, respectively. For navigation, CrossMagLoc achieves the strongest agreement with pathologist region prioritization, improving region-ranking correlation from 0.56 to 0.70 over the best baseline, while covering 85–100% of annotated tumor regions across magnifications. Independent pathologist review further confirms the diagnostic relevance of the localized regions. Together, these complementary evaluations support the effectiveness of PathPilot for both WSI analysis and navigation. Our results suggest superiority of PathPilot's dynamic region and resolution selection over conventional fixed sampling at static magnifications, thus offering a new way for adaptive and effective WSI analysis in computational pathology.

References (59)