Fair Learning-to-Rank from Implicit Feedback

Himank Yadav, Zhengxiao Du, Thorsten Joachims · DOI

Abstract

While implicit feedback (e.g., clicks, dwell times, etc.) is an abundant and attractive source of data for learning to rank, it can produce unfair ranking policies for both exogenous and endogenous reasons. Exogenous reasons typically manifest themselves as biases in the training data, which then get reflected in the learned ranking policy and often lead to rich-get-richer dynamics. Moreover, even after the correction of such biases, reasons endogenous to the design of the learning algorithm can still lead to ranking policies that do not allocate exposure among items in a fair way. To address both exogenous and endogenous sources of unfairness, we present the first learning-to-rank approach that addresses both presentation bias and merit-based fairness of exposure simultaneously. Specifically, we define a class of amortized fairness-of-exposure constraints that can be chosen based on the needs of an application, and we show how these fairness criteria can be enforced despite the selection biases in implicit feedback data. The key result is an efficient and flexible policy-gradient algorithm, called FULTR, which is the first to enable the use of counterfactual estimators for both utility estimation and fairness constraints. Beyond the theoretical justification of the framework, we show empirically that the proposed algorithm can learn accurate and fair ranking policies from biased and noisy feedback.

Introduction

Ranking systems, ranging from search engines to job recommendation platforms, play a critical role in information discovery. Most modern systems optimize their ranking policies using implicit feedback, such as user clicks. However, this data is inherently biased due to position effects—users are more likely to click on top-ranked items regardless of their relevance. Furthermore, standard ranking algorithms often exhibit endogenous biases, such as "winner-takes-all" dynamics, which can lead to unfair exposure for equally relevant items or groups.

In this work, we introduce FULTR (Fair Unbiased Learning-to-Rank), the first end-to-end framework designed to simultaneously correct for presentation bias in training data and enforce merit-based fairness of exposure. FULTR ensures that groups of items receive exposure proportional to their actual merit, preventing the "rich-get-richer" cycles common in traditional systems.

Methodology

The FULTR framework integrates several key components to achieve fair and unbiased ranking:

  1. Counterfactual Learning via IPS: To address exogenous bias, FULTR employs Inverse Propensity Scoring (IPS). By weighting clicks based on the probability of examination at a given position, the algorithm effectively debiases the training signal.
  2. Merit-Based Exposure Constraints: FULTR incorporates constraints that ensure the exposure a group receives is proportional to its estimated relevance (merit). This prevents the system from unfairly starving certain groups of visibility.
  3. Stochastic Ranking Policy: Utilizing a Plackett-Luce model, FULTR learns a probability distribution over rankings. This stochasticity allows the system to distribute exposure fairly across items while maintaining high overall utility.
  4. Policy-Gradient Optimization: The model is trained using a REINFORCE-style algorithm. It optimizes a dual objective—maximizing utility (e.g., DCG) while minimizing a disparity penalty—using a Lagrange multiplier to balance these competing goals.

Experimental Setup

We evaluated FULTR on two diverse datasets to test its robustness:

  • MSLR-WEB30K: A large-scale web search dataset where groups were defined based on a "QualityScore" attribute.
  • German Credit Dataset: A dataset of loan applicants where groups were defined by the purpose of the loan, representing a high-stakes social ranking scenario.

Results and Discussion

Our empirical results demonstrate that FULTR effectively balances utility and fairness.

Utility Convergence

As shown in Figure 1, the utility (Average DCG) of FULTR-Linear and FULTR-MLP increases with the number of training clicks, eventually approaching the "skyline" performance (dashed lines) of models trained on full-information, expert-labeled data. This indicates that FULTR successfully extracts accurate relevance signals from biased and noisy click data.

Average DCG performance of FULTR vs. baselines as training clicks increase on German Credit and MSLR datasets.

Fairness-Utility Trade-off

A critical advantage of FULTR is its ability to navigate the trade-off between ranking utility and fairness. In Figure 2, we observe the Pareto frontiers for various models. FULTR consistently achieves a superior balance, providing higher utility for any given level of disparity compared to post-processing methods or other fair ranking baselines like Fair-PG-Rank.

Pareto frontiers showing the trade-off between utility (Avg. DCG) and unfairness (Squared Disparity) for German Credit and MSLR datasets.

Key Insights

  • End-to-End Learning: The results highlight that fairness must be integrated into the learning process. Post-hoc fairness adjustments often fail because the underlying relevance model is already poisoned by biased data.
  • Unbiased Disparity Estimation: A core contribution is the derivation of a mathematically unbiased estimator for disparity that functions with partial, biased feedback.

Conclusion

FULTR represents a significant step forward in learning-to-rank by addressing both data bias and algorithmic unfairness in a unified framework. While the current implementation focuses on group fairness, future work will explore individual fairness and the performance of FULTR in dynamic, online environments where ranking policies evolve in real-time.

Summary updated

BibTeX
@misc{yadav2019fair,
  author = {Himank Yadav and Zhengxiao Du and Thorsten Joachims},
  title = {{Fair Learning-to-Rank from Implicit Feedback}},
  year = {2019},
  eprint = {1911.08054},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.08054},
}
Figure