Improving Retrieval-Augmented Generation through Multi-Agent Reinforcement Learning

强化学习 计算机科学 人工智能
作者
Yiqun Chen,Lingyong Yan,Weiwei Sun,Xinyu Ma,Yi Zhang,Shuaiqiang Wang,Dawei Yin,Yiming Yang,Jiaxin Mao
出处
期刊:Cornell University - arXiv [arXiv]
标识
DOI:10.48550/arxiv.2501.15228
摘要

Retrieval-augmented generation (RAG) is extensively utilized to incorporate external, current knowledge into large language models, thereby minimizing hallucinations. A standard RAG pipeline may comprise several components, such as query rewriting, document retrieval, document filtering, and answer generation. However, these components are typically optimized separately through supervised fine-tuning, which can lead to misalignments between the objectives of individual modules and the overarching aim of generating accurate answers in question-answering (QA) tasks. Although recent efforts have explored reinforcement learning (RL) to optimize specific RAG components, these approaches often focus on overly simplistic pipelines with only two components or do not adequately address the complex interdependencies and collaborative interactions among the modules. To overcome these challenges, we propose treating the RAG pipeline as a multi-agent cooperative task, with each component regarded as an RL agent. Specifically, we present MMOA-RAG, a Multi-Module joint Optimization Algorithm for RAG, which employs multi-agent reinforcement learning to harmonize all agents' goals towards a unified reward, such as the F1 score of the final answer. Experiments conducted on various QA datasets demonstrate that MMOA-RAG improves the overall pipeline performance and outperforms existing baselines. Furthermore, comprehensive ablation studies validate the contributions of individual components and the adaptability of MMOA-RAG across different RAG components and datasets. The code of MMOA-RAG is on https://github.com/chenyiqun/MMOA-RAG.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
刚刚
bkagyin的应助被满意莫茗采纳,获得10
1秒前
1秒前
Sin发布了新的文献求助10
1秒前
1秒前
2秒前
学霸业的应助被科研通管家采纳,获得10
2秒前
今后的应助被科研通管家采纳,获得10
2秒前
2秒前
深情安青的应助被科研通管家采纳,获得10
2秒前
TaoJ的应助被科研通管家采纳,获得10
2秒前
SciGPT的应助被科研通管家采纳,获得10
3秒前
Orange的应助被科研通管家采纳,获得80
3秒前
fantasy的应助被科研通管家采纳,获得10
3秒前
忧心的曼凝的应助被杨易采纳,获得10
3秒前
TaoJ的应助被科研通管家采纳,获得10
3秒前
科研通AI65的应助被杨易采纳,获得10
3秒前
3秒前
天天快乐的应助被lht采纳,获得20
3秒前
斯文败类的应助被科研通管家采纳,获得10
3秒前
轻松幼南完成签到,获得积分10
3秒前
路过发布了新的文献求助10
3秒前
英姑的应助被科研通管家采纳,获得10
3秒前
研友_VZG7GZ的应助被汉堡采纳,获得10
3秒前
TaoJ的应助被科研通管家采纳,获得10
3秒前
汉堡包的应助被kkyy采纳,获得20
4秒前
华仔的应助被科研通管家采纳,获得10
4秒前
4秒前
Luckio发布了新的文献求助10
4秒前
科研通AI65的应助被科研通管家采纳,获得10
4秒前
上官若男的应助被科研通管家采纳,获得30
4秒前
fantasy的应助被科研通管家采纳,获得10
4秒前
科研通AI65的应助被科研通管家采纳,获得10
4秒前
天天快乐的应助被科研通管家采纳,获得10
4秒前
少看多做完成签到,获得积分10
4秒前
烟花的应助被科研通管家采纳,获得10
5秒前
研友_VZG7GZ的应助被科研通管家采纳,获得10
5秒前
orixero的应助被科研通管家采纳,获得10
5秒前
5秒前
研友_8y2G0L发布了新的文献求助10
5秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
The Martian climate revisited : atmosphere and environment of a desert planet 600
Musizierpraxis im Biedermeier: Spezifika und Kontext einer vermeintlich vertrauten Epoche 590
Trend and Out-of-Trend Analysis for Pharmaceutical Quality and Manufacturing Using Minitab 500
On the existence of cycles of given length in integer sequences like x_{n+1}=x_n/2 if x_n even, and x_{n+1}=3x_n+1 otherwise 500
初発骨髄異形成腫瘍におけるIPSS-RとIPSS-Mの比較:単施設での検討 500
Sleisenger and Fordtran's Gastrointestinal and Liver Disease - 2 Volume Set Pathophysiology, Diagnosis, Management 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8228844
求助须知:如何正确求助?哪些是违规求助? 9606800
关于积分的说明 22034584
捐赠科研通 7840405
什么是DOI,文献DOI怎么找? 3449808
关于科研通互助平台的介绍 2569777
邀请新用户注册赠送积分活动 2498522