Abstract
This paper investigates the application of the Faster R-CNN object detection framework to the task of instance search. Unlike traditional methods that rely on classification-based features, this approach utilizes the Region Proposal Network (RPN) to identify candidate regions and extracts localized features for precise spatial reranking. By fine-tuning the model on specific query instances and employing novel pooling strategies—Image-wise Pooling of Activations (IPA) and Region-wise Pooling of Activations (RPA)—the authors achieve state-of-the-art performance on standard benchmarks like Oxford 5k and Paris 6k.
Introduction
Instance search involves finding specific objects, such as a particular landmark or logo, within a large-scale image database. Most existing retrieval systems utilize "off-the-shelf" features from Convolutional Neural Networks (CNNs) trained for general image classification (e.g., VGG or ResNet on ImageNet). While effective for category-level recognition, these features often lack the specificity required to distinguish between individual instances of the same category.
Traditional pipelines typically involve a two-stage process: a fast global search followed by a computationally intensive spatial reranking step, often using sliding windows. This paper explores whether a detection-based framework like Faster R-CNN, which inherently handles region proposals and scoring, can streamline this process while improving accuracy.
Methodology
The proposed retrieval pipeline leverages the Faster R-CNN architecture, focusing on three primary innovations: feature pooling strategies, spatial reranking, and fine-tuning.
Feature Pooling Strategies
The authors introduce two distinct pooling methods to extract descriptors at different granularities:
- Image-wise Pooling of Activations (IPA): A global image descriptor is created by aggregating activations from the final convolutional layer (Conv5_3). This descriptor is used for the initial coarse filtering of the database.
- Region-wise Pooling of Activations (RPA): The Region Proposal Network (RPN) identifies high-quality candidate regions. Local descriptors are then extracted for these regions to facilitate precise reranking.
Spatial Reranking and Fine-tuning
Two reranking approaches were evaluated: Class-Agnostic (CA-SR), which ranks regions based on cosine similarity to the query, and Class-Specific (CS-SR), which utilizes classification scores from a fine-tuned model. To optimize performance, the authors found that fine-tuning the entire "backbone" (convolutional layers and RPN) was crucial for the network to learn the specific visual textures of target objects.
Experiments and Results
The system was evaluated on the Oxford Buildings 5k, Paris Buildings 6k, and TRECVid Instance Search (INS) 2013 datasets.
Performance Analysis
A key finding was the trade-off between sum-pooling and max-pooling. Sum-pooling proved superior for initial global filtering (IPA), while max-pooling was more effective for localizing objects during the reranking stage (RPA).
Fine-tuning the convolutional layers led to significant gains, increasing mAP by approximately 20% on the landmark datasets. On Oxford 5k, the best configuration achieved an mAP of 0.786, outperforming contemporary methods. The approach also demonstrated robustness on the challenging TRECVid INS dataset, achieving an mAP of 0.339 in cluttered, non-landmark scenes.
Conclusion
This work demonstrates that detection-based features from Faster R-CNN are highly effective for instance search. By replacing exhaustive sliding windows with RPN proposals, the system achieves both speed and accuracy. While the requirement for fine-tuning on specific instances remains a limitation for unseen queries, the results highlight the power of localized, detection-oriented representations for fine-grained image retrieval. Future work may address data scarcity through augmentation and explore higher-resolution inputs to preserve fine details.
Summary updated