Off-Policy Evaluation of a Notification Ranking Policy Before Testing
Last updated: November 29, 2026
Quick Overview
The Facebook notifications team has a new ranking policy and wants an estimate of its effect from existing logs before running an A/B test. Explain how off-policy evaluation works here and when it can be trusted.
Meta
November 29, 20260
0
0 solved
The Facebook notifications team has a new ranking policy and wants an estimate of its effect from existing logs before running an A/B test. Explain how off-policy evaluation works here and when it can be trusted.
Meta ML loops for recommendations increasingly expect knowledge of counterfactual evaluation. The interviewer checks whether you understand inverse propensity scoring, the need for logged randomization, and how to use offline estimates as a filter, not a replacement for online tests.
What the Interviewer Expects
- Explains why naive replay on logs is biased
- Describes inverse propensity scoring with logged action probabilities
- Notes the need for exploration in the logging policy
- Discusses variance, clipping and doubly robust estimators
- Positions offline estimates as a screen before an online test
Key Topics to Cover
How to Approach This
- Define success metrics carefully. A good metric is measurable, actionable, and aligned with business goals.
- Run experiments long enough to account for novelty effects and weekly seasonality.
- Use funnel analysis to identify where users drop off for maximum optimization impact.
- Segment results by key dimensions (platform, country, user cohort) to catch hidden patterns.
- Consider network effects and interference between treatment and control groups.
Possible Follow-up Questions
- What happens if the old policy was deterministic?
- How would you reduce the variance of the IPS estimate?
- What metrics cannot be estimated with this method?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
Ask: does the current system log the probability of each action it took (for example, which notification candidate was sent among several)? Is there any randomization in the logging policy? What rewar...
Approach
Naive replay (use logs where the new policy would have done what the old one did) is biased: the old policy chose actions based on what it predicted users liked, so the matched log subset is not rando...