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.
RAG in 2025: State of the Art and the Road Forward
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.
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.
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.
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
- foundedco-founder
“I was the CEO and co-founder of Voyage AI.”
YouTube Verified5 sources· Talk, Web· archived
- works atTengyu Ma works at
Stanford UniversityAssistant 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
- metricembedding 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
- metricquantization: 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
- metricMatryoshka 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













