Skip to main content
QUICK REVIEW

[Paper Review] Scalable Locality-Sensitive Hashing for Similarity Search in High-Dimensional, Large-Scale Multimedia Datasets

Thiago Teixeira, George Teodoro|arXiv (Cornell University)|Oct 15, 2013
Advanced Image and Video Retrieval TechniquesComputer Science31 references4 citations
TL;DR

This paper proposes a scalable, distributed Locality-Sensitive Hashing (LSH) index for high-dimensional, large-scale multimedia similarity search, using hierarchical parallelization, locality-aware data partitioning, and multi-probing to achieve 90% efficiency on 801 CPU cores. It handles the largest publicly available dataset (1 billion 128D SIFT vectors), reducing communication by 30% and improving performance by 1.68× over baseline partitioning strategies.

ABSTRACT

Similarity search is critical for many database applications, including the increasingly popular online services for Content-Based Multimedia Retrieval (CBMR). These services, which include image search engines, must handle an overwhelming volume of data, while keeping low response times. Thus, scalability is imperative for similarity search in Web-scale applications, but most existing methods are sequential and target shared-memory machines. Here we address these issues with a distributed, efficient, and scalable index based on Locality-Sensitive Hashing (LSH). LSH is one of the most efficient and popular techniques for similarity search, but its poor referential locality properties has made its implementation a challenging problem. Our solution is based on a widely asynchronous dataflow parallelization with a number of optimizations that include a hierarchical parallelization to decouple indexing and data storage, locality-aware data partition strategies to reduce message passing, and multi-probing to limit memory usage. The proposed parallelization attained an efficiency of 90% in a distributed system with about 800 CPU cores. In particular, the original locality-aware data partition reduced the number of messages exchanged in 30%. Our parallel LSH was evaluated using the largest public dataset for similarity search (to the best of our knowledge) with $10^9$ 128-d SIFT descriptors extracted from Web images. This is two orders of magnitude larger than datasets that previous LSH parallelizations could handle.

Motivation & Objective

  • Address the scalability challenge of similarity search in Web-scale, high-dimensional multimedia datasets.
  • Overcome the limitations of sequential LSH implementations in distributed, non-uniform memory architectures.
  • Design a parallel LSH system that avoids data replication and minimizes communication overhead.
  • Evaluate the system on the largest publicly available multimedia dataset (1 billion 128D SIFT descriptors) to demonstrate real-world scalability.
  • Optimize for both performance and memory efficiency using multi-probing and efficient data partitioning strategies.

Proposed method

  • Decompose LSH into a dataflow pipeline to separate hash table management from data storage, avoiding data replication.
  • Implement hierarchical parallelization with multi-threaded stateful stages per node to reduce the number of data partitions and improve scalability.
  • Apply locality-aware data partitioning using LSH-based mapping to minimize inter-node communication and improve data access locality.
  • Use a widely asynchronous design to overlap communication and computation, enhancing throughput.
  • Introduce multi-probing in LSH to reduce the number of required hash tables, thereby limiting memory usage while maintaining search quality.
  • Optimize message grouping in multi-probe operations to reduce communication volume and improve performance.

Experimental results

Research questions

  • RQ1Can LSH be effectively parallelized in a distributed memory environment without incurring excessive communication costs?
  • RQ2How does locality-aware data partitioning impact communication volume and performance in distributed LSH indexing?
  • RQ3What is the optimal trade-off between the number of hash tables (L), number of hash functions per table (M), and number of probes (T) in a distributed multi-probe LSH system?
  • RQ4To what extent can hierarchical parallelization and multi-probing reduce memory footprint while maintaining search quality?
  • RQ5How does the proposed system scale on a large-scale dataset of 1 billion 128D SIFT descriptors?

Key findings

  • The proposed distributed LSH achieved 90% efficiency using 801 CPU cores across 51 nodes, demonstrating strong scalability on a large-scale system.
  • The locality-aware data partitioning strategy based on the LSH function reduced message passing by 30% compared to baseline methods.
  • The LSH-based data partitioning improved performance by at least 1.68× over mod and Z-order mapping strategies, with minimal load imbalance (1.80%).
  • The system achieved a recall of approximately 0.74 with L=6, M=32, and T=60, and execution time grew sublinearly with increasing probe count T.
  • The optimal number of hash tables (L) and functions per table (M) were found to be in the range of 6–12 and 30–40, respectively, for balancing performance and memory usage.
  • Multi-probing enabled a significant reduction in the number of required hash tables while maintaining high search quality, improving memory efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.