Recommender Systems
Syllabus domain ten: collaborative filtering, matrix factorisation, and cold start.
Syllabus domain ten: collaborative filtering, matrix factorisation, and cold start.
9 multiple choice at 2 marks and 3 fill-in-the-blank at 5, marked exactly as Round 1 marks them. Each answer is explained as soon as you check it. The clock is shown, not enforced.
Recommender systems make up domain ten of the syllabus. In Round 2, they can appear as a practical task that does not fit the usual classification template.
Identifying which family a described scenario needs is a standard multiple-choice question.
Cosine similarity between rating vectors:
Pearson correlation is cosine similarity on mean-centred vectors, which corrects for users who rate systematically high or low. Computing either by hand on a small user-item matrix is a natural fill-in-the-blank question - practise it.
User-based CF finds similar users and averages their ratings for the target item. Item-based CF finds items similar to those the user already liked.
Item-based is generally preferred in practice: item-item similarities change more slowly than user tastes, so they can be precomputed, and there are usually fewer items than users.
Approximate the rating matrix as , learning latent factors per user and per item, fitting only on observed entries:
Two examinable points. You cannot simply take the SVD of , because SVD requires a complete matrix and filling gaps with zeros asserts that unrated means rated-zero. And adding user and item bias terms - - usually helps more than adding latent factors, because much of the variance is just that some users rate generously and some items are popular.
This is the most frequently asked recommender question, because the answer is a design argument rather than a formula.
Rating prediction uses RMSE or MAE; ranking uses precision@k, recall@k, or NDCG. Beyond accuracy, coverage and diversity matter - a system that always recommends the same ten popular items scores acceptably and serves nobody.
Match the scenario to collaborative, content-based, or hybrid. Pearson is cosine on centred vectors; practise computing both by hand.
Item-based CF is more stable than user-based. Bias terms often beat extra factors; never SVD a matrix with missing entries.
Someone just created an account. What can you actually compute?
Collaborative methods need a history. A new account has none. Popularity or content features are the first answers.
Select an answer