nnMIL: A generalizable multiple instance learning framework for computational pathology

πŸ“… 2025-11-18
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF

career value

208K/year
πŸ€– AI Summary
This work addresses the challenge of reliably aggregating patch-level features into slide-level clinical predictions for whole-slide images (WSIs). We propose a generalizable multi-instance learning (MIL) framework featuring a novel two-stage stochastic sampling mechanism that enables large-batch optimization and task-aware sampling. A lightweight aggregator supports sliding-window ensemble inference and uncertainty quantification, while patch representations are extracted from pathology foundation models. The framework synergistically integrates MIL, sliding-window inference, and ensemble strategies. Extensive experiments across 40,000 WSIs, 35 clinical tasks, and four foundation models demonstrate consistent and significant improvements over state-of-the-art methods in disease diagnosis, histological subtyping, molecular biomarker detection, and cross-cohort pan-cancer prognostic risk stratification. The approach exhibits strong robustness and clinically interpretable predictions.

Technology Category

Application Category

πŸ“ Abstract
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 developed nnMIL, a simple yet broadly applicable multiple-instance learning framework that connects patch-level foundation models to robust slide-level clinical inference. 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.
Problem

Research questions and friction points this paper is trying to address.

Developing a generalizable framework for aggregating patch-level features into slide-level predictions
Improving reliability and scalability of computational pathology models across clinical tasks
Enabling robust clinical inference from whole-slide images using multiple instance learning
Innovation

Methods, ideas, or system contributions that make the work stand out.

Random patch and feature sampling for optimization
Lightweight aggregator with sliding-window ensemble predictions
Generalizable framework connecting foundation models to clinical inference
πŸ’Ό Related Jobs
Postdoctoral Fellow – AI-Driven Multi-Omics Integration for Predictive Toxicology
Pfizer
The annual base salary for this position ranges from $64,600.00 to $107,600.00. In addition, this position is eligible for participation in Pfizer’s Global Performance Plan with a bonus target of 7.5% of the base salary. We offer comprehensive and generous benefits and programs to help our colleagues lead healthy lives and to support each of life’s moments. Benefits offered include a 401(k) plan with Pfizer Matching Contributions and an additional Pfizer Retirement Savings Contribution, paid vacation, holiday and personal days, paid caregiver/parental and medical leave, and health benefits to include medical, prescription drug, dental and vision coverage. Learn more at Pfizer Candidate Site – U.S. Benefits | (uscandidates.mypfizerbenefits.com). Pfizer compensation structures and benefit packages are aligned based on the location of hire. The United States salary range provided does not apply to Tampa, FL or any location outside of the United States. Relocation assistance may be available based on business needs and/or eligibility.
Hybrid