NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Revisiting multiple instance neural networks

Xinggang Wang, Yongluan Yan, Peng Tang, Xiang Bai, Wenyu Liu

Abstract

Multiple Instance Learning (MIL) addresses problems where labels are assigned to sets of instances (bags) rather than individual data points. This paper integrates modern deep learning techniques—specifically deep supervision and residual connections—into MIL frameworks. The resulting neural network architectures, mi-Net and MI-Net, achieve state-of-the-art performance on classic benchmarks with significantly improved inference speeds.

Introduction

In standard supervised learning, every data point is associated with a specific label. However, many real-world scenarios involve "weak" labels. In Multiple Instance Learning (MIL), data is organized into bags. A positive bag contains at least one positive instance, while a negative bag contains only negative instances. The primary challenge lies in the ambiguity of instance labels: the model must learn to identify the bag's label without knowing which specific instances are responsible for it. Common examples include medical imaging (where a whole scan is labeled based on a small cancerous region) and text classification.

Methodology

The authors propose two primary neural network architectures to address the MIL problem:

  1. mi-Net (Instance-Space): This approach focuses on classifying each instance individually. The network generates an "instance score" for every member of a bag. A MIL Pooling Layer then aggregates these scores (using functions like Max, Mean, or Log-Sum-Exp) to produce the final bag-level prediction.
  2. MI-Net (Embedded-Space): Instead of scoring instances directly, this network learns a feature representation (embedding) for each instance. These embeddings are pooled into a single "bag representation" vector, which is then processed by a final classifier.

Modern Enhancements

To improve training stability and feature quality, the authors introduced several "Deep Learning" upgrades:

  • Deep Supervision (DS): Auxiliary classifiers are added to intermediate layers. This provides a stronger gradient signal to lower layers, which is crucial in MIL where labels are sparse.
  • Residual Connections (RC): Inspired by ResNet, these connections allow the network to learn residuals of bag representations, facilitating the training of deeper architectures.
  • MIL Pooling Layer: A differentiable bridge that allows the network to handle varying bag sizes and enables end-to-end training via back-propagation.
Architecture of MI-Net with Deep Supervision, showing multiple MIL pooling layers providing auxiliary signals to intermediate layers.

Experimental Setup

The models were evaluated on several classic MIL benchmarks, including MUSK1 and MUSK2 (drug activity), the Elephant, Fox, and Tiger datasets (image annotation), and the 20 Newsgroups dataset (text categorization).

Key Insights and Results

The experimental results yielded several critical observations regarding the behavior of deep MIL networks:

  • Embedded-Space Superiority: The MI-Net architecture generally outperformed mi-Net. This suggests that learning a collective representation of a bag is more effective than pinpointing individual "trigger" instances.
  • The Impact of Deep Supervision: Deep supervision proved to be a vital component. By providing auxiliary signals, it significantly boosted accuracy across all datasets, helping to overcome the "washed out" gradients typical of MIL.
  • Efficiency: These neural networks offer exceptional speed. Inference takes approximately 0.0003 seconds per bag, and training on datasets like MUSK1 completes in seconds on a standard CPU.
  • The "Deep" Limit: Interestingly, increasing the depth or width of the networks did not always lead to better performance. As shown in the figure below, accuracy often plateaus or even slightly declines as depth increases beyond a certain point, likely due to the relatively small size of traditional MIL benchmarks.
Average prediction accuracy across different datasets as a function of network depth.

Conclusion

This work demonstrates that integrating modern deep learning components into MIL frameworks leads to highly efficient and accurate models. MI-Net with Deep Supervision achieved state-of-the-art results (e.g., 89.4% on MUSK1) while maintaining near-instantaneous inference speeds. Future work may explore more sophisticated, learnable pooling methods and the application of these techniques to larger-scale datasets where the benefits of deep architectures can be fully realized.

Summary updated

BibTeX
@article{wang2018revisiting,
  author = {Xinggang Wang and Yongluan Yan and Peng Tang and Xiang Bai and Wenyu Liu},
  title = {{Revisiting multiple instance neural networks}},
  journal = {Pattern Recognition},
  year = {2018},
  doi = {10.1016/j.patcog.2017.08.026},
}
Figure