HMIL: Hierarchical Multi-Instance Learning for Fine-Grained Whole Slide Image Classification

Cheng Jin, Luyang Luo, Huangjing Lin, Jun Hou, Hao Chen
11/12/2024
cs.CV

Official code: ChengJin-git/HMIL (20 stars, GPL-3.0, last commit 2025-12-18).

Abstract

Fine-grained classification of whole slide images (WSIs) is essential in precision oncology, enabling precise cancer diagnosis and personalized treatment strategies. The core of this task involves distinguishing subtle morphological variations within the same broad category of gigapixel-resolution images, which presents a significant challenge. While the multi-instance learning (MIL) paradigm alleviates the computational burden of WSIs, existing MIL methods often overlook hierarchical label correlations, treating fine-grained classification as a flat multi-class classification task. To overcome these limitations, we introduce a novel hierarchical multi-instance learning (HMIL) framework. By facilitating on the hierarchical alignment of inherent relationships between different hierarchy of labels at instance and bag level, our approach provides a more structured and informative learning process. Specifically, HMIL incorporates a class-wise attention mechanism that aligns hierarchical information at both the instance and bag levels. Furthermore, we introduce supervised contrastive learning to enhance the discriminative capability for fine-grained classification and a curriculum-based dynamic weighting module to adaptively balance the hierarchical feature during training. Extensive experiments on our large-scale cytology cervical cancer (CCC) dataset and two public histology datasets, BRACS and PANDA, demonstrate the state-of-the-art class-wise and overall performance of our HMIL framework. Our source code is available at https://github.com/ChengJin-git/HMIL.

View on arXivView PDF

Code Implementations(1)

ChengJin-git/HMILOfficial100%
GPL-3.0

Official code repository of paper HMIL: Hierarchical Multi-Instance Learning for Fine-Grained WSI Classification

202PythonOct 24, 202410 months agoGPL-3.0
multi-instance-learningwhole-slide-image

Similar Papers

Cite this paper

@article{jin2024hmil,
  title  = {HMIL: Hierarchical Multi-Instance Learning for Fine-Grained Whole Slide Image Classification},
  author = {Cheng Jin and Luyang Luo and Huangjing Lin and Jun Hou and Hao Chen},
  year   = {2024},
  eprint = {2411.07660},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.07660v3}
}

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

Discussion