FPT Approximation for Socially Fair Clustering

Dishant Goyal, Ragesh JaiswalarXiv 2021 · OpenReview

Abstract

In this work, we address the socially fair $k$-median and $k$-means problems, where the objective is to minimize the maximum average cost across multiple demographic groups. While traditional clustering focuses on global cost minimization, social fairness ensures that no specific group suffers disproportionately high costs. We present $(3+\varepsilon)$ and $(9 + \varepsilon)$ approximation algorithms for the socially fair $k$-median and $k$-means problems, respectively. These algorithms operate in Fixed Parameter Tractable (FPT) time $f(k,\varepsilon) \cdot n^{O(1)}$, where $f(k,\varepsilon) = (k/\varepsilon)^{{O}(k)}$. Furthermore, we establish that these approximation factors are essentially optimal under the Gap-Exponential Time Hypothesis (Gap-ETH).

Introduction

Clustering is a fundamental task in data science, typically aimed at minimizing the total distance of points to their nearest centers. However, standard objectives like $k$-means or $k$-median can lead to inequitable outcomes. For instance, an algorithm might optimize for the majority population while leaving minority demographic groups with significantly higher average costs.

Socially fair clustering addresses this by adopting a minimax objective: minimizing the maximum average cost over all groups $P_1, \dots, P_\ell$. Prior to this work, the best known polynomial-time approximation guarantee was $O(\log \ell / \log \log \ell)$. This research explores whether constant-factor approximations are achievable by leveraging the framework of Fixed Parameter Tractability (FPT), specifically parameterizing the complexity by the number of clusters $k$.

Problem Definition

Given a set of points $P$ in a metric space $\mathcal{X}$, a set of feasible centers $F$, and $\ell$ groups $P_j \subseteq P$, the goal is to select a set $C \subseteq F$ of $k$ centers to minimize: $$\Phi(C,P) \equiv \max_{j \in \{1, \dots, \ell\}} \left\{ \frac{1}{|P_j|} \sum_{x \in P_j} d(C,x)^z \right\}$$ where $z=1$ for $k$-median and $z=2$ for $k$-means.

Proposed Method

The authors propose a two-stage FPT algorithm to achieve tight approximation bounds.

1. Bi-criteria Approximation via LP Relaxation

The first stage involves solving a Linear Programming (LP) relaxation of the socially fair clustering problem. The LP seeks to minimize a value $\gamma$ representing the maximum group cost, subject to constraints on center selection and point assignment.

Linear Programming (LP) relaxation for the socially fair clustering problem.

Using a randomized rounding procedure on the LP solution, the algorithm generates a "bi-criteria" solution. This solution selects $O(k \cdot \text{polylog } n)$ centers—significantly more than $k$—but achieves a $(1 + \epsilon)$ approximation of the optimal fair cost.

2. FPT Conversion

The second stage reduces the large set of bi-criteria centers down to exactly $k$ centers. The authors prove a structural lemma: within the bi-criteria set, there exists a subset of $k$ centers that provides a $(3^z + \epsilon)$ approximation. Since the size of the bi-criteria set is logarithmic in $n$, the algorithm can exhaustively search all possible $k$-sized subsets in FPT time, specifically $(k/\epsilon)^{O(k)} \cdot n^{O(1)}$.

Key Results and Hardness

The algorithm yields a $(3 + \epsilon)$-approximation for $k$-median ($z=1$) and a $(9 + \epsilon)$-approximation for $k$-means ($z=2$).

To determine if these bounds are optimal, the authors reduce the $k$-supplier problem to socially fair clustering. In the $k$-supplier problem, the goal is to minimize the maximum distance from any point to its nearest center. By treating every individual point as its own group, socially fair clustering generalizes $k$-supplier. Given that $k$-supplier is hard to approximate better than a factor of 3, the authors prove that no FPT algorithm can achieve an approximation better than $(3^z - \epsilon)$ unless the Gap-Exponential Time Hypothesis (Gap-ETH) is false. This confirms that the $(3+\epsilon)$ and $(9+\epsilon)$ bounds are essentially tight.

Conclusion

This work establishes the first tight approximation guarantees for socially fair clustering in the FPT setting. By shifting from polynomial-time algorithms (where the gap depends on the number of groups $\ell$) to FPT algorithms (parameterized by $k$), the researchers achieved constant-factor approximations. Future work may explore deterministic versions of these algorithms or investigate different parameterizations, such as those involving the number of groups $\ell$.

Summary updated

BibTeX
@misc{goyal2021fpt,
  author = {Dishant Goyal and Ragesh Jaiswal},
  title = {{FPT Approximation for Socially Fair Clustering}},
  year = {2021},
  eprint = {2106.06755},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.06755},
}
Figure