PLoS ONE (Jan 2018)

An evaluation of multi-probe locality sensitive hashing for computing similarities over web-scale query logs.

  • Graham Cormode,
  • Anirban Dasgupta,
  • Amit Goyal,
  • Chi Hoon Lee

DOI
https://doi.org/10.1371/journal.pone.0191175
Journal volume & issue
Vol. 13, no. 1
p. e0191175

Abstract

Read online

Many modern applications of AI such as web search, mobile browsing, image processing, and natural language processing rely on finding similar items from a large database of complex objects. Due to the very large scale of data involved (e.g., users' queries from commercial search engines), computing such near or nearest neighbors is a non-trivial task, as the computational cost grows significantly with the number of items. To address this challenge, we adopt Locality Sensitive Hashing (a.k.a, LSH) methods and evaluate four variants in a distributed computing environment (specifically, Hadoop). We identify several optimizations which improve performance, suitable for deployment in very large scale settings. The experimental results demonstrate our variants of LSH achieve the robust performance with better recall compared with "vanilla" LSH, even when using the same amount of space.