Pith. sign in

REVIEW 3 cited by

Understanding the Fundamental Design Decisions of Retrieval-Augmented Generation Systems

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2411.19463 v3 pith:Y3AD556W submitted 2024-11-29 cs.SE cs.AI

classification cs.SEcs.AI
keywords codegenerationdecisionsdeploymentmodeluniversalwhileanswering
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Retrieval-Augmented Generation (RAG) has emerged as a critical technique for enhancing large language model (LLM) capabilities. However, practitioners face significant challenges when making RAG deployment decisions. While existing research prioritizes algorithmic innovations, a systematic gap persists in understanding fundamental engineering trade-offs that determine RAG success. We present the first comprehensive study of three universal RAG deployment decisions: whether to deploy RAG, how much information to retrieve, and how to integrate retrieved knowledge effectively. Through systematic experiments across three LLMs and six datasets spanning question answering and code generation tasks, we reveal critical insights: (1) RAG deployment must be highly selective, with variable recall thresholds and failure modes affecting up to 12.6\% of samples even with perfect documents. (2) Optimal retrieval volume exhibits task-dependent behavior QA tasks show universal patterns (5-10 documents optimal) while code generation requires scenario-specific optimization. (3) Knowledge integration effectiveness depends on task and model characteristics, with code generation benefiting significantly from prompting methods while question answering shows minimal improvement. These findings demonstrate that universal RAG strategies prove inadequate. Effective RAG systems require context-aware design decisions based on task characteristics and model capabilities. Our analysis provides evidence-based guidance for practitioners and establishes foundational insights for principled RAG deployment. Our code, data and artifacts are publicly available at https://github.com/ShengmingZ/RAG_Benchmark_Code_QA.

Discussion (0). Sign in to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. EraRAG: Efficient and Incremental Retrieval Augmented Generation for Growing Corpora

    cs.IR 2025-06 conditional novelty 6.0 of 10

    EraRAG uses hyperplane-based locality-sensitive hashing to build a hierarchical retrieval graph whose affected regions only are re-summarized when new documents arrive, cutting update cost by up to an order of magnitude.

  2. Mapping and Comparing Climate Equity Policy Practices Using RAG LLM-Based Semantic Analysis and Recommendation Systems

    cs.CY 2026-01 conditional novelty 5.0 of 10

    A RAG-LLM pipeline extracts transportation and energy policy items from U.S. climate equity plans and recommends cities with similar policy practices, but extraction is not validated against human coding.

  3. Engineering RAG Systems for Real-World Applications: Design, Development, and Evaluation

    cs.SE 2025-06 conditional novelty 4.0 of 10

    A field study of five real-world RAG systems evaluated by 100 users, yielding user ratings and twelve engineering lessons.

Pith tools