Fast top-K Cosine Similarity Search through XOR-Friendly Binary Quantization on GPUs
Computer Vision and Pattern Recognition
2020-08-06 v1 Information Retrieval
Abstract
We explore the use of GPU for accelerating large scale nearest neighbor search and we propose a fast vector-quantization-based exhaustive nearest neighbor search algorithm that can achieve high accuracy without any indexing construction specifically designed for cosine similarity. This algorithm uses a novel XOR-friendly binary quantization method to encode floating-point numbers such that high-complexity multiplications can be optimized as low-complexity bitwise operations. Experiments show that, our quantization method takes short preprocessing time, and helps make the search speed of our exhaustive search method much more faster than that of popular approximate nearest neighbor algorithms when high accuracy is needed.
Cite
@article{arxiv.2008.02002,
title = {Fast top-K Cosine Similarity Search through XOR-Friendly Binary Quantization on GPUs},
author = {Xiaozheng Jian and Jianqiu Lu and Zexi Yuan and Ao Li},
journal= {arXiv preprint arXiv:2008.02002},
year = {2020}
}
Comments
10 pages, 6 figures