Deep multiple instance learning for image classification and auto-annotation

Jiajun Wu, Yinan Yu, Chang Huang, Kai Yu

Introduction

Deep learning has achieved remarkable success in computer vision, primarily driven by massive datasets with "strong" labels—precise annotations like bounding boxes or pixel-level masks. However, acquiring such labels is expensive and time-consuming. In contrast, the real world and the internet are abundant with "weak" labels, such as image-level tags or noisy web metadata.

This paper introduces Deep Multiple Instance Learning (DMIL), a framework designed to bridge the gap between the power of Deep Convolutional Neural Networks (CNNs) and the reality of weakly supervised data. By treating image regions and noisy tags as "bags of instances," the model learns to perform image classification and auto-annotation without requiring dense human supervision.

The DMIL Framework

The core innovation of this work is the direct integration of Multiple Instance Learning (MIL) into deep learning architectures. In the MIL paradigm, labels are assigned to "bags" (the entire image) rather than individual "instances" (specific regions). The model assumes that if an image is labeled with a certain category, at least one region within that image must contain an object of that category.

Overview of the DMIL framework for joint image classification and auto-annotation

Key Architectural Components

  • The MIL Layer: The researchers replaced standard fully connected layers at the end of a CNN with an aggregation layer. This layer processes multiple instances—such as image patches generated by object proposal algorithms—and combines their features using an aggregation function.
  • Aggregation Strategies: After testing various methods, including averaging and log-sum-exp, the authors found that max-pooling performed best. Max-pooling effectively identifies the single most confident instance (the "needle in the haystack") to represent the bag's label.
  • Dual MIL Assumption: The framework treats both visual and verbal data as MIL problems. An image is viewed as a bag of object proposals, while web-crawled tags are treated as a bag of potential keywords.
  • Joint Learning: The "Joint DMIL" model learns the relationship between specific image regions and keywords simultaneously, enabling the system to both locate and name objects within an image.
Detailed architecture of the Deep CNN with an integrated MIL layer

Experimental Evaluation

The authors evaluated DMIL across three diverse benchmarks: PASCAL VOC 2007 for object recognition, MIT Indoor Scene 67 for scene classification, and a new "Words" dataset containing 2,500 images across 50 categories with both noisy tags and verified patch-level annotations.

Key Results

  • Classification Performance: On PASCAL VOC 2007, the Joint DMIL model achieved a 75.5% mean Average Precision (mAP), significantly outperforming the OverFeat (CNN-SVM) baseline of 73.0%.
  • Scene Recognition: On the MIT Indoor 67 dataset, DMIL reached 61.2% mean accuracy, surpassing several state-of-the-art methods that relied on higher-dimensional feature representations.
  • Auto-Annotation Accuracy: The model improved keyword prediction accuracy on PASCAL VOC to 56.5%, compared to 49.0% for standard deep neural networks. Qualitatively, the model successfully paired specific image regions with descriptive keywords (e.g., "Motorbike") with minimal supervision.

Conclusion and Future Work

DMIL demonstrates that deep networks can effectively learn from noisy, weakly labeled data by leveraging the MIL paradigm. While the system's performance is currently linked to the quality of initial object proposals, it offers a scalable path toward utilizing uncurated web data. Future research may extend this framework to more complex tasks such as full image segmentation or learning from even more diverse, multi-modal web sources.

Summary updated

BibTeX
@inproceedings{wu2015deep,
  author = {Jiajun Wu and Yinan Yu and Chang Huang and Kai Yu},
  title = {{Deep multiple instance learning for image classification and auto-annotation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7298968},
}
Figure