Large RAG systems need more than retrieval accuracy checks
A large legal document database needs a separate way to judge the quality of its retrieval step before it can support reliable . If the documents have a steady structure, such as sections, subsections, and paragraphs, can split them into natural context units. The search setup may use , combining with , and the weights between those methods may need tuning.
Precision can be measured by creating questions, checking the top returned chunks, and grading whether they are useful. Recall is much harder because it would require knowing every relevant chunk in the whole corpus, which is not practical for thousands of dense legal documents. Related discussion points out that production RAG often fails after retrieval, not only during retrieval.
Retrieved chunks may need re-ranking, careful context selection, and a separate check that the model does not combine correct chunks into a wrong final answer. A solid evaluation setup should therefore include human-checked examples, failure cases, and tests for both and answer synthesis.
Key points
- can fit structured legal documents because sections and paragraphs are natural boundaries.
- needs tuning because and may work better at different weights.
- Precision is easier to measure by grading the top returned chunks for sample questions.
- Recall is difficult because it requires knowing all relevant chunks across the full corpus.
- Correct retrieval is not enough; the model can still produce a wrong answer from the right context.
Sources covering this story (8)
- r/RagLarge RAG systems need more than retrieval accuracy checks ↗
- r/RagRAG vs. harness, where does plain retrieval stop being enough? ↗
- r/RagYour RAG probably didn’t fail at retrieval. It failed after retrieval. ↗
- r/RagThe retriever gets the right chunks but the llm still gives the wrong final answer...how do you catch this? ↗
- r/RagI need evaluate my RAG Ragas? ↗
- r/RagEvery RAG looks great on small datasets, that’s too easy ↗
- r/LLMDevsHow do you evaluate your retrieval step in RAG for large data sets? ↗
- r/LLMDevsHow do you evaluate your retrieval for large data sets? ↗