Configuring RAG Systems: What Breaks, Where Originates, and How to Fix
Abstract
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.
Create a lesson
Metadata
- Comments
- 28 pages, 7 figures
Related papers
OmniDecisionBench: Evaluating and Benchmarking the Multimodal Jev-Style System One Decision Models
Shared title terminologycs.AITianxiang Gao, Jinzhe Li, Yue Zhou et al.
VeriLadder: A Multi-Agent Specification Refinement System for Tool-Verified Verilog Datasets
Shared title terminologycs.AISaeid Rajabi, Chengmo Yang, Satwik Patnaik
ESM-Bench: A Benchmark for Evaluating Whether AI Agents Understand Earth System Model Physics and Code
Shared title terminologycs.AIKoutian Wu, Yuxuan Cao, Gengchen Mai et al.
ChildAI-Gov: An Evidence-Linked AI System for Assessing EdTech Policies Against Children's Digital Rights
Shared title terminologycs.AINaveen Sigalapalli, Huizhi Liang, Clara Crivellaro
Athanor: An Agent-Native System for Autonomous Post-Training Research
Shared title terminologycs.AIYufa Zhou, Yichen Wang, Jiakun Fan et al.
When Reasoning Traces Conflict with Evidence: How Answer Configuration Shapes Evidence Following
Shared title terminologycs.AIShaoang Li, Yanhang Shi, Jian Li