Index Ai Academy
Glossary · Phase 5 · Transformers

Recall at k

Also written: R@k, R@1, R@5

In retrieval, the share of queries whose right answer is among the top k results.

The standard score is recall at k, written R@k: the share of queries whose right answer is among the top k results. R@1 asks for the exact match in first place. R@5 forgives a near miss.

Try it now

Press Next. Retrieval reads a column; the loss pushes the diagonal up and everything else down.

Learn it properly

Image-text models in depth: retrieval, negatives and limits · How to test a shared image-text space with recall at k, what the rest of the batch teaches, what hard and false negatives do, and why a similarity score can't see word order, counts or "no". About 45 minutes.

Other terms from the same lesson

  • hard negative: In contrastive training, a wrong answer that closely resembles the right one.
Keep learning

More in plain English.

1286 terms in the glossary, each with the lesson that teaches it.

1286 terms

The glossary

Every word you'll meet in AI and machine learning, explained in everyday language.

Phase 5 · lesson 45 min

Image-text models in depth: retrieval, negatives and limits

How to test a shared image-text space with recall at k, what the rest of the batch teaches, what hard and false negatives do, and why a similarity score can't see word order, counts or "no".

Never trained an AI? Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account. Teach it to write