What problem does Retrieval-Augmented Generation primarily solve?
- It permanently updates the model's weights with new facts at query time
- It grounds answers in retrieved external documents, not parametric memory alone
- It compresses the model so it runs on smaller hardware
- It removes the need for a prompt by inferring intent from embeddings
Why
RAG solves the problem of LLMs relying solely on their frozen parametric memory, which can be outdated, incomplete, or prone to hallucination. By retrieving relevant documents from an external knowledge source at query time and conditioning generation on them, RAG grounds answers in verifiable evidence. This architecture separates knowledge storage from reasoning capability, meaning the knowledge base can be updated independently without retraining the model. The retrieval step acts as a dynamic memory lookup that supplements the model's static training data with current, domain-specific information. Option B is wrong because RAG never modifies model weights; retrieval and generation happen entirely at inference time while the parameters remain frozen throughout. Option C confuses RAG with model compression techniques like quantization or pruning, which target hardware efficiency rather than knowledge access. Option D misunderstands the architecture because RAG still requires a prompt containing both the user's question and the retrieved context, so retrieval augments the prompt rather than replacing it. The underlying principle is the separation of knowledge from computation: the model provides reasoning and language fluency while the retriever provides factual grounding. This matters in practice because enterprise knowledge bases change frequently, and retraining or fine-tuning for every update would be prohibitively expensive and slow. RAG has become the standard approach for building knowledge-intensive applications where accuracy, currency, and source attribution are all required.