Predict Click-Through for Sponsored Product Suggestions in Shopping Answers
Last updated: November 29, 2026
Quick Overview
Suppose ChatGPT's shopping answers included clearly labeled sponsored product suggestions; design the model and serving system that predicts click-through and conversion to decide which sponsored items to show without hurting answer quality.
OpenAI
November 29, 20260
0
0 solved
Suppose ChatGPT's shopping answers included clearly labeled sponsored product suggestions; design the model and serving system that predicts click-through and conversion to decide which sponsored items to show without hurting answer quality.
A hypothetical ads question tests whether you can bring classic CTR and auction modeling into a conversational setting where trust matters more than in a feed. The interviewer wants calibrated predictions, a relevance floor, separation of organic answers from paid placements, and guardrail metrics.
What the Interviewer Expects
- Keep organic recommendations independent from sponsored ranking
- Define eligibility with a strict relevance threshold to the user's request
- Predict pCTR and pCVR with calibrated models using query, product and context features
- Rank by expected value times a quality factor in an auction, with reserve prices
- Measure guardrails: user satisfaction, answer quality, trust signals
- Handle position bias and sparse conversion labels
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- Why does calibration matter more than AUC for an ads ranker?
- How would you correct for position bias in click logs?
- What guardrail would make you roll back a revenue-positive experiment?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
- Only on shopping-intent conversations; at most one or two sponsored slots, visually labeled.
- Advertiser bids per click on product catalogs.
- Prediction latency under 50 ms.
- Sponsored placements...
High-Level Design
- Intent detection: classifier for commercial intent and extracted product attributes (category, budget, constraints).
- Candidate retrieval: query embedding to ANN over advertiser product e...