检索增强生成(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.
ProGRank: Probe-Gradient Reranking to Defend Dense-Retriever RAG from Corpus Poisoning
Chalmers University of Technology, Sweden(瑞典查尔姆斯理工大学);University of Leeds, United Kingdom(英国利兹大学);Carl von Ossietzky University of Oldenburg, Germany(德国奥尔登堡卡尔·冯·奥西特齐大学)
An Iterative LLM Framework for SIBT utilizing RAG-based Adaptive Weight Optimization
Image Processing Center, Beihang University(北航图像处理中心);Department of Radiation Oncology, Peking University Third Hospital(北京大学第三医院放射肿瘤科);Department of Radiation Oncology, Duke University Medical Center(杜克大学医学中心放射肿瘤科)
Event-Causal RAG: A Retrieval-Augmented Generation Framework for Long Video Reasoning in Complex Scenarios
Tianjin Key Lab of Intelligent Unmanned Swarm Tech & System(天津智能集群技术与系统重点实验室);Tianjin University(天津大学);Institute of Computing and Intelligence(计算与智能研究所);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Tianjin Artificial Intelligence Innovation Center(天津人工智能创新中心);Defense Innovation Institute Academy of Military Sciences(国防科技创新研究院);School of Future Technology(未来技术学院);Shanghai University(上海大学)
GenAI-powered Multi-Agent Paradigm for Smart Urban Mobility: Opportunities and Challenges for Integrating Large Language Models (LLMs) and Retrieval-Augmented Generation (RAG) with Intelligent Transportation Systems
Oak Ridge National Laboratory(橡树岭国家实验室);University of Washington(华盛顿大学);Texas A&M University(德克萨斯农工大学)
Distilling a Small Utility-Based Passage Selector to Enhance Retrieval-Augmented Generation
State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(人工智能安全国家重点实验室,计算技术研究所,中国科学院);University of Chinese Academy of Sciences(中国科学院大学);Baidu Inc(百度公司)