Abstract
Learning to Rank (LTR) methods are vital in online economies, affecting users and item providers. Fairness in LTR models is crucial to allocate exposure proportionally to item relevance. The deterministic ranking model can lead to unfair exposure distribution when items with the same relevance receive slightly different scores. Stochastic LTR models, incorporating the Plackett-Luce (PL) model, address fairness issues but have limitations in computational cost and performance guarantees. To overcome these limitations, we propose FairLTR-RC, a novel post-hoc model-agnostic method. FairLTR-RC leverages a pretrained scoring function to create a stochastic LTR model, eliminating the need for expensive training. Furthermore, FairLTR-RC provides finite-sample guarantees on a user-specified utility using distribution-free risk control framework. By additionally incorporating the Thresholded PL (TPL) model, we are able to achieve an effective trade-off between utility and fairness. Experimental results on several benchmark datasets demonstrate that FairLTR-RC significantly improves fairness in widely-used deterministic LTR models while guaranteeing a specified level of utility.
Introduction
In Learning to Rank (LTR) systems—the engines behind e-commerce search and streaming recommendations—deterministic models usually dominate. These systems sort items by a predicted score, often resulting in the top item receiving the vast majority of user attention (exposure). This creates a significant fairness problem: if two items are nearly identical in relevance, but one has a slightly higher score, the first gets massive exposure while the second gets almost none.
Stochastic ranking models, such as those based on the Plackett-Luce distribution, attempt to mitigate this by injecting randomness to "shuffle" similar items, thereby sharing exposure more equitably. However, these models are traditionally expensive to train and lack performance guarantees. A gain in fairness might inadvertently lead to a substantial drop in search relevance (utility), a risk often only discovered after the model is live.
Methodology
To address these challenges, researchers have developed ISRR (Inference-time Stochastic Ranking with Risk Control), also referred to as FairLTR-RC. This framework consists of two primary components:
- Generalized Plackett-Luce (GPL): This ranking model acts as a bridge, taking a standard scoring function from a pre-trained deterministic model and using thresholds to determine which items are eligible for specific ranking positions. By adjusting these thresholds, the model can transition between purely deterministic (high utility) and purely stochastic (high fairness) states.
- Distribution-free Risk Control: This component utilizes a small calibration dataset and statistical concentration inequalities (such as Hoeffding-Bentkus) to provide mathematical guarantees. It ensures that, with high probability, the ranking's utility risk will not exceed a user-defined limit.
Unlike traditional methods, ISRR is a "post-hoc" solution. It can be applied to existing, high-performing models like CatBoost, LightGBM, or Neural Networks at the moment of prediction, avoiding the need for costly retraining.
Experimental Evaluation
The effectiveness of ISRR was evaluated on three standard LTR benchmarks:
- Yahoo! Webscope: A large-scale web search ranking dataset.
- MSLR-WEB30k: A Microsoft dataset featuring 30,000 queries with numerous items per query.
- Istella-S: A European search engine dataset characterized by a high number of features per item.
Key Results
Experimental results demonstrate that ISRR provides a reliable mechanism for balancing utility and fairness. In 50 random trials, the method achieved 100% coverage on its utility guarantees, never violating the safety bounds set by the researchers.
As shown in the figure above, the system effectively manages the trade-off between utility loss (1-NDCG) and fairness ($R_{sq-fair}$). While maintaining the required utility levels, ISRR improved fairness metrics by 20% to 36% compared to standard deterministic models. Furthermore, the post-hoc application proved highly efficient; applying ISRR to a deterministic model was approximately 10x faster than training a dedicated stochastic ranker from scratch.
Discussion and Future Work
One unique feature of ISRR is its abstention mechanism. If a user sets a utility requirement that is impossible to meet while introducing stochasticity, the system defaults back to the deterministic ranker. This prevents the system from making "guaranteed bad" choices.
Future work will focus on reducing the conservatism of the statistical bounds to minimize abstention rates, especially when calibration sets are small. Additionally, researchers aim to apply this risk control logic to a broader range of ranking objectives beyond exposure fairness.
Summary updated