Object Discovery From a Single Unlabeled Image by Mining Frequent Itemsets With Multi-Scale Features

Runsheng Zhang, Yaping Huang, Mengyang Pu, Jian Zhang, Qingji Guan, Qi Zou, Haibin Ling

TL;DR

Object Location Mining (OLM) is a novel, unsupervised method that discovers and localizes objects within a single image without any labels or prior training. By treating pre-trained CNN feature maps as a transaction database and applying classic frequent itemset mining, OLM identifies spatially consistent patterns that accurately pinpoint dominant objects and their parts.

What Problem Does This Paper Address?

Most modern object localization techniques are "data-hungry," requiring either exhaustive bounding box annotations (supervised) or at least image-level category labels (weakly supervised). Even "co-localization" methods require a collection of images known to contain the same object class.

This paper tackles the much harder, more realistic "in the wild" scenario: Object discovery from a single, completely unlabeled image. The goal is to find the most dominant object in an image without knowing what it is beforehand or having seen similar images. This is challenging because there is no external guidance to distinguish the "object" from a complex, noisy background.

Methods

The authors propose Object Location Mining (OLM), which cleverly bridges deep learning and classical data mining. The process involves four main steps:

  1. Multi-scale Feature Extraction: An image is passed through a pre-trained CNN (like VGG-16). The authors extract feature maps from two different layers (Pool-5 and ReLU-5) to capture both high-level semantics and finer spatial details. The coarser Pool-5 maps are upsampled to match the ReLU-5 resolution.
  2. Transaction Creation: This is the core innovation. In data mining, a "transaction" is a set of items (like a grocery receipt). OLM treats each channel of the feature maps as a transaction. Each spatial location $(x, y)$ in the feature map is a potential item. If a location's activation in a specific channel is above a certain threshold, that location is added to that channel's "transaction."
  3. Pattern Mining: Using the classic Apriori algorithm, OLM searches for "frequent itemsets"—sets of spatial locations that are activated together across many different feature channels. The intuition is that while background noise might trigger random activations, the actual object parts will consistently fire across many semantic filters.
  4. Selecting and Merging: The mined patterns are merged based on spatial continuity. OLM identifies the largest connected component of these frequent patterns to generate a "support map," which highlights the object's region. A final bounding box is drawn around this dominant component.
Overview of the OLM process, showing feature extraction, transaction creation, and pattern mining to produce a support map.

Datasets

The authors evaluated OLM across a wide range of tasks and benchmarks:

  • Fine-grained Localization: CUB-200-2011 (birds), Stanford Dogs, FGVC-Aircrafts, and Stanford Cars-196.
  • Object Discovery: The Object Discovery dataset (airplane, car, horse categories).
  • General Object Localization: PASCAL VOC 2007 and ImageNet Unseen Subsets (categories the CNN was not originally trained on).
  • Saliency Detection: Seven datasets including ECSSD, PASCAL-S, SOD, and the challenging SOC dataset.

Key Insights and Ideas

  • CNNs as Implicit Discoverers: Pre-trained CNNs already contain "object-aware" filters. OLM simply provides a way to aggregate their collective "votes" without needing new labels.
  • Spatial Co-occurrence is Key: The fundamental "aha" moment is realizing that object regions aren't just highly activated; they are consistently activated across a large number of diverse feature channels. Pattern mining is the perfect tool to find this consistency.
  • Multi-scale Synergy: Combining features from different depths of the network (e.g., Pool-5 and ReLU-5) significantly improves localization compared to using a single layer, as it balances semantic strength with spatial precision.
  • No Training Required: Because it reuses pre-trained weights and uses an algorithmic mining approach, OLM requires zero training or fine-tuning on new datasets, making it extremely efficient and portable.

Key Results

OLM demonstrates impressive performance for a completely unsupervised method:

  • Superiority over Baselines: On fine-grained datasets, OLM significantly outperformed SCDA (a previous state-of-the-art unsupervised method), for example, achieving 80.45% CorLoc on CUB-200-2011 compared to SCDA's 76.79%.
  • Competitive with Co-localization: Despite only seeing one image, OLM often matched or beat methods that had access to multiple images of the same class. On the Object Discovery "horse" category, OLM set a new state-of-the-art CorLoc of 78.49%.
  • Generalization: OLM performed remarkably well on "unseen" classes in ImageNet, proving it isn't just memorizing the 1000 classes it was pre-trained on.
  • Downstream Benefits: Using OLM to localize parts for fine-grained classification improved ResNet-50 accuracy on the CUB-200-2011 test set from 82.9% to 86.2%.
Qualitative results showing OLM's ability to localize objects in challenging scenarios compared to ground truth.

Limitations and Future Work

  • Bounding Box Generation: The authors noted that while the support maps are often accurate, the simple heuristic for drawing a bounding box around the largest connected component can sometimes fail, especially in very cluttered scenes (see Figure 5d in the paper).
  • Dominant Object Bias: The current method is optimized for finding the most dominant object. While it can find multiple objects, its evaluation primarily focuses on the primary one.
  • Feature Dependency: The method's success is tied to the quality of the underlying pre-trained CNN. As better backbone models emerge, OLM's performance is likely to scale with them.

Future work could involve developing more sophisticated methods to generate bounding boxes from the support maps or extending the mining process to better handle images with many small, disparate objects.

Summary updated

BibTeX
@article{zhang2020object,
  author = {Runsheng Zhang and Yaping Huang and Mengyang Pu and Jian Zhang and Qingji Guan and Qi Zou and Haibin Ling},
  title = {{Object Discovery From a Single Unlabeled Image by Mining Frequent Itemsets With Multi-Scale Features}},
  journal = {IEEE Trans. Image Process.},
  year = {2020},
  url = {https://openreview.net/forum?id=Z7bNuQZq4MI},
}
Figure