PracHub
QuestionsPremiumLearningGuidesInterview PrepNEWCoaches
|Home/Machine Learning/Meta

Replace legacy ads model safely

Last updated: Mar 29, 2026

Quick Overview

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.

  • hard
  • Meta
  • Machine Learning
  • Data Scientist

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.

Related Interview Questions

  • Design and evaluate an ads ranking algorithm - Meta (easy)
  • How would you design a Shop Ads ranking algorithm? - Meta (easy)
  • Derive Linear Regression Solution - Meta (medium)
  • Explain key ML metrics and techniques - Meta (medium)
  • Design an ad recommendation ranking approach - Meta (easy)
Meta logo
Meta
Oct 13, 2025, 9:49 PM
Data Scientist
Onsite
Machine Learning
3
0

Facebook Ads Ranking Replacement: M0 to M1

You are asked to replace a legacy ads ranking model (M0) with a new model (M1) in a large-scale feed ads system. Design an end-to-end replacement plan that covers offline validation, counterfactual evaluation, online experimentation, acceptance criteria when metrics disagree, and productionization/monitoring.

Assume:

  • The ranking objective is platform revenue while maintaining user experience and advertiser value. Auctions are second-price-like with pacing controls. Logs contain per-impression data (scores, bids, position, clicks, conversions, revenue), and a small exploration slice is available for propensity logging.

Required:

  1. Offline checks (last 28 days): define target metrics (e.g., calibrated CTR, AUC/PR, calibration error, lift in expected revenue), leakage tests, covariate/label shift diagnostics, and backtests.
  2. Counterfactual/off-policy evaluation (OPE): explain how to use IPS/DR estimators with propensity clipping to estimate expected CTR/revenue for M1 on M0 logs; specify assumptions and bias/variance trade-offs.
  3. Online plan: experiment design (e.g., user-level buckets, geo stratification), guardrails (revenue, spend pacing, latency, integrity), SRM/interference checks, ramp schedule (1%→10%→25%→50%→100%) with explicit stop/rollback rules.
  4. Acceptance criteria when key metrics disagree (e.g., CTR −1.5% but revenue per mille +3% and advertiser ROAS +2%): define an objective, weights, and minimum guardrail thresholds.
  5. Productionization risks: model latency/SLA, feature freshness, replay/backfill, and post-launch monitoring.

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Meta•More Data Scientist•Meta Data Scientist•Meta Machine Learning•Data Scientist Machine Learning
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.