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

基于术语集生成的生成式检索

Generative Retrieval via Term Set Generation

Peitian Zhang, Zheng Liu, Yujia Zhou, Zhicheng Dou, Fangchao Liu, Zhao Cao

AI总结:

针对生成式检索中序列式DocID解码易因token剪枝出错的问题,提出基于术语集DocID的TSGen框架,搭配排列不变解码算法与迭代优化,经实验验证其在多方面性能优异。

摘要:

近年来,生成式检索作为传统检索范式的一种有前景的替代方案逐渐兴起。它为每个文档分配一个唯一标识符(称为DocID),并采用生成模型直接为输入查询生成相关的DocID。DocID的常见选择是一个或多个自然语言序列,例如标题或n-gram,以便可以利用生成模型的预训练知识。然而,序列是逐token生成的,在每个解码步骤中仅保留最可能的候选者,其余的被剪枝,因此,如果相关DocID内的任何token被错误剪枝,检索就会失败。更糟糕的是,在解码过程中,模型只能感知DocID中前面的token,而对后面的token一无所知,因此很容易出现此类错误。为了解决这个问题,我们提出了一种新颖的生成式检索框架,名为Term-Set Generation(TSGen,术语集生成)。我们使用一组术语作为DocID,而不是序列,这些术语是自动选择的,用于简洁地总结文档的语义并将其与其他文档区分开来。在术语集DocID的基础上,我们提出了一种排列不变的解码算法,使用该算法可以以任何排列生成术语集,但始终能对应到相应的文档。值得注意的是,TSGen在每个解码步骤中能感知所有有效术语,而不仅仅是前面的术语。在解码空间恒定的情况下,由于视角更广阔,它可以做出更可靠的决策。TSGen还具有容错性:只要解码出的术语属于相关DocID,该DocID就不会被剪枝。最后,我们设计了一种迭代优化过程,以激励模型以其偏好的排列生成相关术语集。我们在流行的基准测试上进行了大量实验,验证了TSGen的有效性、泛化性、可扩展性和效率。

英文摘要:

Recently, generative retrieval emerges as a promising alternative to traditional retrieval paradigms. It assigns each document a unique identifier, known as DocID, and employs a generative model to directly generate the relevant DocID for the input query. A common choice for DocID is one or several natural language sequences, e.g. the title or n-grams, so that the pre-trained knowledge of the generative model can be utilized. However, a sequence is generated token by token, where only the most likely candidates are kept and the rest are pruned at each decoding step, thus, retrieval fails if any token within the relevant DocID is falsely pruned. What's worse, during decoding, the model can only perceive preceding tokens in DocID while being blind to subsequent ones, hence is prone to make such errors. To address this problem, we present a novel framework for generative retrieval, dubbed Term-Set Generation (TSGen). Instead of sequences, we use a set of terms as DocID, which are automatically selected to concisely summarize the document's semantics and distinguish it from others. On top of the term-set DocID, we propose a permutation-invariant decoding algorithm, with which the term set can be generated in any permutation yet will always lead to the corresponding document. Remarkably, TSGen perceives all valid terms rather than only the preceding ones at each decoding step. Given the constant decoding space, it can make more reliable decisions due to the broader perspective. TSGen is also resilient to errors: the relevant DocID will not be pruned as long as the decoded term belongs to it. Lastly, we design an iterative optimization procedure to incentivize the model to generate the relevant term set in its favorable permutation. We conduct extensive experiments on popular benchmarks, which validate the effectiveness, the generalizability, the scalability, and the efficiency of TSGen.

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

↑