Abstract
Traditional clustering algorithms often inadvertently produce results that exhibit disparate impact, where protected groups are unfairly represented or excluded from specific clusters. This paper introduces a novel framework for "fair clustering" that ensures every cluster maintains a balanced representation of protected groups. By introducing the concept of fairlets—minimal balanced sets of points—the authors demonstrate that fair clustering can be reduced to a pre-processing step followed by any standard clustering algorithm. This method provides the first theoretical approximation guarantees for fair $k$-center and $k$-median problems.
Introduction: The Challenge of Colorblind Clustering
Most machine learning fairness research has historically focused on supervised learning. However, clustering is a critical unsupervised pre-processing step used in domains ranging from credit scoring to medical grouping. The authors identify a significant flaw in standard clustering objectives, such as $k$-center or $k$-median: they naturally tend to create monochromatic clusters.
For instance, clustering a population by a feature like "height" to determine health insurance tiers might result in clusters that are almost entirely segregated by gender. This technical challenge arises because "fair" clustering breaks a fundamental rule of traditional clustering: a point may no longer be assigned to its nearest cluster center to maintain group balance.
Methodology: Fairlet Decomposition
The paper's primary contribution is a two-step reduction process that allows fairness to be treated as a local property.
1. Fairlet Decomposition
Instead of clustering the entire dataset at once, the authors first partition points into "fairlets." These are the smallest possible sets that satisfy the desired fairness ratio. For example, if a population has a 1:2 ratio of "Blue" to "Red" points, a fairlet would consist of one Blue point and two Red points.
To find these fairlets efficiently, the authors employ:
- Bipartite Matching: For perfectly balanced (1:1) cases.
- Minimum Cost Flow (MCF): For general ratios (1:$t$). This formulation, shown in Figure 3, allows them to find a decomposition that minimizes the distance between points within a fairlet, thereby preserving the overall quality of the eventual clustering.
2. Vanilla Clustering
Once the data is partitioned into fairlets, a representative point (a center) is selected for each. A standard, "unfair" clustering algorithm (like $k$-center) is then run on these representatives. Because each fairlet is balanced, any collection of fairlets (i.e., a cluster) will also be balanced.
Empirical Evaluation
The approach was evaluated on three real-world datasets from the UCI repository:
- Diabetes: Balancing gender in 1,000 records.
- Bank: Balancing marital status in 1,000 records.
- Census: Balancing gender in 600 records from the 1994 US Census.
The experiments revealed that traditional "colorblind" models quickly produced clusters with zero balance (entirely one group) as the number of clusters ($k$) increased. In contrast, the fairlet approach maintained the required ratios while incurring a quantifiable "price of fairness."
Key Results and Insights
- Theoretical Guarantees: The authors provide the first constant-factor approximation algorithms for fair clustering, achieving a 3-approximation for the (1,1)-fair center problem and a 4-approximation for the general (1,$t$)-fair center problem.
- The Price of Fairness: This is defined as the ratio of the cost of a fair clustering to the cost of a traditional one. As $k$ increases, the total cost of fair clustering converges toward the cost of the initial fairlet decomposition, suggesting the pre-processing step is the primary driver of the "fairness tax."
- Algorithmic Bridge: The fairlet approach acts as a "wrapper," allowing researchers to leverage decades of optimized clustering research by simply adding a fair pre-processing layer.
Limitations and Future Work
While foundational, the framework has limitations. Finding the optimal fairlet decomposition is NP-hard for any ratio larger than 1:2. Additionally, the current framework primarily handles binary protected classes; extending this to multi-valued attributes (e.g., multiple ethnicities) remains an open challenge. Finally, the computational cost of the Minimum Cost Flow step may limit scalability on massive datasets without further optimization.
Summary updated