In-Context Multiple Instance Learning
Not on the map. Why?
Abstract (arXiv)
Multiple Instance Learning (MIL) addresses problems where supervision is available at the level of bags of instances and has been successfully applied in fields ranging from computational pathology to satellite imagery. Nevertheless, existing algorithms struggle in the low-label regime that characterizes many real-world applications. Flexible models overfit and rigid ones fail to adapt to the task at hand. We show that pretraining an in-context learner with a Perceiver-style architecture on synthetic data yields a model that can solve new tasks from a handful of labeled bags. At inference time, classification happens in a single forward pass and requires no gradient updates. We propose and investigate different synthetic data generators for bag-structured data and find that they capture complementary inductive biases. A model pretrained on a mixture of these generators inherits their per-task strengths and achieves the best average performance across twelve MIL benchmarks, outperforming supervised baselines that require task-specific training.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 28 of its 50 references that are in the map. First posted on arXiv 4 Jun 2026.
Builds on
28 of 50 references.
References · 28
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2017Deep Setscited by 1,421
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2018Attention-based Deep Multiple Instance Learningcited by 1,095
- 2022TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Secondcited by 674
- 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
- 2021Transformers Can Do Bayesian Inferencecited by 360
- 2025TabICL: A Tabular Foundation Model for In-Context Learning on Large Datacited by 289
- 2016Multiple Instance Learning: A Survey of Problem Characteristics and Applicationscited by 164
- 2024The Road Less Scheduledcited by 163
- 2024Multimodal Whole Slide Foundation Model for Pathologycited by 162
16 more
- 2023Visual Language Pretrained Multiple Instance Zero-Shot Transfer for Histopathology Imagescited by 134
- 2023PFNs4BO: In-Context Learning for Bayesian Optimizationcited by 73
- 2023Attention-Challenging Multiple Instance Learning for Whole Slide Image Classificationcited by 61
- 2025From Tables to Time: Extending TabPFN-v2 to Time Series Forecastingcited by 60
- 2025Do-PFN: In-Context Learning for Causal Effect Estimationcited by 51
- 2025Real-TabPFN: Improving Tabular Foundation Models via Continued Pre-training With Real-World Datacited by 41
- 2016Parameterized Machine Learning for High-Energy Physicscited by 34
- 2025Do Multiple Instance Learning Models Transfer?cited by 29
- 2024xMIL: Insightful Explanations for Multiple Instance Learning in Histopathologycited by 16
- 2025TabPFN-Wide: Continued Pre-Training for Extreme Feature Countscited by 16
- 2025nanoTabPFN: A Lightweight and Educational Reimplementation of TabPFNcited by 15
- 2022Tools and Practices for Responsible AI Engineeringcited by 9
- 2025MeDi: Metadata-Guided Diffusion Models for Mitigating Biases in Tumor Classificationcited by 7
- 2026MapPFN: Learning Causal Perturbation Maps in Contextcited by 3
- 2025torchmil: A PyTorch-based library for deep Multiple Instance Learningcited by 2
- 2026Beyond Attention Heatmaps: How to Get Better Explanations for Multiple Instance Learning Models in Histopathologycited by 2
Built on by
Not cited yet.