Handle Cold-Start for New Items in a Recommendation System
Machine LearningModel answerLast updated
Design and evaluate a strategy to recommend newly added items before any user interaction data exists.
Context
You are an ML engineer at a mid-sized content platform that hosts articles, videos, and podcasts. The recommendation engine is a two-tower retrieval model trained on historical user–item interaction logs (clicks, saves, completion rate). It performs well for items that have accumulated at least a few hundred interactions.
However, your product team reports that newly published items almost never surface in recommendations during their first 48 hours, leading to a feedback loop: new items get no impressions → no interactions → the model never learns to rank them → they stay buried.
The platform publishes roughly 5,000 new items per day across all content types.
What is expected
- Frame the problem: What specifically makes new items hard to recommend, and why is it a problem worth solving?
- Propose at least two distinct approaches to handle cold-start for new items, with trade-offs for each.
- Describe the feature engineering you would do for new items to make them recommendable immediately.
- Define how you would evaluate whether your solution actually improves outcomes for new items without harming recommendations for established ones.
- Identify at least two failure modes of the approaches you propose.
You do not need to write code. Aim for depth over breadth on the approaches you choose.
Hints
Hint 1
Think about what information IS available the moment an item is published — metadata, content, author history — even when interaction logs are empty.
Hint 2
Consider how your two-tower model architecture can be adapted: does the item tower need to change, or can you handle cold-start at retrieval vs. re-ranking stage?
Hint 3
For evaluation, a standard offline AUC on historical data will be blind to the cold-start problem — think about how you'd construct a held-out set that specifically tests new-item performance.
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
1. Problem Framing
The root cause is interaction sparsity. The two-tower item embeddings are learned from co-occurrence and engagement signals. A brand-new item has zero logged interactions, so its embedding either does not exist or is initialized to a random/zero vector that carries no semantic meaning. At retrieval time this item scores near zero against any user query vector and never makes it into the candidate set — let alone past re-ranking.
Why it matters beyond fairness to content creators:
- Recency value: For news and trending topics, an item's value peaks in hours 0–48. Missing that window wastes most of its lifetime utility.
- Feedback loop / rich-get-richer: Established items accumulate more clicks simply because they appear more, not because they are better. This degrades catalog diversity over time.
- Business metric impact: If the platform monetizes newer or exclusive content, burying new items directly harms revenue.
2. Two Distinct Approaches
Approach A — Content-Based Embedding Bootstrapping
Idea: At publish time, generate an item embedding from the item's own content and metadata (title, description, category, transcript, author) using a pre-trained encoder (e.g., a fine-tuned sentence transformer). Inject this embedding directly into the item tower as a stand-in until enough interaction data accumulates (e.g., 200+ interactions), then smoothly transition to the interaction-learned embedding.
Trade-offs:
| Pro | Con |
|---|---|
| Available at t=0, no wait time | Content embeddings live in a different latent space than interaction-learned embeddings; similarity scores are not calibrated |
| Captures semantic meaning; works well for text-heavy content | Requires a separate encoder model to maintain and keep aligned |
| Can generalize to truly novel topics | Does not capture what users actually engage with — a well-written but boring article still surfaces |
Transition strategy: Use a weighted interpolation α * content_emb + (1−α) * interaction_emb where α decays from 1 → 0 as interaction count grows. Log the weight used so you can audit it.
Approach B — Author / Entity Prior Transfer
Idea: When a new item is published, initialize its embedding (or its ranking score) using a weighted average of embeddings from prior items sharing strong signals: same author, same series, same category, overlapping named entities extracted from content.
Trade-offs:
| Pro | Con |
|---|---|
| Stays within the interaction-learned embedding space; scores remain calibrated | Requires the author or category to have prior items — fails for brand-new authors or categories |
| Simple to implement: a lookup + average at serving time | Can propagate bias: a popular author's new low-quality post will be over-served |
| Low latency overhead | Averaging embeddings can wash out specificity; works less well for niche or unusual items |
Implementation note: Weight contributing items by recency (exponential decay) and semantic similarity (cosine score to the new item's content vector) to avoid pure popularity inheritance.
3. Feature Engineering for New Items
Even before interactions exist, rich signals are available:
| Feature group | Examples | Why it helps |
|---|---|---|
| Content features | Title embeddings, topic tags, reading level, media type, content length | Enables content-based retrieval |
| Author features | Author's historical CTR, completion rate, avg engagement by category | Proxy for item quality; author reliability signal |
| Temporal features | Hour of publish, day of week, recency bucket | Captures time-sensitive demand patterns |
| Metadata features | Category, subcategory, language, explicit/implicit topic labels | Enables rule-based targeting to relevant audiences |
| Popularity proxies | Early external signals: shares before platform indexing, related trending queries | Leading indicator of demand |
Key engineering decision: separate the item feature pipeline into a static feature store (populated at publish time) and a dynamic feature store (updated as interactions arrive). The recommendation model reads from both; cold items simply have an empty dynamic store, which the model should handle gracefully via masking or a learned "missing data" embedding.
4. Evaluation Strategy
Standard offline AUC on a random held-out set is not sufficient — new items make up a tiny fraction of all items and are systematically under-represented in historical logs.
Offline: Construct a new-item-specific hold-out set by:
- Selecting items in their first 48 hours of life from a past time window.
- Treating the first N=50 interactions on each item as "ground truth positives."
- Measuring Recall@K and NDCG@K for those items specifically — call this cold-start Recall@K.
Online (A/B test):
- Split new items randomly into control (current system) and treatment (cold-start solution).
- Primary metric: click-through rate on new items within first 48h of publish.
- Guardrail metric: overall CTR and completion rate for established items — ensure the new-item boost does not cannibalize quality.
- Secondary: time-to-100-interactions per item (how fast items escape cold-start).
- Run for at least 2 weeks to cover diverse publish patterns and avoid day-of-week confounds.
5. Failure Modes
-
Content embedding drift: If the content encoder is trained on a different distribution than the platform's interaction-learned embeddings, injected embeddings may collide with unrelated established items, causing bizarre recommendations. Mitigate by periodically re-aligning the content encoder with a contrastive loss against interaction data.
-
Author prior amplification: Popular authors benefit disproportionately; a celebrity author's off-topic or low-quality item gets high exposure inherited from past hits. This can damage user trust if the item fails to deliver. Mitigate by capping the prior boost and adding a quality score (e.g., editor rating, readability) as a hard or soft filter.
-
Cannibalization of personalization: Aggressively serving new items to broad audiences (to gather interactions quickly) may harm short-term user experience for users who have strong established preferences. Track session-level satisfaction signals (e.g., early exits, negative feedback) separately for impressions that came from cold-start logic.
Common Interview Mistakes
- Jumping straight to "explore/exploit" (bandit framing) without acknowledging that you still need something to explore with — bandits assume you can observe rewards; they do not solve the feature cold-start.
- Treating cold-start as a pure business rule problem ("just always show new items") without framing it as a modeling problem with measurable outcomes.
- Forgetting guardrail metrics — a solution that improves new-item CTR by 20% but drops overall session length is not a win.