Abstract
Whole slide image (WSI) analysis is crucial for automated diagnosis and prognosis. However, clinical environments evolve, requiring models to learn from sequential datasets without forgetting previous knowledge. We propose ConSlide, the first continual learning framework for WSI analysis. ConSlide addresses the challenges of gigapixel image size and hierarchical structure through three components: a Hierarchical Interaction Transformer (HIT) for bidirectional knowledge modeling, a Breakup-Reorganize (BuRo) rehearsal method for efficient data replay, and an asynchronous updating mechanism with cross-scale similarity learning (CSSL). Evaluated on four TCGA datasets, ConSlide outperforms state-of-the-art methods, achieving a superior trade-off between performance and knowledge retention.
Introduction
In clinical pathology, Whole Slide Images (WSIs) are massive, often exceeding 100,000 x 100,000 pixels. While deep learning has advanced automated diagnosis, most models are static and struggle with the evolving nature of medical data (e.g., new staining protocols or scanners). Simply fine-tuning a model on new data leads to catastrophic forgetting. Standard rehearsal techniques, which save old images to "remind" the model, are impractical for gigapixel WSIs due to extreme storage requirements. Furthermore, standard continual learning (CL) methods ignore the unique hierarchical structure of WSIs—where patches form regions, which in turn form slides.
Methodology
ConSlide introduces three innovative components to enable efficient and effective continual learning for WSIs:
1. Hierarchical Interaction Transformer (HIT)
Unlike traditional models that only pass information unidirectionally from patches to regions, HIT enables bidirectional interaction. Patch-level and region-level features communicate, allowing the model to capture fine-grained cellular details and broader tissue architecture simultaneously. This bidirectional flow creates a more robust feature representation.
2. Breakup-Reorganize (BuRo) Rehearsal
To solve the storage problem, BuRo saves only representative regions rather than entire gigapixel slides. During the replay phase, it randomly samples these stored regions and "reorganizes" them into synthetic, augmented WSIs. This significantly reduces memory overhead while providing a diverse set of rehearsal samples, preventing the model from overfitting to a small buffer.
3. Asynchronous Updating with CSSL
Inspired by complementary learning systems in the human brain, ConSlide uses a Cross-Scale Similarity Learning (CSSL) module. This mechanism encourages lower-level (patch) blocks to learn slowly and retain generic features, while higher-level (region) blocks adapt quickly to new tasks. This separation helps preserve foundational biological knowledge while allowing for task-specific adaptation.
Experiments and Results
The framework was evaluated on four public WSI datasets from The Cancer Genome Atlas (TCGA): NSCLC (lung), BRCA (breast), RCC (renal), and ESCA (esophageal). The researchers implemented a class-incremental benchmark, progressively adding classes from each dataset to reach an eight-class classification task.
Key Findings
- Superior Performance: With a buffer size of only 10 WSIs, ConSlide achieved an AUC of 0.931, outperforming the next best method (DER++) which reached 0.860.
- Reduced Forgetting: The forgetting metric for ConSlide was significantly lower than competitors, validating the effectiveness of the BuRo and CSSL modules in protecting prior knowledge.
- Robustness: The model maintained high performance regardless of the order in which datasets were presented, demonstrating its stability in dynamic environments.
Conclusion
ConSlide represents a significant step forward in making WSI analysis models viable for real-world clinical use. By addressing the unique spatial and temporal challenges of gigapixel imaging, it enables models to evolve alongside medical practice. Future work may extend this framework to complex tasks like survival prediction by integrating regression modules into the continual learning pipeline.
Summary updated