Why does pure collaborative filtering fail on cold start, and how do you handle cold start for both new users and new items in a recommender system?
ML system design, Retrieval and ranking
Level L2 Elementary. Length Short. Nature Th Theoretical.
What's being asked
Whether you understand the blind spot of ID-only collaborative filtering and separate user cold start from item cold start with practical system fixes.
Key idea
Pure collaborative filtering learns user and item embeddings solely from past user–item interactions, so a brand-new user or item with zero history has no embedding to score. Fix user cold start with popularity fallbacks, onboarding, context and fast session updates; fix item cold start with content features and exploration traffic.
Steps
- Explain why pure collaborative filtering fails: methods such as matrix factorisation represent each user ID (identifier) and item ID only through embeddings fitted to past clicks, watches or ratings. A new user or new item has an empty row or column in the interaction matrix, so the model cannot compute a personalised dot product.
- Handle new users at arrival: start with popularity or trending lists segmented by region and language, optionally collect lightweight onboarding preferences (such as picking three topics), and exploit immediate context like device, time of day or landing page.
- Adapt rapidly within the first session: update a short-term user representation or run a session-based sequence model over the user's first few clicks so recommendations personalise in seconds instead of waiting for an overnight batch retrain.
- Handle new items with content features: use metadata and content embeddings (from titles, descriptions, categories, creator ID or images) inside a content-based or hybrid two-tower ranker so new items match relevant users before receiving any interactions.
- Give new items exploration traffic: reserve a small fraction of impressions using multi-armed bandits or epsilon-greedy exploration so promising fresh items gather early feedback instead of being buried by established items.
Common mistakes
- Treating user cold start and item cold start as identical; new users bring context and live clicks quickly, whereas new items start passive and need content features plus exploration slots.
- Serving only global popularity without exploration, which locks new items out of impressions in a rich-get-richer loop.
- Initialising a new item's ID embedding to a random vector and waiting for the next full model retrain before it can be recommended.
How long your answer should be
About 2 minutes: why CF (collaborative filtering) fails, then distinct fixes for users and items.
Read this
Previous in ML system design: What is a feature store, what problems does it solve in production ML, and when is it unnecessary?
Next in ML system design: A model serves requests per second, and you log (kilobyte, bytes) per prediction (inputs, output and model version). How much storage does this take per day, per days and per year ( days), why do we log predictions at all, and how can you cut the cost?