Proportionally Fair Clustering

Xingyu Chen, Brandon Fain, Liang Lyu, Kamesh Munagala

Abstract

Traditional clustering algorithms, such as $k$-means, focus on minimizing a global objective function. While efficient, this approach can neglect smaller, dense groups of data points. This paper introduces proportionality—a fairness concept derived from the "core" in cooperative game theory—to clustering. We define a solution as proportionally fair if no group of $n/k$ points can find a center closer to all its members than their currently assigned centers. We provide algorithms with constant-factor guarantees and demonstrate that proportionality can be achieved efficiently even on large-scale datasets.

Introduction: The Fairness Gap in Clustering

Standard clustering objectives aim for global optimization, often leading to solutions that are inherently unfair to minority groups. For instance, a $k$-means optimizer might consolidate two small, dense clusters into one to better accommodate a large, high-variance group elsewhere in the feature space.

Visualizing the tension between global objectives and group representation.

Existing fairness methods typically require pre-defined protected attributes. However, in many applications, these groups are not known a priori. This paper proposes oblivious fairness, ensuring that any sufficiently large subset of points is protected from neglect by the global optimum based solely on their spatial distribution.

Defining Proportionality

The core idea is that in a $k$-clustering of $n$ points, any subset of $n/k$ points is "entitled" to one center. A clustering is considered fair if no such "coalition" of points is "blocked"—meaning they cannot collectively find a new center that improves the distance for every member of the group.

Geometric representation of the proportionality condition and the capture radius $r_y$.

Algorithmic Framework

We propose several approaches to find proportionally fair solutions:

  • Greedy Capture: This algorithm grows balls around potential centers until they capture $n/k$ points. This method is proven to yield a $(1 + \sqrt{2})$-approximate proportional solution.
  • Local Capture: A local search heuristic that iteratively swaps centers to satisfy "blocking coalitions"—groups that are poorly served by the current centers.
  • LP Rounding: For constrained optimization, we adapt Linear Programming relaxations to incorporate fairness constraints, allowing for a balance between global objectives (like $k$-median) and proportionality.

Empirical Evaluation

The proposed methods were tested on classic datasets: Iris, Diabetes, and KDD Cup 1999.

  • Iris: Standard $k$-means++ often naturally satisfies proportionality due to the dataset's clear separation.
  • Diabetes & KDD: $k$-means++ frequently fails the fairness test. In contrast, the Local Capture heuristic consistently finds solutions with very low proportionality violations ($\rho \approx 1.01$).
  • The Outlier Tension: On the KDD dataset, enforcing fairness significantly increases the $k$-means objective. This occurs because the algorithm is forced to allocate centers to small, dense groups rather than using them to mitigate the variance of massive outliers.

Key Insights

  • Impossibility Results: We prove that an exactly proportional solution does not always exist; a lower bound of 2-proportionality exists for general metrics.
  • Scale Invariance: Proportionality is robust to distance scaling, ensuring consistent fairness regardless of the coordinate system's units.
  • Scalability: Through random sampling, proportionality can be audited in linear time, making it suitable for datasets with millions of points.

Conclusion

Proportionality offers a robust, attribute-oblivious framework for fair clustering. While there is a fundamental tension between global efficiency and group fairness—especially in the presence of outliers—our algorithms provide a practical way to ensure that every significant group of data points receives its due representation. Future work includes closing the gap between theoretical bounds and extending these concepts to supervised learning.

Summary updated

BibTeX
@inproceedings{chen2019proportionally,
  author = {Xingyu Chen and Brandon Fain and Liang Lyu and Kamesh Munagala},
  title = {{Proportionally Fair Clustering}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure