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

M-RAG:通过多分区检索增强生成强化大语言模型性能

M-RAG: Reinforcing Large Language Model Performance through Retrieval-Augmented Generation with Multiple Partitions

Huawei Technologies, Co., Ltd.(华为技术有限公司)

Zheng Wang, Shu Xian Teo, Jieer Ouyang, Yongjun Xu, Wei Shi

AI总结:

本文提出M-RAG,一种基于多分区数据库的检索增强生成范式,利用多智能体强化学习优化大语言模型,在摘要、翻译和对话任务上分别提升11%、8%和12%。

摘要:

检索增强生成(RAG)通过从外部数据库检索相关记忆来增强大语言模型(LLM)的性能。然而,现有的RAG方法通常将所有记忆组织在一个整体数据库中,这可能限制对关键记忆的关注并引入噪声。在本文中,我们提出了一种用于RAG的多分区范式(称为M-RAG),其中每个数据库分区作为RAG执行的基本单元。基于该范式,我们提出了一种新颖框架,利用大语言模型与多智能体强化学习来显式优化不同的语言生成任务。通过在七个数据集上进行的全面实验,涵盖三种语言生成任务并涉及三种不同的语言模型架构,我们确认M-RAG在各种基线方法中始终表现更优,在文本摘要、机器翻译和对话生成任务上分别实现了11%、8%和12%的提升。

英文摘要:

Retrieval-Augmented Generation (RAG) enhances Large Language Models (LLMs) by retrieving relevant memories from an external database. However, existing RAG methods typically organize all memories in a whole database, potentially limiting focus on crucial memories and introducing noise. In this paper, we introduce a multiple partition paradigm for RAG (called M-RAG), where each database partition serves as a basic unit for RAG execution. Based on this paradigm, we propose a novel framework that leverages LLMs with Multi-Agent Reinforcement Learning to optimize different language generation tasks explicitly. Through comprehensive experiments conducted on seven datasets, spanning three language generation tasks and involving three distinct language model architectures, we confirm that M-RAG consistently outperforms various baseline methods, achieving improvements of 11%, 8%, and 12% for text summarization, machine translation, and dialogue generation, respectively.

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

↑