How it works
Three simple models, each used where it measured best.
H-Tech is a hybrid recommender over MovieLens-25M: popularity, content-based filtering and collaborative filtering. Where a measurement contradicted the original plan, the plan changed.
- ratings in the working set
- 24.6M
- films
- 13,172
- MovieLens users
- 162,242
- genre and tag terms
- 21.7K
The headline finding
Rating accuracy and ranking quality pick opposite winners
Collaborative filtering predicts ratings best at every history length tested — and never wins the top-10 ranking task. So the two jobs use different models.
| Ratings revealed | Rating error (RMSE, lower is better) | Ranking (precision@10, higher is better) | |||
|---|---|---|---|---|---|
| Collaborative | Content | Popularity | Collaborative | Content | |
| 1 | 1.0101 | 1.0914 | 0.2260 | 0.1964 | 0.1435 |
| 5 | 0.9899 | 1.0894 | 0.1957 | 0.1579 | 0.1573 |
| 20 | 0.9424 | 1.0852 | 0.1595 | 0.1363 | 0.1958 |
Winners in bold. SVD is fitted to squared error, and most of its accuracy comes from per-film bias terms that hand every user the same ordering — good for predicting a rating, poor for ranking. Simulated new users, ADR-003.
The system
Four jobs, simple models
Recommending films
Popularity, then a TF-IDF content profile
Until you have rated 15 films you get well-loved films, ranked by a Bayesian weighted rating. After that, films are ranked by how close they are to the ones you rated 4★ or higher.
Switches at 15 ratings, where the two measured curves cross
Explaining every pick
TF-IDF over genres and user tags
Cosine similarity splits exactly into per-term contributions, so “shares nonlinear, plot twist” is the arithmetic that produced the score. A test asserts the parts sum to the whole.
Explanations are the score, not a story
Predicting your rating
SVD with 50 latent factors
Used wherever it knows the user. An account created here is not in its training data, so until a retrain your prediction comes from content similarity to what you rated.
RMSE 0.803 ± 0.001 (5-fold CV)
Hidden gems
The popularity ranking, filtered
The same weighted rating as the popularity tier, restricted to the less-watched half of the catalogue. A film still needs at least 100 ratings, so one enthusiastic vote cannot put it on the list.
No extra model needed
Your feed
What changes as you rate
From the first liked film
A row called “Because you liked …” appears, built from the films whose tags are closest to that one. It uses your two most recent 4★+ ratings.
At 15 ratings
The top row stops being crowd favourites and becomes a ranking against your whole taste profile: the average of the films you rated 4★ or higher.
Always
Films you have already rated never come back, including the ones you disliked, and no film appears in two rows.
Decisions that went against expectation
Each started as an assumption
- 01
The original routing was backwards
The first design sent new users to content-based filtering after 5 ratings. Measured, popularity beat both personalized models until about 15 ratings, so that is where the switch moved.
- 02
Collaborative filtering ranked badly for a fixable reason
It was recommending films with very few ratings and inflated predictions. Only ranking films with enough ratings lifted its precision@10 from 0.046 to 0.189 without touching the model.
- 03
TF-IDF beat sentence embeddings for recommending
Asked for films like Inception, embeddings of the synopses returned Working Girl — both are about a stolen idea. Human-written tags (“nonlinear”, “cerebral”) describe what viewers care about; synopses describe plot mechanics. So tags are what ships.
- 04
Most of SVD’s accuracy isn’t the factorization
Adding one idea at a time — global mean, item mean, bias terms, latent factors — showed bias terms supply 18.9 of the 23.5 points of improvement. The factors are the only real personalization, and they are the smaller part.
Limits
What the numbers don’t say
- Comparisons, not absolutes. The simulation treats every film a user never rated as one they wouldn't like, so every precision figure is an underestimate.
- New accounts are not in the SVD model. It learns its user factors during training, so an account created today is predicted from content similarity until the model is retrained.
- One dataset. The 15-rating switch point was measured on MovieLens-25M and would need re-measuring on any other catalogue.
See it explain your own picks
Swipe through a few films you've seen — it takes about a minute.