Reproducibility in Multiple Instance Learning: A Case For Algorithmic Unit Tests
Not on the map. Why?
Abstract (arXiv)
Multiple Instance Learning (MIL) is a sub-domain of classification problems with positive and negative labels and a "bag" of inputs, where the label is positive if and only if a positive element is contained within the bag, and otherwise is negative. Training in this context requires associating the bag-wide label to instance-level information, and implicitly contains a causal assumption and asymmetry to the task (i.e., you can't swap the labels without changing the semantics). MIL problems occur in healthcare (one malignant cell indicates cancer), cyber security (one malicious executable makes an infected computer), and many other tasks. In this work, we examine five of the most prominent deep-MIL models and find that none of them respects the standard MIL assumption. They are able to learn anti-correlated instances, i.e., defaulting to "positive" labels until seeing a negative counter-example, which should not be possible for a correct MIL model. We suspect that enhancements and other works derived from these models will share the same issue. In any context in which these models are being used, this creates the potential for learning incorrect models, which creates risk of operational failure. We identify and demonstrate this problem via a proposed "algorithmic unit test", where we create synthetic datasets that can be solved by a MIL respecting model, and which clearly reveal learning that violates MIL assumptions. The five evaluated methods each fail one or more of these tests. This provides a model-agnostic way to identify violations of modeling assumptions, which we hope will be useful for future development and evaluation of MIL models.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 24 of its 45 references that are in the map. First posted on arXiv 27 Oct 2023.
Builds on
24 of 45 references.
References · 24
- 2018Attention-based Deep Multiple Instance Learningcited by 1,077
- 2021TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classificationcited by 549
- 2020Are we done with ImageNet?cited by 329
- 2021Accounting for Variance in Machine Learning Benchmarkscited by 195
- 2019Are We Really Making Much Progress? A Worrying Analysis of Recent Neural Recommendation Approachescited by 181
- 2016Multiple Instance Learning: A Survey of Problem Characteristics and Applicationscited by 163
- 2016Revisiting Multiple Instance Neural Networkscited by 119
- 2015Should we really use post-hoc tests based on mean-ranks?cited by 116
- 2019A Step Toward Quantifying Independently Reproducible Machine Learning Researchcited by 77
- 2019Do We Train on Test Data? Purging CIFAR of Near-Duplicatescited by 61
- 2020Modern Hopfield Networks and Attention for Immune Repertoire Classificationcited by 52
- 2022Differentiable Zooming for Multiple Instance Learning on Whole-Slide Imagescited by 43
12 more
- 2017Replicability Analysis for Natural Language Processing: Testing Significance with Multiple Datasetscited by 32
- 2019Multiple instance learning with graph neural networkscited by 25
- 2021"Garbage In, Garbage Out" Revisited: What Do Machine Learning Application Papers Report About Human-Labeled Training Data?cited by 24
- 2022Reproducibility in Optimization: Theoretical Framework and Limitscited by 21
- 2018Non-Negative Networks Against Adversarial Attackscited by 20
- 2021Hyperparameter Optimization Is Deceiving Us, and How to Stop Itcited by 20
- 2022Multi-Instance Causal Representation Learning for Instance Label Prediction and Out-of-Distribution Generalizationcited by 17
- 2022Bag Graph: Multiple Instance Learning using Bayesian Graph Neural Networkscited by 6
- 2020Nested Multiple Instance Learning in Modelling of HTTP network trafficcited by 5
- 2023A Coreset Learning Reality Checkcited by 4
- 2017Multiple Instance Learning for Malware Classificationcited by 3
- 2021mil-benchmarks: Standardized Evaluation of Deep Multiple-Instance Learning Techniquescited by 1
Built on by
Citing papers per year: 2024: 2; 2025: 4; 2026: 5.
11 papers.
- 2024What Do Machine Learning Researchers Mean by "Reproducible"?cited by 8
- 2024From Correlation to Causation: Max-Pooling-Based Multi-Instance Learning Leads to More Robust Whole Slide Image Classificationcited by 7
- 2025Cracking Instance Jigsaw Puzzles: An Alternative to Multiple Instance Learning for Whole Slide Image Analysiscited by 3
- 2025torchmil: A PyTorch-based library for deep Multiple Instance Learningcited by 2
- 2025Synthetic Data Reveals Generalization Gaps in Correlated Multiple Instance Learningcited by 1
- 2026A Multi-Dataset Benchmark of Multiple Instance Learning for 3D Neuroimage Classificationcited by 1
- 2025A Vector Symbolic Approach to Multiple Instance Learningcited by 0
- 2026Bayesian Meta-Analyses Could Be More: A Case Study in Trial of Labor After a Cesarean-section Outcomes and Complicationscited by 0
- 2026Normal Guidance is what Attention Needscited by 0
- 2026Weakly-supervised Kidney Tumor Classification from CT Scans with Multi-Instance Learning and Anatomical Filteringcited by 0
- 2026Simpler Methods Work Better for L1 Penalized Logistic Models and Large Datasetscited by 0
- 2026Simpler Methods Work Better for L1 Penalized Logistic Models and Large Datasets21 Sep 2026
- 2026Weakly-supervised Kidney Tumor Classification from CT Scans with Multi-Instance Learning and Anatomical Filtering7 Sep 2026
- 2026Normal Guidance is what Attention Needs26 May 2026
- 2026A Multi-Dataset Benchmark of Multiple Instance Learning for 3D Neuroimage Classification29 Apr 2026
- 2026Bayesian Meta-Analyses Could Be More: A Case Study in Trial of Labor After a Cesarean-section Outcomes and Complications15 Jan 2026
- 2025A Vector Symbolic Approach to Multiple Instance Learning20 Nov 2025
- 2025Synthetic Data Reveals Generalization Gaps in Correlated Multiple Instance Learning29 Oct 2025
- 2025torchmil: A PyTorch-based library for deep Multiple Instance Learning9 Sep 2025
- 2025Cracking Instance Jigsaw Puzzles: An Alternative to Multiple Instance Learning for Whole Slide Image Analysis10 Jul 2025
- 2024What Do Machine Learning Researchers Mean by "Reproducible"?5 Dec 2024
- 2024From Correlation to Causation: Max-Pooling-Based Multi-Instance Learning Leads to More Robust Whole Slide Image Classification18 Aug 2024