KFC: A Scalable Approximation Algorithm for $k$-center Fair Clustering

Elfarouk Harb, Ho Shan Lam

Overview

The KFC (k-center Fair Clustering) algorithm provides a highly scalable way to group data while ensuring protected groups (like gender or ethnicity) are neither over- nor under-represented in any cluster. By shifting the mathematical focus from individual points to geometric "joiner" regions, the authors achieved a randomized 3-approximation algorithm that is orders of magnitude faster and more cost-effective than previous state-of-the-art methods.

The Challenge of Fair Clustering

Standard clustering algorithms (like $k$-means or $k$-center) aim to group data points to minimize distance-based costs. However, these "blind" algorithms often produce clusters that are demographically skewed. For example, a cluster representing "loan recipients" might accidentally exclude a minority group entirely.

This paper tackles the Fair $k$-center Clustering problem. The goal is to minimize the maximum distance between any point and its cluster center (the $k$-center objective) while satisfying two fairness constraints:

  1. Restricted Dominance (RD): No group should exceed a certain fraction of a cluster.
  2. Minority Protection (MP): Every group should maintain at least a minimum representation in a cluster.

Previous solutions were computationally "heavy," often relying on Linear Programs (LPs) with $O(N^2)$ variables (where $N$ is the number of points). This made them impractical for large-scale, real-world datasets.

The KFC Approach: Joiners and Signatures

The core innovation of KFC is the Frequency-Distributor Linear Program. Instead of treating every point as a unique variable, the authors group points based on two criteria:

  • Joiners: Geometric regions defined by the intersection of balls around cluster centers. If two points fall into the same set of overlapping "center-balls," they are geometrically interchangeable.
  • Signatures: The specific combination of protected groups a point belongs to (e.g., "Female" and "Asian").
Illustration of Joiner regions formed by overlapping cluster balls.

By focusing on these groups rather than individuals, the size of the LP shrinks from being dependent on the number of points ($N$) to being dependent on the number of "joiner-signature" pairs. In practice, this is much smaller.

The KFC Pipeline

  1. Initialization: Run a standard greedy $k$-center algorithm to pick $k$ potential centers.
  2. Binary Search: Search for the smallest possible radius ($\lambda$) that allows for a fair clustering.
  3. Feasibility Check: For a given $\lambda$, use the Frequency-Distributor LP to see if points can be assigned to centers without violating fairness.
  4. Randomized Assignment: Once a valid distribution is found, points are assigned to clusters probabilistically based on the LP’s output.

Key Insights and Results

The authors evaluated KFC on six well-known real-world datasets (Reuters, Victorian, 4area, Bank, Census, Creditcard) ranging from 2,500 to over 35,000 points.

The "aha moment" of the paper is realizing that for the purposes of fairness and $k$-center cost, we don't care which specific point from a specific region goes to a center, only how many points of a certain demographic signature go there. By using joiners, the algorithm's complexity becomes more tied to the number of clusters ($k$) and the number of protected groups ($l$) rather than the total number of points ($N$).

Cost and Runtime vs. delta for various values of k.
  • Theoretical Guarantees: Previous best-known algorithms offered a 4-approximation or 5-approximation. KFC improves this to a 3-approximation (when centers are chosen from the data points), providing a tighter theoretical guarantee on the clustering cost.
  • Massive Speedup: KFC is orders of magnitude faster than previous fair clustering LPs. On the "4area" dataset, KFC finished in ~14 seconds, while the previous state-of-the-art took nearly 20 minutes.
  • Cost and Fairness: KFC consistently achieved lower clustering costs (tighter clusters) than existing fair alternatives, often staying very close to the "unfair" greedy baseline. While the basic KFC algorithm satisfies fairness "on expectation" (average), experimental results showed that the actual additive violations of fairness were minimal.

Limitations and Future Work

While highly effective, the primary algorithm is randomized, meaning it satisfies fairness constraints on average. The authors suggest an "iterative rounding" tweak to enforce hard constraints, though this adds complexity. Additionally, the number of "joiner" regions can theoretically grow exponentially as $2^k$. While this isn't an issue for typical values of $k$ in their experiments, it could become a bottleneck for extremely high-dimensional clustering where $k$ is very large. Finally, the algorithm assumes data exists in a metric space, leaving its performance on non-metric data as an open question for future exploration.

Summary updated

BibTeX
@inproceedings{harb2020kfc,
  author = {Elfarouk Harb and Ho Shan Lam},
  title = {{KFC: A Scalable Approximation Algorithm for $k$-center Fair Clustering}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=N4aEFC7T50},
}
Figure