Learning Maximally Predictive Prototypes in Multiple Instance Learning

Mert Yüksekgönül, Özgür Emre Sivrikaya, Mustafa Gökçe BaydoganarXiv 2019

Introduction

Multiple Instance Learning (MIL) presents a unique challenge in machine learning: data is organized into "bags" where only the bag-level label is known, while the labels of individual instances within the bag remain hidden. For instance, in drug discovery, a molecule (the bag) is considered active if at least one of its conformations (instances) binds to a target. Traditional MIL approaches often rely on complex "black-box" neural networks, which lack interpretability—a critical requirement in fields like medicine and chemistry.

This paper introduces a simple yet powerful framework that replaces these opaque models with interpretable "prototypes." By learning representative points in the feature space and classifying data based on their distance to these points, the proposed model achieves state-of-the-art accuracy while providing clear insights into the model's decision-making process.

Methods

The core of the proposed approach is "Prototype Learning." Instead of transforming instances through multiple non-linear layers, the model learns a set of prototypes—idealized points in the feature space that capture key characteristics of the classes.

The Prototype Learning pipeline for Multiple Instance Learning.

The workflow consists of four main stages:

  1. Distance Mapping: The model calculates the distance between every instance in a bag and each learned prototype.
  2. Pooling: To accommodate bags of varying sizes, the model aggregates these distances using a pooling operator (e.g., min, max, or mean). For example, the min operator identifies how close the most relevant instance in a bag is to a specific prototype.
  3. Linear Classification: The resulting vector of aggregated distances is passed to a simple linear classifier, such as logistic regression.
  4. Joint Optimization: The coordinates of the prototypes and the weights of the linear classifier are learned simultaneously through backpropagation.

Datasets and Evaluation

The model's performance was validated across several benchmarks:

  • Classic MIL Benchmarks: These included molecular activity datasets (Musk1 and Musk2) and image annotation tasks (Elephant, Fox, and Tiger).
  • MNIST MIL: A synthetic dataset where bags of handwritten digits are labeled positive if they contain a specific target digit (e.g., '9'). This dataset served as a primary vehicle for demonstrating the model's interpretability.

Key Insights and Results

The "Prototype Learning" model consistently matched or exceeded the performance of complex state-of-the-art methods. Notably, on the Musk2 dataset, it achieved 94.2% accuracy, significantly outperforming Gated-Attention models (86.3%). Similarly, on the Tiger dataset, it reached 91.6% accuracy, compared to 84.5% for attention-based methods.

Beyond raw performance, the model offers several key advantages:

  • Built-in Interpretability: Since prototypes exist in the same feature space as the input data, they can be directly visualized. In the MNIST experiments, the learned prototypes clearly resembled the digits the model was trained to identify.
  • Efficiency: By relying on distance calculations and a single linear layer, the model is significantly faster to train and deploy than deep "Attention-MIL" architectures.
  • Permutation Invariance: The pooling step ensures the model is indifferent to the order of instances within a bag, satisfying a fundamental requirement of MIL.
Learned prototypes for the MNIST dataset, demonstrating high interpretability.

Conclusion and Future Work

The prototype-based approach demonstrates that simplicity can lead to both high performance and transparency in MIL. However, some challenges remain. The number of prototypes ($D$) is currently a fixed hyperparameter that requires careful tuning. Future research could explore learnable distance metrics beyond Euclidean distance and test the scalability of this approach on high-dimensional datasets, such as whole-slide medical imagery.

Summary updated

BibTeX
@misc{yuksekgonul2019learning,
  author = {Mert Yüksekgönül and Özgür Emre Sivrikaya and Mustafa Gökçe Baydogan},
  title = {{Learning Maximally Predictive Prototypes in Multiple Instance Learning}},
  year = {2019},
  eprint = {1910.00965},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.00965},
}
Figure