Estimating Position Bias in Facebook Search From Randomized Swaps

Last updated: November 29, 2026

Quick Overview

Click-through on Facebook search results drops with rank, partly because lower results are less relevant and partly because users examine them less. Design a randomized swap experiment and estimate the examination probability at each position.

Meta
Statistics & Math
Machine Learning Engineer
Meta
November 29, 2026
Machine Learning Engineer
Onsite
Statistics & Math
Medium

0

0

0 solved


Click-through on Facebook search results drops with rank, partly because lower results are less relevant and partly because users examine them less. Design a randomized swap experiment and estimate the examination probability at each position.

Meta search and ranking teams correct training labels for position bias, and this onsite question checks whether you can separate examination from relevance statistically. The interviewer looks for a clear model, an identification strategy, and an estimator with uncertainty.

What the Interviewer Expects
  • State the examination hypothesis click = examined and relevant
  • Explain why observational CTR by position confounds bias with relevance
  • Design a minimally disruptive randomization such as swapping adjacent results
  • Estimate relative examination probabilities as ratios of CTRs
  • Give a standard error and mention how the estimates feed inverse propensity weighting
Key Topics to Cover
position bias
examination hypothesis
randomization
ratio estimation
inverse propensity weighting
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • How would you limit the user experience cost of the swaps?
  • What if position bias differs by device or query type?
  • How do you use these propensities when training a ranker?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify
  • Model: P(click∣d,k)=θk⋅rdP(\text{click} \mid d, k) = \theta_k \cdot r_d, where θk\theta_k is the probability a user examines position kk and rdr_d is the probability of clicking document dd given it is examined. ...
Approach

Observational CTR at position kk is θkrˉk\theta_k \bar r_k, where rˉk\bar r_k is the average relevance of what the ranker puts at kk. Since better documents sit higher, the CTR ratio overstates the bias...


Submit Your Answer
Markdown supported