Non-Personalized Recommendation
Before we know anything about you, what should we recommend? Whatever the crowd likes. Top-Popular, Best-Rated, shrinkage and Global Effects — the trivial-to-build baselines every personalized model must beat, and the bias terms that become the backbone of matrix factorization.
01 · Motivation
Why bother with non-personalized?
Because personalization needs history, and sometimes there is none.
Personalized algorithms read a user’s row of the URM to tailor recommendations. But that row is often empty: a brand-new user, a logged-out visitor, a freshly added item nobody has touched. This is the cold start problem, and a non-personalized list is the standard fallback. Three reasons these algorithms never go away:
- Cold start — with no history, the crowd’s preference is the best available prior.
- A strong baseline — “just recommend the popular items” is shockingly hard to beat. Any personalized model that loses to it is broken.
- A building block — the bias terms we derive at the end () reappear inside matrix factorization (Ch. 8) as the model’s backbone.
Mental model
Personalization re-orders items per user. A non-personalized algorithm produces one ordering and hands the same list to everybody. Everything in this chapter is a different way to compute that single ordering of the columns of the URM.
02 · Count, not quality
Top-Popular
Rank items by how many people interacted — the rating value is ignored.
Top-Popular is the simplest recommender that exists: count the non-zero entries in each column of the URM and rank items by that count. The crucial detail — the rating itself is not considered. A column of four 1-star ratings and a column of four 5-star ratings are equally popular.
Popular ≠ good
Because only the count matters, Top-Popular may recommend items with lots of negative ratings — it cannot tell a great film from a mediocre one rated equally often. In our toy catalog, Interstellar is tied for the most-rated item yet has nearly the lowest average; Top-Popular treats it as a top pick anyway.
Top-Popular vs Best-Rated
Both columns rank the same 8 movies. Left ranks by how many ratings; right by the average rating. The left bars are nearly equal — counting barely separates them. Click a movie to trace it across both lists.
Click a movie to compare its two ranks.
Formal Definition 2.1 — popularity
Popularity of item is the number of users who interacted with it — the count of non-zero entries in its URM column:
The recommendation is over unseen items. enters only through — its magnitude is discarded.
03 · Quality, with a catch
Best-Rated & the small-sample trap
Averages reward quality — but a single rating can fake it.
Best-Rated fixes Top-Popular’s blind spot by ranking on the average rating instead of the count: for item with ratings, . Now quality matters — but a new problem appears.
One rating is not evidence
An item rated averages , while an item with a single averages . Best-Rated ranks the one-rating item first — even though we have almost no evidence about it.
The fix is shrinkage: add a constant to the denominator. Items with few ratings get pulled toward zero; items with many ratings are barely affected because is small next to . With , the example becomes vs — the ordering flips back to the well-supported item.
Shrinkage explorer · sum / (n + C)
Best-Rated ranks by average — but a single 5★ shouldn't outrank a long track record. Adding C to the denominator pulls low-support items down. Inject a hyped cold item and drag C.
Formal Definition 2.2 — average & shrinkage
Let be the number of users who rated item . The plain and shrunk averages are
Here ranges over non-zero ratings only, and is the shrink term. As we recover the plain average; as grows, low-support items are penalized more heavily.
04 · The bias baseline
Global Effects
Peel off systematic biases — and discover the ranking was never personal.
Some users rate everything high; some items get rated high by everyone. Global Effects models these systematic offsets explicitly, in six steps — start from the global mean, estimate a shrunk item bias and a shrunk user bias, and add them back up:
- Global mean = average of all non-zero ratings.
- Centre each rating: .
- Item bias (how much item beats the mean).
- Centre again: .
- User bias (how generous user is).
- Predict: .
Personalized rating, non-personalized ranking
The prediction contains a user term , so it looks personalized. But for a fixed user, and are the same for every item — they shift all of that user’s scores by a constant and never change their order. The ranking is driven by alone, so every user gets the same list. It is the exam’s favourite trap.
Global-Effects stepper · μ + b_i + b_u
Add the terms one at a time and watch the order. The user term b_u shifts every score by a constant, so it can never reorder the items — every user gets the same list.
Every item scores μ — a flat tie, no ranking yet.
Formal Definition 2.3 — Global Effects
With global mean , item counts , user counts , and shrink term :
Since is constant across items for a fixed user, — independent of . That is the punchline.
05 · Exam intel
What the exam tests
Define each of the three algorithms; compute an average and a shrunk average by hand; and explain why Global Effects, despite the term, produces a non-personalized ranking. Graders want: Top-Popular ranks by count (the value is ignored); the shrink term in the denominator, never the numerator; and the ranking argument that shifts scores by a constant.
Worked question — rank by Best-Rated, then by shrunk average (C = 1)
Item A has ratings ; item B has a single rating .
- Plain. , → B ranks first (one rating wins).
- Shrunk. , → A ranks first. Shrinkage discounts B’s thin evidence and restores the sensible order.
Traps: calling Top-Popular an average (it is a count); putting in the numerator; calling Global Effects “personalized” because of (the ranking is not).
06 · Self-check
Three questions before you move on
Top-Popular ranks items by:
Why do we shrink the average with a term C in the denominator?
Global Effects predicts r̂(u,i) = μ + b_i + b_u. Why does every user get the same item ranking?
07 · Recap
One-screen summary
Chapter 02 — load-bearing ideas
- Top-Popular = count, Best-Rated = average. Popular and good are different goals, and the two rankings disagree.
- Shrinkage () protects the average from low-support items — a single rating is not evidence. The goes in the denominator.
- Global Effects gives , but the ranking is non-personalized: it depends on alone.
- These baselines are what CF (Ch. 5) must beat, and become the bias terms of MF (Ch. 8).