Region-Based Image Retrieval Revisited

Ryota Hinami, Yusuke Matsui, Shin'ichi Satoh

Introduction

Standard image retrieval systems typically rely on "global features"—mathematical summaries of an entire image. While these are effective for broad queries like "a sunset," they struggle with complex scenes involving multiple objects and specific relative positions, such as "a dog to the left of a blue car." Early attempts at Region-Based Image Retrieval (RBIR) in the late 1990s aimed to solve this by indexing individual objects but were hampered by primitive feature representations like color histograms.

The RBIR query interface allows users to specify objects and receive spatial relationship recommendations to refine search results.

This research breathes new life into RBIR by replacing outdated features with a modern multitask CNN. The system addresses three modern gaps: the loss of spatial context in global features, the difficulty for users to manually define geometric spatial relationships (e.g., "riding"), and the challenge of combining object categories, instances, and attributes into a single query.

System Architecture and Methods

The authors propose a comprehensive pipeline that integrates deep learning with efficient indexing and an interactive user interface. The process is divided into database indexing, query preprocessing, and a multi-stage search procedure.

The complete system pipeline, showing database indexing, query processing via a multitask CNN, and the spatial relationship recommendation engine.

Multitask CNN Features

To handle diverse search types (category, instance, and attribute), the researchers developed a multitask CNN. After exploring various architectures, the "Merge" design—which uses separate convolutional layers but shared fully connected layers—proved most effective at balancing accuracy across different tasks. This allows features from instance retrieval and category search to complement each other.

Spatial Relationship Recommendation

A core innovation is the system's ability to suggest spatial constraints rather than requiring users to input complex equations. Recommendations are generated through two methods:

  1. Mining-based: The system clusters initial search results to identify common spatial patterns (e.g., finding that a "person" is usually positioned above a "bike").
  2. Language-based: Utilizing word embeddings (word2vec) and a model trained on the Visual Relationship Detection (VRD) dataset, the system predicts likely relationships based on category names.

Efficient Indexing

To enable real-time interaction, the system employs Inverted File with Asymmetric Distance Computation (IVFADC) and Product Quantization (PQ). This optimization allows the engine to search millions of regions in approximately 130ms.

Evaluation and Key Insights

The researchers validated the system using a wide array of benchmarks, including PASCAL VOC 2007, CUB-200-2011, and the Oxford 5K dataset.

Key findings include: * Recommendation Accuracy: The mining-based recommendation engine achieved an ~87% F-value using only three spatial constraints to reproduce user intentions. * Feature Versatility: The multitask feature outperformed standard ImageNet-trained models across category, scene, and instance search tasks. * Spatial Constraints as Cascades: Treating spatial relationships as a series of simple geometric filters (e.g., $O_1.top - O_2.top < \text{threshold}$) allows the system to maintain high recall even with noisy detection data.

Conclusion and Future Work

While the system successfully retrieves niche queries like "a car carrying a bicycle" or "skiing with a dog," some limitations remain. Training new attribute classifiers online currently requires a 5-second processing delay. Furthermore, the model relies heavily on bounding box geometry, making it less effective for non-spatial relationships like "looking at" or "talking to," which require fine-grained pose estimation. Future work will focus on scaling these sub-second performance metrics to billion-scale datasets.

Summary updated

BibTeX
@inproceedings{hinami2017region,
  author = {Ryota Hinami and Yusuke Matsui and Shin'ichi Satoh},
  title = {{Region-Based Image Retrieval Revisited}},
  booktitle = {ACM Multimedia},
  year = {2017},
  doi = {10.1145/3123266.3123312},
}
Figure