mlsanityData to 7 Oct 2026

Reproducibility in Multiple Instance Learning: A Case For Algorithmic Unit Tests

arXiv 2310.17867 ↗First posted 27 Oct 2023stat.ML cs.AI cs.LGcited by 11

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

  1. 2018Attention-based Deep Multiple Instance Learningcited by 1,077
  2. 2021TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classificationcited by 549
  3. 2020Are we done with ImageNet?cited by 329
  4. 2021Accounting for Variance in Machine Learning Benchmarkscited by 195
  5. 2019Are We Really Making Much Progress? A Worrying Analysis of Recent Neural Recommendation Approachescited by 181
  6. 2016Multiple Instance Learning: A Survey of Problem Characteristics and Applicationscited by 163
  7. 2016Revisiting Multiple Instance Neural Networkscited by 119
  8. 2015Should we really use post-hoc tests based on mean-ranks?cited by 116
  9. 2019A Step Toward Quantifying Independently Reproducible Machine Learning Researchcited by 77
  10. 2019Do We Train on Test Data? Purging CIFAR of Near-Duplicatescited by 61
  11. 2020Modern Hopfield Networks and Attention for Immune Repertoire Classificationcited by 52
  12. 2022Differentiable Zooming for Multiple Instance Learning on Whole-Slide Imagescited by 43
12 more
  1. 2017Replicability Analysis for Natural Language Processing: Testing Significance with Multiple Datasetscited by 32
  2. 2019Multiple instance learning with graph neural networkscited by 25
  3. 2021"Garbage In, Garbage Out" Revisited: What Do Machine Learning Application Papers Report About Human-Labeled Training Data?cited by 24
  4. 2022Reproducibility in Optimization: Theoretical Framework and Limitscited by 21
  5. 2018Non-Negative Networks Against Adversarial Attackscited by 20
  6. 2021Hyperparameter Optimization Is Deceiving Us, and How to Stop Itcited by 20
  7. 2022Multi-Instance Causal Representation Learning for Instance Label Prediction and Out-of-Distribution Generalizationcited by 17
  8. 2022Bag Graph: Multiple Instance Learning using Bayesian Graph Neural Networkscited by 6
  9. 2020Nested Multiple Instance Learning in Modelling of HTTP network trafficcited by 5
  10. 2023A Coreset Learning Reality Checkcited by 4
  11. 2017Multiple Instance Learning for Malware Classificationcited by 3
  12. 2021mil-benchmarks: Standardized Evaluation of Deep Multiple-Instance Learning Techniquescited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 4; 2026: 5.

11 papers.