Bistro Innovation LabsSearch & AI consulting · Berlin
TalkAI Engineer World's Fair 2024, San Francisco

Navigating RAG Optimization with an Evaluation-Driven Compass

With Deanna Emery of Quotient AI at the AI Engineer World's Fair: a practitioner's guide to using evaluation as the compass for every RAG optimisation decision, from chunking to retrieval window to reranking.

With Deanna Emery

In this session at the AI Engineer World's Fair, Atita and Deanna Emery argue that evaluation is the only reliable compass for RAG optimisation. Without an evaluation harness every tuning change is a coin flip; with one, every change — chunk size, retrieval window, embedding model, reranker, LLM — becomes a measurable decision.

The problem the talk sets out

The published abstract frames RAG as a cornerstone for bringing domain-specific content into AI applications and reducing hallucination. As adoption intensifies, a pressing challenge emerges: understanding where within a complex RAG pipeline changes and improvements can actually be made. The talk presents a methodology for extracting crucial indicators from the pipeline so that experimentation is informed rather than guesswork.

An end-to-end loop

Atita and Deanna walk through an end-to-end process for RAG experimentation and evaluation: build a baseline, create an evaluation dataset, score retrieval and generation separately, then iterate on one variable at a time and read the indicators. Atita brings the retrieval and vector-database perspective from her work at Qdrant; Deanna brings Quotient AI's research on evaluating large language models in production. The accompanying notebook extends the published Qdrant/Quotient methodology with rerankers, so the audience can see how an added stage is judged with the same yardstick as the rest of the pipeline.

The message to AI engineers is that optimisation and evaluation are not separate phases. The compass has to be in hand before the first change is made, and it stays in hand for every change after.

Where to go next

Frequently asked questions

What problem does the talk address?
As RAG adoption grows, teams struggle to identify where within the pipeline changes and improvements should be made. The talk presents a methodology for extracting the indicators that make that decision informed.
Who co-presented?
Deanna Emery, Founding AI Researcher at Quotient AI, whose work on LLM evaluation in real products complements Atita's retrieval background.

RAG systems

Working on rag systems?

We build and fix retrieval-augmented generation systems by treating retrieval as the product: chunking and indexing strategy, hybrid retrieval, reranking, grounded citations and abstention, all measured by an evaluation harness before anything reaches users. Tell us what you are building and we will say whether this is the kind of engagement we take on.