Introduction
In unsupervised learning, clustering algorithms group similar data points together. However, when data points represent people, standard clustering can inadvertently segregate demographic groups, leading to biased outcomes. This NeurIPS 2021 paper, "Fair Clustering Under a Bounded Cost," introduces a novel perspective on the trade-off between algorithmic fairness and clustering quality. By flipping the traditional optimization problem on its head, the authors provide a framework for organizations that need to balance social equity with strict "business necessity" constraints.
Instead of minimizing clustering cost subject to rigid fairness constraints, this paper proposes minimizing "unfairness" while keeping the clustering cost below a user-defined threshold. The authors provide the first bi-criteria approximation algorithms for this framework, addressing the critical issue where the "Price of Fairness" can otherwise become unbounded.
The Problem: The Price of Fairness
In the context of fair clustering, "fairness" typically refers to group representation. For example, if a dataset is 40% "red" and 60% "blue," a fair clustering algorithm ensures that every individual cluster roughly maintains that 40/60 split.
Traditionally, researchers have tried to minimize the clustering objective (like the sum of squared distances in $k$-means) while treating these representation proportions as hard constraints. However, the authors point out a major flaw in this approach: the Price of Fairness (PoF)—the ratio of the cost of a fair solution to an "agnostic" (color-blind) one—can be infinite.
As illustrated above, if demographic groups are geographically or spatially separated, forcing them into the same clusters makes the clustering cost explode, potentially rendering the results useless for practical applications. This paper addresses the need for a "bounded cost" approach: Given a maximum allowable clustering cost $U$, how can we partition the data to be as fair as possible?
Methods: Fair Clustering Under a Bounded Cost (FCBC)
The authors define the FCBC problem and focus on three distinct fairness objectives:
- Group-Utilitarian: Minimize the sum of proportional violations across all groups.
- Group-Egalitarian: Minimize the maximum violation among all groups.
- Group-Leximin: A more complex generalization of egalitarianism that sequentially minimizes the largest violations.
The Two-Step Algorithm
To solve this, the authors propose a bi-criteria approximation approach:
- Step 1: Center Selection. A standard "color-blind" clustering algorithm (like $k$-means++) is run to find an initial set of cluster centers.
- Step 2: Fair Assignment (FABC). With the centers fixed, the algorithm solves the assignment problem. Because assigning points to centers to minimize unfairness under a strict cost budget is NP-hard, the authors utilize a combination of Linear Programming (LP) and Network Flow rounding.
To handle the non-convexity of the fairness constraints, they discretize the space of possible violations and use a search strategy (binary search for two-color cases, or exhaustive search for multi-color cases) to find near-optimal fairness values.
Key Insights and Results
The algorithms were evaluated on well-known datasets from the UCI Machine Learning Repository, including the Adult dataset (using gender as the protected attribute) and the Census1990 dataset (using age).
- Flipping the Script: By treating cost as the constraint, the algorithm can "fail gracefully." If the cost budget is too tight, the algorithm returns the fairest possible solution within that budget, rather than returning a solution with a massive, unusable cost.
- Theoretical Guarantees: The authors provide a $(2+\alpha, \mu)$-bi-criteria approximation. This guarantees that the resulting clustering cost is at most $(2+\alpha)$ times the budget $U$ (where $\alpha$ is the approximation ratio of the color-blind algorithm), and the fairness violation is within an additive error $\mu$ of the optimum.
- The Smallest Cluster Matters: A key theoretical insight is that the quality of the fairness approximation is inversely proportional to the size of the smallest cluster in the solution. In practice, clusters are usually large enough that the "additive error" in fairness is negligible.
- Empirical Performance: On the Adult and Census datasets, the authors demonstrated that slightly increasing the allowed cost budget resulted in sharp drops in proportional fairness violations. Furthermore, for the common two-color case (e.g., binary gender), their search algorithm proved highly efficient.
Limitations and Future Work
The primary limitation of this approach is the bi-criteria relaxation: the algorithm might exceed the user-specified cost $U$ by a factor of $(2+\alpha)$ to achieve its fairness guarantees. Additionally, while the smallest cluster size was large in their experiments, the theoretical bounds could weaken in datasets with many outliers or very small, isolated clusters.
The authors suggest that finding a "true" approximation—one that satisfies the cost constraint exactly while approximating fairness—remains a significant open challenge in the field of fair machine learning.
Summary updated