Compute retrieval recall from the number of relevant documents and the number actually retrieved, to measure the coverage of your RAG retriever.
RAG 系统需权衡召回率与精确率。
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Recall | recall is the retrieved relevant documents over all relevant documents | TREC evaluation, trec_eval |
| Retrieval augmentation | relevant passages are retrieved first then supplied to the generator as context | Lewis et al. 2020, NeurIPS RAG |
| Ranking metrics | recall measures coverage while precision and mean reciprocal rank measure ordering | TREC evaluation, trec_eval |