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

  • founded
    co-founder
    “I was the CEO and co-founder of Voyage AI.”
    YouTube
    Verified5 sources· Talk, Web· archived
  • works at
    Assistant Professor
    “I'm also teaching at Stanford.”
    YouTube
    Verified2 sources· Talk, Web· archived
  • acquired
    “We were recently acquired by MongoDB.”
    YouTube
    Verified2 sources· Talk
  • ceo of
    “I was the CEO and co-founder of Voyage AI.”
    YouTube
    Unverified1 source· Talk
  • feature
    Voyage AI: Focuses on improving retrieval
    “the startup focused on improving retrieval”
    YouTube
    Unverified1 source· Talk
  • metric
    embedding models: Retrieval accuracy averages about 80% across about 100 datasets
    “we're averaging over about 100 datasets, and accuracy is about 80%”
    YouTube
    Unverified1 source· Talk
  • metric
    quantization: Vector storage savings can reach 10x to 100x; at 100x savings performance loss is about 5% to 10%
    “You can save at least 10x, and even 100x, without losing much.”
    YouTube
    Unverified1 source· Talk
  • metric
    Matryoshka learning: Using 256 dimensions of a 2,048-dimensional vector may incur about 1% or 2% accuracy loss
    “perhaps with a 1% or 2% loss”
    YouTube
    Unverified1 source· Talk
  • feature
    Voyage AI: Provides a reranker
    “Voyage provides a reranker as well.”
    YouTube
    Unverified1 source· Talk
  • feature
    Voyage AI: Multimodal embeddings can take in screenshots
    “Voyage's multimodal embedding can take in screenshots.”
    YouTube
    Unverified1 source· Talk
  • feature
    Voyage AI: Planned context-aware auto-chunking embeddings that return document chunks and a vector for each, incorporating global information
    “we'll chunk it for you and return the chunks and a vector for each one.”
    YouTube
    Unverified1 source· Talk
  • feature
    Voyage AI: Planned fine-tuning API
    “we'll have a fine-tuning API at some point”
    YouTube
    Unverified1 source· Talk

Related talks