Cluster-Level Sparse Multi-Instance Learning for Whole-Slide Images

Yuedi Zhang, Zhixiang Xia, Guosheng Yin, Bin LiuarXiv 2025 · DOI

Introduction

In computational pathology, Whole-Slide Images (WSIs) present a significant data challenge. These images often contain billions of pixels, making exhaustive manual annotation of every tumor cell impractical. To address this, researchers typically employ Multi-Instance Learning (MIL), where a WSI is treated as a "bag" of thousands of smaller image patches (instances), and the model is trained using only a single slide-level label.

While modern Attention-Based MIL (ABMIL) models use soft attention weights to highlight relevant regions, they frequently suffer from instance redundancy. Because these weights are soft, irrelevant or noisy patches—such as background, healthy tissue, or mucus—still contribute to the final representation, potentially diluting the diagnostic signal. This paper introduces Cluster-level Sparse MIL (csMIL), a framework designed to explicitly filter out irrelevant tissue categories by shifting the focus from individual patches to coherent tissue clusters.

The csMIL Framework

The authors propose a three-step pipeline that leverages structural similarities within tissues to improve classification accuracy and interpretability:

  1. Global-Local Clustering: The model first identifies global tissue morphologies by clustering patches across the entire dataset. Within each individual slide, patches are then assigned to these predefined clusters.
  2. Cluster-Attentive Embedding: Standard attention mechanisms are applied within each cluster to create a single, representative prototype vector for that specific tissue type.
  3. Sparse Cluster Selection: The final slide representation is a weighted combination of these cluster prototypes. By applying an $\ell_1$-norm penalty to the learnable weights, the model forces the weights of irrelevant clusters to zero, effectively removing them from the decision-making process.
The csMIL pipeline and the impact of cluster-level filtering on model performance.

Key Insights and Theoretical Foundations

A core motivation for csMIL is the observation that negative or irrelevant instances actively harm model performance. Preliminary experiments showed that manually removing certain clusters of patches actually improved the AUC of standard models, proving that "more data" is not always better if that data is noisy.

Furthermore, the authors provide theoretical guarantees for csMIL inspired by compressed sensing. They mathematically demonstrate that by treating the problem as sparse recovery, the model can reliably identify the $s$ most important tissue clusters out of $K$ total clusters using a relatively small number of labeled bags, specifically $O(s \log K)$. This provides a rigorous foundation for the empirical success of the $\ell_1$ regularization approach.

Experimental Results

The csMIL framework was evaluated on two major histopathology benchmarks: CAMELYON-16 (breast cancer metastasis) and TCGA-NSCLC (lung cancer subtyping).

On the CAMELYON-16 dataset, csMIL achieved a state-of-the-art AUC of 0.951, significantly outperforming the original ABMIL baseline (0.867 AUC). Similar gains were observed on the TCGA-NSCLC dataset, where the model reached an AUC of 0.934. The results indicate that a small number of clusters (typically $K=3$) provides the optimal balance between capturing diversity and avoiding over-segmentation.

ROC comparison on the Camelyon16 dataset showing csMIL (Our method) significantly outperforming the ABMIL baseline.

Conclusion and Interpretability

Beyond performance metrics, csMIL offers high medical interpretability. Because the model explicitly drops clusters by setting their weights to zero, pathologists can visualize exactly which tissue types the model ignored. Visualizations confirm that the model correctly identifies and discards mucus and background while focusing on dense tumor proliferation. While the model requires careful tuning of hyperparameters like the number of clusters ($K$), it represents a significant step toward more robust and transparent automated diagnostics in pathology.

Summary updated

BibTeX
@misc{zhang2025cluster,
  author = {Yuedi Zhang and Zhixiang Xia and Guosheng Yin and Bin Liu},
  title = {{Cluster-Level Sparse Multi-Instance Learning for Whole-Slide Images}},
  year = {2025},
  eprint = {2509.11034},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.11034},
}
Figure