BioX-CPath: Biologically-driven Explainable Diagnostics for Multistain IHC Computational Pathology
Amaya Gallagher-Syed, Henry Senior, Omnia Alwazzan, Elena Pontarini, Michele Bombardieri, Costantino Pitzalis, Myles J. Lewis, Michael R. Barnes, Luca Rossi, Gregory Slabaugh
TL;DR
BioX-CPath addresses the need for interpretable multistain IHC analysis by presenting a biologically-grounded graph neural network that fuses semantic and spatial cues across stains. The core innovation, Stain-Aware Attention Pooling (SAAP), generates stain-aware patient embeddings and enables rich interpretability through SAAP scores, entropy measures, stain-stain interaction metrics, and GNN heatmaps, aided by random walk positional encodings for long-range context. On Rheumatoid Arthritis and Sjogren's datasets, BioX-CPath achieves state-of-the-art accuracy and provides mechanistic insights that align with established pathology, demonstrating its potential for clinical deployment. This work strengthens the bridge between high-performance computational pathology and actionable biological understanding, while supplying open-source resources for further development.
Abstract
The development of biologically interpretable and explainable models remains a key challenge in computational pathology, particularly for multistain immunohistochemistry (IHC) analysis. We present BioX-CPath, an explainable graph neural network architecture for whole slide image (WSI) classification that leverages both spatial and semantic features across multiple stains. At its core, BioX-CPath introduces a novel Stain-Aware Attention Pooling (SAAP) module that generates biologically meaningful, stain-aware patient embeddings. Our approach achieves state-of-the-art performance on both Rheumatoid Arthritis and Sjogren's Disease multistain datasets. Beyond performance metrics, BioX-CPath provides interpretable insights through stain attention scores, entropy measures, and stain interaction scores, that permit measuring model alignment with known pathological mechanisms. This biological grounding, combined with strong classification performance, makes BioX-CPath particularly suitable for clinical applications where interpretability is key. Source code and documentation can be found at: https://github.com/AmayaGS/BioX-CPath.
