arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2407.19813cs.CLcs.AI
收藏

通过自推理改进检索增强语言模型

Improving Retrieval Augmented Language Model with Self-Reasoning

Baidu Inc.(百度公司);Baidu Research(百度研究院)

Yuan Xia, Jingbo Zhou, Zhenhui Shi, Jun Chen, Haifeng Huang

AI总结:

提出自推理框架,通过相关性感知、证据感知选择和轨迹分析三个过程利用LLM自身生成的推理轨迹,提升了RALM的可靠性与可追溯性,在四个数据集上以极少样本超越SOTA并媲美GPT-4。

摘要:

检索增强语言模型(RALM)通过在推理过程中引入外部知识,在知识密集型任务上展现出卓越性能,缓解了大型语言模型(LLMs)固有的事实幻觉问题。尽管取得了这些进展,RALM的实施仍面临挑战,特别是在可靠性和可追溯性方面。具体而言,检索到不相关文档可能导致生成无用的回复,甚至降低LLMs的性能,而生成输出中缺乏适当的引用则增加了验证模型可信度的难度。为此,我们提出了一种新颖的自推理框架,旨在提升RALM的可靠性和可追溯性,其核心思想是利用LLM自身生成的推理轨迹。该框架通过三个过程构建自推理轨迹:相关性感知过程、证据感知选择性过程和轨迹分析过程。我们在四个公共数据集(两个简短问答数据集、一个长篇问答数据集和一个事实验证数据集)上评估了我们的框架,以证明我们方法的优越性。该方法能够超越现有的最先进模型,并在仅使用2,000个训练样本的情况下,取得与GPT-4相当的性能。

英文摘要:

The Retrieval-Augmented Language Model (RALM) has shown remarkable performance on knowledge-intensive tasks by incorporating external knowledge during inference, which mitigates the factual hallucinations inherited in large language models (LLMs). Despite these advancements, challenges persist in the implementation of RALMs, particularly concerning their reliability and traceability. To be specific, the irrelevant document retrieval may result in unhelpful response generation or even deteriorate the performance of LLMs, while the lack of proper citations in generated outputs complicates efforts to verify the trustworthiness of the models. To this end, we propose a novel self-reasoning framework aimed at improving the reliability and traceability of RALMs, whose core idea is to leverage reasoning trajectories generated by the LLM itself. The framework involves constructing self-reason trajectories with three processes: a relevance-aware process, an evidence-aware selective process, and a trajectory analysis process. We have evaluated our framework across four public datasets (two short-form QA datasets, one long-form QA dataset, and one fact verification dataset) to demonstrate the superiority of our method, which can outperform existing state-of-the-art models and can achieve comparable performance with GPT-4, while only using 2,000 training samples.

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

↑