Recommendation System Approaches
- Collaborative Filtering: Finds users with similar behaviour and recommends what those similar users liked. "Users like you also engaged with..." Best for products/content with rich user-item interaction history. Strong for cross-sell and surprise discovery. Data requirement: High needs sufficient user-item interactions.
- Content-Based: Recommends items similar to what the user has previously engaged with, based on item features (category, tags, description embedding). Works for netems without interaction history. Good for "similar to this item". Data requirement: Low item features only, no interaction data required.
- Hybrid: Combines collaborative + content-based signals collaborative for users with interaction history, content-based for cold-start. Best overall performance when both interaction and feature data exist. Data requirement: Moderate benefits from both.
- Matrix Factorisation: Decomposes user-item interaction matrix into latent user and item vectors. ALS (Alternating Least Squares) for implicit feedback (clicks, views without explicit ratings). Classical production baseline. Efficient at scale. Data requirement: High dense-enough matrix for factorisation.
- Two-Tower Neural: Two separate neural networks one for users, one for items each producing an embedding. Recommendations = approximate nearest neighbour search in embedding space. Large-scale retrieval (millions of items). YouTube, Pinterest, TikTok-style recommendation at scale.
- LLM-based (Semantic): Uses LLM embeddings of item descriptions/content for similarity. Items with semantically similar descriptions are recommended. No interaction data required. Best for cold start new platforms with no interaction history.