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

你在谈论什么词元?作为词表上分布的稠密检索

What Are You Token About? Dense Retrieval as Distributions Over the Vocabulary

Tel Aviv University(特拉维夫大学);Technion -- IIT(以色列理工学院)

Ori Ram, Liat Bezalel, Adi Zicher, Yonatan Belinkov, Jonathan Berant, Amir Globerson

AI总结:

该研究通过将双编码器的向量表示投影到词表空间,揭示了稠密检索的内部机制及其与稀疏检索的联系,并据此提出在推理时注入词汇信息的方法,显著提升了零样本设置下的性能。

摘要:

双编码器目前是稠密检索的主导架构。然而,我们对它们如何表示文本以及为何这能带来良好性能知之甚少。在这项工作中,我们通过词表上的分布来阐明这一问题。我们提出通过将双编码器产生的向量表示投影到模型的词表空间中来对其进行解释。我们表明,由此产生的投影包含丰富的语义信息,并揭示了它们与稀疏检索之间的联系。我们发现,这一视角可以为稠密检索器的一些失败案例提供解释。例如,我们观察到模型处理长尾实体的能力不足,与词元分布倾向于遗忘这些实体部分词元的现象相关。我们利用这一洞察,提出了一种在推理时用词汇信息丰富查询和段落表示的简单方法,并表明在零样本设置下,特别是BEIR基准上,与原始模型相比,这显著提升了性能。

英文摘要:

Dual encoders are now the dominant architecture for dense retrieval. Yet, we have little understanding of how they represent text, and why this leads to good performance. In this work, we shed light on this question via distributions over the vocabulary. We propose to interpret the vector representations produced by dual encoders by projecting them into the model's vocabulary space. We show that the resulting projections contain rich semantic information, and draw connection between them and sparse retrieval. We find that this view can offer an explanation for some of the failure cases of dense retrievers. For example, we observe that the inability of models to handle tail entities is correlated with a tendency of the token distributions to forget some of the tokens of those entities. We leverage this insight and propose a simple way to enrich query and passage representations with lexical information at inference time, and show that this significantly improves performance compared to the original model in zero-shot settings, and specifically on the BEIR benchmark.

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

↑