arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2402.13492cs.CL
收藏

检索是有益还是有害?对语言模型检索增强效果的一次更深入探究

Retrieval Helps or Hurts? A Deeper Dive into the Efficacy of Retrieval Augmentation to Language Models

Megagon Labs(美高拱实验室)

Seiji Maekawa, Hayate Iso, Sairam Gurajada, Nikita Bhutani

AI总结:

本文通过构建WiTQA数据集,从实体与关系组合的流行度视角分析检索增强对语言模型的影响,发现大模型擅长回忆流行事实但在不常见实体-关系对上不如检索器,并据此提出自适应检索系统以选择性结合检索与模型回忆。

摘要:

尽管大型语言模型(LMs)表现出卓越的性能,但当被问及超出其预训练记忆范围的信息时,它们在提供准确回答方面仍面临挑战。虽然用相关外部信息对它们进行增强可以缓解这些问题,但未考虑检索的必要性可能会对整体性能产生不利影响。以往的研究主要关注实体如何影响检索模型和语言模型中的知识回忆,而其他方面则相对未被探索。在这项工作中,我们的目标是通过探索实体和关系组合的影响,提供一种更细致、以事实为中心的分析。为此,我们构建了一个新的问答(QA)数据集,名为WiTQA(Wikipedia Triple Question Answers)。该数据集包含关于不同流行度级别的实体和关系的问题,每个问题都附有支持性段落。我们使用多种语言模型和检索器进行的大量实验揭示了从以事实为中心的流行度视角来看,检索何时不能持续增强语言模型。我们证实了早期的发现,即较大的语言模型在回忆流行事实方面表现出色。然而,与检索器相比,它们在处理不常见的实体-关系对时明显遇到困难。有趣的是,它们能够有效地保留较不常见实体的流行关系。我们通过一个自适应检索系统展示了我们更细粒度指标和见解的有效性,该系统根据问题中实体和关系的频率选择性地使用检索和回忆。

英文摘要:

While large language models (LMs) demonstrate remarkable performance, they encounter challenges in providing accurate responses when queried for information beyond their pre-trained memorization. Although augmenting them with relevant external information can mitigate these issues, failure to consider the necessity of retrieval may adversely affect overall performance. Previous research has primarily focused on examining how entities influence retrieval models and knowledge recall in LMs, leaving other aspects relatively unexplored. In this work, our goal is to offer a more detailed, fact-centric analysis by exploring the effects of combinations of entities and relations. To facilitate this, we construct a new question answering (QA) dataset called WiTQA (Wikipedia Triple Question Answers). This dataset includes questions about entities and relations of various popularity levels, each accompanied by a supporting passage. Our extensive experiments with diverse LMs and retrievers reveal when retrieval does not consistently enhance LMs from the viewpoints of fact-centric popularity. Confirming earlier findings, we observe that larger LMs excel in recalling popular facts. However, they notably encounter difficulty with infrequent entity-relation pairs compared to retrievers. Interestingly, they can effectively retain popular relations of less common entities. We demonstrate the efficacy of our finer-grained metric and insights through an adaptive retrieval system that selectively employs retrieval and recall based on the frequencies of entities and relations in the question.

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

↑