Handling Position Bias for Unbiased Restaurants Ranking

Mehdi Bennaceur11 Feb 2022

Problem

Glovo ranks restaurants on a wall inside the app. A model that estimates the probability of an order given an impression drives the ranking and is trained on historical logs. Customers order more often from stores shown at the top, whether or not those stores suit them. The model learns position as if it were relevance and ranks the same stores high again. Relevant stores that were ranked low before, or are new, stay hidden. This holds back conversion rate, the key metric.

Example from the article: conversion rate (orders per impression) on the restaurant wall falls roughly exponentially with position.

Solution in brief

Estimate position bias with the position bias model, which splits the chance of an order into the chance that the customer examines a position and the chance that the store is relevant in that context. Fit both parts by maximum likelihood with Expectation Maximization (EM), then use the estimated per-position bias to de-bias the training data of the conversion model.

Questions this case answers
  • How to train a ranking model on logged interactions when the display position of an item influences whether it gets chosen
  • How to estimate the attention users give to each rank position without running a dedicated randomized experiment
  • How to stop a conversion model from learning display position instead of restaurant relevance
  • How to measure how much attention customers give to each position on a ranked list

Tools and methods

  • Position bias model — factorizes the order probability into examination probability by position and store relevance given context
  • Expectation Maximization (EM) — fits the model parameters by maximum likelihood when examination and relevance are hidden
  • De-biased training data — the estimated position bias corrects the training data of the conversion model
  • A/B test — 50/50 split to check the real-world effect of the de-biased ranker
Continue reading — it's free

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