Candidate Generation

The retrieval stage that narrows a huge pool of possible items into a smaller set worth ranking in detail.

Which books reach the final ranking?

Imagine recommending one book from a catalog of 50,000. The ranking stage can afford to examine 100 candidates in detail.

  1. Retrieve candidates

    A first pass finds titles near the reader’s recent interests and adds some new releases.

  2. Assemble the shortlist

    The system removes duplicates and unavailable editions. One hundred titles remain for detailed comparison.

  3. Rank the survivors

    The final stage can reorder any of the hundred. A useful book omitted from the shortlist has no chance to appear in the final ten.

Test the shortlist on its own

Suppose a reviewer identified five relevant titles and the shortlist contains four. Candidate recall for this query is 4 ÷ 5 = 80%. Improving the final ordering can help the four survivors. Finding the fifth calls for a change earlier in retrieval.

Why It Matters

Candidate generation matters because modern AI systems often have too many possible items to compare directly in one step. In recommendation engines, it determines which products or pieces of content even get a chance to be ranked. In search systems, it determines what enters the result set before reranking. A weak retrieval stage can silently cap the quality of the entire system because the best item may never make it into the shortlist.

Follow the idea

Reranking orders the candidates that survive retrieval.

Recall measures how many relevant titles survived.

Related concepts (7)

Examples in the AI guides

Related Yenra articles (2)

Source · Google’s guide to candidate generation

Return to Candidate Generation in the A–Z glossary