Selected work / Thesis
Hybrid movie recommender: does combining signals help?
I combined three signals (ratings, film content, and review sentiment) and tested two questions: does the combination beat the best single signal, and does the way the weights are assigned matter?
- Context
- Undergraduate thesis, S1 Informatika, Universitas Ahmad Dahlan, 2025–2026
- Advisor
- Ir. Ahmad Azhari, S.Kom., M.Eng.
- Models
- SVD collaborative filtering, Word2Vec content-based filtering, DistilBERT sentiment
- Evaluation
- All-items ranking on 300 users, Given-N cold-start simulation, blind A/B study with 14 participants
Data
- Ratings: MovieLens 1M, 1,000,209 ratings from 6,040 users on 3,883 films.
- Content: genre and synopsis from The Movie Database for 2,946 films.
- Opinion: 247,181 IMDb reviews, scored with a pre-trained DistilBERT used for inference only. Sentiment covers essentially every film (mean 0.674, standard deviation 0.140).
Method
Each signal produces its own ranking. The hybrid combines them as a weighted sum under two policies: fixed weights, and dynamic weights that follow the number of ratings a user has. A new user leans on content and sentiment, and an active user leans on collaborative filtering. All seven models ran under one protocol so the numbers are comparable.
Result 1: the combination did not beat the best single model
| Model | Precision@10 | Recall@10 | F1@10 |
|---|---|---|---|
| Random baseline | 0.0063 | 0.0018 | 0.0027 |
| Sentiment only | 0.0003 | 0.0000 | 0.0001 |
| Content-based only | 0.0183 | 0.0115 | 0.0119 |
| Hybrid, fixed weights | 0.0547 | 0.0391 | 0.0364 |
| Collaborative filtering only | 0.0687 | 0.0402 | 0.0411 |
| Hybrid, dynamic weights | 0.0723 | 0.0487 | 0.0461 |
| Popularity baseline | 0.1337 | 0.0780 | 0.0808 |
The dynamic hybrid (0.0723) was not statistically distinguishable from collaborative filtering alone (0.0687, p = 0.4522). The fixed hybrid was significantly worse than the single component (p = 0.0334). Combining signals badly made things worse.
Result 2: how the weights are assigned is what mattered
Dynamic weights beat fixed weights with p < 0.001, a margin of about 32%. Revising the weights also changed cold-start behaviour, with nothing else modified:
| N | Popularity | CF with folding-in | Hybrid, initial | Hybrid, revised |
|---|---|---|---|---|
| 1 | 0.3599 | 0.1845 | 0.0190 | 0.1253 |
| 2 | 0.3551 | 0.1910 | 0.0193 | 0.1398 |
| 3 | 0.3494 | 0.1895 | 0.0213 | 0.1396 |
| 5 | 0.3388 | 0.2068 | 0.1201 | 0.1632 |
| 10 | 0.3131 | 0.2050 | 0.1237 | 0.1655 |
At a one-rating profile, the revised weights lifted Precision@10 from 0.0190 to 0.1253. The revised hybrid still sits below collaborative filtering with folding-in at these profile sizes.
A trap worth naming: the popularity baseline
Popularity scored highest of all models on Precision@10 (0.1337), yet it covers only 1.8% of the catalogue, about 53 titles, and gives every user the same list. Accuracy alone is a poor criterion for a recommender.
That result is why I added beyond-accuracy measurements. As a practical fix for users with no history, asking them to pick genres turned one uniform list into 56 distinct lists.
What I would do next
- Learn the weighting policy from data instead of tuning it by hand.
- Compute sentiment per aspect, so the signal becomes specific to each user.
- Test on a more recent catalogue, with a user study large enough to draw confirmatory conclusions. My study had 14 participants and is exploratory.
The thesis report is available on request.