Advancing Multiple Instance Learning with Continual Learning for Whole Slide Imaging
Xianrui Li, Yufei Cui, Jun Li, Antoni B. Chan
TL;DR
This work targets continual learning for whole-slide image MIL, uncovering that forgetting in attention-based MIL is concentrated in the attention module rather than the classifier. It introduces Attention Knowledge Distillation (AKD) to preserve attention relationships across tasks and Pseudo-Bag Memory Pool (PMP) to enable memory-efficient replay by storing distilled patch subsets. The proposed framework yields significant gains in accuracy and memory efficiency across diverse WSI datasets, outperforming state-of-the-art CL methods and showing robust performance across MIL architectures. Together, AKD and PMP provide a practical, scalable path to adaptive, weakly supervised diagnostic models for gigapixel pathology images.
Abstract
Advances in medical imaging and deep learning have propelled progress in whole slide image (WSI) analysis, with multiple instance learning (MIL) showing promise for efficient and accurate diagnostics. However, conventional MIL models often lack adaptability to evolving datasets, as they rely on static training that cannot incorporate new information without extensive retraining. Applying continual learning (CL) to MIL models is a possible solution, but often sees limited improvements. In this paper, we analyze CL in the context of attention MIL models and find that the model forgetting is mainly concentrated in the attention layers of the MIL model. Using the results of this analysis we propose two components for improving CL on MIL: Attention Knowledge Distillation (AKD) and the Pseudo-Bag Memory Pool (PMP). AKD mitigates catastrophic forgetting by focusing on retaining attention layer knowledge between learning sessions, while PMP reduces the memory footprint by selectively storing only the most informative patches, or ``pseudo-bags'' from WSIs. Experimental evaluations demonstrate that our method significantly improves both accuracy and memory efficiency on diverse WSI datasets, outperforming current state-of-the-art CL methods. This work provides a foundation for CL in large-scale, weakly annotated clinical datasets, paving the way for more adaptable and resilient diagnostic models.
