Abstract
RECAP-PATH is a novel framework designed to enhance the interpretability and accuracy of Multimodal Large Language Models (MLLMs) in pathology. By employing a two-phase "diversify-then-optimize" prompting strategy, RECAP-PATH moves beyond traditional black-box classification. It generates structured, human-readable diagnostic rationales that align with expert clinical reasoning. Evaluated across multiple histopathology datasets, the framework demonstrates significant performance gains and high alignment with expert pathologist criteria without requiring model fine-tuning.
Introduction
The integration of AI into pathology has significantly improved the speed and precision of tasks such as tumor identification and biomarker quantification. However, most contemporary deep learning models function as "black boxes," providing diagnostic outputs without transparent, auditable justifications. This lack of interpretability remains a major barrier to clinical adoption, as pathologists require evidence-based explanations to trust AI-assisted decisions.
While Multimodal Large Language Models (MLLMs) like GPT-4o and Gemini possess advanced reasoning capabilities, their medical outputs often lack structure, consistency, and grounding in specific morphological features. To bridge this gap, we present RECAP-PATH (REasoning and Classification via Automated Prompting in PATHology), a framework that autonomously derives rigorous diagnostic criteria and enforces a "think-and-speak" protocol before final diagnosis.
Methodology
The RECAP-PATH framework utilizes a two-step prediction pipeline. First, the model generates a structured textual description of the tissue based on optimized prompts. Second, it synthesizes this description with the visual data to produce a final diagnosis.
The core innovation lies in the automated, two-phase self-learning process for prompt generation:
- Phase 1: Diversification: The model is prompted to expand its descriptive vocabulary and explore diverse interpretive lenses, such as stromal context and nuclear morphology. During this phase, the focus is on capturing a wide "reasoning space," even if diagnostic accuracy temporarily fluctuates.
- Phase 2: Optimization: The framework analyzes error patterns from the first phase. It then iteratively refines the prompts to maximize diagnostic accuracy while ensuring clinical coherence and relevance.
Notably, RECAP-PATH is a training-free approach. It operates entirely through prompt engineering and requires no weight updates or internal access to the MLLM. The framework is highly efficient, requiring as few as 100 labeled examples to achieve high performance. Furthermore, an expert-in-the-loop component allows board-certified pathologists to provide feedback, ensuring the model's terminology aligns with standard clinical practice.
Experimental Setup
The framework was validated across three distinct histopathology datasets:
- BRACS (BReAst Carcinoma Subtyping): Evaluated for binary (Normal vs. Invasive Carcinoma) and multiclass (Normal, DCIS, IC) classification.
- BACH (Breast Cancer Histology): A smaller dataset used to assess the framework's generalization capabilities.
- SICAPv2: A prostate cancer dataset used for Gleason grading, demonstrating the framework's versatility across different tissue types.
Results and Discussion
Emergent Clinical Hallmarks
Without explicit supervision, the optimization process naturally converged on five critical dimensions used by human pathologists: invasion phenotype, tissue architecture, nuclear morphology, stromal context, and mitotic activity. This suggests that MLLMs can autonomously "discover" established medical principles when guided by structured reasoning prompts.
Semantic Disentanglement
Using UMAP visualizations of the generated text descriptions, we observed that optimized prompts led to greater semantic separation between benign and malignant tissue descriptions. The model does not merely guess labels; it learns to describe different classes using fundamentally distinct linguistic features.
Diagnostic Performance
RECAP-PATH achieved an accuracy exceeding 0.9 in distinguishing normal tissue from invasive carcinoma on the BRACS dataset. This represents a significant improvement—up to 20%—over baseline zero-shot MLLM performance. Additionally, expert-guided optimization improved the clinical coherence of descriptions by nearly 20%, making the AI's "thought process" a viable tool for human review.
Conclusion
While RECAP-PATH shows great promise, several challenges remain. Currently, prompts optimized for one specific cohort may not generalize perfectly to others without additional optimization. Furthermore, this study focused on small "Region of Interest" (ROI) crops; future work must integrate RECAP-PATH into Whole-Slide Image (WSI) pipelines to handle the massive scale of real-world pathology slides. Finally, reliance on API-based models introduces risks related to "version drift," highlighting the need for future testing with local, open-source models.
RECAP-PATH demonstrates that MLLMs can be transformed into interpretable, high-performing diagnostic assistants. By decoupling feature exploration from performance optimization, the framework provides a scalable path toward transparent AI in clinical pathology.
Summary updated