Reproduce “Attention-based Deep Multiple Instance Learning” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Maximilian Ilse, Jakub M. Tomczak, Max Welling

The authors propose attention-based pooling for multiple-instance learning, where a model predicts a bag’s label without instance-level labels. A learned weighted average combines instance features while preserving order-invariance, and its weights are only a proxy for instance importance. On a 100-image colon-cancer dataset, bag-level accuracy was 0.904 ± 0.011 versus 0.860 ± 0.014 for Embedding+mean. These results are limited to this dataset and binary MIL.

Key insights

  • A permutation-invariant scoring function for bag-level prediction can be achieved by transforming individual instances, aggregating them with a symmetric function, and then transforming the aggregated representation.
  • Using a trainable attention mechanism for pooling instance embeddings allows the model to learn the importance of each instance, enabling both high bag-level performance and instance-level interpretability.
  • The attention weights directly indicate which instances contribute most to the bag's prediction, effectively highlighting key regions of interest within weakly labeled data.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.