Abstract
Several recent works have shown that image descriptors produced by deep convolutional neural networks provide state-of-the-art performance for image classification and retrieval problems. It also has been shown that the activations from the convolutional layers can be interpreted as local features describing particular image regions. These local features can be aggregated using methods developed for local features (e.g., Fisher vectors), thus providing new powerful global descriptors. In this paper, we investigate possible ways to aggregate local deep features to produce compact descriptors for image retrieval. First, we show that deep features and traditional hand-engineered features have quite different distributions of pairwise similarities, hence existing aggregation methods have to be carefully re-evaluated. Such re-evaluation reveals that in contrast to shallow features, the simple aggregation method based on sum pooling provides the best performance for deep convolutional features. This method is efficient, has few parameters, and bears little risk of overfitting. In addition, we suggest a simple yet efficient query expansion scheme suitable for the proposed aggregation method. Overall, the new compact global descriptor improves the state-of-the-art on four common benchmarks considerably.
Introduction
Image retrieval—finding a specific object or scene in a massive database—requires a "global descriptor," a single mathematical vector representing the entire image. Early deep learning approaches utilized the outputs of Fully Connected (FC) layers. However, FC layers require fixed-size inputs, warping aspect ratios, and lose significant spatial information. Researchers have since turned to Convolutional (Conv) layers, treating activations as "local features" similar to dense SIFT. The core challenge addressed here is how to best combine thousands of these local convolutional features into one compact, discriminative vector.
The SPoC Method
The authors introduce SPoC (Sum-Pooled Convolutional features), an elegant pipeline for global descriptor generation:
- Feature Extraction: An image is passed through a pre-trained CNN (e.g., VGG/OxfordNet), and activations are extracted from the final convolutional layer.
- Sum Pooling: Instead of complex embedding steps like Fisher Vectors, feature vectors are simply summed across all spatial locations.
- Centering Prior: To account for the typical composition of photographs, a Gaussian weighting scheme is applied, giving higher weight to features near the center of the image.
- Post-processing: The resulting vector undergoes PCA compression and whitening. Whitening is essential as it suppresses "bursty" common patterns and amplifies discriminative ones.
- Normalization: Final $L_2$ normalization prepares the descriptors for efficient similarity searching.
Analysis of Feature Distributions
A key insight of this work is that deep features are inherently more discriminative than SIFT. In high-dimensional space, a deep feature has very few "accidental" close neighbors. Traditional methods like Fisher Vectors were designed to mitigate SIFT's weaknesses, but for deep features, these complex transformations can lead to overfitting.
Experimental Results
SPoC was evaluated on four standard benchmarks: INRIA Holidays, Oxford Buildings (Oxford5K), Oxford105K, and the University of Kentucky Benchmark (UKB). The method consistently outperformed more complex aggregation techniques and previous FC-layer-based descriptors.
- Oxford5K: Achieved a Mean Average Precision (mAP) of 0.66 with only 256 dimensions, a significant jump from previous deep learning methods (~0.43–0.55).
- Holidays: Reached 0.80 mAP, outperforming both SIFT-based and other CNN-based competitors.
- Efficiency: By avoiding high-dimensional embeddings, SPoC is faster to compute and requires less data to train PCA/whitening parameters compared to Fisher Vectors.
Conclusion
This research demonstrates that for deep convolutional features, simpler aggregation often yields superior results. While the centering prior is highly effective for landmark datasets, future work could explore multi-scale processing and fine-tuning networks specifically for retrieval tasks to further improve robustness and accuracy.
Summary updated