Abstract
This paper introduces DP-MINN, a novel multi-instance learning (MIL) framework that replaces traditional static pooling functions with an iterative Dynamic Pooling mechanism. Inspired by the dynamic routing principles of Capsule Networks, this approach enables neural networks to adaptively select key instances and model contextual relationships within a data "bag." Experimental results demonstrate that DP-MINN significantly outperforms traditional MIL methods across diverse domains, including drug discovery, image retrieval, and medical diagnosis.
Introduction
In Multi-instance Learning (MIL), data is organized into "bags," where labels are provided at the bag level rather than for individual instances. For example, an image may be labeled as containing a "beach," but the specific segments (instances) representing sand, water, or palm trees are not explicitly annotated.
The primary challenge in MIL is pooling: the process of aggregating information from multiple instances into a single bag-level representation. Traditional methods like Max or Mean pooling are often too rigid, either focusing on a single outlier or diluting the signal across all instances. While attention-based pooling offers more flexibility, it frequently treats instances independently, failing to capture the "context" or co-occurrence of instances necessary for complex classification tasks.
Methodology: Dynamic Pooling for Multi-Instance Neural Networks
The authors propose DP-MINN, which utilizes an iterative "agreement" process to refine bag representations. The architecture first processes instances through a standard neural network to generate instance embeddings.
The Iterative Routing Process
Unlike static pooling, the bag embedding in DP-MINN is a weighted sum of instance embeddings where weights are dynamically updated through $T$ iterations (typically $T=3$). The process involves:
- Bag Embedding Calculation: An initial bag representation is formed.
- Squashing Function: A non-linear function is applied to the vector, shrinking short vectors toward zero and long vectors toward unit length, effectively representing class probability through vector magnitude.
- Agreement Update: The weight of each instance ($c_i$) is updated based on the scalar product (agreement) between the instance embedding and the current bag embedding.
This mechanism allows the model to focus on instances that "agree" with the emerging bag-level concept, facilitating the modeling of instance co-occurrence.
Experimental Results
DP-MINN was evaluated against a wide array of benchmarks, including drug activity (MUSK1, MUSK2), image retrieval (Fox, Tiger, Elephant), and medical diagnosis (UCSB breast cancer).
As shown in the results table, DP-MINN achieved state-of-the-art or highly competitive performance across all datasets:
- Drug Discovery: On the MUSK2 dataset, DP-MINN achieved a top-tier 92.6% accuracy, significantly outperforming Attention-based MIL (85.8%).
- Image Retrieval: Accuracies on the Fox, Tiger, and Elephant datasets improved by at least 3.7% compared to other neural MIL methods.
- Medical Diagnosis: The model reached 92.7% accuracy on the UCSB breast dataset, demonstrating its utility in high-stakes visual tasks.
Key Insights and Discussion
- Contextual Modeling: By moving beyond single "key instance" detection, DP-MINN captures the synergy between multiple instances, which is crucial when a label depends on the co-occurrence of different features.
- Interpretability: The final weights ($c_i$) assigned to instances provide a built-in explanation for the model's decisions, highlighting the most relevant segments of a bag.
- Robustness of Squashing: The use of the squashing function and margin loss proved more robust than standard softmax outputs for MIL, as the vector magnitude naturally represents the confidence of the bag-level classification.
Conclusion and Future Work
DP-MINN represents a significant advancement in weakly supervised learning by introducing adaptive, iterative pooling. While currently focused on binary classification, future work includes extending the framework to multi-class and multi-label scenarios, as well as exploring its application in video analysis and genomic sequencing. Despite the slight computational overhead of iterative routing, the performance gains and interpretability make it a compelling choice for complex MIL problems.
Summary updated