Evaluate a New Google Discover Ranking Policy Offline With Logged Data
Last updated: November 29, 2026
Quick Overview
Before running an online test, the Discover team wants to estimate how a new ranking policy would perform using logs from the current policy. Explain off-policy evaluation, its estimators, and when the offline estimate can be trusted for a launch decision.
0
0
0 solved
Before running an online test, the Discover team wants to estimate how a new ranking policy would perform using logs from the current policy. Explain off-policy evaluation, its estimators, and when the offline estimate can be trusted for a launch decision.
Google feeds generate huge logs, and offline evaluation saves scarce online experiment traffic. Interviewers check whether you understand counterfactual estimation from logged bandit feedback, the need for logged propensities, and variance problems.
What the Interviewer Expects
- Explains that logged data only reveals rewards for items the old policy showed
- Describes inverse propensity scoring, self-normalized IPS, and doubly robust estimators
- Requires logged propensities and some exploration in the logging policy
- Discusses variance from large importance weights and remedies (clipping, slate assumptions)
- Positions OPE as a filter before online tests, validated against past online results
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 if the current policy is deterministic and logs no propensities?
- How would you handle slates of ten cards instead of a single item?
- How do you validate that OPE estimates agree with online results?
- What bias does weight clipping introduce?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Analytics QuestionsSample Answer
Clarify
- Logging policy : the current ranker, which shows one top card per feed load (simplify to a single slot first).
- New policy : a candidate ranker that would show a different card for ma...
Approach
We want , but logs only show rewards for the action took.
- IPS: ....