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

联合优化查询编码器和产品Quantization提高检索性能

Jointly Optimizing Query Encoder and Product Quantization to Improve Retrieval Performance

Jingtao Zhan, Jiaxin Mao, Yiqun Liu, Jiafeng Guo, Min Zhang, Shaoping Ma

摘要:

近年来,信息检索领域见证了稠密检索(DR)的快速发展,DR使用基于嵌入的搜索来执行第一阶段的检索。尽管令人印象深刻的排名性能,以前的研究通常采用暴力搜索获得候选人,这是禁止在实际的Web搜索场景,由于其巨大的内存使用和时间成本。为了克服这些问题,向量压缩方法已被采用在许多实际的基于嵌入的检索应用。最流行的方法之一是乘积量化(PQ)。然而,虽然现有的矢量压缩方法,包括PQ可以帮助提高DR的效率,他们招致严重衰减的检索性能,由于编码和压缩之间的分离。为了解决这个问题,我们提出了JPQ,它代表查询编码和乘积量化的联合优化。它基于三种优化策略,即面向排名的损失,PQ质心优化和端到端负采样,以端到端的方式联合训练查询编码器和PQ索引。我们评估JPQ两个公开的检索基准。实验结果表明,JPQ明显优于流行的矢量压缩方法。与以前使用蛮力搜索的DR模型相比,JPQ几乎可以在索引大小压缩30倍的情况下获得最佳检索性能。压缩后的索引在查询延迟方面进一步带来了10倍的CPU加速和2倍的GPU加速。

英文摘要:

Recently, Information Retrieval community has witnessed fast-paced advances in Dense Retrieval (DR), which performs first-stage retrieval with embedding-based search. Despite the impressive ranking performance, previous studies usually adopt brute-force search to acquire candidates, which is prohibitive in practical Web search scenarios due to its tremendous memory usage and time cost. To overcome these problems, vector compression methods have been adopted in many practical embedding-based retrieval applications. One of the most popular methods is Product Quantization (PQ). However, although existing vector compression methods including PQ can help improve the efficiency of DR, they incur severely decayed retrieval performance due to the separation between encoding and compression. To tackle this problem, we present JPQ, which stands for Joint optimization of query encoding and Product Quantization. It trains the query encoder and PQ index jointly in an end-to-end manner based on three optimization strategies, namely ranking-oriented loss, PQ centroid optimization, and end-to-end negative sampling. We evaluate JPQ on two publicly available retrieval benchmarks. Experimental results show that JPQ significantly outperforms popular vector compression methods. Compared with previous DR models that use brute-force search, JPQ almost matches the best retrieval performance with 30x compression on index size. The compressed index further brings 10x speedup on CPU and 2x speedup on GPU in query latency.

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

↑