Introduction
Digital pathology relies on Whole Slide Images (WSIs), which are high-resolution scans often exceeding tens of thousands of pixels in dimension. Due to memory constraints, these images cannot be processed directly by standard deep learning models. The conventional approach involves partitioning WSIs into smaller patches and employing Multiple Instance Learning (MIL). In MIL, the entire slide is treated as a "bag" of patches ("instances"). A significant challenge arises because discriminative features (e.g., cancerous cells) may only be present in a tiny fraction of these patches, while the majority contain irrelevant background or healthy tissue.
Methodology: Sequential Monte Carlo Sampling
Traditional MIL approaches often use static grid sampling, which treats all regions of an image with equal importance. This is computationally inefficient and may miss critical features if the grid is too sparse. This paper introduces a "smart" patch sampling strategy based on Sequential Monte Carlo (SMC) methods.
The SMC sampler evolves dynamically during training through the following steps:
- Initialization: $n$ random points are sampled across the image.
- Evaluation: Patches at these points are processed by the neural network to determine a "probability of interest."
- Re-sampling: Points with high scores are retained, while low-scoring points are replaced by new points centered on high-performing regions.
- Displacement: Gaussian noise is added to the new points to encourage local exploration.
- Iteration: This process repeats, causing the sampling "swarm" to migrate toward informative tissue regions over time.
Experimental Setup and Datasets
The proposed method was evaluated on both synthetic and real-world datasets:
- MNIST-Sparse & MNIST-Clustered: Synthetic 1024x1024 canvases containing 28x28 MNIST digits. These datasets simulate the "needle in a haystack" problem common in pathology.
- ICIAR Grand Challenge 2018: Breast microscopy images for benign vs. invasive carcinoma classification.
- GTEx Skin Dataset: Approximately 10,000 skin tissue samples labeled by sun exposure.
Results and Discussion
The Monte Carlo (MC) sampling strategy consistently outperformed traditional grid and uniform sampling methods. Notably, in the MNIST-Sparse task, grid sampling achieved only 52% accuracy, whereas the MC approach reached 82.5%.
| Dataset | Grid Sampling | Uniform Sampling | MC Sampling (Ours) |
|---|---|---|---|
| MNIST-Sparse | 0.520 | 0.759 | 0.825 |
| MNIST-Clustered | 0.523 | 0.830 | 0.852 |
| ICIAR (Breast) | 0.776 | 0.790 | 0.847 |
| GTEx (Skin) | 0.826 | 0.920 | 0.942 |
The co-evolution of the sampler and classifier is a key insight. Initially, the sampler explores the image uniformly. As the classifier learns to identify relevant features, the sampler clusters its points around high-activation regions, providing the model with increasingly relevant training data.
Conclusion
The integration of Sequential Monte Carlo sampling into MIL frameworks offers a robust solution for navigating the vast search space of high-resolution medical images. By focusing computational resources on informative regions, the method improves classification accuracy and provides a more efficient alternative to static grid-based approaches. Future work will investigate the sensitivity of hyperparameters and the interaction of this sampling strategy with advanced attention-based aggregation functions.
Summary updated