arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2103.14460cs.IRcs.LG
收藏

无监督多索引语义哈希

Unsupervised Multi-Index Semantic Hashing

University of Copenhagen(哥本哈根大学)

Christian Hansen, Casper Hansen, Jakob Grue Simonsen, Stephen Alstrup, Christina Lioma

摘要:

语义哈希将文档表示为紧凑的二进制向量(哈希码),并允许在大规模信息检索中进行高效和有效的相似性搜索。现有技术主要集中在学习提高相似性搜索效率的散列码,同时假设用于搜索所有散列码的蛮力线性扫描策略,即使存在更快的替代方案。一种这样的替代方案是多索引散列,这种方法构造一个较小的候选集进行搜索,这取决于散列代码的分布,可能导致次线性搜索时间。在这项工作中,我们提出了多索引语义哈希(MISH),这是一种无监督哈希模型,通过优化多索引哈希来学习有效且高效的哈希代码。我们得到了新的训练目标,它能够学习哈希码,减少多索引哈希产生的候选集,同时是端到端的可训练的。事实上,我们提出的训练目标是模型不可知的,即,不依赖于如何在MISH中专门生成哈希码,并且直接包含在现有和未来的语义哈希模型中。我们的实验比较MISH国家的最先进的语义哈希基线在文档相似性搜索的任务。我们发现,尽管多索引哈希也提高了基线的效率,但与线性扫描相比,它们仍然比MISH慢33%以上,而MISH仍然能够获得最先进的效率。

英文摘要:

Semantic hashing represents documents as compact binary vectors (hash codes) and allows both efficient and effective similarity search in large-scale information retrieval. The state of the art has primarily focused on learning hash codes that improve similarity search effectiveness, while assuming a brute-force linear scan strategy for searching over all the hash codes, even though much faster alternatives exist. One such alternative is multi-index hashing, an approach that constructs a smaller candidate set to search over, which depending on the distribution of the hash codes can lead to sub-linear search time. In this work, we propose Multi-Index Semantic Hashing (MISH), an unsupervised hashing model that learns hash codes that are both effective and highly efficient by being optimized for multi-index hashing. We derive novel training objectives, which enable to learn hash codes that reduce the candidate sets produced by multi-index hashing, while being end-to-end trainable. In fact, our proposed training objectives are model agnostic, i.e., not tied to how the hash codes are generated specifically in MISH, and are straight-forward to include in existing and future semantic hashing models. We experimentally compare MISH to state-of-the-art semantic hashing baselines in the task of document similarity search. We find that even though multi-index hashing also improves the efficiency of the baselines compared to a linear scan, they are still upwards of 33% slower than MISH, while MISH is still able to obtain state-of-the-art effectiveness.

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

↑