Purpose

This note is the top-level map. It is not trying to catalog every model family. It is trying to pin down the parts that keep recurring when recommendation systems are rebuilt in practice: sparse supervision, latent structure, pipeline decomposition, and the mismatch between offline logs and online behavior.

The Core Problem

A recommender has a user, a catalog, and a decision rule for exposure. The simplest version asks:

given user , which items should appear near the top of the list?

That question hides most of the difficulty.

  • Users touch only a tiny fraction of the catalog.
  • Missing interactions are ambiguous.
  • Preferences drift.
  • Exposure itself changes the future data.

So the training table is sparse, policy-shaped, and nonstationary from the start.

Signals: Explicit Versus Implicit

Two kinds of feedback show up over and over.

Explicit Feedback

Ratings, thumbs-up events, stated preferences. These are direct and usually scarce.

Implicit Feedback

Clicks, purchases, watches, dwell time, skips. These are abundant and weak. The absence of an interaction does not mean dislike. It often only means “not exposed” or “not now.”

That is why ranking objectives and implicit feedback matters so much. Before choosing a model family, decide what the labels mean.

Baselines Still Matter

The simplest recommenders often stay in production longer than expected because they are robust and cheap.

  • Popularity: recommend the most popular items.
  • Recent popularity: same idea, but with a freshness window.
  • Item-item co-occurrence: recommend things often consumed with what the user already consumed.

These baselines are blunt, though they answer useful questions. If a new model cannot beat recent popularity in online testing, the modeling story is usually wrong or the evaluation setup is.

Latent Factor Models

Matrix factorization became the canonical collaborative-filtering model because it turns an enormous sparse table into a lower-dimensional geometric problem.

Represent user and item with vectors and score them with

That works because user-item interactions often have lower-dimensional structure. Instead of learning an arbitrary score for every pair, the model learns a compact representation of user tastes and item attributes.

For explicit-feedback settings, the standard objective is regularized squared error on observed entries. For implicit-feedback settings, confidence weighting becomes the more natural move:

That is the Hu, Koren, and Volinsky formulation. It does not treat all zeros as equally meaningful.

Ranking, Not Just Prediction

A lot of recommender work is not truly about estimating ratings. It is about ordering.

That is why pairwise and listwise objectives matter. BPR, RankNet, LambdaRank, and LambdaMART all attack the ranking problem more directly than plain regression. If the product only shows a top- list, learning the relative order can matter more than absolute calibration.

There is still no universal rule here. Ads systems often need calibrated click probabilities. Media feeds often care more about top-of-list order. Good teams pick the loss based on the downstream consumer of the score.

The Multi-Stage Pipeline

Once the catalog is large, recommenders almost always become staged systems:

  1. retrieve a candidate set
  2. rank the candidates with a richer model
  3. apply filters or business constraints

This is not optional elegance. It is the computational shape forced by large catalogs and tight latency budgets.

Retrieval and Ranking explains the split. Two-Tower Retrieval covers the standard retrieval architecture. Wide and Deep is a ranking-side example of how sparse and dense features get combined once the candidate set is small enough.

Beyond Bags of Interactions

Basic matrix factorization throws away order and graph structure. Modern recommenders usually try to recover one or both.

  • Sequential models capture short-horizon intent and recency.
  • Graph models propagate signal across the user-item interaction graph and related structures.

Those ideas live in Sequential and Graph Recommenders.

Evaluation Is Harder Than It Looks

Offline accuracy is useful and routinely misleading.

The training and evaluation logs come from an older policy that already filtered what users saw. That creates exposure bias and feedback loops. A model can look excellent offline by copying the current policy’s blind spots. Then it disappoints online.

That is why mature recommender teams invest in:

  • randomized logging
  • exploration
  • counterfactual evaluation
  • A/B tests on actual business metrics

Bias, Marketplace Effects, and Counterfactual Evaluation covers this in more detail.

A Good Mental Model

A production recommender is usually some combination of:

  • a retrieval system for recall
  • a ranker for precision
  • a logging policy that decides what can be learned next
  • a marketplace allocator, whether the team admits it or not

The last line matters. Once recommendation controls exposure, it is not merely prediction anymore.

Sources