Advanced RAG
Category: Generative AI / LLM
An enhanced RAG approach that improves retrieval quality through techniques like query rewriting, reranking, hybrid search, and sophisticated chunking strategies.
Full Explanation
Advanced RAG builds upon naive RAG with pre-retrieval, retrieval, and post-retrieval optimizations. Pre-retrieval techniques include query rewriting, query expansion, and hypothetical document embeddings (HyDE). Retrieval improvements involve hybrid search combining dense and sparse methods, and using metadata filtering. Post-retrieval enhancements include reranking retrieved documents, compressing context to fit more relevant information, and filtering out low-relevance chunks. Advanced RAG may also use recursive retrieval, where initial results inform additional targeted retrieval steps. These improvements significantly increase the quality and relevance of retrieved context, leading to better generated answers. Advanced RAG represents the current best practice for production RAG systems and addresses many of the shortcomings of the naive approach without requiring the full complexity of modular or agentic RAG.
Related Terms
More in Generative AI / LLM
Explore More
- AI Tools Library — Discover AI tools related to Advanced RAG
- AI Education — Courses to learn about Generative AI / LLM
- AI News — Latest news and updates