WhoBuilt

RAG Evaluation Is Broken! Here's Why (And How to Fix It)

Jun 3, 2025· 11 min· 1.2K views·Watch on YouTube

Speakers

Yuval Belfer and Niv Granot of A21 Labs explain why RAG evaluation misses real-world needs and describe a structured data approach, with Belfer presenting the examples.

Why common RAG benchmarks fall short

Many benchmarks use questions whose answers sit in one or a few known chunks. Even multiple-hop examples can feel manufactured and fail to reflect real user questions. Retrieval and generation are often evaluated separately, leaving parsing, chunking, and the whole system untested.

Benchmark scores do not guarantee user success

Real datasets are messy and differ from one another, so benchmark results may not generalize. Teams optimize for flawed benchmarks, celebrate high scores, then find that systems struggle with customer data. Repeating the cycle with new benchmarks can preserve the same weaknesses.

Aggregation questions expose retrieval limits

Niv uses financial questions such as counting Apple fiscal years above $100 billion in annual revenue to show what users may ask. A top-k system can miss relevant records beyond the chunks it retrieves. On a corpus of about 22 FIFA World Cup Wikipedia pages, common RAG pipelines answered only 5% and 11% of questions correctly.

Turn suitable corpora into structured data

For questions involving counts, maximums, minimums, and calculations, Yuval proposes converting documents into data structures and answering with SQL. During ingestion, the pipeline clusters documents, identifies a schema for each subcorpus, extracts records, and stores them in a SQL database. At inference, it selects a schema and uses text-to-SQL.

Structured RAG has limits

Not every corpus has consistent attributes or suits a relational database. Schema choices create normalization questions, such as whether West Germany counts as Germany or how to represent co-hosts South Korea and Japan. The approach also needs to handle ambiguous or out-of-scope questions, and text-to-SQL grows harder as schemas become more complex.

Takeaways

  • Evaluate the full system on customer-like data, including parsing and chunking.
  • Include aggregation questions that require finding and combining many records.
  • Use structured extraction and SQL when a corpus has stable attributes and queries involve counts or calculations.
  • Test entity normalization and ambiguous or out-of-scope requests.
  • Choose retrieval methods based on the corpus and question type; chunking, embeddings, and reranking do not fit every use case.

Mentioned in this talk

Search inside this talk

What was claimed 6

Related talks