Estimation of Fair Ranking Metrics with Incomplete Judgments

Ömer Kirnap, Fernando Diaz, Asia Biega, Michael D. Ekstrand, Ben Carterette, Emine Yilmaz

Abstract

Auditing the fairness of search and recommendation systems usually requires knowing the "protected group" (e.g., gender or ethnicity) of every item in a ranking—a task that is often prohibitively expensive or legally restricted. This paper introduces a statistical framework that uses smart sampling and the Horvitz-Thompson estimator to accurately predict fair ranking metrics using only a tiny fraction of labeled data, making fairness auditing practical for large-scale production systems.

Introduction

As we move toward more socially responsible AI, researchers have developed various "fair ranking" metrics to ensure that different groups of content providers receive equitable exposure. However, a massive practical hurdle exists: incomplete data. Most fairness metrics assume a complete set of protected attribute labels for every item in the corpus. In reality, these labels are rarely available due to high annotation costs and privacy or legal constraints. Naive approaches, such as the "induced method" which calculates metrics based only on the labeled subset, are biased and consistently overestimate unfairness.

Methodology

The authors propose a two-part statistical estimation framework to address this challenge:

  1. Weighted Sampling: Since ranking metrics are "top-heavy" (users prioritize the first few results), the authors use a sampling strategy that prioritizes items at the top of the rankings. The probability of an item being selected for labeling is proportional to its position across various system rankings.
  2. Horvitz-Thompson (HT) Estimator: This is the core of the unbiased estimation. The HT estimator accounts for the fact that different items had different probabilities of being sampled. By weighting the observed labels by the inverse of their inclusion probability, the authors produce an estimate of the fairness metric that is mathematically guaranteed to be unbiased.

Evaluation

The approach was validated across three distinct environments: synthetic data with 800 different systems, real-world submissions from the 2019 TREC Fair Ranking track, and a book recommendation dataset combining Goodreads interactions with Library of Congress metadata focusing on author gender.

Key Results

The proposed HT-based estimator significantly outperformed the induced baseline across multiple metrics, including KL Divergence, Squared Difference, and Absolute Difference. As shown in Figure 4, the weighted sampling approach (black crosses) aligns closely with the ideal diagonal line where estimated values match actual values. In contrast, the induced method (red circles) consistently overestimates the metrics, demonstrating the "induced trap."

Comparison of estimated vs. actual fairness metrics for the proposed Weighted Sampling method and the baseline Induced Method across four different metrics.

Key findings include:

  • Accuracy: On synthetic data, the proposed method achieved a nearly 5x improvement in error reduction, with a Root Mean Squared Error (RMSE) of ~0.03 compared to ~0.14 for the induced baseline.
  • Efficiency: With just a 10% sampling rate, the estimated metrics were highly correlated (Kendall’s $\tau > 0.8$) with the true values.
  • Sampling Strategy: For exposure-based metrics, top-heavy weighted sampling significantly outperformed uniform random sampling by reducing the variance of the estimate.

Conclusion

This research provides a practical framework for auditing fairness in large-scale production systems where complete labeling is unfeasible. By combining rank-aware sampling with unbiased estimators, system designers can accurately monitor and mitigate bias with minimal data requirements. Future work will explore non-binary protected attributes and scenarios where relevance judgments are also incomplete.

Summary updated

BibTeX
@inproceedings{kirnap2021estimation,
  author = {Ömer Kirnap and Fernando Diaz and Asia Biega and Michael D. Ekstrand and Ben Carterette and Emine Yilmaz},
  title = {{Estimation of Fair Ranking Metrics with Incomplete Judgments}},
  booktitle = {The Web Conference},
  year = {2021},
  doi = {10.1145/3442381.3450080},
}
Figure