b-Bit Sketch Trie: Scalable Similarity Search on Integer Sketches

Shunsuke Kanda, Yasuo Tabei
10/18/2019
cs.LGstat.ML

Official code: kampersanda/bST (3 stars, C++, MIT, last commit 2022-02-07).

Abstract

Recently, randomly mapping vectorial data to strings of discrete symbols (i.e., sketches) for fast and space-efficient similarity searches has become popular. Such random mapping is called similarity-preserving hashing and approximates a similarity metric by using the Hamming distance.

Show full abstract

Although many efficient similarity searches have been proposed, most of them are designed for binary sketches. Similarity searches on integer sketches are in their infancy. In this paper, we present a novel space-efficient trie named $b$-bit sketch trie on integer sketches for scalable similarity searches by leveraging the idea behind succinct data structures (i.e., space-efficient data structures while supporting various data operations in the compressed format) and a favorable property of integer sketches as fixed-length strings. Our experimental results obtained using real-world datasets show that a trie-based index is built from integer sketches and efficiently performs similarity searches on the index by pruning useless portions of the search space, which greatly improves the search time and space-efficiency of the similarity search. The experimental results show that our similarity search is at most one order of magnitude faster than state-of-the-art similarity searches. Besides, our method needs only 10 GiB of memory on a billion-scale database, while state-of-the-art similarity searches need 29 GiB of memory.

View on arXivView PDF

Code Implementations(1)

kampersanda/bSTOfficial100%
MIT

Similarity search on integer sketches using bST (b-bit sketch trie)

30C++, CMakeAug 9, 20194 years agoMIT

Similar Papers

Cite this paper

@article{kanda2019bbit,
  title  = {b-Bit Sketch Trie: Scalable Similarity Search on Integer Sketches},
  author = {Shunsuke Kanda and Yasuo Tabei},
  year   = {2019},
  eprint = {1910.08278},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.08278}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1910.08278.svg)](https://codeofpaper.com/paper/1910.08278)

Discussion