宋馥莉 闫培玲





摘 要:本文提出双倍比特量化与非对称距离的近似查询索引。首先,设计了一种双倍比特量化方法,通过把特征的每一维数据量化为两个比特二进制码,增加特征之间的区分性。然后,研究了非对称距离算法,通过计算浮点型查询特征与特征库中二进制码的距离,对海明空间下的最近邻进行重排序,以提高索引的查询精度。基准数据集上的实验表明,双倍比特量化与非对称距离的方法使最近邻查询精度提高15%~25%。
关键词:二进制量化;近似查询索引;双倍比特量化
中图分类号:TP391.41 文献标识码:A 文章编号:1003-5168(2019)25-0028-04
Research on Approximate Query Index Algorithms with
Double Bit Quantization
SONG Fuli1 YAN Peiling2
(1.Henan Radio & Television University,Zhengzhou Henan 450000;
2.Henan University of Chinese Medicine,Zhengzhou Henan 450046)
Abstract: In this paper, we proposed an approximate query index based on double bit quantization and asymmetric distance. First of all, a double bit quantization method was designed to increase the distinction between features by quantizing each one-dimensional data into two bit binary codes. Then, the asymmetric distance algorithm was studied. By calculating the distance between the floating-point query feature and the binary code in the feature library, the nearest neighbor in Hamming space was reordered to improve the query accuracy of the index. Experiments on the benchmark data set show that the accuracy of nearest neighbor query is improved by 15%~25% by using the method of double bit quantization and asymmetric distance.
Keywords: binary embedding;nearest neighbor search;double-bit quantization
1 研究背景
圖像检索[1]、计算机视觉[2]和目标检测[3]等领域的核心工作是高维特征的最近邻搜索。二进制码在进行图像检索方面有以下两方面优势:一方面,海明距离的计算非常高效,只需要几个机器指令即可完成[4];另一方面,二进制码占用的存储空间远远少于浮点型数据[5]。
本文设计了一种双倍比特量化方法,研究了非对称距离算法对海明空间的最近邻进行重排序,提出了双倍比特量化与非对称距离的近似查询索引方法,可以使索引的查询精度提高15%~25%。
2 研究现状
2.1 二进制量化
基于随机的映射和基于学习的映射是目前已提出的较著名的两类二进制映射技术,其中通用的是基于学习的映射。比如,主成分分析映射(Principal Component Analysis Embedding,PCAE)[6]通过正交变换将一组可能存在相关性的变量转换为一组线性不相关的变量,转换后的这组变量叫主……