Removing Position Bias From Feed Impression Training Data
Last updated: November 29, 2026
Quick Overview
Engagement labels in feed logs depend on where a video was shown and how the previous model ranked it. Explain how position and exposure bias distort training and how to correct them.
TikTok
November 29, 20260
0
0 solved
Engagement labels in feed logs depend on where a video was shown and how the previous model ranked it. Explain how position and exposure bias distort training and how to correct them.
Although TikTok's main feed shows one video at a time, position effects appear in search results, the Following and Shop grids, and the order in a session. Onsite interviewers check counterfactual learning to rank concepts: propensity estimation, IPW and bias towers.
What the Interviewer Expects
- Explain position bias and exposure (selection) bias
- Estimate examination propensities, for example via randomization
- Apply inverse propensity weighting and discuss variance
- Describe a position-bias tower used only during training
- Mention exploration data for unbiased evaluation
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- How would you estimate propensities without hurting user experience much?
- Why clip propensity weights?
- Why must the bias tower be dropped at serving?
- How does the one-video feed change the nature of position bias?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Clarify the surface: a grid (search, Shop, profile) where several items are visible, or the single-video feed where "position" means order within a session and fatigue. Also: do we have any randomized...
Approach
In grids, items in top slots get clicked more because they are seen more, not only because they are better. Training on raw clicks teaches the model to recreate the old ranking. Exposure bias is broad...