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

生成式检索作为多向量稠密检索

Generative Retrieval as Multi-Vector Dense Retrieval

Shandong University(山东大学);Leiden University(莱顿大学);University of Amsterdam(阿姆斯特丹大学)

Shiguang Wu, Wenda Wei, Mengqi Zhang, Zhumin Chen, Jun Ma, Zhaochun Ren, Maarten de Rijke, Pengjie Ren

AI总结:

本文证明生成式检索可视为多向量稠密检索的特例,二者共享查询-文档相关性计算框架,并通过实验验证了对齐矩阵中的词项匹配共性。

摘要:

生成式检索利用序列到序列架构,针对给定查询以端到端方式生成相关文档的标识符。生成式检索与其他检索方法(尤其是基于稠密检索模型内部匹配的方法)之间的关系尚未被完全理解。先前的工作已经证明,采用原子标识符的生成式检索等价于单向量稠密检索。相应地,当使用层次化语义标识符时,生成式检索表现出类似于在稠密检索中树索引内进行层次化搜索的行为。然而,先前的工作仅关注检索阶段,而没有考虑生成式检索解码器内部的深层交互。在本文中,我们通过证明生成式检索和多向量稠密检索共享同一框架来衡量文档与查询的相关性,从而填补了这一空白。具体来说,我们考察了生成式检索的注意力层和预测头,揭示生成式检索可以被理解为多向量稠密检索的一种特例。两种方法都将相关性计算为查询向量与文档向量乘积之和以及一个对齐矩阵。随后,我们探讨了生成式检索如何应用这一框架,并采用不同的策略来计算文档token向量和对齐矩阵。我们进行了实验以验证我们的结论,并表明两种范式在其对齐矩阵中表现出词项匹配的共性。

英文摘要:

Generative retrieval generates identifiers of relevant documents in an end-to-end manner using a sequence-to-sequence architecture for a given query. The relation between generative retrieval and other retrieval methods, especially those based on matching within dense retrieval models, is not yet fully comprehended. Prior work has demonstrated that generative retrieval with atomic identifiers is equivalent to single-vector dense retrieval. Accordingly, generative retrieval exhibits behavior analogous to hierarchical search within a tree index in dense retrieval when using hierarchical semantic identifiers. However, prior work focuses solely on the retrieval stage without considering the deep interactions within the decoder of generative retrieval. In this paper, we fill this gap by demonstrating that generative retrieval and multi-vector dense retrieval share the same framework for measuring the relevance to a query of a document. Specifically, we examine the attention layer and prediction head of generative retrieval, revealing that generative retrieval can be understood as a special case of multi-vector dense retrieval. Both methods compute relevance as a sum of products of query and document vectors and an alignment matrix. We then explore how generative retrieval applies this framework, employing distinct strategies for computing document token vectors and the alignment matrix. We have conducted experiments to verify our conclusions and show that both paradigms exhibit commonalities of term matching in their alignment matrix.

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

↑