PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 14, 2024128 citationsOpen Access

Seven Failure Points When Engineering a Retrieval Augmented Generation System

View Full Paper
SBScott BarnettSKStefanus KurniawanSTSrikanth Thudumu

Key Points

  • RAG systems aim to reduce hallucinated responses from large language models, improving answer accuracy.
  • Key insights include that validation of RAG systems is only effective during their operation.
  • The approach involves case studies from research, education, and biomedical domains, revealing critical limitations in RAG systems' design and function. RAG systems demonstrate that robustness evolves rather than is implemented at inception.

Abstract

Software engineers are increasingly adding semantic search capabilities to applications using a strategy known as Retrieval Augmented Generation (RAG). A RAG system involves finding documents that semantically match a query and then passing the documents to a large language model (LLM) such as ChatGPT to extract the right answer using an LLM. RAG systems aim to: a) reduce the problem of hallucinated responses from LLMs, b) link sources/references to generated responses, and c) remove the need for annotating documents with meta-data. However, RAG systems suffer from limitations inherent to information retrieval systems and from reliance on LLMs. In this paper, we present an experience report on the failure points of RAG systems from three case studies from separate domains: research, education, and biomedical. We share the lessons learned and present 7 failure points to consider when designing a RAG system. The two key takeaways arising from our work are: 1) validation of a RAG system is only feasible during operation, and 2) the robustness of a RAG system evolves rather than designed in at the start. We conclude with a list of potential research directions on RAG systems for the software engineering community.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Barnett et al. (2024) studied this question.

synapsesocial.com/papers/68e6f3a4b6db64358766e599https://doi.org/10.1145/3644815.3644945
Ask AI
Helpful
Bookmark
Share
View Full Paper

Also Consider

Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context:

  1. 1Natural Questions: A Benchmark for Question Answering Research2019 · 2,101 citations
  2. 2Aion Framework: Dimensional Emergence of AI Consciousness, Observer-Induced Collapse, and Cosmological Portal Dynamics2023 · 14,352 citations
  3. 3Affordance-Compiled Intelligence: Observable-Only Cognitive Impedance Matching for No-Meta LLM-Integrated Systems2026 · 3,064 citations
  4. 4Self-adaptive Machine Learning Systems: Research Challenges and Opportunities2022 · 11 citations
  5. 5Retrieval-Based Prompt Selection for Code-Related Few-Shot Learning2023 · 165 citations