How to Measure and Mitigate Position Bias

Eugene Yan17 Apr 2022

Problem

Items shown higher (or further left) get seen and clicked more, whatever their relevance. This is position bias. On Google Search the first position gets 10x more clicks than the tenth. From click logs alone, a team cannot tell whether an item was engaging or just ranked high. A model trained on them repeats the bias: relevant items placed low keep getting few clicks and never move up.

Example from the article: people scan Netflix recommendation carousels from left to right, so titles on the left are more likely to be seen and played.

Solution in brief

Estimate how much position alone changes engagement by showing the same item in different positions: shuffle results, exploit natural randomness already in the logs, or fit a click model with expectation maximization. Then either keep a little randomness in the ranking, correct logged clicks with the estimated bias, or give the model a positional feature that is neutralized at serving time.

Questions this case answers
  • How to separate the effect of display position from item relevance in engagement logs when the ranking itself decides what users see
  • How to train a ranking model on feedback that is biased by its own earlier output, without a feedback loop
  • How to tell whether users click a recommended item because it is relevant or only because it ranks high?
  • How to measure position bias when shuffling results for real users is too costly?

Tools and methods

  • RandN / RandTopN — shuffle all or the top N results uniformly at random to measure position effects cleanly
  • Inherent randomness in logs — compare the same item across rankers, widgets or contexts
  • Expectation maximization click model — infer position bias from logs
  • FairPairs / RandPair — swap two items to keep relevance constant
  • Boltzmann exploration — sample items by softmax of their scores
  • Inverse propensity weighting and positional features — debias training without randomizing
Continue reading — it's free

Google or a one-time email code. No password.