IEEE Access (Jan 2022)

LayerLSH: Rebuilding Locality-Sensitive Hashing Indices by Exploring Density of Hash Values

  • Jiwen Ding,
  • Zhuojin Liu,
  • Yanfeng Zhang,
  • Shufeng Gong,
  • Ge Yu

DOI
https://doi.org/10.1109/ACCESS.2022.3182802
Journal volume & issue
Vol. 10
pp. 69851 – 69865

Abstract

Read online

Locality-sensitive hashing (LSH) has attracted extensive research efforts for approximate nearest neighbors (NN) search. However, most of these LSH-based index structures fail to take data distribution into account. They perform well in a uniform data distribution setting but exhibit unstable performance when the data are skewed. As known, most real life data are skewed, which makes LSH suffer. In this paper, we observe that the skewness of hash values resulted from skewed data is a potential reason for performance degradation. To address this problem, we propose to rebuild LSH indices by exploring the density of hash values. The hash values in dense/sparse ranges are carefully reorganized using a multi-layered structure, so that more efforts are put into indexing the dense hash values. We further discuss the benefit in distributed computing. Extensive experiments are conducted to show the effectiveness and efficiency of the reconstructed LSH indices.

Keywords