Fair Rank Aggregation

Diptarka Chakraborty,Syamantak Das,Arindam Khan,Aditya Subramanian
2023-08-21
Abstract:Ranking algorithms find extensive usage in diverse areas such as web search, employment, college admission, voting, etc. The related rank aggregation problem deals with combining multiple rankings into a single aggregate ranking. However, algorithms for both these problems might be biased against some individuals or groups due to implicit prejudice or marginalization in the historical data. We study ranking and rank aggregation problems from a fairness or diversity perspective, where the candidates (to be ranked) may belong to different groups and each group should have a fair representation in the final ranking. We allow the designer to set the parameters that define fair representation. These parameters specify the allowed range of the number of candidates from a particular group in the top-$k$ positions of the ranking. Given any ranking, we provide a fast and exact algorithm for finding the closest fair ranking for the Kendall tau metric under block-fairness. We also provide an exact algorithm for finding the closest fair ranking for the Ulam metric under strict-fairness, when there are only $O(1)$ number of groups. Our algorithms are simple, fast, and might be extendable to other relevant metrics. We also give a novel meta-algorithm for the general rank aggregation problem under the fairness framework. Surprisingly, this meta-algorithm works for any generalized mean objective (including center and median problems) and any fairness criteria. As a byproduct, we obtain 3-approximation algorithms for both center and median problems, under both Kendall tau and Ulam metrics. Furthermore, using sophisticated techniques we obtain a $(3-\varepsilon)$-approximation algorithm, for a constant $\varepsilon>0$, for the Ulam metric under strong fairness.
Data Structures and Algorithms
What problem does this paper attempt to address?
The problem that this paper attempts to solve is to achieve fairness or diversity in sorting algorithms, especially when candidates may belong to different groups, each group should have fair representation in the final ranking. Specifically, the paper focuses on how to find the closest "fair ranking" in a given ranking to meet specific fairness criteria, which define the allowable range of specific groups in the top \(k\) positions of the ranking through parameters. In addition, the paper also studies the overall ranking aggregation problem under the fairness framework and proposes a general meta - algorithm, which is applicable to any generalized mean objective (including center and median problems) and any fairness criteria. ### Main contributions of the paper 1. **Closest Fair Ranking (CFR) problem**: - For the **Kendall tau distance**, the paper provides the first exact algorithm to solve the closest block - fair ranking problem (Theorem 3.4). This algorithm is based on a greedy strategy, but the analysis is rather complex. It takes advantage of an interesting fact: under a given fixed (possibly unfair) ranking \(\pi\), there exists a closest fair ranking \(\pi'\) such that for each group \(G_i\), the relative order of its elements in \(\pi'\) is the same as in \(\pi\) (Claim 3.3). - For the **Ulam distance**, when the number of groups \(g\) is a constant, the paper provides a polynomial - time dynamic programming algorithm to solve the closest strictly fair ranking problem (Theorem 3.10). 2. **Fair Ranking Aggregation (FRA) problem**: - The paper develops a new algorithm framework for solving multiple ranking aggregation objectives under generalized proportional fairness constraints. An important conclusion of this framework is that a set of potentially biased rankings can be aggregated into a fair ranking with little loss in ranking quality. - The paper shows how to reduce the \(q\)-mean fair ranking aggregation (FRA) problem to the problem of determining the closest fair ranking (CFR) for a given ranking. Specifically, any \(c\)-approximate algorithm can be used as a \(c + 2\)-approximate algorithm to solve the FRA problem (Theorem 4.3). - Using the exact algorithm for the CFRA problem, the paper obtains 3 - approximate algorithms for Kendall tau, Spearman footrule and Ulam distances (Corollary 4.5, Corollary 4.7, Corollary 4.10). - For the case of \(q = 1\), the paper provides a simpler algorithm that can break the 3 - factor limit and achieves a \((3-\epsilon)\)-approximate for Ulam distance when the number of groups \(g\) is a constant (Theorem 4.11). ### Related work In recent years, the problem of bias in machine learning algorithms or more broadly in automated decision - making processes has attracted wide attention. This bias may originate from implicit biases in historical data or biases of human agents who generate part of the input. Therefore, fair algorithms have received increasing attention in the machine learning and related communities. In particular, group fairness has been studied in areas such as classification, clustering, correlation clustering, resource allocation, online learning, matroids and matching. Fair ranking aggregation can be regarded as a fair 1 - clustering problem, where the input set is a set of rankings. ### Conclusion The paper solves the problems of finding the closest fair ranking under different distance metrics and ranking aggregation under the fairness framework by proposing new algorithms and frameworks. These results are not only of great theoretical significance but also have potential value in practical applications, especially in scenarios where fairness needs to be ensured.