nnMIL: A generalizable multiple instance learning framework for computational pathology
Not on the map. Why?
Abstract (arXiv)
Computational pathology holds substantial promise for improving diagnosis and guiding treatment decisions. Recent pathology foundation models enable the extraction of rich patch-level representations from large-scale whole-slide images (WSIs), but current approaches for aggregating these features into slide-level predictions remain constrained by design limitations that hinder generalizability and reliability. Here we present nnMIL, a simple yet broadly applicable multiple-instance learning framework that connects patch-level foundation models to robust slide-level clinical prediction. nnMIL introduces random sampling at both the patch and feature levels, enabling large-batch optimization, task-aware sampling strategies, and efficient and scalable training across datasets and model architectures. A lightweight aggregator performs sliding-window inference to generate ensemble slide-level predictions and supports principled uncertainty estimation. Across 40,000 WSIs encompassing 35 clinical tasks and four pathology foundation models, nnMIL consistently outperformed existing MIL methods for disease diagnosis, histologic subtyping, molecular biomarker detection, and pan-cancer prognosis prediction. It further demonstrated strong cross-model generalization, reliable uncertainty quantification, and robust survival stratification in multiple external cohorts. In conclusion, nnMIL offers a practical and generalizable solution for translating pathology foundation models into clinically meaningful predictions, advancing the development and deployment of reliable AI systems in real-world settings.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 26 of its 71 references that are in the map. First posted on arXiv 18 Nov 2025.
Builds on
26 of 71 references.
References · 26
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,492
- 2018Attention-based Deep Multiple Instance Learningcited by 1,095
- 2020Data Efficient and Weakly Supervised Computational Pathology on Whole Slide Imagescited by 745
- 2021TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classificationcited by 555
- 2020Dual-stream Multiple Instance Learning Network for Whole Slide Image Classification with Self-supervised Contrastive Learningcited by 478
- 2018Bag of Tricks for Image Classification with Convolutional Neural Networkscited by 431
- 2017Stochastic Gradient Descent as Approximate Bayesian Inferencecited by 300
- 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 279
- 2022DTFD-MIL: Double-Tier Feature Distillation Multiple Instance Learning for Histopathology Whole Slide Image Classificationcited by 256
14 more
- 2020Rethinking the Value of Labels for Improving Class-Imbalanced Learningcited by 216
- 2024Multimodal Whole Slide Foundation Model for Pathologycited by 162
- 2024Virchow2: Scaling Self-Supervised Mixed Magnification Models in Pathologycited by 161
- 2021BRACS: A Dataset for BReAst Carcinoma Subtyping in H&E Histology Imagescited by 132
- 2020Large-scale Robust Deep AUC Maximization: A New Surrogate Loss and Empirical Studies on Medical Image Classificationcited by 86
- 2019Continuous and Discrete-Time Survival Prediction with Neural Networkscited by 70
- 2024Dynamic Graph Representation with Knowledge-aware Attention for Histopathology Whole Slide Image Analysiscited by 67
- 2025Molecular-driven Foundation Model for Oncologic Pathologycited by 55
- 2021Predicting Axillary Lymph Node Metastasis in Early Breast Cancer Using Deep Learning on Primary Tumor Biopsy Slidescited by 43
- 2024Towards A Generalizable Pathology Foundation Model via Unified Knowledge Distillationcited by 31
- 2025PathBench: A comprehensive comparison benchmark for pathology foundation models towards precision oncologycited by 24
- 2024Agent Aggregator with Mask Denoise Mechanism for Histopathology Whole Slide Image Analysiscited by 11
- 2023An interpretable machine learning system for colorectal cancer diagnosis from pathology slidescited by 9
- 2025SurGen: 1020 H&E-stained Whole Slide Images With Survival and Genetic Markerscited by 8
Built on by
Citing papers per year: 2026: 1.
1 paper.