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

Multi Instance Learning For Unbalanced Data

Mark Kozdoba, Edward Moroshko, Lior Shani, Takuya Takagi, Takashi Katoh, Shie Mannor, Koby CrammerarXiv 2018

Abstract

Multi-Instance Learning (MIL) is traditionally approached through complex, specialized algorithms designed to handle the ambiguity of bag-level labels. This paper challenges that paradigm by demonstrating that the simplest MIL strategy—the Single Instance (SI) method—is remarkably robust under conditions of high data imbalance and non-linear classification. We show that high imbalance actually serves as a protective factor against intra-bag dependencies, and that the perceived failures of SI in prior literature are often attributable to the use of linear models rather than inherent flaws in the method.

Introduction

In Multi-Instance Learning (MIL), data is grouped into "bags." A bag is labeled positive if it contains at least one positive instance, and negative otherwise. The primary challenge lies in the unknown instance-level labels within positive bags. The Single Instance (SI) method simplifies this by assigning the bag's label to all constituent instances. While historically criticized for introducing label noise, this paper investigates the specific conditions—namely data imbalance and model non-linearity—under which SI remains competitive or even superior to complex MIL objectives.

Theoretical Foundations

The authors provide a large-sample theoretical analysis of the SI objective, deriving the optimal classifier it converges toward. A key finding is the Non-Linearity Argument: even if the true instance-level classifier is linear, the optimal SI classifier is inherently non-linear. This implies that neural networks, with their capacity for non-linear transformations, are uniquely suited for SI learning.

Furthermore, the paper explores the Mixing Assumption, which posits that negative instances are statistically identical regardless of their bag's label. In real-world data, this assumption is often violated due to intra-bag dependencies (e.g., "cars" and "traffic lights" appearing together). The authors prove that as the ratio of negative to positive bags increases (high imbalance), the SI method becomes increasingly tolerant of these violations, effectively using the abundance of negative data as a "safety margin."

Experimental Evaluation

The study utilizes both synthetic datasets and the COCO (Common Objects in Context) computer vision dataset to validate these theoretical insights.

Synthetic Results

In controlled environments designed to violate standard MIL assumptions, the SI method demonstrates significant performance gains when paired with non-linear architectures.

Average Precision (AP) comparison between SI and Unbiased Estimator on synthetic data.

As shown in the results above, the SI method with a two-layer neural network achieves a perfect Average Precision (AP) of 1.0. This starkly contrasts with the performance of a linear (one-layer) model (0.21) and a specialized "Unbiased Estimator" (0.23), confirming that model complexity is a critical factor in SI success.

Real-World Performance on COCO

On the COCO dataset, where images are treated as bags and patches as instances, the SI method achieved a mean Average Precision (mAP) of 0.56. This performance nearly matches the 0.59 mAP achieved by state-of-the-art, more complex MIL objectives, suggesting that the simplicity of SI does not necessarily come at the cost of accuracy in large-scale applications.

Conclusion

The SI method offers a scalable and effective alternative for MIL, particularly in the presence of high data imbalance and non-linear data distributions. By treating instances independently, SI avoids the memory overhead associated with bag-level processing, making it ideal for massive datasets. Future research will focus on finite-sample behavior and hyperparameter optimization specifically tailored for the SI objective.

Summary updated

BibTeX
@misc{kozdoba2018multi,
  author = {Mark Kozdoba and Edward Moroshko and Lior Shani and Takuya Takagi and Takashi Katoh and Shie Mannor and Koby Crammer},
  title = {{Multi Instance Learning For Unbalanced Data}},
  year = {2018},
  eprint = {1812.07010},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.07010},
}
Figure