Design Conversion Prediction With Delayed Attribution for Amazon Ads

Last updated: November 29, 2026

Quick Overview

Design the model and pipeline that predict the probability an ad click leads to a purchase, used for bidding and ranking in Amazon Ads, when purchases can be attributed up to 14 days after the click.

Amazon
ML System Design
Machine Learning Engineer
Amazon
November 29, 2026
Machine Learning Engineer
System Design Round
ML System Design
Hard

0

0

0 solved


Design the model and pipeline that predict the probability an ad click leads to a purchase, used for bidding and ranking in Amazon Ads, when purchases can be attributed up to 14 days after the click.

A hard ML system design round in the style of Amazon Ads modeling teams. The interviewer is probing whether you understand that recent clicks have incomplete labels, how that biases a frequently retrained model, and what calibration is needed when predictions feed directly into bids.

What the Interviewer Expects
  • Explains how delayed conversions bias naive training toward lower rates
  • Proposes a delayed feedback model or correction
  • Keeps training fresh despite delayed labels
  • Calibrates predictions since they set bid values
  • Handles multi-touch attribution windows and halo purchases
  • Monitors calibration by recency and segment
Key Topics to Cover
delayed feedback
conversion rate prediction
calibration
attribution windows
importance weighting
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How would you train on a click that is three hours old?
  • What happens to bids if the model is underestimating conversion by 15%?
  • How would you handle a purchase of a different product from the same brand?
  • How do you evaluate calibration when labels are still arriving?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
M
  • Predict P(purchase within 14 days∣click,ad,query,user)P(\text{purchase within 14 days} \mid \text{click}, \text{ad}, \text{query}, \text{user}) for Sponsored Products and Sponsored Brands.
  • Predictions multiply with CTR and bid to rank ads, ...
L
  1. Click log with features at click time (snapshot to avoid leakage).
  2. Conversion log joined to clicks by the attribution service as purchases arrive.
  3. Training pipeline: builds exampl...

Submit Your Answer
Markdown supported