ADMIL: Attention-Distilled Multiple Instance Learning for Selective Foundation Model Inference in Pathology
Organizations: Department of Data Science, Dana-Farber Cancer Institute, Boston, MA · Department of Pathology, Dana-Farber Cancer Institute, Boston, MA · Department of Pathology, Brigham and Women’s Hospital, Boston, MA · Harvard Medical School, Boston, MA
Abstract
Attention-based multiple instance learning (ABMIL) using pathology foundation model embeddings is effective for slide-level tasks, but exhaustive inference requires applying a large image encoder to every foreground tile despite the subsequent attention distribution often concentrating over a small subset of informative regions. We introduce ADMIL (Attention-Distilled Multiple Instance Learning), a selective-compute framework that distills an ABMIL teacher's attention into a lightweight tile-selection model, PriorNet. Using an EfficientNet architecture, PriorNet learns the teacher attention distribution from raw tile pixels with KL divergence; at inference, it scores the foreground pool, selects the top-K tiles, and invokes the expensive foundation model only on that subset before a selected-bag ABMIL student predicts the slide label. Across BRACS, PANDA, and CAMELYON16, ADMIL matches full-teacher headline performance at K=4, 8, and 128 tiles, respectively, avoiding >98% of foundation model (Virchow2) tile embeddings and model inference FLOPs. Random and teacher-attention oracle controls show that this result depends on task-relevant selection rather than tile-count reduction alone. Quantitative and qualitative analyses suggest that PriorNet recovers the teacher's tile ordering with high fidelity while focusing on task-relevant morphological regions. ADMIL shows that nearly all expensive tile encodings can be removed without sacrificing slide-level performance, providing a potential path for more efficient deployment in clinical settings where latency and compute costs are key considerations.
Figures & tables
| Dataset | Metric | Full teacher | Teacher 95% CI | ADMIL at | ADMIL 95% CI | FM saved (%) | FLOPs saved (%) | |
|---|---|---|---|---|---|---|---|---|
| BRACS | Balanced Acc. | 4 | 0.648 | [0.594, 0.700] | 0.670 | [0.617, 0.720] | 99.8 | 99.6 |
| PANDA | QWK | 8 | 0.854 | [0.838, 0.870] | 0.858 | [0.842, 0.874] | 98.5 | 98.3 |
| CAMELYON16 | AUROC | 128 | 0.976 | [0.954, 0.991] | 0.978 | [0.960, 0.992] | 99.0 | 98.7 |
| Dataset | Pearson | Pearson 95% CI | Spearman | Spearman 95% CI |
|---|---|---|---|---|
| CAMELYON16 | 0.456 | [0.425, 0.487] | 0.799 | [0.778, 0.821] |
| PANDA | 0.622 | [0.532, 0.713] | 0.839 | [0.816, 0.861] |
| BRACS | 0.342 | [0.246, 0.412] | 0.579 | [0.518, 0.628] |
Selective Inference
Selective inference develops valid statistical conclusions after data-dependent choices such as feature selection, clustering, or adaptive evaluation.
See all 23 papers