• Home
  • Search
  • A Bayesian Perspective on Locality Sensitive Hashing with Extensions for Kernel Methods
  • Cite Icon20
  • https://doi.org/10.1145/2778990Copy DOI Icon

A Bayesian Perspective on Locality Sensitive Hashing with Extensions for Kernel Methods

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Given a collection of objects and an associated similarity measure, the all-pairs similarity search problem asks us to find all pairs of objects with similarity greater than a certain user-specified threshold. In order to reduce the number of candidates to search, locality-sensitive hashing (LSH) based indexing methods are very effective. However, most such methods only use LSH for the first phase of similarity search—that is, efficient indexing for candidate generation. In this article, we present BayesLSH , a principled Bayesian algorithm for the subsequent phase of similarity search—performing candidate pruning and similarity estimation using LSH. A simpler variant, BayesLSH-Lite , which calculates similarities exactly, is also presented. Our algorithms are able to quickly prune away a large majority of the false positive candidate pairs, leading to significant speedups over baseline approaches. For BayesLSH, we also provide probabilistic guarantees on the quality of the output, both in terms of accuracy and recall. Finally, the quality of BayesLSH’s output can be easily tuned and does not require any manual setting of the number of hashes to use for similarity estimation, unlike standard approaches. For two state-of-the-art candidate generation algorithms, AllPairs and LSH, BayesLSH enables significant speedups, typically in the range 2 × --20 × for a wide variety of datasets. We also extend the BayesLSH algorithm for kernel methods—in which the similarity between two data objects is defined by a kernel function. Since the embedding of data points in the transformed kernel space is unknown, algorithms such as AllPairs which rely on building inverted index structure for fast similarity search do not work with kernel functions. Exhaustive search across all possible pairs is also not an option since the dataset can be huge and computing the kernel values for each pair can be prohibitive. We propose K-BayesLSH an all-pairs similarity search problem for kernel functions. K-BayesLSH leverages a recently proposed idea— kernelized locality sensitive hashing (KLSH)—for hash bit computation and candidate generation, and uses the aforementioned BayesLSH idea for candidate pruning and similarity estimation. We ran a broad spectrum of experiments on a variety of datasets drawn from different domains and with distinct kernels and find a speedup of 2 × --7 × over vanilla KLSH.

Similar Papers
  • Book Chapter
  • Citations3

Improving Locality Sensitive Hashing Based Similarity Search and Estimation for Kernels

  • Jan 01, 2016
  • Aniket Chakrabarti +2
  • Research Article
  • Citations15

Refining Codes for Locality Sensitive Hashing

  • Mar 01, 2024
  • IEEE Transactions on Knowledge and Data Engineering
  • Huawen Liu +5
  • Conference Article
  • Citations18

SES-LSH: Shuffle-Efficient Locality Sensitive Hashing for Distributed Similarity Search

  • Jun 01, 2017
  • Dongsheng Li +3
  • Research Article
  • Citations22

An improved method of locality sensitive hashing for indexing large-scale and high-dimensional features

  • Jul 25, 2012
  • Signal Processing
  • Xiaoguang Gu +4
  • Book Chapter
  • Citations1

A Privacy Preserving Similarity Search Scheme over Encrypted High-Dimensional Data for Multiple Data Owners

  • Jan 01, 2018
  • Cheng Guo +3
  • PDF
  • Research Article
  • Citations7

Application of kernel functions for accurate similarity search in large chemical databases.

  • Apr 01, 2010
  • BMC Bioinformatics
  • Xiaohong Wang +3
  • Research Article
  • Citations87

Robust hashing with local models for approximate similarity search.

  • Jul 01, 2014
  • IEEE Transactions on Cybernetics
  • Jingkuan Song +4
  • Research Article
  • Citations5

Privacy preserving weighted similarity search scheme for encrypted data

  • Jan 01, 2019
  • IET Information Security
  • Cheng Guo +2
  • Conference Article
  • Citations4

Random hyperplane projection using derived dimensions

  • Jun 06, 2010
  • Konstantinos Georgoulas +1
  • Conference Article
  • Citations13

Sequential Hypothesis Tests for Adaptive Locality Sensitive Hashing

  • May 18, 2015
  • Aniket Chakrabarti +1
  • Research Article
  • Citations48

Earth mover's distance based similarity search at scale

  • Dec 01, 2013
  • Proceedings of the VLDB Endowment
  • Yu Tang +4
  • Conference Article
  • Citations15

Optimal Las Vegas Locality Sensitive Data Structures

  • Oct 01, 2017
  • Thomas Dybdahl Ahle
  • Research Article
  • Citations33

In Defense of Locality-Sensitive Hashing.

  • Oct 24, 2016
  • IEEE Transactions on Neural Networks and Learning Systems
  • Kun Ding +4
  • Conference Article

Efficient Bitmap-based Indexing and Retrieval of Similarity Search Image Queries

  • Mar 01, 2020
  • Omid Jafari +2
  • Research Article
  • Citations24

BitHash: An efficient bitwise Locality Sensitive Hashing method with applications

  • Jan 23, 2016
  • Knowledge-Based Systems
  • Wenhao Zhang +5
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.