- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 4
- Significance
- 3
Read review
Summary
The authors consider the problem of fair ranking with a continuous protected attribute. Given some set of scored items with continuous attributes, the goal is to produce a ranking of items that has minimal distance to the score-ordered ranking while having a low absolute Kendall-tau correlation with the attribute ranking. In particular, this is framed as an optimization problem with a hard constraint on fairness (attribute correlation). The authors propose a greedy adjacent-swap algorithm that makes progress towards an attribute-uncorrelated ranking, which they term fair bubble sort (FBS). For unweighted rank distance, the authors show FBS is optimal. For weighted distance, they provide a bound based on the weight spread (ratio of max to min weight), as well as asymptotic and uniform approximation ratios when scores are maximally correlated with attributes and is a power of 2. Experiments on synthetic examples suggest the special case approximation ratio of 2 holds generally. In experiments, the authors compare against brute force for small and a MILP for intermediate . Finally, the authors compare their approach to existing discrete-attribute-based baselines on four real-world fairness datasets. FBS consistently achieves better fairness with lower distance from the score ranking. Runtime experiments align with the authors' algorithm runtime analysis.
Strengths and weaknesses
This is a very nice theoretical fairness paper with interesting analysis and thorough experiments.
Strengths
- The paper is for the most part very clear.
- Overall quality is great, with clear notation and very good attention to detail. The paper addresses the problem from several angles, providing algorithms with analyses in different cases, synthetic experiments, and real-data experiments.
- The problem is natural and the proposed method is intuitive and effective.
Weaknesses
- A few minor clarifications / corrections can be made (see questions section).
Questions
- Are there formal relationships between CPP and existing discrete-attribute ranking fairness metrics? E.g., if we discretize an attribute and then apply CPP, does it become equivalent to some existing metric?
- Is there a theory-based reason to think the FBS weighted approximation ratio might be around 1.5 given the experimental results?
- Have you tried constructing instances with poor approximation ratios? (worse than the 1.207... case)
Minor
- Regarding terminology, I'm more familiar with the number of inversions between two rankings being called "Kendall tau distance" (e.g., https://dl.acm.org/doi/abs/10.1145/1055558.1055568), and the Kemeny ranking referring to the ranking minimizing the sum of Kendall tau distances to a set (e.g., https://cdn.aaai.org/AAAI/2006/AAAI06-099.pdf). In this case, this might be called "normalized weighted Kendall tau distance." (This is admittedly wordier than "Kemeny distance," but I don't believe "Kemeny distance" is standard.)
- The caption of Figure 1b doesn't match the plot. The caption mentions grey and square markers, but the plot has only colors and circles.
- In some places, it isn't clear that Prop 3 applies only for equal to a power of 2. (e.g., lines 254-256)
- Why does the y-axiis for Figure 3(a) extend up to 10^11 when the largest y value is < 10^3?
Limitations
yes
Paper formatting concerns
None
Final justification
The authors addressed my concerns/questions well. This is a nice paper that I believe merits acceptance.
We thank the reviewer for the careful reading and the concrete, actionable suggestions. We address each point below.
Q1. Where is Lemma 2 used in the proof?
We thank the reviewer for this careful observation. Lemma 2 is indeed not invoked in the formal algebraic proof of Proposition 1 / Theorem 1; rather, it serves as a foundational structural result that motivates and justifies the non-backtracking design of FBS.
Lemma 1 shows that we can restrict candidate moves to adjacent swaps. Lemma 2 shows that an optimal ranking is reachable via a sequence of swaps that are non-decreasing with respect to the fairness objective. Lemma 3 then guarantees that a valid majority-sign swap always exists. Together, these three lemmas formally establish the restricted search space for FBS.
Indeed, FBS is a greedy algorithm that only makes fairness-improving swaps and, as the counting shows, never undoes an inversion, so it moves monotonically away from r_s and never backtracks. A natural worry about such greedy design is whether the optimum might require first moving closer to r_s and then away, so that a no-backtracking greedy misses it. Lemma 2 addresses exactly this: an optimum is reachable by a non-decreasing (forward-only) path, i.e. the forward-only class provably contains an optimum. So a forward-only strategy is not restrictive; that is the intuition behind FBS's design, while the optimality runs entirely on the counting arguments of Lemma 1, Lemma 3, Observation 1 (each swap changes the imbalance by +-2 and the inversion count by +-1), and Proposition 1 (FBS uses exactly K* swaps, and no feasible swap sequence uses fewer).
In the revision we will clarify this point: we will mention Lemma 2 as this design justification at the beginning of Section 4, while rewording the overview sentence at the beginning of Section 5 so that it correctly credits the results actually used in the proof (Lemma 1, Lemma 3, Observation 1, Proposition 1) while listing Lemma 2 as a characterizing and motivating structural fact.
W1 / Q3. Continuous-fairness baseline
As suggested, we apply continuous-fairness repair to the given score conditioned on the continuous attribute a, and then re-sort. We test two repair variants:
We compute every ranking produced along their sweeps on the same (ϕ,weighted-Kemeny cost) axes as FBS and report the ratio of the baseline and FBS costs at matched fairness ϕ.
Table 1. Wasserstein repair-then-sort vs FBS
Table 2. Residual (binning-free) repair-then-sort vs FBS
Note: Ratios >1× indicate FBS reaches matched fairness at lower cost. FBS is strictly cheaper across all matched points on all datasets.
W2 / Q2. Task-oriented ranking quality (NDCG) & structural utility
As requested, we evaluate NDCG with the original score as relevance (i.e., the score-based ranking rs is ideal and gives NDCG = 1.0). At matched fairness we report, per dataset: FBS (the paper's algorithm), FBS-NDCG (defined next), the strongest baseline, and a random ϕ-fair ranking as a reference.
FBS-NDCG When the target is NDCG we can optimize it directly. At each step FBS makes the cheapest fairness-improving adjacent swap under a per-swap cost. Any utility whose marginal change under a single adjacent swap is cheap to evaluate, i.e., that decomposes over adjacent swaps, can be used as such cost. We report two such utilities: with element weights, swapping items i,j costs the score gap ∣si−sj∣ and FBS minimizes the weighted Kemeny distance (the paper's default); with position weights, the swap cost is the NDCG log-discount of the positions involved, so swaps near the top are expensive and FBS protects the head of the list (FBS-NDCG). Both perform exactly K∗ majority-sign swaps and reach identical fairness; they differ only in which swaps they choose, i.e. where displacement is spent. So targeting NDCG needs no new algorithm, only the NDCG cost within the same routine.
Table 3. Task-Oriented Utility (NDCG, NDCG@10, NDCG@100) at Matched High Fairness (ϕ)
NDCG
NDCG@10
NDCG@100
Two key takeaways:
Fair rankings remain practical: Unconstrained random fair rankings drop severely on top-heavy metrics (e.g., NDCG@10 drops to 0.18−0.78), whereas Default FBS remains always high (0.82−1.00).
FBS keeps full-list displacement small but sheds some top-k on coarse-score data (COMPAS, LSAT), exactly the regime where FBS-NDCG, by pricing top swaps higher, recovers ~1.0 top-k utility at the same fairness. So one does not trade fairness for top-k usefulness: if top-k is the objective, FBS-NDCG optimizes it directly.
We will add this framing to the paper as a light addition in the Appendix: FBS is a cost-agnostic post-processing framework that minimizes any per-swap utility cost under the CPP constraint, and FBS-NDCG is an instance.
About rankings at high ψ: see W3 next.
W3. Flat Pareto segments are not investigated; possible degenerate block-like solutions
Thanks for raising this. The flat segments are an expected consequence of how FBS spends utility cost, not a pathology; we next make the mechanism explicit and confirm the strict-fairness rankings are genuine, not degenerate. A flat segment corresponds to FBS improving fairness at (near) zero utility cost by reordering items with (near) same scores. Flat segments are thus located closer to ϕ0. Datasets with more tied scores have longer zero-cost segments (COMPAS and Law School have many ties; Communities less; German Credit has essentially no ties).
German Credit's flat curve is a strength, not a weak test case: ϕ0=0.98, so little correction is needed and FBS reaches ϕ=1 at cost ≈10−4, whereas the strongest baseline (DetConstSort) pays $\sim$19$\times$ more to reach comparable fairness (ϕ=0.9999). Flat here means FBS achieves fairness at near-zero cost.
To check that the fair rankings at high ψ are genuine, we compare FBS at ψ=1 against a random permutation, which also has ϕ≈1. This addresses the reviewer's worry that a fully fair ranking might be effectively random.
Table 4. Normalized mean displacement
Normalized mean displacement = |new − old position| per item, averaged over items, and normalized by dividing by n. Column "within tie-group" indicates the fraction of items staying within their equal-score group.
The same table rules out the block-like solution too. Across the three datasets, FBS's normalized mean displacement is 0.05-0.14 of the list, well below the random ranking's. The corrections are therefore fine-grained and local, not the whole-segment reversals of the all-ascending Proposition 5 case (which requires distinct integer scores with a=s and does not arise here).