WhoBuilt

RAG in 2025: State of the Art and the Road Forward

Jun 27, 2025· 19 min· 6.1K views·Watch on YouTube

Speaker

Tengyu Ma, Voyage AI co-founder and CEO, now at MongoDB, discusses RAG and its future at an AI Engineer event; he also teaches at Stanford.

Why RAG fits enterprise data

Ma says language models cannot safely contain a company’s proprietary information out of the box. He compares long context to scanning an entire library for every question and fine-tuning to memorizing it, while RAG retrieves relevant material when needed. He describes RAG as modular, fast, and cost-effective.

Retrieval models and storage costs

A basic retrieval system embeds documents and queries as vectors, searches a vector database for nearby items, then gives relevant documents to a language model. Ma says embedding quality has improved while costs have fallen, though accuracy across roughly 100 datasets averaged about 80%, with substantial variation by task. Matryoshka embeddings and quantization can reduce vector storage by 10x to 100x, with accuracy trade-offs.

Ways to improve retrieval

Ma outlines hybrid search, rerankers, query decomposition, and document enrichment as ways to improve retrieval beyond stronger embeddings. Enrichment can add titles, headers, dates, or generated context to document chunks so they are easier to find. Domain-specific embeddings, such as models customized for code, can improve accuracy and compression trade-offs.

A simpler RAG workflow ahead

Ma expects RAG to remain useful because it selects only the information needed for a task. He predicts that improved models will absorb some gains now supplied by parsing, chunking, graph retrieval, and other techniques, leaving fewer steps for application builders. Multimodal embeddings can search screenshots of PDFs, slide decks, tables, and video frames; he also describes planned automatic chunking that adds document-wide context to each chunk.

Takeaways

  • Keep proprietary company data in a retrieval layer so access can be controlled and relevant material fetched on demand.
  • Measure retrieval by dataset and task; an average score can hide large differences in performance.
  • Combine lexical and vector search with reranking when a single retrieval method misses relevant material.
  • Add metadata and surrounding context to chunks, especially when splitting long documents.
  • Consider domain-specific embeddings and vector compression to balance retrieval quality with storage cost.

Mentioned in this talk

Search inside this talk

What was claimed 12

Show all 12 facts

Related talks