Improving Retrieval-Augmented Generation through Multi-Agent Reinforcement Learning

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Chen, Yiqun, Yan, Lingyong, Sun, Weiwei, Ma, Xinyu, Zhang, Yi, Wang, Shuaiqiang, Yin, Dawei, Yang, Yiming, Mao, Jiaxin
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866914078296899584
author Chen, Yiqun
Yan, Lingyong
Sun, Weiwei
Ma, Xinyu
Zhang, Yi
Wang, Shuaiqiang
Yin, Dawei
Yang, Yiming
Mao, Jiaxin
author_facet Chen, Yiqun
Yan, Lingyong
Sun, Weiwei
Ma, Xinyu
Zhang, Yi
Wang, Shuaiqiang
Yin, Dawei
Yang, Yiming
Mao, Jiaxin
contents Retrieval-augmented generation (RAG) is widely utilized to incorporate external knowledge into large language models, thereby enhancing factuality and reducing hallucinations in question-answering (QA) tasks. A standard RAG pipeline consists of 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 components and the overarching aim of generating accurate answers. Although recent efforts have explored using reinforcement learning (RL) to optimize specific RAG components, these approaches often focus on simple pipelines with only two components or do not adequately address the complex interdependencies and collaborative interactions among the modules. To overcome these limitations, we propose treating the complex RAG pipeline with multiple components as a multi-agent cooperative task, in which each component can be regarded as an RL agent. Specifically, we present MMOA-RAG, Multi-Module joint Optimization Algorithm for RAG, which employs multi-agent reinforcement learning to harmonize all agents' goals toward a unified reward, such as the F1 score of the final answer. Experiments conducted on various QA benchmarks demonstrate that MMOA-RAG effectively boost the overall performance of the pipeline and outperforms existing baselines. Furthermore, comprehensive ablation studies validate the contributions of individual components and demonstrate MMOA-RAG can be adapted to different RAG pipelines and benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2501_15228
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Improving Retrieval-Augmented Generation through Multi-Agent Reinforcement Learning
Chen, Yiqun
Yan, Lingyong
Sun, Weiwei
Ma, Xinyu
Zhang, Yi
Wang, Shuaiqiang
Yin, Dawei
Yang, Yiming
Mao, Jiaxin
Computation and Language
Information Retrieval
Retrieval-augmented generation (RAG) is widely utilized to incorporate external knowledge into large language models, thereby enhancing factuality and reducing hallucinations in question-answering (QA) tasks. A standard RAG pipeline consists of 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 components and the overarching aim of generating accurate answers. Although recent efforts have explored using reinforcement learning (RL) to optimize specific RAG components, these approaches often focus on simple pipelines with only two components or do not adequately address the complex interdependencies and collaborative interactions among the modules. To overcome these limitations, we propose treating the complex RAG pipeline with multiple components as a multi-agent cooperative task, in which each component can be regarded as an RL agent. Specifically, we present MMOA-RAG, Multi-Module joint Optimization Algorithm for RAG, which employs multi-agent reinforcement learning to harmonize all agents' goals toward a unified reward, such as the F1 score of the final answer. Experiments conducted on various QA benchmarks demonstrate that MMOA-RAG effectively boost the overall performance of the pipeline and outperforms existing baselines. Furthermore, comprehensive ablation studies validate the contributions of individual components and demonstrate MMOA-RAG can be adapted to different RAG pipelines and benchmarks.
title Improving Retrieval-Augmented Generation through Multi-Agent Reinforcement Learning
topic Computation and Language
Information Retrieval
url https://arxiv.org/abs/2501.15228