Randomized visual phrases for object search

Yuning Jiang, Jingjing Meng, Junsong Yuan

Abstract

Traditional object search methods often struggle with cluttered backgrounds and varying object scales. This paper introduces Randomized Visual Phrases (RVP), a novel approach that utilizes spatial random partitioning to bundle local features into robust visual phrases. By moving away from rigid grids and complex segmentation, RVP achieves state-of-the-art accuracy and significant speed improvements, making it highly suitable for large-scale visual retrieval tasks.

Introduction

Visual object search—finding a specific logo or item within a massive image database—is a fundamental challenge in computer vision. Unlike whole-image retrieval, the target object often occupies only a small fraction of the frame, surrounded by background noise or "clutter."

To improve accuracy, researchers use visual phrases, which bundle groups of nearby features to provide spatial context. However, traditional methods for creating these bundles, such as fixed grids or k-nearest neighbors (k-NN), are often sensitive to noise and scale changes.

A real-world instance of a target logo (DEXIA) from the BelgaLogos dataset, illustrating the challenge of object search in cluttered scenes.

Methodology: Spatial Random Partitioning

The authors propose Spatial Random Partitioning to overcome the limitations of rigid grouping. Instead of seeking a single "perfect" segmentation, the method embraces randomness through an ensemble approach:

  1. Feature Extraction: Standard local invariant features (like SIFT) are extracted and converted into "visual words."
  2. Random Partitioning: The image is divided into an $M \times N$ grid of rectangular patches. This process is repeated $K$ times (e.g., 200 rounds), with grid lines shifted randomly in each iteration.
  3. Visual Phrases: Each random patch bundles the features inside it into a "Randomized Visual Phrase" (RVP).
  4. Voting & Matching: Each RVP is compared to the query object to generate a similarity score. Every pixel inside that patch receives this score as a "vote."
  5. Confidence Map: By averaging the votes from all $K$ rounds, a heat map is created where high-scoring regions represent the most likely location of the object.
Spatial partitioning of features (pink circles) on a logo using a random grid to form visual phrases.

Experimental Results

The RVP method was evaluated on three benchmarks: the Groundhog Day database, BelgaLogos, and a large-scale set containing 1 million distractor images from Flickr.

  • Accuracy: On the BelgaLogos dataset, RVP achieved a Mean Average Precision (mAP) of 0.295, significantly outperforming the state-of-the-art Efficient Subimage Retrieval (ESR) at 0.245.
  • Speed: RVP is remarkably efficient, processing images in 1.8 to 7.8 milliseconds per image, compared to 25.4 milliseconds for standard Efficient Subwindow Search (ESS).
  • Scalability: The system maintained high precision even when buried under a million distractor images, proving its viability for web-scale visual search.

Conclusion

Randomized Visual Phrases provide a robust and efficient framework for object search by leveraging the "wisdom of the crowd" through multiple random partitions. This approach naturally combines matching and localization into a single, parallelizable step. Future work may extend this random partitioning technique to broader tasks such as category-level object detection and common pattern discovery.

Summary updated

BibTeX
@inproceedings{jiang2012randomized,
  author = {Yuning Jiang and Jingjing Meng and Junsong Yuan},
  title = {{Randomized visual phrases for object search}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2012},
  doi = {10.1109/cvpr.2012.6248042},
}
Figure