How do you handle the cold start problem in recommendation systems?
Written by the mlprep team · Updated
Your recommendation system has a cold start problem for new items. How do you handle it — what signals can you use and what can't you use?
Why cold start is hard#
Collaborative filtering and matrix factorization learn item representations (embeddings) from interaction patterns: users who liked A also liked B. A brand new item has zero interactions — it has no embedding, no co-click signal, no collaborative representation. Standard retrieval (two-tower with learned item embeddings) simply can't retrieve it.
Cold start exists for both new items and new users. This answer focuses on new items; new users are symmetric.
What you can use immediately#
Content features: text (title, description, tags), images, video content, category, duration, price, seller reputation. These exist at upload time. A content-based model can compute an item embedding from these features alone, enabling retrieval before any interactions.
Metadata signals: creator history (how well have this creator's other items performed?), category popularity, time of day posted (trending topics), price bucket, geography.
Item-side features in retrieval: if your two-tower item tower includes content features (not just learned ID embeddings), new items are naturally represented. The item embedding is computed from content — no interaction history required. This is the architectural choice that most directly solves cold start at retrieval.
What you can't use#
- Collaborative filtering signal (no interactions yet)
- User co-click patterns ("users who viewed X also viewed new item")
- Watch/engagement rate (no history)
- Learned ID embeddings (untrained for new item IDs)
Strategies#
Content-based fallback: route cold items through a content-based ranker that uses text/image embeddings instead of CF embeddings. Can run in parallel with the main ranker, blend scores with a mixing weight that shifts toward CF as interactions accumulate.
Exploration budget: deliberately expose new items to a random sample of users to collect initial interaction signal quickly. Thompson sampling or epsilon-greedy ensures new items get enough impressions to bootstrap CF signals without sacrificing too much quality for the users shown cold items.
Warm start from similar items: initialize a new item's embedding as the average embedding of its k most similar existing items (similar category, similar creator, similar content embedding). Not perfect but far better than random initialization. The model can then fine-tune from this starting point as interactions arrive.
Creator embeddings: the item might be new but the creator isn't. Initialize item embedding from creator's historical item embedding centroid. "New video from a creator whose videos perform like X" is a useful prior.
Graduated exposure: show new items first to users with high exploration tolerance (e.g., power users who regularly discover new content, users who explicitly opt into "show me new stuff"). Use their engagement to bootstrap quality signals before broad distribution.
Transition to warm state#
Define a threshold (e.g., 100 impressions, 10 interactions) at which an item "graduates" from cold start and gets a proper CF embedding. Before this threshold: content-based retrieval. After: CF embedding merged with content embedding (weighted by a confidence function of interaction count).
The evaluation trap#
Offline metrics (NDCG computed on historical data) systematically exclude new items — they don't appear in historical evaluation sets. This means offline metrics understate cold start performance. Always check coverage metrics separately: what fraction of new items get surfaced within their first 24 hours.
The key takeaway unlocks after you reveal an expert answer.
Key Takeaway
Cold start: new items have no interaction history, so collaborative filtering can't retrieve them. Immediate signals: content features (text, images, metadata), creator history. Strategies: content-based embedding fallback, warm start from similar item embeddings, exploration budget (epsilon-greedy exposure), creator-based initialization. Architecture fix: build item tower on content features, not just learned ID embeddings — new items representable from upload. Track coverage metrics separately since offline NDCG ignores new items.
Follow-up Questions to Test Yourself
Interviewers often pivot here once you cover the core concept.
- How would you implement warm start for new item embeddings in a two-tower model without retraining from scratch?
- Your new-item recall is low in A/B tests. How do you debug whether the problem is retrieval (not fetched) vs ranking (fetched but ranked low)?
- What's the tradeoff between exploration (surfacing new items) and exploitation (showing proven content) in a recommendation system?
How confident do you feel explaining this?
Track your understanding or flag it to revisit before your next loop.
Related Questions
What is train-serve skew and how do you prevent it?
Which features are safe to use when predicting future events — temporal leakage in practice
What is data leakage and how do you prevent it?
How would you design a recommendation system for Reddit?