Selective Deep Convolutional Features for Image Retrieval

Tuan Hoang, Thanh-Toan Do, Dang-Khoa Le Tan, Ngai-Man Cheung

Introduction

In Content-Based Image Retrieval (CBIR), the goal is to identify images within a database that are visually similar to a query image. While Deep Convolutional Neural Networks (CNNs) have revolutionized feature extraction, their raw activations often contain significant redundancy and noise. This paper addresses two primary challenges in CNN-based retrieval: burstiness—where repetitive patterns dominate the image representation—and computational inefficiency caused by processing non-discriminative background features.

The Problem: Burstiness and Redundancy

Traditional hand-crafted features like SIFT have long-established methods for handling "bursts" of repetitive descriptors. However, this issue has been largely overlooked in deep learning transitions. CNN feature maps often contain hundreds of local descriptors, many of which are nearly identical or represent uninformative background noise. Processing every pixel in a feature map is not only computationally expensive but can also drown out unique, discriminative features, leading to lower retrieval accuracy.

Proposed Methodology: Selective Masking

The core innovation of this work is a framework that selectively "masks" deep convolutional features to retain only the most representative local information. By reducing the number of features before aggregation, the authors solve the burstiness problem while improving speed.

Masking Schemes

The authors propose three distinct strategies to select a subset of local features from a convolutional layer:

  • SIFT-mask: Uses a traditional SIFT detector to identify interest points and selects CNN features at those specific spatial coordinates.
  • SUM-mask: Calculates the sum of activations across all channels at each spatial location. It retains only "high-energy" regions where the sum exceeds the median.
  • MAX-mask: For each of the $K$ feature maps, it identifies the single location with the maximum activation. This ensures the most prominent visual structure for every learned filter is captured.
Visual comparison of the proposed masking schemes (SIFT, SUM, and MAX) applied to landmark images.

Feature Pipeline

Following selection, the masked features undergo a multi-stage processing pipeline:

  1. Compression: PCA is applied to reduce dimensionality and filter noise.
  2. Embedding: Features are embedded into a higher-dimensional space using methods like Fisher Vectors (FV), VLAD, or T-emb.
  3. Aggregation: Democratic Pooling is used to weigh features, ensuring no single visual element dominates the final global descriptor.
  4. Post-processing: The final vector is refined via Power-law normalization (to further suppress burstiness) and whitening.

Key Insights and Results

The framework was evaluated on standard benchmarks including Oxford5k, Paris6k, and Holidays.

  • Efficiency and Accuracy: Remarkably, masking can remove up to 70% of local features (specifically with MAX-mask) while actually increasing retrieval accuracy. This demonstrates that a large portion of CNN activations are redundant for the retrieval task.
  • Discriminative Power: Masked features exhibit lower covariance than the full set, meaning they are more uncorrelated and thus more discriminative when aggregated.
  • Performance: Using a VGG16 backbone, the framework achieved a mean Average Precision (mAP) of 75.3% on Oxford5k and 89.0% on Holidays, outperforming established methods like R-MAC and NetVLAD. When combined with fine-tuned networks, performance reached as high as 83.8% mAP on Oxford5k.

Conclusion

This research proves that "less is more" in the context of deep feature retrieval. By intelligently selecting a sparse subset of activations, the proposed framework mitigates the burstiness effect and reduces computational overhead without sacrificing—and often improving—state-of-the-art accuracy. Future work may involve integrating these selective masks with deep hashing techniques to create even more compact representations for web-scale search.

Summary updated

BibTeX
@inproceedings{hoang2017selective,
  author = {Tuan Hoang and Thanh-Toan Do and Dang-Khoa Le Tan and Ngai-Man Cheung},
  title = {{Selective Deep Convolutional Features for Image Retrieval}},
  booktitle = {ACM Multimedia},
  year = {2017},
  url = {https://openreview.net/forum?id=myURn8w_Yhw},
}
Figure