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

Yihang Chen, Tsai Hor Chan, Guosheng Yin, Yuming Jiang, Lequan Yu
2/14/2026

No official code found. Best implementation: HKU-MedAI/cDPMIL (17 stars, last commit 2024-09-10).

Abstract

Multiple instance learning (MIL) has been extensively applied to whole slide histopathology image (WSI) analysis. The existing aggregation strategy in MIL, which primarily relies on the first-order distance (e.g., mean difference) between instances, fails to accurately approximate the true feature distribution of each instance, leading to biased slide-level representations. Moreover, the scarcity of WSI observations easily leads to model overfitting, resulting in unstable testing performance and limited generalizability. To tackle these challenges, we propose a new Bayesian nonparametric framework for multiple instance learning, which adopts a cascade of Dirichlet processes (cDP) to incorporate the instance-to-bag characteristic of the WSIs. We perform feature aggregation based on the latent clusters formed by the Dirichlet process, which incorporates the covariances of the patch features and forms more representative clusters. We then perform bag-level prediction with another Dirichlet process model on the bags, which imposes a natural regularization on learning to prevent overfitting and enhance generalizability. Moreover, as a Bayesian nonparametric method, the cDP model can accurately generate posterior uncertainty, which allows for the detection of outlier samples and tumor localization. Extensive experiments on five WSI benchmarks validate the superior performance of our method, as well as its generalizability and ability to estimate uncertainties. Codes are available at https://github.com/HKU-MedAI/cDPMIL.

View on arXivView PDF

Code Implementations(1)

HKU-MedAI/cDPMILCommunity70%

[ECCV'24] cDP-MIL: Robust Multiple Instance Learning via Cascaded Dirichlet Process

171PythonJul 6, 20242 years ago
computational-pathologydirichlet-processmultiple-instance-learning

Similar Papers

Cite this paper

@article{chen2026cdpmil,
  title  = {cDP-MIL: Robust Multiple Instance Learning via Cascaded Dirichlet Process},
  author = {Yihang Chen and Tsai Hor Chan and Guosheng Yin and Yuming Jiang and Lequan Yu},
  year   = {2026},
  eprint = {2407.11448},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.11448},
  journal = {ECCV 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.11448.svg)](https://codeofpaper.com/paper/2407.11448)

Discussion