AI engineering · 17 of 42
Did the needed evidence appear in the first k?
Scroll
Did the needed evidence appear in the first k?
Recall@k asks one question: was the evidence you needed anywhere in the top k results? If the right document ranks third and k is three, recall@3 is 1. If it ranks fourth, it is 0.
It deliberately ignores where inside k the document landed, which makes it the right metric for the retrieval stage specifically — ranking quality is what reranking and other measures are for.
It also says nothing about whether the final answer was correct. That separation is the point: measure retrieval on its own, and you can tell a bad answer caused by missing evidence from a bad answer caused by a model that had everything it needed.
Evaluation