Skip to main content
QUICK REVIEW

[Paper Review] LSH Ensemble: Internet-Scale Domain Search

Erkang Zhu, Fatemeh Nargesian|arXiv (Cornell University)|Mar 24, 2016
Advanced Image and Video Retrieval TechniquesComputer Science27 references10 citations
TL;DR

LSH Ensemble is a scalable, high-accuracy index structure for internet-scale domain search using set containment similarity (Jaccard set containment score), leveraging Minwise Hashing and data partitioning to handle skewed domain size distributions. It achieves sub-3-second query response times on 262 million domains and outperforms baseline LSH by up to 15x in speed with improved precision.

ABSTRACT

We study the problem of domain search where a domain is a set of distinct values from an unspecified universe. We use Jaccard set containment, defined as $|Q \cap X|/|Q|$, as the relevance measure of a domain $X$ to a query domain $Q$. Our choice of Jaccard set containment over Jaccard similarity makes our work particularly suitable for searching Open Data and data on the web, as Jaccard similarity is known to have poor performance over sets with large differences in their domain sizes. We demonstrate that the domains found in several real-life Open Data and web data repositories show a power-law distribution over their domain sizes. We present a new index structure, Locality Sensitive Hashing (LSH) Ensemble, that solves the domain search problem using set containment at Internet scale. Our index structure and search algorithm cope with the data volume and skew by means of data sketches (MinHash) and domain partitioning. Our index structure does not assume a prescribed set of values. We construct a cost model that describes the accuracy of LSH Ensemble with any given partitioning. This allows us to formulate the partitioning for LSH Ensemble as an optimization problem. We prove that there exists an optimal partitioning for any distribution. Furthermore, for datasets following a power-law distribution, as observed in Open Data and Web data corpora, we show that the optimal partitioning can be approximated using equi-depth, making it efficient to use in practice. We evaluate our algorithm using real data (Canadian Open Data and WDC Web Tables) containing up over 262 M domains. The experiments demonstrate that our index consistently outperforms other leading alternatives in accuracy and performance. The improvements are most dramatic for data with large skew in the domain sizes. Even at 262 M domains, our index sustains query performance with under 3 seconds response time.

Motivation & Objective

  • To address the challenge of scalable, accurate domain search in open and web data repositories with highly skewed domain size distributions.
  • To design an index structure that supports set containment-based relevance (Jaccard set containment) rather than Jaccard similarity, which is biased toward small domains.
  • To enable efficient, parallel, and memory-efficient indexing and querying of hundreds of millions of domains without assuming a fixed vocabulary or data schema.
  • To formulate data partitioning as an optimization problem that maximizes precision while minimizing false positives across partitions.
  • To evaluate the method on real-world datasets (Canadian Open Data and WDC Web Tables) at internet scale.

Proposed method

  • The method uses Minwise Hashing to create compact sketches of domains, enabling efficient similarity estimation via Locality Sensitive Hashing (LSH).
  • It introduces an LSH Ensemble framework that partitions domains into multiple groups based on size, improving selectivity and reducing false positives.
  • The system employs a cost model to optimize partitioning, proving that an optimal partitioning exists for any data distribution.
  • For power-law distributed data, the optimal partitioning is approximated using equi-depth partitioning, which is both effective and efficient to implement.
  • The index is distributed across multiple machines, with queries processed in parallel across all partitions and results merged via union.
  • The framework dynamically adjusts to data skew by using partitioning that balances false positive rates across groups.

Experimental results

Research questions

  • RQ1Can a scalable index structure be designed to support set containment-based domain search at internet scale, especially under skewed domain size distributions?
  • RQ2How can Minwise Hashing and LSH be combined with data partitioning to improve precision and reduce false positives in domain search?
  • RQ3What is the optimal way to partition domains to minimize false positives while maintaining query efficiency?
  • RQ4Can equi-depth partitioning serve as an effective approximation of the optimal partitioning for power-law distributed data?
  • RQ5How does the LSH Ensemble framework perform in terms of accuracy and response time on real-world datasets with over 260 million domains?

Key findings

  • LSH Ensemble sustains sub-3-second query response times even on a dataset of 262.9 million domains, demonstrating strong scalability.
  • The method improves query performance by up to 15 times compared to baseline MinHash LSH, with the largest gains observed in highly skewed data.
  • For datasets with power-law domain size distributions, equi-depth partitioning closely approximates the optimal partitioning, enabling efficient and accurate indexing.
  • The precision of LSH Ensemble remains stable even when partition size standard deviation increases beyond 5,556, indicating robustness to moderate partitioning deviations.
  • Indexing scales linearly with data size, and parallel indexing across 5 machines maintains consistent performance regardless of the number of partitions.
  • The query cost of LSH Ensemble increases slowly with the number of domains due to improved selectivity from partitioning, and remains low even with 32 partitions.

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.