Retrieval-Augmented Generation
RAG is not Memory, Search or Memory is better than naive RAG. Better retrieval performance ≠ Better performance
Challenges
- retrieval latency
- system complexity
RAG Notion

RAG Usages


Beyond dot product

KBQA, Knowledge Graph
Base model is better at retrieval than Instruction Tuning model
Passages retrieved through RAG search often have little relation to each other, resulting in attention forming a block-diagonal structure. Therefore, the argument is that feeding all tokens directly into the decoder is computationally wasteful.

Seonglae Cho



