Revisiting Data Challenges of Computational Pathology: A Pack-based Multiple Instance Learning Training Framework

Wenhao Tang, Heng Fang, Ge Wu, Xiang Li, Ming-Ming Cheng
9/25/2025
cs.CV

Official code: FangHeng/PackMIL (11 stars, Apache-2.0, last commit 2025-12-03).

Abstract

Computational pathology (CPath) digitizes pathology slides into whole slide images (WSIs), enabling analysis for critical healthcare tasks such as cancer diagnosis and prognosis. However, WSIs possess extremely long sequence lengths (up to 200K), significant length variations (from 200 to 200K), and limited supervision. These extreme variations in sequence length lead to high data heterogeneity and redundancy. Conventional methods often compromise on training efficiency and optimization to preserve such heterogeneity under limited supervision. To comprehensively address these challenges, we propose a pack-based MIL framework. It packs multiple sampled, variable-length feature sequences into fixed-length ones, enabling batched training while preserving data heterogeneity. Moreover, we introduce a residual branch that composes discarded features from multiple slides into a hyperslide which is trained with tailored labels. It offers multi-slide supervision while mitigating feature loss from sampling. Meanwhile, an attention-driven downsampler is introduced to compress features in both branches to reduce redundancy. By alleviating these challenges, our approach achieves an accuracy improvement of up to 8% while using only 12% of the training time in the PANDA(UNI). Extensive experiments demonstrate that focusing data challenges in CPath holds significant potential in the era of foundation models. The code is https://github.com/FangHeng/PackMIL

View on arXivView PDF

Code Implementations(1)

FangHeng/PackMILOfficial100%
Apache-2.0

Revisiting Data Challenges of Computational Pathology: A Pack-based Multiple Instance Learning Training Framework

110Shell, PythonSep 26, 202510 months agoApache-2.0

Similar Papers

Cite this paper

@article{tang2025revisiting,
  title  = {Revisiting Data Challenges of Computational Pathology: A Pack-based Multiple Instance Learning Training Framework},
  author = {Wenhao Tang and Heng Fang and Ge Wu and Xiang Li and Ming-Ming Cheng},
  year   = {2025},
  eprint = {2509.20923},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.20923v2}
}

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/2509.20923.svg)](https://codeofpaper.com/paper/2509.20923)

Discussion