NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Fair Bubble Sort: Provably Optimal Fair Ranking with Continuous Sensitive Attributes

Antonio Ferrara, Fabio Vitale, Atsushi Miyauchi, Francesco Bonchi

NeurIPS page · OpenReview · Open on the map

Category: Causality, Privacy & Learning Theory › Intersectional Fairness and Robust Auditing · Type: new method · Keywords: fair ranking, continuous sensitive attributes, Kendall correlation, Kemeny distance, adjacent-swap algorithm, theoretical optimality

Areas: Optimization & Algorithms › Optimization under Uncertainty › Submodular Optimization

Summary

Fair Bubble Sort (FBS) is an adjacent-swap ranking algorithm that achieves provably optimal utility while enforcing fairness with continuous sensitive attributes via Kendall correlation.

Explained to a 5-year-old

People use lists to decide who gets something important, like jobs or loans. Sometimes the list uses a number like age or money, which can be any value, not just a few categories. The old way cuts these numbers into groups, which loses information. This paper finds a new way to make the list fair while keeping it useful, by swapping nearby items just enough. The new method works well on both made-up and real data, giving fairer and more accurate lists.

Explained to a 5-year-old, longer

When we need to decide who gets something important, we often make a list or ranking. This list can be based on scores, like test results or money earned. Sometimes we also want the list to be fair, meaning it should treat people equally regardless of things like age or income. Age, income, or health scores are not just categories; they are numbers that can be any value. The usual way to handle fairness is to split these numbers into groups, like "young" or "rich". But grouping loses the exact values and can make the list less accurate. The paper looks at how to make a fair list without grouping the numbers. They measure fairness by checking how the ranking matches the order of the numbers using a special correlation. They also measure how much the new list changes the old one, using a distance measure. The solution is an algorithm that swaps items next to each other just enough to be fair while keeping the list close to the original. This swapping method is simple, fast, and works well on both made-up and real data. The result is a list that is both fairer and more useful than the old grouping approach.

For a technical reader

The paper tackles ranking fairness when sensitive attributes are continuous numbers rather than categories. Existing methods discretize these numbers, losing information and potentially biasing the ranking. The authors formalize fairness with Kendall correlation and utility with Kemeny distance, then propose an adjacent-swap algorithm that minimizes utility loss while meeting the fairness constraint. They prove the algorithm is exactly optimal for the unweighted Kemeny distance and demonstrate superior performance on synthetic and real datasets.

Problem

Ranking systems often use categorical protected attributes, but many real-world attributes are continuous, leading to loss of fine-grained information when discretized. The challenge is to produce rankings that are both fair with respect to continuous attributes and preserve utility, such as alignment with an initial score-based ranking.

Method

The approach formulates fairness using Kendall correlation between the ranking and the continuous attribute, and utility loss using Kemeny distance from an initial score-based ranking. It then solves the optimization via an efficient adjacent-swap algorithm that minimizes utility loss while satisfying the fairness constraint.

Results

The approach is scalable and consistently outperforms discretization-based baselines, achieving a superior fairness-accuracy Pareto front on both synthetic and real-world data.

Contributions

The paper formalizes fair ranking with continuous protected attributes using Kendall correlation, provides theoretical optimality guarantees for the unweighted Kemeny distance, and introduces an efficient adjacent-swap algorithm that meets the fairness constraint while preserving utility.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction