Design a Real-Time Personalized Ad Selection System
UpstartData Scientist · Technical ScreenLast updated
This interview question evaluates core ML concepts, assumptions, math intuition, training/evaluation trade-offs, and practical failure modes in a realistic interview setting. A strong answer for Design a Real-Time Personalized Ad Selection System states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Scenario
You are asked to build a data-driven advertising platform that serves personalized ads to millions of users in real time.
Question
Design an end-to-end machine-learning system for ad selection: discuss data collection, labeling, feature engineering, model choice, exploration-exploitation strategy, online/offline evaluation, latency constraints, and scalability.
Hints
CTR prediction with logistic regression/GBDT, counterfactual evaluation, feature store, bandits for exploration.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.