arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.06991cs.CLcs.AIcs.IRcs.LG
收藏

Transformer存储器作为可区分的搜索索引

Transformer Memory as a Differentiable Search Index

Google Research(谷歌研究院)

Yi Tay, Vinh Q. Tran, Mostafa Dehghani, Jianmo Ni, Dara Bahri, Harsh Mehta, Zhen Qin, Kai Hui, Zhe Zhao, Jai Gupta, Tal Schuster, William W. Cohen, Donald Metzler

摘要:

在本文中,我们证明,信息检索可以完成一个单一的Transformer,其中所有的信息,语料库编码的参数模型。为此,我们引入了可区分搜索索引(DSI),这是一种新的范式,它学习一种文本到文本的模型,将字符串查询直接映射到相关的docids;换句话说,DSI模型只使用其参数直接回答查询,大大简化了整个检索过程。我们研究了文档及其标识符的表示方式,训练过程的变化以及模型和语料库大小之间的相互作用。实验表明,适当的设计选择,DSI显着优于强基线,如双编码器模型。此外,DSI展示了强大的泛化能力,在zero-shot设置中优于BM 25基线。

英文摘要:

In this paper, we demonstrate that information retrieval can be accomplished with a single Transformer, in which all information about the corpus is encoded in the parameters of the model. To this end, we introduce the Differentiable Search Index (DSI), a new paradigm that learns a text-to-text model that maps string queries directly to relevant docids; in other words, a DSI model answers queries directly using only its parameters, dramatically simplifying the whole retrieval process. We study variations in how documents and their identifiers are represented, variations in training procedures, and the interplay between models and corpus sizes. Experiments demonstrate that given appropriate design choices, DSI significantly outperforms strong baselines such as dual encoder models. Moreover, DSI demonstrates strong generalization capabilities, outperforming a BM25 baseline in a zero-shot setup.

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

↑