Design ML Landing-Page Optimization
Select approved landing-page variants and build a trustworthy learning and measurement loop from rendered impressions and delayed conversions.
Problem statement
For this exercise, assume one product offers up to ten pre-approved, functionally equivalent landing-page variants, including a fixed baseline. For each new visit session, select one variant using coarse consented context to improve the probability of a completed registration.
Retries of the same decision for 24 hours must replay the originally accepted variant and its version lineage. Approved variants remain valid for that lifetime; policy rollback changes new assignments.
A confirmed render is an impression, and at most one completed registration occurring within 24 hours of that impression is its reward. A decision without a confirmed render is not a negative label. Conversion delivery may be 48 hours late, so negative labels mature only 72 hours after the impression.
Design the online decision path, linked event contracts, reproducible training data, adaptive selection and honest policy evaluation. Adaptive traffic must retain bounded exploration and record the actual chosen-action probability after selection and fallback rules.
A separate ten-percent visitor-level control group always sees the fixed baseline and keeps its membership throughout a 30-day experiment. Compare mature outcomes while accounting for repeated visits by a visitor.
Operators can validate, publish, canary and roll back versioned policies; a policy pins feature, model and exploration settings. An inference outage uses the fixed baseline with the same durable assignment rules. If durable assignment cannot be established, return an explicit unavailable outcome.
Page-content creation and approval, the registration backend, cross-device identity resolution and arbitrary personalized page generation are outside scope.
What to build
- Return one durable approved variant decision per visit session, replay retries for 24 hours, and expose an explicit safe fallback or unavailable outcome.
- Idempotently link confirmed renders and valid delayed conversions to decisions, count a conversion once and distinguish mature negative labels from missing exposure.
- Learn an adaptive policy from reproducible consented data while bounding exploration, logging actual selection probabilities and comparing mature outcomes against a persistent visitor-level baseline control.
- Let authorized operators validate, canary, promote and roll back versioned policies with observable data-quality, serving and conversion guardrails.
At scale
- For this exercise, assume two million visit sessions per day, bursts of 5,000 decision requests per second including retries, and at most ten approved variants.
- For this exercise, target 50 milliseconds p95 for healthy durable decisions; model failure uses the fixed baseline, while inability to establish durable assignment returns unavailable.
- For this exercise, conversion occurrence is bounded to 24 hours after impression and delivery may be 48 hours late; only 72-hour-old impression cohorts can supply negative labels.
- For this exercise, retain consented decision/event evidence for 30 days, train daily from mature cohorts, and keep visitor control membership stable throughout each 30-day experiment.