What is AI recall?
Recall measures how many truly positive examples or relevant documents a model or retrieval system finds: true positives divided by true positives plus those missed.
Unlike precision, which measures how many returned results are actually correct, recall measures how many that should be found were found. A model flagging everything as positive reaches full recall but very low precision, so both are reported and the F1 score combines them in one number.
- Topic
- Evaluation and quality
- Also known as
- Sensitivity, true positive rate
How AI recall works
- Results are counted in a confusion matrix as true positives, false positives, true negatives and false negatives.
- Recall is true positives divided by true positives plus false negatives.
- Example calculation: if 80 of 100 real fraud cases are caught, recall is 80 / (80 + 20) = 0.80.
- In retrieval, Recall@k shows how many relevant documents appear in the top k results; lowering the decision threshold raises recall and usually lowers precision.
In more detail
Macro, micro and weighted recall in multi-class validation
In multi-class problems, recall is aggregated in two main ways: macro-recall averages each class equally and exposes failures on rare classes, whereas micro-recall weights every instance equally and is dominated by frequent classes. Choosing the right aggregation prevents minority-class failures from hiding behind high overall scores.
Cost-aware evaluation with PR-AUC and F2
When positives are rare, ROC-AUC can look misleadingly optimistic because true negatives dominate the false positive rate. Precision-Recall AUC (PR-AUC) and F-beta scores (such as F2, which weights recall more heavily than precision) provide far clearer threshold-independent and cost-weighted comparisons.
Why Recall@k ignores rank and what that means for RAG
Standard Recall@k checks only whether relevant documents appear within the top k results and ignores their exact rank. In RAG pipelines, a relevant passage ranked 1st versus 10th can sharply affect answer quality due to context window limits and lost-in-the-middle effects, so Recall@k is typically paired with rank-aware metrics such as MRR or NDCG.
Commonly confused terms
| Term | How it differs |
|---|---|
| Specificity | Specificity (true negative rate) measures the proportion of actual negatives correctly rejected, whereas recall (sensitivity) measures the proportion of actual positives correctly identified. |
| RAG context recall | Context precision checks whether the retrieved chunks are genuinely relevant without excess noise, while context recall checks whether all ground-truth facts needed to answer a query were retrieved. |
Why AI recall matters for on-premises AI
Where misses are costly, as in fraud or security screening, recall comes first. In RAG systems retrieval recall decides whether the document needed for a correct answer reaches the context; if it is not retrieved, the model cannot answer correctly. With imbalanced classes accuracy can mislead, while recall shows how the rare class fares. Organisations choose the recall and precision balance by the cost of the work.
An insurer prioritises recall in its suspicious claim detection model; since a missed fake claim is costly the threshold stays low, while the extra false alarms are filtered by a specialist's first review.
Common questions
How does recall differ from precision?
Precision measures how many returned results are correct. Recall measures how many that should be found were found.
Does high recall mean a good model?
Not alone. The model may produce many false positives. Recall is judged together with precision.
Related terms
Sources
- Introduction to Information Retrieval, Cambridge University Press, 2008
- Evaluation: from precision, recall and F-measure to ROC, informedness, markedness and correlation, 2011
In the glossary: Glossary, R to Z