arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.18567cs.AI
收藏

配置检索增强生成(RAG)系统:故障类型、根源及修复方法

Configuring RAG Systems: What Breaks, Where Originates, and How to Fix

University of Electronic Science and Technology of China(电子科技大学);University of Birmingham(伯明翰大学)

Liangyu Chen, Youpeng Ma, Yulong Ye, Zezhen Xiang, Tao Chen

AI总结:

本文通过对10种RAG系统的654个真实配置问题开展大规模实证研究,分类了RAG配置问题的症状、根源等并提出9条实践见解,为RAG系统配置问题的测试与修复提供指导。

摘要:

检索增强生成(Retrieval-Augmented Generation,RAG)已成为结合大型语言模型(Large Language Model,LLM)与向量/图数据库等组件以改进LLM的主流范式。因此,生成的RAG系统通常具有高度可配置性,其中大量故障与配置相关。然而,目前仍缺乏对RAG系统配置问题的系统性理解。为填补这一空白,本文对从10种不同RAG系统收集的654个真实世界配置问题开展了首次大规模实证研究。基于此,我们对RAG系统配置问题的症状、根源、相关阶段及修复模式进行了完整分类,并提出了若干新观察结果。我们的发现不仅揭示了配置问题的特征,还将其与RAG独特的流水线阶段紧密关联,例如,我们发现大多数症状可在早期或晚期阶段被观测到,而根源所在阶段可能与症状被识别的阶段不同。我们还为从业者提供了9条可操作的见解,用于测试、定位和修复RAG系统的配置问题。

英文摘要:

Retrieval-Augmented Generation (RAG) has emerged as a dominant paradigm for improving Large Language Model (LLM) by intertwining it with other components, such as a vector/graph database. Therefore, the resulting RAG systems are often highly configurable, under which a non-trivial amount of failures are related to the configurations. However, there remains a lack of systematic understanding regarding the configuration issues for RAG systems. To bridge this gap, in this paper, we conduct the first large-scale empirical study of 654 real-world configuration issues collected from 10 diverse RAG systems. Drawing on this, we provide a complete categorization of the symptoms, root causes, relevant stages, and fix patterns of configuration issues for RAG systems, as well as several new observations. Our findings not only reveal the characteristics of configuration issues, but also strongly link them to the unique pipeline stages of RAG, e.g., we found that most symptoms can be observed at the early or late stage, while the stage of the root cause might not be at the same stage as where the symptom is identified. We also provide nine actionable insights to the practitioners on testing, localizing, and fixing the configuration issues for RAG systems.

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

↑