Rethinking Multiple-Instance Learning From Feature Space to Probability Space

Zhaolong Du, Shasha Mao, Xuequan Lu, Mengnan Qi, Yimeng Zhang, Jing Gu, Licheng JiaoICLR 2025

TL;DR

Multiple-Instance Learning (MIL) often fails when trained end-to-end on complex data because the feature extractor "drifts" into learning irrelevant representations. This paper introduces PSMIL, a framework that shifts the MIL problem from feature space to probability space, using self-training alignment and prototype-based attention to achieve near-supervised performance on challenging benchmarks.

What Problem Does This Paper Address?

Multiple-Instance Learning (MIL) is a weakly supervised paradigm where data is organized into "bags" of instances. We only know if a bag contains at least one "key" instance (a positive label), but we don't know which specific instances are the important ones.

Historically, researchers used pre-extracted, simple features to avoid the complexity of training a deep neural network from scratch. However, when modern deep MIL models try to learn features and classification simultaneously on complex data (like raw images), they often suffer from algorithm degradation.

The authors identify two main culprits:

  1. Feature Drift: Without instance-level labels, the feature extractor learns "unintended" features that don't help with classification, eventually leading the model to converge to random guessing.
  2. Selection Drift: Standard attention mechanisms rely on these drifting features to pick "key" instances. If the features are messy, the attention mechanism picks the wrong instances, creating a vicious cycle of poor learning.

Methods

The authors propose the Probability-Space MIL (PSMIL) network to anchor the learning process in a more stable environment.

  • Probability-Space Alignment (PSAli): To combat feature drift, the authors introduce a self-training strategy. They generate multiple augmented versions of an instance and align their predicted probabilities toward an "optimal" pseudo-label. They mathematically prove that the best target for this alignment is the normalized product of the predicted probabilities across the augmented set.
  • Probability-Space Attention Pooling (PSAtt): Instead of calculating attention weights directly from raw features (which are prone to drift), PSMIL uses "class prototypes"—representative vectors for each class—to map features into a probability distribution first. Attention is then applied to these probabilities. This makes the selection process much more robust to perturbations in the underlying feature space.
Overview of the PSMIL architecture, showing the transition from feature extraction to probability-space alignment and attention.

Datasets

The researchers evaluated PSMIL across a wide range of tasks:

  • Simulated Complex Datasets: They created MIL versions of Fashion-MNIST, SVHN, CIFAR-10, and CIFAR-100 to test the model's ability to learn representations from scratch.
  • Classic MIL Benchmarks: Small-scale datasets including MUSK1, MUSK2, FOX, TIGER, and ELEPHANT.
  • Large-Scale Real-World Data: Histopathology datasets for cancer diagnosis, specifically CAMELYON16 (breast cancer) and TCGA Lung Cancer.

Key Insights and Ideas

  • The "Probability Space" Advantage: Features can change wildly during training, but the probability of an instance belonging to a class is a more constrained and meaningful signal. By forcing the model to be consistent in probability space, the authors provide the "guidance" that is usually missing in MIL.
  • Attention is Fragile: The paper reveals that the widely-used attention-pooling mechanism is a major point of failure when features aren't pre-optimized. Moving attention to probability space acts as a filter for feature noise.
  • Closing the Supervision Gap: One of the most striking insights is that with the right constraints, MIL can perform almost as well as fully supervised learning (where every instance is labeled), even though it only sees one label per bag.

Key Results

  • Fixing Degradation: On CIFAR-10 and CIFAR-100, standard models like ABMIL and TransMIL completely failed when trained end-to-end. PSMIL not only avoided failure but achieved 88.59% accuracy on CIFAR-10 and 70.4% on CIFAR-100.
  • Significant Gains: The incremental alignment strategy alone brought more than a 19% accuracy improvement to existing mainstream models on simulated datasets.
  • Near-Supervised Performance: PSMIL's performance came within 5% of a fully supervised ResNet18 model on complex tasks.
  • Real-World Success: On the CAMELYON16 dataset, PSMIL achieved an AUC of 0.956, outperforming other state-of-the-art methods and providing much cleaner "heatmaps" for tumor localization.
Test accuracy across epochs for FMNIST, SVHN, CIFAR-10, and CIFAR-100, demonstrating PSMIL's stability and superior performance compared to baseline MIL models.

Limitations and Future Work

While PSMIL shows great promise, the authors note a few areas for further exploration:

  • Data Augmentation Dependency: The alignment strategy relies on data augmentation. In some specialized fields (like certain types of medical imaging or non-image data), effective "on-the-shelf" augmentation methods might not be readily available.
  • Computational Cost: Training complex feature extractors end-to-end in a multi-instance mode is significantly more time-consuming than using pre-extracted features.
  • Future Directions: The authors suggest that the concept of probability-space constraints could be extended to other weakly supervised tasks beyond MIL, such as partial label learning or noisy label learning.

Summary updated

BibTeX
@inproceedings{du2025rethinking,
  author = {Zhaolong Du and Shasha Mao and Xuequan Lu and Mengnan Qi and Yimeng Zhang and Jing Gu and Licheng Jiao},
  title = {{Rethinking Multiple-Instance Learning From Feature Space to Probability Space}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=torbeUlslS},
}
Figure