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

关于哈希的评价指标

On the Evaluation Metric for Hashing

Qing-Yuan Jiang, Ming-Wei Li, Wu-Jun Li

AI总结:

本文针对现有哈希评价指标忽视检索时间、对汉明半径不敏感或仅依赖单一半径等问题,提出半径感知平均精度均值(RAMAP)指标,用于更合理地评价桶搜索哈希码。

摘要:

由于存储成本低和查询速度快,哈希已被广泛用于大规模近似最近邻(ANN)搜索。桶搜索,也称为哈希查找,可以基于由哈希码构建的倒排索引表以亚线性时间成本实现快速查询速度。许多指标已被采用来评价哈希算法。然而,所有现有指标都不适合评价用于桶搜索的哈希码。一方面,所有现有指标都忽略了检索时间成本,而检索时间成本是反映搜索性能的重要因素。另一方面,其中一些指标,如平均精度均值(MAP),由于排序列表基于整数值的汉明距离而存在不确定性问题,并且由于这些指标仅依赖于相对汉明距离而对汉明半径不敏感。其他指标,如汉明半径R处的精度,由于仅依赖于一个特定的汉明半径而无法评价全局性能。在本文中,我们首先指出哈希社区一直忽视的现有指标的问题,然后提出一种新的评价指标,称为半径感知平均精度均值(RAMAP),用于评价桶搜索的哈希码。此外,还提出了两种编码策略来定性展示现有指标的问题。实验表明,我们提出的RAMAP能够提供比现有指标更合适的评价。

英文摘要:

Due to its low storage cost and fast query speed, hashing has been widely used for large-scale approximate nearest neighbor (ANN) search. Bucket search, also called hash lookup, can achieve fast query speed with a sub-linear time cost based on the inverted index table constructed from hash codes. Many metrics have been adopted to evaluate hashing algorithms. However, all existing metrics are improper to evaluate the hash codes for bucket search. On one hand, all existing metrics ignore the retrieval time cost which is an important factor reflecting the performance of search. On the other hand, some of them, such as mean average precision (MAP), suffer from the uncertainty problem as the ranked list is based on integer-valued Hamming distance, and are insensitive to Hamming radius as these metrics only depend on relative Hamming distance. Other metrics, such as precision at Hamming radius R, fail to evaluate global performance as these metrics only depend on one specific Hamming radius. In this paper, we first point out the problems of existing metrics which have been ignored by the hashing community, and then propose a novel evaluation metric called radius aware mean average precision (RAMAP) to evaluate hash codes for bucket search. Furthermore, two coding strategies are also proposed to qualitatively show the problems of existing metrics. Experiments demonstrate that our proposed RAMAP can provide more proper evaluation than existing metrics.

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

↑