Fair k-Center Clustering for Data Summarization

Matthäus Kleindessner, Pranjal Awasthi, Jamie Morgenstern

Introduction

Data summarization is a critical task in modern information retrieval, aimed at selecting a small, representative subset from a massive dataset. A standard mathematical formulation for this is $k$-center clustering, which identifies $k$ points (centroids) such that the maximum distance from any point in the dataset to its nearest centroid is minimized.

However, standard $k$-center algorithms are often "fairness-blind." In datasets reflecting societal biases—such as an image search for "CEO" that predominantly features male faces—the algorithm may select a summary that mathematically represents the majority but completely excludes minority demographic groups. To address this, researchers have introduced fairness constraints, requiring a summary to include a specific number of items $k_i$ from each demographic group $i$.

The Scalability Bottleneck

While standard $k$-center clustering can be solved efficiently in linear time ($O(k|S|)$), existing fair variants have historically been computationally expensive. Previous state-of-the-art fair algorithms typically operated with super-quadratic complexity ($O(|S|^2)$ or worse). For "Big Data" applications involving millions of records, these algorithms are too slow for practical use. This paper introduces the first linear-time approximation algorithm for fair $k$-center clustering, bridging the gap between fairness and scalability.

Methodology: Recursive Swapping and Exchange Paths

The authors propose a recursive approximation framework that matches the linear-time complexity of unfair $k$-center clustering.

The 2-Group Case

For datasets with two demographic groups, the algorithm begins with a standard greedy "unfair" clustering. If the resulting centers do not meet the required quotas—for instance, if there are too many points from Group A and too few from Group B—the algorithm attempts to "swap" centers. It identifies a center in the over-represented group and replaces it with a point from its own cluster that belongs to the under-represented group. If simple swapping is insufficient, the algorithm recursively processes specific subsets of the data.

Visualization of clusters ($L_1, L_2, L_3$) containing points from multiple demographic groups ($S_1, S_2, S_3$).

The Multi-Group Case

When dealing with more than two groups, the problem becomes more complex, as a swap intended to benefit one group might negatively impact another. To resolve this, the authors utilize a directed graph to identify "exchange paths" between groups, allowing for a systematic rebalancing of centers across all demographic categories.

Theoretical Guarantees

The authors prove that for two groups, their algorithm provides a 5-approximation (the resulting summary cost is at most 5 times the optimal fair summary). For $m$ groups, the theoretical bound is $(3 \cdot 2^{m-1} - 1)$. While this exponential bound appears high, empirical results suggest it is a very conservative estimate.

Experimental Evaluation

The algorithm was tested against synthetic data and real-world benchmarks:

  • Adult Dataset: Using census data of 25,000 records, the authors tested the algorithm's ability to balance summaries based on gender and race.
  • Image Datasets: Qualitative tests were conducted on sets of "doctor" and "face" images to observe how the algorithm prevents demographic erasure in visual summaries.

Key Results and Insights

The most striking result is the massive speedup achieved. In a benchmark with 250 points, a leading existing fair algorithm took 230 seconds, whereas the new algorithm completed the task in less than 0.01 seconds. This performance gap scales significantly with larger datasets.

Qualitative results from the "Doctor" image experiment, demonstrating successful demographic representation in a small summary.

Furthermore, the authors demonstrate that the "Price of Fairness" is remarkably low. The clustering cost—how well the summary represents the overall data—increases only marginally when fairness constraints are applied. In practice, the algorithm typically achieves a 2-approximation, far outperforming its theoretical worst-case bounds.

Conclusion and Future Work

This research makes fair summarization viable for production-scale systems by providing a linear-time solution. While the current theoretical bounds for multiple groups are loose, the empirical performance is robust across various data distributions.

Future work may involve tightening the theoretical proofs and extending this "exchange" logic to other clustering objectives, such as $k$-medoid clustering, which is less sensitive to outliers than $k$-center. Additionally, addressing scenarios where demographic metadata is missing or noisy remains an important open challenge for the field.

Summary updated

BibTeX
@inproceedings{kleindessner2019fair,
  author = {Matthäus Kleindessner and Pranjal Awasthi and Jamie Morgenstern},
  title = {{Fair k-Center Clustering for Data Summarization}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure