Multi-View Complementary Hash Tables for Nearest Neighbor Search

Xianglong Liu, Lei Huang, Cheng Deng, Jiwen Lu, Bo Lang

Abstract

Nearest neighbor search in large-scale datasets requires efficient hashing techniques that can handle high-dimensional, multi-view data without redundant results. This paper introduces Multi-View Complementary Hash Tables (MVCH), a framework that constructs a sequence of hash tables designed to work synergistically. By adaptively fusing multiple data views and employing a boosting-like reweighting scheme, MVCH ensures that each subsequent table captures neighbor pairs missed by previous ones, significantly enhancing search recall while maintaining high precision.

Introduction

In the era of "Big Data," finding the nearest neighbor to a query is computationally demanding. Hashing maps high-dimensional data into short binary codes to accelerate searches. However, existing methods often struggle with two issues: the Multi-View Gap, where complex correlations between different feature types (e.g., texture vs. shape) are ignored, and Table Redundancy, where multiple independently learned tables find the same "easy" neighbors, failing to provide comprehensive coverage.

Methodology

Exemplar-based Feature Fusion

To ensure scalability, MVCH avoids raw high-dimensional features in favor of a small set of exemplars (cluster centers). Each data point is represented by its similarity to these exemplars, creating a sparse, nonlinear mapping. Features from multiple views are then fused using a weighted linear combination. This approach results in a low-rank similarity matrix, allowing the algorithm to learn hash functions in linear time $O(N)$, a significant improvement over the cubic time $O(N^3)$ required by standard spectral methods.

Sequential Complementary Learning

To eliminate redundancy, MVCH builds tables sequentially using a boosting-inspired strategy. After a table is constructed, the algorithm identifies "mis-separated" neighbor pairs—those that should reside in the same bucket but do not.

Figure 1: Illustration of the sequential reweighting process. As the algorithm moves from the $l$-th to the $(l+1)$-th table, exemplars near missed neighbors are reweighted to ensure the next table corrects previous errors.

As shown in Figure 1, the importance of exemplars near these missed neighbors is increased. The subsequent table is then trained with these updated weights, forcing it to focus on regions of the data space that previous tables failed to cover.

Experimental Evaluation

Datasets

The authors evaluated MVCH on three large-scale image benchmarks with multiple visual descriptors:

  • CIFAR-10 (60K images): SIFT and GIST features.
  • TRECVID (260K images): GIST and Spatial Pyramid Bag-of-Words.
  • NUS-WIDE (270K images): Wavelet texture, color moments, and SIFT-based Bag-of-Words.

Results

MVCH consistently outperformed state-of-the-art baselines, including Anchor Graph Hashing (AGH) and Complementary Hashing (CH).

Figure 2: Average precision (AP) comparison across CIFAR-10, TRECVID, and NUS-WIDE benchmarks. MVCH (labeled as MFCH in the legend) consistently achieves the highest precision across different table counts.

Key performance highlights include:

  • Recall Gains: On CIFAR-10, MVCH achieved up to a 52.58% gain in recall compared to standard multi-table methods.
  • Precision Stability: Unlike methods where precision drops as more tables are added, MVCH maintains stability. On CIFAR-10 with 16 tables, it achieved 23.76% precision, significantly higher than LSH or ITQ (~14-15%).
  • Efficiency: The sequential learning process remains computationally efficient, with online search speeds comparable to linear and multi-view hashing baselines.

Discussion and Conclusion

The success of MVCH stems from its emphasis on diversity over redundancy. By explicitly forcing tables to be complementary, the system achieves better coverage with fewer tables. Furthermore, the use of low-rank approximations via exemplars makes the training process feasible for large datasets.

Future work may address the sensitivity of hyperparameters, such as the number of exemplars and the fusion balance, as well as exploring more sophisticated anchor selection methods beyond k-means to further refine performance.

Summary updated

BibTeX
@inproceedings{liu2015multi,
  author = {Xianglong Liu and Lei Huang and Cheng Deng and Jiwen Lu and Bo Lang},
  title = {{Multi-View Complementary Hash Tables for Nearest Neighbor Search}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2015},
  doi = {10.1109/iccv.2015.132},
}
Figure