cs.CVOct 24, 2026

PathKGen: Pathology Knowledge Assisted MLLM for Explainable Histopathology

Authors: Nadun Rajapaksha, Sandun Herath, Devnith Wijesinghe, Isiri Amani Withanawasam, Hasindri Watawana, Ranga Rodrigo

Organizations: University of Moratuwa, Sri Lanka · Idiap Research Institute, Switzerland · EPFL, Switzerland

Abstract

Whole Slide Image (WSI) analysis serves as the fundamental method for the clinical diagnosis of cancer in digital histopathology. Recent advances in Multimodal Large Language Models (MLLMs) have enabled state-of-the-art (SOTA) automated histopathology report generation. However, MLLMs reason purely through distributions encoded in their neural parameters, limiting the amount of knowledge and reasoning logic they can contain given the model scale. Their black-box reasoning poses another challenge to the human interpretation of intermediate reasoning. We address these issues by utilizing knowledge graphs to inject external structured knowledge for MLLMs to reason over, while making this reasoning component visible. Knowledge graphs are capable of partially externalizing the containment of medical knowledge, an area that remains underexplored in pathology report generation. We introduce PathKGen, a knowledge graph-assisted MLLM for histopathology report generation. PathKGen has two main branches: (1) a visual path that learns visual token inputs to the MLLM using pathology foundation models, and (2) a knowledge path that learns knowledge token inputs by extracting key morphological features of WSIs through querying a pathology-specific knowledge graph. A comprehensive evaluation on WSI-Bench dataset shows that PathKGen surpasses previous SOTA methods while revealing diagnostic reasoning as visually intuitive graphs. Due to its modular design, the proposed knowledge path is complementary to vision-aligned MLLMs and can be extended to other applications by curating domain-specific knowledge graphs to generate knowledge tokens.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. PathMem: Toward Cognition-Aligned Memory Transformation for Pathology MLLMs

    Mar 10, 2026Jinyue Li, Yuci Liang, Qiankun Li +7Memory-Augmented VLMsMedical VLMs

  2. MLLM-HWSI: A Multimodal Large Language Model for Hierarchical Whole Slide Image Understanding

    Mar 24, 2026Basit Alawode, Arif Mahmood, Muaz Khalifa Al-Radi +6Whole-Slide Image AnalysisMedical VLMs