Problem
A team builds recommendations for an online cinema and picks the model by MAP@10 and Recall. The cross-validation winner looks strong, yet its shelves are full of the same hit titles, unrelated to the viewer's history. More than half of its recommendations coincide with a plain "most popular" list. Pushing the model toward novelty instead produces irrelevant obscure titles, so no single metric is safe to maximize.
Example from the article: a two-stage model that took 4th place in the Kion competition (MAP@10 0.107) recommended an action film, a Russian war film and a family comedy series for Disney's "Aladdin". Overlap with the popular algorithm: 62%.
Solution in brief
Popularity bias can be measured. Track overlap with a popular-items recommender, Recall without popular items, Serendipity and Mean Inverse User Frequency (MIUF) beside MAP and Recall. Tune an item-based collaborative filtering baseline on a grid, then choose the final balance by looking at the actual recommendations for a diverse set of users.
Questions this case answers
- How to select a recommender when the metrics that measure accuracy reward recommending popular items and the metrics that reward novelty reward irrelevant ones
- How to detect and quantify popularity bias in a recommender during offline cross-validation
- How to tell that a recommender with top MAP and Recall is just pushing hit items to everyone?
- How to choose a model when no single offline metric can be maximized directly?
Tools and methods
- ItemKNN with BM25 weighting (implicit) — baseline whose hyperparameters set how strongly popularity is rewarded.
- RecTools — source of the Serendipity and MIUF metric implementations.
- Popular-items recommender — reference for the overlap and Recall-without-popular metrics.
- Visual analysis in a Jupyter notebook — shelves of different models for chosen users.
- Two-stage model (cosine ItemKNN + CatBoost) — competition model, the biased reference.
Google or a one-time email code. No password.