arXiv:2412.05838cs.AI2024-12被引 18

多智能体协作提升生成式AI对异构数据的检索与生成能力

A Collaborative Multi-Agent Approach to Retrieval-Augmented Generation Across Diverse Data

  • 分角色智能体分别处理关系型、NoSQL和文档类数据的查询
  • 相比单智能体,查询效率更高,响应准确率显著提升
  • 适合需要接入私有或动态数据的复杂生成任务

检索增强生成(RAG)通过将外部领域数据融入大语言模型的生成过程,弥补其依赖静态预训练数据的不足。传统RAG多采用单智能体架构,在处理关系数据库、文档存储和图数据库等异构数据源时效率低且易出错。本文提出一种多智能体RAG系统,为不同数据源设计专用智能体,分别优化关系型、NoSQL及文档类系统的查询生成。各智能体在模块化框架中协同工作,查询执行由适配多种数据库类型的环境统一调度。该分布式架构有效降低令牌开销,提升查询效率与生成准确性。系统具备可扩展性与适应性,适用于需集成多样化、动态或私有数据的生成式AI场景。

原文摘要 · Abstract (English)

Retrieval-Augmented Generation (RAG) enhances Large Language Models (LLMs) by incorporating external, domain-specific data into the generative process. While LLMs are highly capable, they often rely on static, pre-trained datasets, limiting their ability to integrate dynamic or private data. Traditional RAG systems typically use a single-agent architecture to handle query generation, data retrieval, and response synthesis. However, this approach becomes inefficient when dealing with diverse data sources, such as relational databases, document stores, and graph databases, often leading to performance bottlenecks and reduced accuracy. This paper proposes a multi-agent RAG system to address these limitations. Specialized agents, each optimized for a specific data source, handle query generation for relational, NoSQL, and document-based systems. These agents collaborate within a modular framework, with query execution delegated to an environment designed for compatibility across various database types. This distributed approach enhances query efficiency, reduces token overhead, and improves response accuracy by ensuring that each agent focuses on its specialized task. The proposed system is scalable and adaptable, making it ideal for generative AI workflows that require integration with diverse, dynamic, or private data sources. By leveraging specialized agents and a modular execution environment, the system provides an efficient and robust solution for handling complex, heterogeneous data environments in generative AI applications.

多智能体RAG异构数据生成式AI

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。