Nearest-neighbor Search from Large Datasets using Narrow Sketches
Naoya Higuchi, Yasunobu Imamura, Vladimir Mic, Takeshi Shinohara, Kouichi Hirata, Tetsuji Kuboyama
2022
Abstract
We consider the nearest-neighbor search on large-scale high-dimensional datasets that cannot fit in the main memory. Sketches are bit strings that compactly express data points. Although it is usually thought that wide sketches are needed for high-precision searches, we use relatively narrow sketches such as 22-bit or 24-bit, to select a small set of candidates for the search. We use an asymmetric distance between data points and sketches as the criteria for candidate selection, instead of traditionally used Hamming distance. It can be considered a distance partially restoring quantization error. We utilize an efficient one-by-one sketch enumeration in the order of the partially restored distance to realize a fast candidate selection. We use two datasets to demonstrate the effectiveness of the method: YFCC100M-HNfc6 consisting of about 100 million 4,096 dimensional image descriptors and DEEP1B consisting of 1 billion 96 dimensional vectors. Using a standard desktop computer, we conducted a nearest-neighbor search for a query on datasets stored on SSD, where vectors are represented by 8-bit integers. The proposed method executes the search in 5.8 seconds for the 400GB dataset YFCC100M, and 0.24 seconds for the 100GB dataset DEEP1B, while keeping the recall of 90%.
DownloadPaper Citation
in Harvard Style
Higuchi N., Imamura Y., Mic V., Shinohara T., Hirata K. and Kuboyama T. (2022). Nearest-neighbor Search from Large Datasets using Narrow Sketches. In Proceedings of the 11th International Conference on Pattern Recognition Applications and Methods - Volume 1: ICPRAM, ISBN 978-989-758-549-4, pages 401-410. DOI: 10.5220/0010817600003122
in Bibtex Style
@conference{icpram22,
author={Naoya Higuchi and Yasunobu Imamura and Vladimir Mic and Takeshi Shinohara and Kouichi Hirata and Tetsuji Kuboyama},
title={Nearest-neighbor Search from Large Datasets using Narrow Sketches},
booktitle={Proceedings of the 11th International Conference on Pattern Recognition Applications and Methods - Volume 1: ICPRAM,},
year={2022},
pages={401-410},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0010817600003122},
isbn={978-989-758-549-4},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 11th International Conference on Pattern Recognition Applications and Methods - Volume 1: ICPRAM,
TI - Nearest-neighbor Search from Large Datasets using Narrow Sketches
SN - 978-989-758-549-4
AU - Higuchi N.
AU - Imamura Y.
AU - Mic V.
AU - Shinohara T.
AU - Hirata K.
AU - Kuboyama T.
PY - 2022
SP - 401
EP - 410
DO - 10.5220/0010817600003122