Beyond Attention Heatmaps: How to Get Better Explanations for Multiple Instance Learning Models in Histopathology

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Idaji, Mina Jamshidi, Hense, Julius, Neuhäuser, Tom, Krause, Augustin, Luo, Yanqing, Eberle, Oliver, Schnake, Thomas, Ciernik, Laure, Jafari, Farnoush Rezaei, Vahidimajd, Reza, Dippel, Jonas, Walz, Christoph, Klauschen, Frederick, Mock, Andreas, Müller, Klaus-Robert
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912955400978432
author Idaji, Mina Jamshidi
Hense, Julius
Neuhäuser, Tom
Krause, Augustin
Luo, Yanqing
Eberle, Oliver
Schnake, Thomas
Ciernik, Laure
Jafari, Farnoush Rezaei
Vahidimajd, Reza
Dippel, Jonas
Walz, Christoph
Klauschen, Frederick
Mock, Andreas
Müller, Klaus-Robert
author_facet Idaji, Mina Jamshidi
Hense, Julius
Neuhäuser, Tom
Krause, Augustin
Luo, Yanqing
Eberle, Oliver
Schnake, Thomas
Ciernik, Laure
Jafari, Farnoush Rezaei
Vahidimajd, Reza
Dippel, Jonas
Walz, Christoph
Klauschen, Frederick
Mock, Andreas
Müller, Klaus-Robert
contents Multiple instance learning (MIL) has enabled substantial progress in computational histopathology, where a large amount of patches from gigapixel whole slide images are aggregated into slide-level predictions. Heatmaps are widely used to validate MIL models and to discover tissue biomarkers. Yet, the validity of these heatmaps has barely been investigated. In this work, we introduce a general framework for evaluating the quality of MIL heatmaps without requiring additional labels. We conduct a large-scale benchmark experiment to assess six explanation methods across histopathology task types (classification, regression, survival), MIL model architectures (Attention-, Transformer-, Mamba-based), and patch encoder backbones (UNI2, Virchow2). Our results show that explanation quality mostly depends on MIL model architecture and task type, with perturbation ("Single"), layer-wise relevance propagation (LRP), and integrated gradients (IG) consistently outperforming attention-based and gradient-based saliency heatmaps, which often fail to reflect model decision mechanisms. We further demonstrate the advanced capabilities of the best-performing explanation methods: (i) We provide a proof-of-concept that MIL heatmaps of a bulk gene expression prediction model can be correlated with spatial transcriptomics for biological validation, and (ii) showcase the discovery of distinct model strategies for predicting human papillomavirus (HPV) infection from head and neck cancer slides. Our work highlights the importance of validating MIL heatmaps and establishes that improved explainability can enable more reliable model validation and yield biological insights, making a case for a broader adoption of explainable AI in digital pathology. Our code is provided in a public GitHub repository: https://github.com/bifold-pathomics/xMIL/tree/xmil-journal
format Preprint
id arxiv_https___arxiv_org_abs_2603_08328
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Beyond Attention Heatmaps: How to Get Better Explanations for Multiple Instance Learning Models in Histopathology
Idaji, Mina Jamshidi
Hense, Julius
Neuhäuser, Tom
Krause, Augustin
Luo, Yanqing
Eberle, Oliver
Schnake, Thomas
Ciernik, Laure
Jafari, Farnoush Rezaei
Vahidimajd, Reza
Dippel, Jonas
Walz, Christoph
Klauschen, Frederick
Mock, Andreas
Müller, Klaus-Robert
Computer Vision and Pattern Recognition
Machine Learning
Multiple instance learning (MIL) has enabled substantial progress in computational histopathology, where a large amount of patches from gigapixel whole slide images are aggregated into slide-level predictions. Heatmaps are widely used to validate MIL models and to discover tissue biomarkers. Yet, the validity of these heatmaps has barely been investigated. In this work, we introduce a general framework for evaluating the quality of MIL heatmaps without requiring additional labels. We conduct a large-scale benchmark experiment to assess six explanation methods across histopathology task types (classification, regression, survival), MIL model architectures (Attention-, Transformer-, Mamba-based), and patch encoder backbones (UNI2, Virchow2). Our results show that explanation quality mostly depends on MIL model architecture and task type, with perturbation ("Single"), layer-wise relevance propagation (LRP), and integrated gradients (IG) consistently outperforming attention-based and gradient-based saliency heatmaps, which often fail to reflect model decision mechanisms. We further demonstrate the advanced capabilities of the best-performing explanation methods: (i) We provide a proof-of-concept that MIL heatmaps of a bulk gene expression prediction model can be correlated with spatial transcriptomics for biological validation, and (ii) showcase the discovery of distinct model strategies for predicting human papillomavirus (HPV) infection from head and neck cancer slides. Our work highlights the importance of validating MIL heatmaps and establishes that improved explainability can enable more reliable model validation and yield biological insights, making a case for a broader adoption of explainable AI in digital pathology. Our code is provided in a public GitHub repository: https://github.com/bifold-pathomics/xMIL/tree/xmil-journal
title Beyond Attention Heatmaps: How to Get Better Explanations for Multiple Instance Learning Models in Histopathology
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2603.08328