Replace legacy ads model safely
Company: Meta
Role: Data Scientist
Category: Machine Learning
Difficulty: hard
Interview Round: Onsite
Facebook Ads has a legacy ranking model M0; an engineering team built a new model M1 you’re asked to ship and 'rule out' M0. Design the end‑to‑end replacement plan: (1) Offline checks: define target metrics (e.g., calibrated CTR, AUC/PR, calibration error, lift in expected revenue), leakage tests, covariate/label shift diagnostics, and backtests on the last 28 days. (2) Counterfactual/off‑policy evaluation: describe how you’d use IPS/DR estimators with propensity clipping to estimate expected CTR/revenue for M1 on M0 logs; specify assumptions and bias/variance tradeoffs. (3) Online plan: experiment design (user-level buckets, geo stratification), guardrails (revenue, spend pacing, latency, integrity), SRM/interference checks, ramp schedule (1%→10%→25%→50%→100%) with explicit stop/roll-back rules. (4) Acceptance criteria when key metrics disagree (e.g., CTR −1.5% but revenue per mille +3% and advertiser ROAS +2%): define the objective, weights, and minimum guardrail thresholds. (5) Productionization risks: model latency/SLA, feature freshness, replay/backfill, and monitoring you would implement post‑launch.
Quick Answer: This question evaluates competence in machine learning systems engineering, including offline validation, counterfactual/off‑policy evaluation, online experimentation design, and production monitoring for ad-ranking models.