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

Variational Bayesian Multiple Instance Learning with Gaussian Processes

Manuel Haußmann, Fred A. Hamprecht, Melih Kandemir

Abstract

Multiple Instance Learning (MIL) addresses scenarios where labels are provided for groups of instances (bags) rather than individual data points. While Gaussian Processes (GPs) offer a robust framework for handling uncertainty and non-linear boundaries, their application to MIL has historically been limited by computational complexity and the difficulty of deriving instance-level predictions under discrete constraints. This paper introduces VGPMIL, a variational Bayesian framework that leverages a novel "noisy" bag likelihood to enable analytical, closed-form updates. By incorporating sparse GP approximations and a large-margin extension (LM-VGPMIL), the proposed method achieves state-of-the-art performance in object detection, medical imaging, and text classification while maintaining high scalability.

Introduction

In many real-world applications, "weak labels" are the only available form of supervision. For instance, in pathology, a doctor might label an entire slide as "cancerous" without pinpointing specific malignant cell clusters. This is the core of Multiple Instance Learning (MIL): data is organized into bags, where a bag is positive if at least one constituent instance is positive, and negative if all instances are negative.

The primary challenges in MIL are twofold: identifying the specific "trigger" instances within positive bags and scaling models to large datasets. Gaussian Processes are well-suited for these tasks due to their expressive power and uncertainty quantification, but they typically suffer from $O(N^3)$ complexity and require complex approximations for non-Gaussian likelihoods.

Methodology

The authors propose Variational Gaussian Process Multiple Instance Learning (VGPMIL), which addresses these challenges through three key innovations.

Noisy Bag Likelihood and Graphical Model

The core of VGPMIL is a reformulated likelihood function that acts as a "noisy" version of the MIL constraint. This function assigns high probability when the MIL rules are satisfied and low probability otherwise, with a parameter $H$ controlling the strictness of the constraint. This formulation allows the model to remain robust to outliers while facilitating mathematical tractability.

Graphical model of the VGPMIL framework showing the relationships between latent variables $z_m, u_m$, instances $x_i$, and bag labels $T_b$.

Analytical Variational Inference

To avoid the slow convergence of gradient-based methods, the authors employ the Jaakkola bound to linearize the sigmoid function within the variational lower bound. This derivation leads to closed-form update rules, allowing the model to converge rapidly—often in fewer than 20 iterations—without the need for learning rate tuning.

Scalability and Large-Margin Extensions

To handle large-scale data, VGPMIL utilizes a sparse GP approximation (FITC), reducing computational complexity to $O(M^2N)$, where $M$ is the number of inducing points. Furthermore, the LM-VGPMIL extension introduces a gating mechanism that pushes uncertain instances away from the decision boundary, improving performance in "cluttered" datasets where classes overlap significantly.

Experimental Results

The framework was evaluated across three diverse domains: text classification (20 Newsgroups), medical imaging (Barrett’s Cancer Localization), and weakly supervised object detection (PASCAL VOC 2007 & 2012).

Weakly Supervised Object Detection

On the PASCAL VOC 2007 benchmark, VGPMIL significantly outperformed existing methods, achieving a mean Average Precision (mAP) of 46.1, compared to the previous state-of-the-art of 39.5.

Performance comparison on PASCAL VOC 2007 and 2012 benchmarks, showing VGPMIL and LM-VGPMIL outperforming prior state-of-the-art methods in mAP and CorLoc.

Medical and Text Benchmarks

In cancer localization, LM-VGPMIL reached an accuracy of 77.3%, surpassing Dirichlet Process-based MIL models. In text classification, the model achieved a mAP of 0.73 on the 20 Newsgroups task, setting a new benchmark for instance-level label prediction.

Conclusion

VGPMIL successfully bridges the gap between the expressive power of Gaussian Processes and the practical requirements of Multiple Instance Learning. By deriving analytical updates and a flexible noisy likelihood, the authors provide a scalable, high-performance tool for weakly supervised learning. Future work includes exploring end-to-end training with deep feature extractors and extending the framework to multiclass scenarios.

Summary updated

BibTeX
@inproceedings{haumann2017variational,
  author = {Manuel Haußmann and Fred A. Hamprecht and Melih Kandemir},
  title = {{Variational Bayesian Multiple Instance Learning with Gaussian Processes}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.93},
}
Figure