ProtoGTX: Prototype-Aligned Graph Transformer for Explainable Whole-Slide Image Analysis

Iori Azuma, Hiroyuki Kusuhara, Tadahaya Mizuno
10/16/2026
eess.IVcs.CVq-bio.QM
transformer-attentiongnn

Official code: mizuno-group/ProtoGTX (1 star, Python, MIT, last commit 2026-02-26).

Abstract

Deep learning has achieved strong performance in computational pathology, but explaining whole-slide image (WSI) predictions remains challenging. Existing explanation methods often highlight important regions without identifying their morphological patterns, leaving a gap between patch-level computational evidence and slide-level pathological interpretation.

Show full abstract

We propose ProtoGTX, a graph-based framework that combines spatial contextualization with a flexible morphological prototype vocabulary. ProtoGTX separates the reference prototypes used to define morphological concepts from the predictive model: the reference vocabulary can be generated from training data by unsupervised clustering or supplied externally, and remains fixed during classifier training. Patch features are first contextualized over a spatial graph, after which learnable prototypes representing morphological concepts are optimized through cross-attention. Their slide-level activation profile is aligned with the morphological composition induced by the fixed reference prototype bank. On the CPTAC and BRACS datasets, ProtoGTX outperforms the evaluated MIL, prototype-based, and graph-based baselines, with particularly pronounced improvements on BRACS. Qualitative analyses further show that spatial contextualization transforms fragmented patch-level prototype assignments into more coherent tissue regions. In BRACS, prototype maps also co-localize with pathologist annotations and regions relevant to slide-level prediction. These results demonstrate that ProtoGTX provides complementary semantic and spatial explanations while retaining a prototype vocabulary that can be defined independently of the predictive model. Code is available at https://github.com/mizuno-group/ProtoGTX.

View on arXivView PDF

Code Implementations(1)

MIT

An interpretable graph-based representation model for pathology whole slide images (WSI) leveraging patch-level relations and prototype learning.

11PythonJun 2, 20259 months agoMIT

Similar Papers

Cite this paper

@article{azuma2026protogtx,
  title  = {ProtoGTX: Prototype-Aligned Graph Transformer for Explainable Whole-Slide Image Analysis},
  author = {Iori Azuma and Hiroyuki Kusuhara and Tadahaya Mizuno},
  year   = {2026},
  eprint = {2610.24023},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.24023v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.24023.svg)](https://codeofpaper.com/paper/2610.24023)

Discussion