Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

HookMIL: Revisiting Context Modeling in Multiple Instance Learning for Computational Pathology

About

Multiple Instance Learning (MIL) has enabled weakly supervised analysis of whole-slide images (WSIs) in computational pathology. However, traditional MIL approaches often lose crucial contextual information, while transformer-based variants, though more expressive, suffer from quadratic complexity and redundant computations. To address these limitations, we propose HookMIL, a context-aware and computationally efficient MIL framework that leverages compact, learnable hook tokens for structured contextual aggregation. These tokens can be initialized from (i) key-patch visual features, (ii) text embeddings from vision-language pathology models, and (iii) spatially grounded features from spatial transcriptomics-vision models. This multimodal initialization enables Hook Tokens to incorporate rich textual and spatial priors, accelerating convergence and enhancing representation quality. During training, Hook tokens interact with instances through bidirectional attention with linear complexity. To further promote specialization, we introduce a Hook Diversity Loss that encourages each token to focus on distinct histopathological patterns. Additionally, a hook-to-hook communication mechanism refines contextual interactions while minimizing redundancy. Extensive experiments on four public pathology datasets demonstrate that HookMIL achieves state-of-the-art performance, with improved computational efficiency and interpretability. Codes are available at https://github.com/lingxitong/HookMIL.

Xitong Ling, Minxi Ouyang, Xiaoxiao Li, Jiawen Li, Ying Chen, Yuxuan Sun, Xinrui Chen, Tian Guan, Xiaoping Liu, Yonghong He• 2025

Related benchmarks

TaskDatasetResultRank
WSI ClassificationBCNB-HER2
Accuracy79.36
54
ClassificationPanda
Accuracy72.15
13
Biomarker PredictionBCNB (test)
ER AUC73.18
12
WSI ClassificationBCNB-ER
Accuracy89.65
12
WSI ClassificationBCNB-PR
Accuracy84.87
12
WSI diagnostic classificationCAMELYON+ (test)
Accuracy94.45
12
WSI diagnostic classificationPANDA (test)
Accuracy74.85
12
WSI diagnostic classificationTISSUENET (test)
Accuracy76.65
12
Showing 8 of 8 rows

Other info

Follow for update