cDP-MIL: Robust Multiple Instance Learning via Cascaded Dirichlet Process

Yihang Chen, Tsai Hor Chan, Guosheng Yin, Yuming Jiang, Lequan Yu

Introduction

Analyzing Whole Slide Images (WSIs) in digital pathology presents a significant computational challenge, often described as finding a "needle in a haystack." With images reaching dimensions of $80,000 \times 80,000$ pixels, standard deep learning approaches are infeasible. Multiple Instance Learning (MIL) has emerged as the standard paradigm, where a slide is treated as a "bag" containing numerous small image "patches" or "instances."

Challenges in Current MIL Methods

Despite the success of MIL, existing deterministic models face three critical hurdles:

  1. Oversimplified Aggregation: Most models rely on first-order statistics (mean or max pooling) to aggregate patch features, ignoring the complex covariance structures that define tissue morphology.
  2. Data Scarcity and Overfitting: While patches are abundant, slide-level labels are often scarce. Deterministic models are prone to overfitting these small datasets, limiting their generalization.
  3. The Confidence Gap: Clinical applications require reliable uncertainty estimation. Standard models lack a principled way to signal when they are "confused" by atypical or out-of-distribution (OOD) data.

The cDP-MIL Framework

To address these limitations, the authors propose cDP-MIL, a multi-stage Bayesian nonparametric framework. Unlike deterministic methods, cDP-MIL models the full distribution of image patches using a Cascaded Dirichlet Process (cDP).

The cDP-MIL architecture, featuring WSI pre-processing, patch-level aggregation via Dirichlet Process, and bag-level prediction.

The framework operates in two primary stages:

  • Patch-Level DP Aggregation: This module automatically clusters patches into latent distributions. By employing a Normal-Inverse-Wishart (NIW) prior, the model captures high-order feature relationships (covariance), creating a more nuanced "fingerprint" of the slide.
  • Bag-Level DP Prediction: A second Dirichlet Process classifies the entire bag based on these cluster centroids. This stage provides natural Bayesian regularization, preventing the model from memorizing specific training instances.

To ensure scalability for gigapixel images, cDP-MIL utilizes Stochastic Variational Inference (SVI). By parameterizing distributions with deep neural networks and optimizing the Evidence Lower Bound (ELBO), the model achieves Bayesian robustness without the computational cost of traditional MCMC sampling.

Key Insights and Results

Evaluation across five major WSI benchmarks (including TCGA-COAD, TCGA-BRCA, and Camelyon 16) demonstrates that cDP-MIL consistently outperforms state-of-the-art models like TransMIL and DSMIL.

Performance and Robustness

  • Subtyping Accuracy: On the TCGA-NSCLC dataset, cDP-MIL achieved 93.5% accuracy, significantly surpassing TransMIL's 88.4%.
  • OOD Generalization: In cross-organ stress tests (training on colon cancer, testing on breast cancer), cDP-MIL maintained an AUROC of 85.31%, whereas competitors like DSMIL dropped to 72.91%.

Uncertainty and Interpretability

The Bayesian nature of cDP-MIL allows it to produce a posterior log-likelihood that serves as a measure of data fit. This enables reliable Out-of-Distribution (OOD) detection, flagging slides that deviate significantly from the training distribution. Furthermore, the patch-level DP assignments provide inherent interpretability, allowing for tumor localization without pixel-level annotations.

Downstream capabilities of the framework, including tumor localization and robust out-of-distribution (OOD) detection.

Conclusion

cDP-MIL brings Bayesian robustness to the forefront of histopathology. By incorporating high-order information and principled uncertainty estimation, it offers a more reliable and interpretable path for clinical AI. Future work will explore dynamic truncation methods for the Dirichlet Process and the integration of multi-modal data, such as genomic sequences.

Summary updated

BibTeX
@inproceedings{chen2024cdp,
  author = {Yihang Chen and Tsai Hor Chan and Guosheng Yin and Yuming Jiang and Lequan Yu},
  title = {{cDP-MIL: Robust Multiple Instance Learning via Cascaded Dirichlet Process}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72949-2\_14},
}
Figure