Abstract
The Vector of Locally Aggregated Descriptors (VLAD) is a widely used method for generating compact image representations for large-scale retrieval. However, standard VLAD faces a significant trade-off: reducing quantization error typically requires larger codebooks, which leads to high-dimensional descriptors that are computationally expensive to store and search. This paper introduces Enhanced VLAD (EVLAD), a framework that employs a two-level hierarchical codebook. By calculating residuals against fine-grained sub-centroids while maintaining a coarse-grained output structure, EVLAD minimizes quantization errors and improves retrieval accuracy without increasing memory overhead.
Introduction
In computer vision, image retrieval relies on extracting local descriptors (e.g., SIFT) and aggregating them into a global "fingerprint." VLAD achieves this by quantizing descriptors to the nearest visual word in a pre-trained codebook and recording the residual vector—the difference between the descriptor and its assigned centroid.
A primary challenge in this process is quantization error. Small codebooks result in generic visual words and large residuals, losing discriminative detail. Conversely, large codebooks produce high-dimensional vectors that hinder scalability. EVLAD addresses this by rethinking the relationship between descriptor assignment and residual computation.
Methodology: The EVLAD Framework
The core innovation of EVLAD is the use of a two-level hierarchical codebook to decouple the indexing of the descriptor from the precision of its residual.
Two-Level Hierarchical Codebooks
Instead of a single flat codebook, EVLAD utilizes:
- First-level Codebook ($C^1$): Contains $K$ centroids used to partition the feature space.
- Second-level Codebook ($C^2$): For each region defined by $C^1$, a set of $L$ sub-centroids is trained.
Hierarchical Encoding
When a local descriptor is processed, it is assigned to the nearest first-level centroid $c_i$. This assignment determines the position of the descriptor's data within the final $K \times d$ dimensional vector. Crucially, the residual is not calculated against $c_i$, but against the nearest second-level sub-centroid $c_j^i$ within that region.
This encoding strategy allows for much smaller residuals (higher precision) while keeping the final vector dimension fixed. The resulting representation captures finer details without the memory penalty of a larger primary codebook.
Enhanced Multiple Inverted Files (EMQs)
For non-exhaustive searches in million-scale databases, the authors developed the EMQ algorithm. This strategy disperses second-level codewords into multiple quantizers, ensuring a balanced and accurate search index by maximizing the distance between centroids within a group.
Experimental Evaluation
The authors evaluated EVLAD on three standard benchmarks: the Holidays dataset (mAP), the UKB dataset (Recall@4), and Holidays_Flickr1M for large-scale performance.
Key Results
EVLAD consistently outperformed standard VLAD and Intra-normalized VLAD ($VLAD_{IN}$):
- Accuracy Boost: On the Holidays dataset, EVLAD achieved an mAP of 0.635, compared to 0.561 for standard VLAD, representing a 13.3% improvement.
- UKB Performance: EVLAD scored 3.51/4.0, significantly higher than the 3.20 achieved by standard VLAD.
- Large Scale Efficiency: Even when compressed into an 8-byte code for a 1-million image database, EVLAD maintained a higher mAP (0.339) than its competitors.
Conclusion
EVLAD demonstrates that hierarchical codebooks can significantly mitigate quantization errors in image retrieval. By decoupling assignment from residual computation, the framework provides a more discriminative image representation without increasing dimensionality. Future work may explore deeper hierarchies or the application of this method to deep-learning-based descriptors.
Summary updated