Authors:
Naoya Higuchi
1
;
Yasunobu Imamura
2
;
Vladimir Mic
3
;
Takeshi Shinohara
4
;
Kouichi Hirata
4
and
Tetsuji Kuboyama
5
Affiliations:
1
Sojo University, Ikeda 4-22-1, Kumamoto 860-0082, Japan
;
2
THIRD INC., Shinjuku, Tokyo 160-0004, Japan
;
3
Masaryk University, Brno, Czech Republic
;
4
Kyushu Institute of Technology, Kawazu 680-4, Iizuka 820-8502, Japan
;
5
Gakushuin University, Mejiro 1-5-1, Toshima, Tokyo 171-8588, Japan
Keyword(s):
Narrow Sketch, Nearest-neighbor Search, Large Dataset, Sketch Enumeration, Partially Restored Distance.
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 condu
cted 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%.
(More)