arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.05006cs.CVcs.IR
收藏

基于加权二进制码的高效查询

Efficient Querying from Weighted Binary Codes

Peking University(北京大学)

Zhenyu Weng, Yuesheng Zhu

摘要:

二进制码由于其存储量小和计算效率高而被广泛用于表示数据。然而,存在一个二义性问题,即许多二进制代码共享相同的汉明距离的查询。为了缓解二义性问题,加权二进制码为二进制码的每个比特分配不同的权重,并通过加权汉明距离来比较二进制码。到目前为止,从加权二进制码有效地执行查询仍然是一个悬而未决的问题。本文提出了一种新的加权二进制码排序方法,并高效地返回查询的最近加权二进制码。该方法在多索引哈希表的基础上,提出了两种算法:表桶查找算法和表合并算法,以非穷举和精确的方式选择查询的最近加权二进制码。所提出的算法是合理的,证明其理论性质。在三个大规模数据集上的实验验证了该方法的搜索效率和搜索精度。特别是对于高达十亿的加权二进制码的数量,我们的方法表现出了超过1000倍的线性扫描速度的巨大改善。

英文摘要:

Binary codes are widely used to represent the data due to their small storage and efficient computation. However, there exists an ambiguity problem that lots of binary codes share the same Hamming distance to a query. To alleviate the ambiguity problem, weighted binary codes assign different weights to each bit of binary codes and compare the binary codes by the weighted Hamming distance. Till now, performing the querying from the weighted binary codes efficiently is still an open issue. In this paper, we propose a new method to rank the weighted binary codes and return the nearest weighted binary codes of the query efficiently. In our method, based on the multi-index hash tables, two algorithms, the table bucket finding algorithm and the table merging algorithm, are proposed to select the nearest weighted binary codes of the query in a non-exhaustive and accurate way. The proposed algorithms are justified by proving their theoretic properties. The experiments on three large-scale datasets validate both the search efficiency and the search accuracy of our method. Especially for the number of weighted binary codes up to one billion, our method shows a great improvement of more than 1000 times faster than the linear scan.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑