RECOMMENDATION SYSTEMS Β· INTERVIEW QUESTION
Collaborative filtering vs content-based recommendation?
π’ beginner Β· Recommendation Systems
Hint: Focus on the decision rule, assumptions, and failure mode behind recommendation systems.
Answer
Collaborative filtering uses user-item interactions. Content-based methods use item/user attributes. Hybrid systems combine both to handle cold start and improve relevance.
Interview reasoning
Basic factorization predicts preference from user and item latent-vector dot products on observed interactions. Content methods encode attributes and can represent unseen items.
Collaborative signals connect entities through behavior, while content signals connect them through attributes. A hybrid can use content to supply launch-time priors and interactions to refine them. Compare entity-age cohorts and ensure content available after launch does not leak eventual success.
Worked example. Users with similar histories may like the same item despite different textual descriptions.
Validation
Compare temporal holdouts, cold-start cohorts, and a simple popular-item baseline.
Hold out new users/items and later periods; compare collaborative-only, content-only and hybrid systems under equal candidate budgets.
Common pitfalls
Factorization does not automatically fill every missing interaction with a negative label.
Metadata can be sparse or misleading, and behavior reflects exposure policy. Hybrid architecture alone does not solve selection bias.
Likely follow-up: Compare temporal holdouts, cold-start cohorts, and a simple popular-item baseline.