RAG

Creator
Creator
Seonglae ChoSeonglae Cho
Created
Created
2023 Oct 25 11:31
Editor
Edited
Edited
2026 Jun 26 15:7

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
https://arxiv.org/pdf/2309.01431.pdf
RAG Usages
 
 
 
 
https://arxiv.org/pdf/2312.10997v1.pdf
https://arxiv.org/pdf/2312.10997v1.pdf

Beyond dot product

https://www.youtube.com/watch?v=mE7IDf2SmJg
 
 
 
 

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.
 
 

Recommendations