PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Yelp

Design a Cold-Start-Aware Recommender

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a data scientist's expertise in production recommender systems, covering cold-start strategies, two-stage retrieval and ranking model design, multimodal feature engineering, exploration–exploitation, bias-corrected experimentation, and low-latency serving.

  • hard
  • Yelp
  • Machine Learning
  • Data Scientist

Design a Cold-Start-Aware Recommender

Company: Yelp

Role: Data Scientist

Category: Machine Learning

Difficulty: hard

Interview Round: Onsite

You need to build recommendations for a new content app with sparse interactions and frequent new items. Propose a two-stage system (candidate generation + ranking) that is robust to user and item cold-start. Specify concrete model choices for each stage (e.g., matrix factorization or two-tower retrieval; gradient-boosted trees or DNN ranker), the exact loss functions and negative sampling strategy, key features (including user, item, and context), and how you will handle exploration vs. exploitation (e.g., Thompson sampling or epsilon-greedy with propensity caps). Define offline metrics and online KPIs, and design an A/B test that controls for selection bias using IPS/SNIPS or doubly robust estimators; write the estimator you would compute and describe guardrails for long-term outcomes. Finally, show how you will meet p50 < 50 ms and p99 < 200 ms end-to-end latency at inference, including feature store access patterns, caching, and approximate nearest neighbor retrieval.

Quick Answer: This question evaluates a data scientist's expertise in production recommender systems, covering cold-start strategies, two-stage retrieval and ranking model design, multimodal feature engineering, exploration–exploitation, bias-corrected experimentation, and low-latency serving.

Related Interview Questions

  • Design a News Feed with APIs - Yelp (hard)
Yelp logo
Yelp
Oct 13, 2025, 9:49 PM
Data Scientist
Onsite
Machine Learning
1
0

System Design: Two-Stage Recommender for a New Content App

Context

You are designing recommendations for a new content app with sparse interactions and frequent new items. The system must be robust to user and item cold-start, and meet strict latency SLAs. You will propose a two-stage recommendation system, define models, losses, sampling, features, exploration strategy, metrics, and an A/B testing plan that addresses selection bias. Finally, you will specify how to meet end-to-end latency targets.

Requirements

  1. Two-stage architecture:
    • Stage 1 (Candidate Generation/Retrieval): propose concrete model(s) (e.g., matrix factorization, two-tower retrieval), loss function(s), negative sampling strategy, and how to handle user/item cold-start.
    • Stage 2 (Ranking): propose concrete model(s) (e.g., gradient-boosted trees, DNN ranker), loss function(s), negative sampling strategy, and key features.
  2. Features: list the key user, item, and context features used in both stages, including any multimodal content features (text, image) relevant for new items.
  3. Exploration vs. exploitation: specify the strategy (e.g., Thompson sampling, epsilon-greedy) and how you will cap propensities to control variance.
  4. Evaluation:
    • Offline metrics (by stage).
    • Online KPIs.
    • A/B test design that controls for selection bias using IPS/SNIPS or doubly robust estimators. Write the estimator you would compute.
    • Guardrails for long-term outcomes.
  5. Latency and serving:
    • Show how to meet p50 < 50 ms and p99 < 200 ms end-to-end latency.
    • Include feature store access patterns, caching, ANN retrieval, and fallback strategies.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Yelp•More Data Scientist•Yelp Data Scientist•Yelp Machine Learning•Data Scientist Machine Learning
PracHub

Master your tech interviews with 8,000+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.