[Paper Review] Indexing of CNN Features for Large Scale Image Search
This paper proposes an inverted table-based indexing framework, IFC, for accelerating large-scale image retrieval using CNN features. By leveraging multiple codeword assignments and embedding codes via hashing, IFC reduces search time by up to 17x with minimal precision loss, outperforming brute-force and existing hashing methods on multiple benchmarks.
The convolutional neural network (CNN) features can give a good description of image content, which usually represent images with unique global vectors. Although they are compact compared to local descriptors, they still cannot efficiently deal with large-scale image retrieval due to the cost of the linear incremental computation and storage. To address this issue, we build a simple but effective indexing framework based on inverted table, which significantly decreases both the search time and memory usage. In addition, several strategies are fully investigated under an indexing framework to adapt it to CNN features and compensate for quantization errors. First, we use multiple assignment for the query and database images to increase the probability of relevant images' co-existing in the same Voronoi cells obtained via the clustering algorithm. Then, we introduce embedding codes to further improve precision by removing false matches during a search. We demonstrate that by using hashing schemes to calculate the embedding codes and by changing the ranking rule, indexing framework speeds can be greatly improved. Extensive experiments conducted on several unsupervised and supervised benchmarks support these results and the superiority of the proposed indexing framework. We also provide a fair comparison between the popular CNN features.
Motivation & Objective
- To address the high computational and storage costs of indexing global CNN features in large-scale image retrieval.
- To adapt inverted table structures—originally designed for local features like SIFT—to efficiently index compact, global CNN feature vectors.
- To reduce quantization errors and false matches in CNN-based retrieval through multiple assignment and embedding codes.
- To accelerate search speed while maintaining high precision by integrating hashing schemes into the indexing framework.
- To provide a fair comparison of popular CNN features under a unified, scalable indexing framework.
Proposed method
- The framework uses an inverted table structure where each CNN feature vector is mapped to multiple codewords via clustering, increasing the chance of relevant images co-occurring in the same Voronoi cells.
- Multiple assignment of feature vectors to codewords is applied to improve recall and reduce quantization error during retrieval.
- Embedding codes are computed using hashing schemes (e.g., VDSH) to refine matching and filter out false positives during search.
- The ranking rule is modified to prioritize candidates based on combined codeword and embedding code similarity, improving precision.
- The framework supports both unsupervised and supervised hashing methods, with VDSH used as a case study for integration.
- Search efficiency is enhanced by replacing full vector comparisons with fast bitwise operations on binary embedding codes.
Experimental results
Research questions
- RQ1Can an inverted table indexing structure be effectively adapted to accelerate retrieval of global CNN features?
- RQ2How can multiple codeword assignments improve retrieval accuracy and reduce quantization error in CNN-based indexing?
- RQ3To what extent can hashing-based embedding codes enhance precision while maintaining speed in CNN feature retrieval?
- RQ4How does the proposed IFC framework compare in speed and accuracy to brute-force and existing hashing methods on large-scale benchmarks?
- RQ5Does the performance of the indexing framework depend on the underlying CNN architecture used for feature extraction?
Key findings
- The IFC framework achieves up to 17x faster search than VDSH on the NUS-WIDE+Flickr1M dataset, with only a 5% drop in mAP.
- On the Oxford and Paris datasets, IFC-VDSH maintains high precision, with mAP scores of 0.5865 and 0.5915 respectively, while reducing search time to under 0.1 seconds per query.
- Multiple codeword assignment significantly improves recall by increasing the co-occurrence probability of relevant images in the same Voronoi cells.
- The use of embedding codes via VDSH reduces false matches and improves precision, especially in high-dimensional CNN feature spaces.
- The framework demonstrates strong adaptability, showing consistent performance gains across multiple CNN architectures, including AlexNet, VGG16, VGG19, GoogLeNet, and ResNets.
- Memory usage is significantly reduced, as the framework stores only image IDs and compact binary embedding codes, making it suitable for large-scale deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.