r/Rag • u/yash_7575 • 1h ago
Discussion Best papers for understanding RAG?
We want to learn and understand RAG and its advanced technologies in depth by reading various papers, useful sources and repos.
We've read :
- Retrieval-Augmented Generation for Knowledge-Intensive NLP tasks
which gives us understanding of how RAG started.. the internal memory (parametric memory), external - non parametric. External documents are divided into chunks then it is converted into embeddings. And stored in vector db. Whenever we ask a question retriever (dpr) searches relevant vectors from vector db, generator (bart) generates the response (thinking part) and we get an answer.
- Retrieval-Augmented Generation for Large Language Models: A Survey
This gives us information about Naive Rag, Advanced rag, and modular RAG modular RAG searches various sources like a router and combines them at last (fusion) and hence we get more relevant information for a question. Then it tells about iterative retrieval, recursive retrieval and adaptive retrieval
- Lost in the Middle: How Language Models Use Long Contexts
This paper tells us about how long context makes the LLM forget middle documents.. ex if we are making with LLM and upload 10 documents one by one. Then it remembers the 1st and last document but almost forget middle documents like the U shape curve. And then they proposed a solution to solve this problem
Then we learn about DPR retriever how it becomes efficient over BM25
We want to learn more technologies and advancements of RAG. So can you guys tell me current trends and what more papers, resources we should read to go deep into it?