Why Position Bias Breaks Feed Ranking Training and How to Fix It

Last updated: November 29, 2026

Quick Overview

Clicks on the first items in a feed are inflated by position, not just relevance. Explain how this biases a ranking model trained on click logs and describe methods to correct for it.

Meta
Machine Learning
Machine Learning Engineer
Meta
November 29, 2026
Machine Learning Engineer
Onsite
Machine Learning
Hard

0

0

0 solved


Clicks on the first items in a feed are inflated by position, not just relevance. Explain how this biases a ranking model trained on click logs and describe methods to correct for it.

Every Meta ranking surface (Feed, Reels, Search, Marketplace) learns from engagement logs collected under the previous model's ordering. ML interviewers use this question to test understanding of counterfactual learning and practical debiasing approaches.

What the Interviewer Expects
  • Explain the examination hypothesis: click depends on being seen and being relevant
  • Describe the feedback loop from training on logged positions
  • Give at least two correction methods (position feature, inverse propensity weighting)
  • Explain how to estimate propensities (randomization, intervention harvesting)
  • Discuss serving-time handling of the position feature
Key Topics to Cover
Position bias
Inverse propensity weighting
Counterfactual learning
Feed ranking
Exploration
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How would you estimate position propensities without hurting user experience?
  • Does the same bias apply to video watch time?
  • How does IPW variance behave at deep positions, and how would you control it?
Sharpen Your Skills on Codemia

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

Explore ML Interview Prep
Sample Answer
Clarify

Inputs: impression logs with position, item and user features, and click label. Goal: a model that estimates relevance P(click∣seen,u,i)P(\text{click} \mid \text{seen}, u, i), not $P(\text{click} \mid \text{position...

Approach

Use the examination model: P(c=1∣u,i,k)=θk⋅r(u,i)P(c=1 \mid u,i,k) = \theta_k \cdot r(u,i) where θk\theta_k is the probability position kk is examined and rr is relevance. A model trained naively learns θkr\theta_k r, s...


Submit Your Answer
Markdown supported