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

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. 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

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 1,000 requests per second, and you log 1 KB (kilobyte, 1,000 bytes) per prediction (inputs, output and model version). How much storage does this take per day, per 30 days and per year (365 days), why do we log predictions at all, and how can you cut the cost?