Saved in:
Bibliographic Details
Main Authors: Zhu, Yutao, Jin, Jiajie, Qian, Hongjin, Liu, Zheng, Dou, Zhicheng, Wen, Ji-Rong
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.15444
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908373389148160
author Zhu, Yutao
Jin, Jiajie
Qian, Hongjin
Liu, Zheng
Dou, Zhicheng
Wen, Ji-Rong
author_facet Zhu, Yutao
Jin, Jiajie
Qian, Hongjin
Liu, Zheng
Dou, Zhicheng
Wen, Ji-Rong
contents Existing studies have optimized retrieval-augmented generation (RAG) across various sub-tasks, such as query understanding and retrieval refinement, but integrating these optimizations into a unified framework remains challenging. To tackle this problem, this work proposes RoleRAG, a unified RAG framework that achieves efficient multi-task processing through role-specific token optimization. RoleRAG comprises six modules, each handling a specific sub-task within the RAG process. Additionally, we introduce a query graph to represent the decomposition of the query, which can be dynamically resolved according to the decomposing state. All modules are driven by the same underlying LLM, distinguished by task-specific role tokens that are individually optimized. This design allows RoleRAG to dynamically activate different modules within a single LLM instance, thereby streamlining deployment and reducing resource consumption. Experimental results on five open-domain question-answering datasets demonstrate the effectiveness, generalizability, and flexibility of our framework.
format Preprint
id arxiv_https___arxiv_org_abs_2505_15444
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Single LLM, Multiple Roles: A Unified Retrieval-Augmented Generation Framework Using Role-Specific Token Optimization
Zhu, Yutao
Jin, Jiajie
Qian, Hongjin
Liu, Zheng
Dou, Zhicheng
Wen, Ji-Rong
Computation and Language
Artificial Intelligence
Existing studies have optimized retrieval-augmented generation (RAG) across various sub-tasks, such as query understanding and retrieval refinement, but integrating these optimizations into a unified framework remains challenging. To tackle this problem, this work proposes RoleRAG, a unified RAG framework that achieves efficient multi-task processing through role-specific token optimization. RoleRAG comprises six modules, each handling a specific sub-task within the RAG process. Additionally, we introduce a query graph to represent the decomposition of the query, which can be dynamically resolved according to the decomposing state. All modules are driven by the same underlying LLM, distinguished by task-specific role tokens that are individually optimized. This design allows RoleRAG to dynamically activate different modules within a single LLM instance, thereby streamlining deployment and reducing resource consumption. Experimental results on five open-domain question-answering datasets demonstrate the effectiveness, generalizability, and flexibility of our framework.
title Single LLM, Multiple Roles: A Unified Retrieval-Augmented Generation Framework Using Role-Specific Token Optimization
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2505.15444