A Spatially-Aware Multiple Instance Learning Framework for Digital Pathology
Hassan Keshvarikhojasteh, Mihail Tifrea, Sibylle Hess, Josien P. W. Pluim, Mitko Veta
TL;DR
The paper addresses weakly supervised WSI classification in digital pathology by enhancing ABMIL with explicit patch interactions. It introduces Global ABMIL (GABMIL) and the Spatial Information Mixing Module (SIMM), which uses BLOCK and GRID MLPMixer-style attention to encode local and global spatial dependencies while keeping ABMIL's efficiency. Across two public datasets (TCGA BRCA and TCGA LUNG), GABMIL consistently outperforms ABMIL and matches or surpasses Transformer-based TransMIL with substantially lower computational cost. The findings highlight the importance of modeling patch interactions in MIL for pathology and suggest directions for integrating spatial mixing directly into ABMIL attention mechanisms. The work provides a practical, scalable approach for improved WSI subtyping in breast and lung cancers, with code available online.
Abstract
Multiple instance learning (MIL) is a promising approach for weakly supervised classification in pathology using whole slide images (WSIs). However, conventional MIL methods such as Attention-Based Deep Multiple Instance Learning (ABMIL) typically disregard spatial interactions among patches that are crucial to pathological diagnosis. Recent advancements, such as Transformer based MIL (TransMIL), have incorporated spatial context and inter-patch relationships. However, it remains unclear whether explicitly modeling patch relationships yields similar performance gains in ABMIL, which relies solely on Multi-Layer Perceptrons (MLPs). In contrast, TransMIL employs Transformer-based layers, introducing a fundamental architectural shift at the cost of substantially increased computational complexity. In this work, we enhance the ABMIL framework by integrating interaction-aware representations to address this question. Our proposed model, Global ABMIL (GABMIL), explicitly captures inter-instance dependencies while preserving computational efficiency. Experimental results on two publicly available datasets for tumor subtyping in breast and lung cancers demonstrate that GABMIL achieves up to a 7 percentage point improvement in AUPRC and a 5 percentage point increase in the Kappa score over ABMIL, with minimal or no additional computational overhead. These findings underscore the importance of incorporating patch interactions within MIL frameworks. Our code is available at \href{https://github.com/tueimage/GABMIL}{\texttt{GABMIL}}.
