About

What Is Matrix Factorization? Predicting Ratings with Latent Factors

The latent factor model that dominated Netflix Prize

The most powerful approach during the 2006-2009 Netflix Prize. Variants include SVD, ALS, and BPR, but the core idea is the same.

Decompose user-item matrix R(m×n) into user matrix P(m×k) and item matrix Q(n×k). k is the number of latent factors. With k=50, each user and item gets a 50-dimensional vector.

Why it works

It automatically discovers hidden factors like "degree of action preference" or "romance affinity." No explicit genre labels needed — it finds patterns from data.

This is essentially embedding learning. You could call it embeddings before Word2Vec existed.

How It Works

1

Build user-item matrix R (sparse)

2

Initialize user matrix P and item matrix Q randomly

3

Optimize via SGD or ALS so R ≈ P × Qᵀ

4

Predict empty cells via dot product P_u · Q_i

Pros

  • ✓ Learns latent factors well even from sparse data
  • ✓ Relatively easy to interpret results

Cons

  • ✗ Hard to incorporate side information about users/items
  • ✗ May require full retraining for new data

Use Cases

Core of Netflix Prize winning solution Early version of Spotify music recommendations
← What Is Collaborative Filtering? Recommendations from Similarity What Is GRU4Rec? Predicting the Next Click with an RNN →