Evaluating ranking policies with exposure in view

← Back to Blog & Articles

Ranking decisions are made on data produced by an earlier ranking, so every step must account for the exposure that generated the data.

Implicit-feedback matrix factorization is fit by exact alternating least squares, which cannot increase the objective (Theorem 9.1). Sampled-softmax retrieval needs the logQ correction to be consistent for the full softmax; without it the model subtracts popularity (Theorem 9.2, Listings 9.4 and 9.5). Offline metrics on logged interactions reward agreement with the logging policy (the companion book example).

Under the position-based click model, inverse propensity scoring is unbiased for a new ranker’s click value (Theorem 9.3) at a variance cost that grows with the inverse examination probability of the logged position (Theorem 9.5). The naive estimate selects the wrong ranker (the companion book example), a wrong propensity curve biases IPS (the companion book example), and the doubly robust estimator equals IPS in this model (Theorem 9.4) but has the lowest error in the single-slot setting (the companion book example).

UCB1 has logarithmic regret with an explicit but loose bound (Theorem 9.6); Thompson sampling and LinUCB reduce regret in the simulations (Listings 9.10 and 9.11). Exposure fairness is a linear program over doubly stochastic matrices, implementable by Birkhoff-von Neumann decomposition (Theorem 9.7), with a concave cost in the allowed gap (Theorem 9.8). A retraining loop narrows coverage while clicks look healthy (the companion book example), and optimizing clicks can cost satisfaction (the companion book example).

Continue with the book

Explore the full treatment, worked examples, and exercises in Applied AI Under Uncertainty.


Companion article for Applied AI Under Uncertainty, published by Choral Software. Article text and original examples © 2026 Choral Software. All rights reserved.

Scroll to Top