Correcting Position Bias When Training Feed Ranking on Clicks

Last updated: November 29, 2026

Quick Overview

LinkedIn's feed model is trained on clicks and reactions, but items at the top get more engagement simply because they are seen first. Explain how position bias affects training and how you would correct it.

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

0

0

0 solved


LinkedIn's feed model is trained on clicks and reactions, but items at the top get more engagement simply because they are seen first. Explain how position bias affects training and how you would correct it.

Position bias is a central problem in LinkedIn feed and search ranking, where logged engagement drives training data. Interviewers check whether you can model examination versus relevance, estimate propensities, and apply corrections without increasing variance too much.

What the Interviewer Expects
  • Explains the examination hypothesis
  • Describes how bias creates a feedback loop
  • Estimates position propensities by randomization or intervention harvesting
  • Applies inverse propensity weighting and discusses variance
  • Mentions position as a training feature set to a constant at serving
  • Evaluates the correction offline and online
Key Topics to Cover
position bias
inverse propensity scoring
unbiased learning to rank
counterfactual evaluation
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 do you estimate propensities without hurting members with randomized rankings?
  • Why can IPS weights be unstable and how do you fix it?
  • How does position bias differ between feed scrolling and search results?
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

Assume a pointwise model predicting P(engage∣member,item)P(\text{engage} \mid \text{member}, \text{item}), trained from logged impressions with positions 1 to 50 in a scrolling feed. The goal is to learn relevance, not ...

Approach

Use the examination hypothesis: P(c=1∣i,p)=P(e=1∣p)⋅P(r=1∣i)P(c = 1 \mid i, p) = P(e = 1 \mid p) \cdot P(r = 1 \mid i), where ee is whether the member examined position pp. Estimate θp=P(e=1∣p)\theta_p = P(e = 1 \mid p), then reweigh...


Submit Your Answer
Markdown supported