Latent Factor Models

A latent factor model maps users and items to hidden coordinates and scores compatibility from those coordinates. In recommender systems, matrix factorization is the canonical example, but factor models can also include side features, biases, context, or neural encoders.

The scoring contract

The core scoring contract is

or with biases,

The factors are “latent” because no column is pre-labeled as genre, price sensitivity, or expertise. Their meaning comes from the training objective and data. Content-based recommendation starts from observed item features; latent factor models infer features from interaction patterns.

Worked example

For a user vector , score each item by a dot product:

ItemItem vector Score
0
1
2

Item 0 is the top recommendation because it has the largest dot product. Item 0 and item 2 align with the user vector; item 1 points in the opposite direction. Hybrid recommenders often combine these latent scores with content features to reduce cold-start damage.

Caveats

Latent dimensions are useful but not guaranteed to be stable or interpretable across retrains. They reflect exposure and feedback loops in the logs, not pure preference. When a product needs explanation, constraints, or editorial control, latent factors usually feed a broader retrieval and ranking architecture rather than serving alone.

References