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

CorpusLM:面向知识密集型任务的语料库统一语言模型

CorpusLM: Towards a Unified Language Model on Corpus for Knowledge-Intensive Tasks

Huawei(华为)

Xiaoxi Li, Zhicheng Dou, Yujia Zhou, Fangchao Liu

AI总结:

本文提出CorpusLM,一种通过统一贪婪解码整合生成式检索、闭卷生成和RAG的统一语言模型,利用外部语料库解决知识密集型任务,并在KILT基准上取得卓越性能。

摘要:

大型语言模型(LLMs)在各个领域引起了广泛关注,但容易出现幻觉,特别是在知识密集型(KI)任务中。为了解决这个问题,检索增强生成(RAG)已成为一种流行的解决方案,以提高事实准确性。然而,传统的检索模块通常依赖于大型文档索引,并且与生成任务脱节。随着生成式检索(GR)的出现,语言模型可以通过直接生成文档标识符(DocIDs)来进行检索,在检索任务中提供卓越的性能。然而,GR与下游任务之间的潜在关系仍未被探索。在本文中,我们提出了CorpusLM,这是一个统一的语言模型,它通过统一的贪婪解码过程整合生成式检索、闭卷生成和RAG,利用外部语料库来解决各种知识密集型任务。我们设计了以下机制来促进有效的检索和生成,并提高KI任务的端到端有效性:(1)我们开发了一种面向排序的DocID列表生成策略,通过直接从DocID排序列表中学习来改进GR,以提高检索质量。(2)我们设计了一种连续的DocIDs-References-Answer生成策略,以促进有效且高效的RAG。(3)我们采用了精心设计的无监督DocID理解任务,以理解DocID语义及其与下游任务的相关性。我们在广泛使用的KILT基准上评估了我们的方法,使用了两种骨干模型变体,即T5和Llama2。实验结果表明,我们的模型在检索和下游任务中均表现出卓越的性能。

英文摘要:

Large language models (LLMs) have gained significant attention in various fields but prone to hallucination, especially in knowledge-intensive (KI) tasks. To address this, retrieval-augmented generation (RAG) has emerged as a popular solution to enhance factual accuracy. However, traditional retrieval modules often rely on large document index and disconnect with generative tasks. With the advent of generative retrieval (GR), language models can retrieve by directly generating document identifiers (DocIDs), offering superior performance in retrieval tasks. However, the potential relationship between GR and downstream tasks remains unexplored. In this paper, we propose \textbf{CorpusLM}, a unified language model that leverages external corpus to tackle various knowledge-intensive tasks by integrating generative retrieval, closed-book generation, and RAG through a unified greedy decoding process. We design the following mechanisms to facilitate effective retrieval and generation, and improve the end-to-end effectiveness of KI tasks: (1) We develop a ranking-oriented DocID list generation strategy, which refines GR by directly learning from a DocID ranking list, to improve retrieval quality. (2) We design a continuous DocIDs-References-Answer generation strategy, which facilitates effective and efficient RAG. (3) We employ well-designed unsupervised DocID understanding tasks, to comprehend DocID semantics and their relevance to downstream tasks. We evaluate our approach on the widely used KILT benchmark with two variants of backbone models, i.e., T5 and Llama2. Experimental results demonstrate the superior performance of our models in both retrieval and downstream tasks.

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

↑