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.

EasyTechnical
129 practiced

How do user-based and item-based collaborative filtering differ in computational cost, sensitivity to sparsity and production scaling? When would you prefer each?

MediumTechnical
73 practiced

Implement Thompson sampling for a K-armed Bernoulli bandit and compare its cumulative regret with epsilon-greedy over a simulated run.

MediumTechnical
79 practiced

Plays, skips and thumbs-up are noisy proxies for preference. How would you turn them into training labels for a ranking model, handling weighting, hard negatives and label bias?

HardTechnical
67 practiced

Design a contextual bandit for dynamic pricing under inventory constraints. Define state, action, reward and constraints, and explain how you would validate the policy offline and what guardrails you need.

EasyTechnical
67 practiced

Implement an epsilon-greedy bandit agent in Python for k arms with Bernoulli rewards, and run a small simulation that reports cumulative reward and per-arm pull counts.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.