Recommender System (RecSys)

This note is a map. Read the pieces in order:

Pipeline

  1. Retrieval Ranking Funnel — the 3-stage cascade (retrieve → rank → re-rank) and why it exists.

How candidates are generated (stage 1)

  1. Two-Tower Model — user tower + item tower, dot-product score, why it scales.
  2. Approximate Nearest Neighbor (ANN) — how to find nearest item vectors fast over billions.
  3. Collaborative Filtering — the classic "users who agreed before agree again" idea.
  4. Cold Start Problem — what breaks for a brand-new user or item, and the fix.

How candidates are ranked (stage 2)

  1. Learning to Rank — training a model to order items (the ranking stage in depth).

References