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

面向生成式检索的分词学习

Learning to Tokenize for Generative Retrieval

Weiwei Sun, Lingyong Yan, Zheng Chen, Shuaiqiang Wang, Haichao Zhu, Pengjie Ren, Zhumin Chen, Dawei Yin, Maarten de Rijke, Zhaochun Ren

AI总结:

针对生成式检索中文档标识符定义困难的问题,提出基于离散自编码的端到端分词学习方法GenRet,通过分词、重建和检索模型及渐进式训练生成语义docid,在多个数据集上取得SOTA并展现强泛化能力。

摘要:

传统的文档检索技术主要基于索引-检索范式。以端到端方式优化基于该范式的流水线具有挑战性。作为替代方案,生成式检索将文档表示为标识符(docid)并通过生成docid来检索文档,从而实现对文档检索任务的端到端建模。然而,如何定义文档标识符仍是一个开放性问题。当前定义文档标识符的方法依赖于固定的基于规则的docid,例如文档标题或对BERT嵌入进行聚类的结果,这通常无法捕获文档的完整语义信息。我们提出了GenRet,一种文档分词学习方法,以应对生成式检索中定义文档标识符的挑战。GenRet通过离散自编码方法学习将文档分词为简短的离散表示(即docid)。GenRet包含三个组件:(i) 一个为文档生成docid的分词模型;(ii) 一个学习基于docid重建文档的重建模型;以及 (iii) 一个直接为指定查询生成相关文档标识符的序列到序列检索模型。通过使用自编码框架,GenRet以完全端到端的方式学习语义docid。我们还开发了一种渐进式训练方案,以捕获docid的自回归特性并稳定训练。我们在NQ320K、MS MARCO和BEIR数据集上进行了实验,以评估GenRet的有效性。GenRet在NQ320K数据集上确立了新的最优水平。特别是,与生成式检索基线相比,GenRet在未见文档上能取得显著提升。GenRet在MS MARCO和BEIR上也优于可比基线,证明了该方法的泛化能力。

英文摘要:

Conventional document retrieval techniques are mainly based on the index-retrieve paradigm. It is challenging to optimize pipelines based on this paradigm in an end-to-end manner. As an alternative, generative retrieval represents documents as identifiers (docid) and retrieves documents by generating docids, enabling end-to-end modeling of document retrieval tasks. However, it is an open question how one should define the document identifiers. Current approaches to the task of defining document identifiers rely on fixed rule-based docids, such as the title of a document or the result of clustering BERT embeddings, which often fail to capture the complete semantic information of a document. We propose GenRet, a document tokenization learning method to address the challenge of defining document identifiers for generative retrieval. GenRet learns to tokenize documents into short discrete representations (i.e., docids) via a discrete auto-encoding approach. Three components are included in GenRet: (i) a tokenization model that produces docids for documents; (ii) a reconstruction model that learns to reconstruct a document based on a docid; and (iii) a sequence-to-sequence retrieval model that generates relevant document identifiers directly for a designated query. By using an auto-encoding framework, GenRet learns semantic docids in a fully end-to-end manner. We also develop a progressive training scheme to capture the autoregressive nature of docids and to stabilize training. We conduct experiments on the NQ320K, MS MARCO, and BEIR datasets to assess the effectiveness of GenRet. GenRet establishes the new state-of-the-art on the NQ320K dataset. Especially, compared to generative retrieval baselines, GenRet can achieve significant improvements on the unseen documents. GenRet also outperforms comparable baselines on MS MARCO and BEIR, demonstrating the method's generalizability.

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

↑