PathAgent: Toward Interpretable Analysis of Whole-slide Pathology Images via Large Language Model-based Agentic Reasoning
Jingyun Chen, Linghan Cai, Zhikang Wang, Yi Huang, Songhan Jiang, Shenjin Huang, Hongpeng Wang, Yongbing Zhang
TL;DR
This work tackles the opacity of whole-slide pathology analysis by introducing PathAgent, a training-free LLM-based agent that mimics pathologists’ iterative reasoning. It combines three components—Navigator for RoI search, Perceptor for morphology cues, and Executor for multi-step reasoning—to produce an explicit chain-of-thought and interpretable predictions across multi-scale WSIs. Across five challenging datasets, PathAgent demonstrates strong zero-shot generalization and surpasses task-specific baselines in both open-ended and closed-ended VQA tasks, with quantitative and qualitative evidence corroborated by pathologist collaboration. The framework offers a practical, scalable route to clinically grounded, transparent WSI analysis and interactive AI-assisted diagnosis.
Abstract
Analyzing whole-slide images (WSIs) requires an iterative, evidence-driven reasoning process that parallels how pathologists dynamically zoom, refocus, and self-correct while collecting the evidence. However, existing computational pipelines often lack this explicit reasoning trajectory, resulting in inherently opaque and unjustifiable predictions. To bridge this gap, we present PathAgent, a training-free, large language model (LLM)-based agent framework that emulates the reflective, stepwise analytical approach of human experts. PathAgent can autonomously explore WSI, iteratively and precisely locating significant micro-regions using the Navigator module, extracting morphology visual cues using the Perceptor, and integrating these findings into the continuously evolving natural language trajectories in the Executor. The entire sequence of observations and decisions forms an explicit chain-of-thought, yielding fully interpretable predictions. Evaluated across five challenging datasets, PathAgent exhibits strong zero-shot generalization, surpassing task-specific baselines in both open-ended and constrained visual question-answering tasks. Moreover, a collaborative evaluation with human pathologists confirms PathAgent's promise as a transparent and clinically grounded diagnostic assistant.
