Skip to main content
InterviewHubPRO
Section Overview
Q19

Question 19 of 50

Part 2: Core Architecture & Implementation (Mid-Level)

38%
Vector DBs & RAG (50 Qs)•Part 2: Core Architecture & Implementation (Mid-Level)

What is the difference between Naive RAG and Advanced RAG?

senior LevelMost AskedSystem Design

In Simple Words:

  • Naive RAG: Simple pipeline: Query -> Embedding -> Vector Search Top-K -> Stuff Context into LLM -> Generate Answer. Fails on low retrieval precision, hallucinations, and out-of-date data.
  • Advanced RAG: Introduces pre-retrieval optimization (query rewriting, query expansion, HyDE), multi-vector index representations, hybrid search, cross-encoder re-ranking, and post-retrieval context compression.