From impressions to evidence
After changing part of a RAG pipeline, it is tempting to inspect a few answers and decide the new configuration looks better. That is useful for exploration, but it is not enough for a production system.
We used BEIR datasets—including SciDocs, NFCorpus, SciFact, and DBPedia—to compare retrieval approaches across a broader set of queries.
What the metrics tell us
Recall@k helps measure how much relevant material appears among the retrieved results. NDCG@10 considers the quality and position of results near the top. MRR focuses on how early the first relevant result appears.
Together, these metrics give us different views of retrieval quality. They make it possible to compare configurations and understand the effect of a change instead of guessing.
Keep the feedback loop open
For me, RAG is not only about the answer an LLM produces. It is also about retrieval quality, measurement, and making decisions based on the results.