arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.06832cs.SEcs.AIcs.CLcs.DC
收藏

可重构多智能体RAG中的SLA管理:一种面向问答的系统方法

SLA Management in Reconfigurable Multi-Agent RAG: A Systems Approach to Question Answering

Yext, Inc.(Yext公司)

Michael Iannelli, Sneha Kuchipudi, Vera Dvorak

AI总结:

提出一种面向真实问答应用的多智能体RAG系统方法,通过将答案质量、成本和延迟等非功能性需求映射为系统级参数并动态重新编排,有效平衡性能与资源利用率,满足多样SLA要求。

摘要:

检索增强生成(RAG)通过将推理能力与静态知识库解耦,使大型语言模型(LLMs)能够泛化至新信息。传统RAG增强探索了垂直扩展(将子任务分配给专用模块)和水平扩展(在多个智能体间复制任务)以提升性能。然而,现实应用施加了多样的服务级别协议(SLAs)和服务质量(QoS)要求,涉及降低成本、确保答案质量和遵守特定操作约束等目标间的权衡。在这项工作中,我们提出了一种面向真实世界问答(QA)应用的多智能体RAG系统方法。通过将答案质量、成本和延迟等特定于任务的非功能性需求集成到系统中,我们实现了动态重配置以满足多样的SLA。我们的方法将这些服务级别目标(SLOs)映射到系统级参数,允许在指定资源约束内生成最优结果。我们在QA领域进行了案例研究,展示了多智能体RAG系统的动态重新编排如何有效管理答案质量与成本之间的权衡。通过根据查询意图和操作条件调整系统,我们系统地平衡了性能和资源利用率。该方法使系统能够满足各种查询类型的SLO,展示了其在真实世界应用中的实用性。

英文摘要:

Retrieval Augmented Generation (RAG) enables Large Language Models (LLMs) to generalize to new information by decoupling reasoning capabilities from static knowledge bases. Traditional RAG enhancements have explored vertical scaling-assigning subtasks to specialized modules-and horizontal scaling-replicating tasks across multiple agents-to improve performance. However, real-world applications impose diverse Service Level Agreements (SLAs) and Quality of Service (QoS) requirements, involving trade-offs among objectives such as reducing cost, ensuring answer quality, and adhering to specific operational constraints. In this work, we present a systems-oriented approach to multi-agent RAG tailored for real-world Question Answering (QA) applications. By integrating task-specific non-functional requirements-such as answer quality, cost, and latency-into the system, we enable dynamic reconfiguration to meet diverse SLAs. Our method maps these Service Level Objectives (SLOs) to system-level parameters, allowing the generation of optimal results within specified resource constraints. We conduct a case study in the QA domain, demonstrating how dynamic re-orchestration of a multi-agent RAG system can effectively manage the trade-off between answer quality and cost. By adjusting the system based on query intent and operational conditions, we systematically balance performance and resource utilization. This approach allows the system to meet SLOs for various query types, showcasing its practicality for real-world applications.

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

↑