Recommendation, Ranking, and Personalization Questions

Systems that select and order items for users. Covers candidate generation and ranking (two-stage retrieval, embedding-based retrieval with two-tower models and approximate nearest-neighbour candidate lookup, multi-stage scoring and cross-encoder re-ranking), collaborative and content-based filtering, matrix factorization (alternating least squares, Bayesian personalized ranking), sequence-aware and graph-based recommenders, cold start, learning-to-rank and negative sampling, turning noisy implicit feedback into labels, position, exposure and popularity bias and feedback loops, diversity, fairness-aware exposure and multi-objective re-ranking, counterfactual (off-policy) evaluation of recommenders (inverse propensity scoring, doubly robust estimators), and exploration with multi-armed and contextual bandits (epsilon-greedy, upper-confidence-bound and Thompson sampling, LinUCB, regret, non-stationarity, constraints, rollout, and when a bandit beats a fixed split or full reinforcement learning). Includes end-to-end recommender and personalized feed design. Focuses on the modeling and evaluation patterns specific to recommendation and ranking at scale. General A/B test design, generic ranking-metric definitions and ML serving infrastructure are covered elsewhere.

MediumTechnical
71 practiced

Implement a bootstrap-based Thompson-style exploration method for contextual bandits using an ensemble of online regressors.

HardTechnical
126 practiced

How would you tackle user cold start using behavior from another domain, such as browsing history from a partner site? Cover how you align representations across domains and the failure modes.

HardTechnical
68 practiced

Explain exposure bias and feedback loops in recommender systems: how they distort training and evaluation, and how you would mitigate and measure them.

HardTechnical
117 practiced

Intuitively derive the O(log T) regret bound for UCB1. Which assumptions does it need, and where do they fail in practice?

HardTechnical
82 practiced

Derive the inverse propensity scoring estimator for the value of a new policy from logged bandit feedback, and discuss its bias and variance behavior.

Unlock Full Question Bank

Get access to all 20 Recommendation, Ranking, and Personalization interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.