TL;DR
This paper bridges a long-standing divide in fair clustering by introducing semi-centroid clustering, a unified framework where agents care about both their distance to a cluster center and their distance to fellow cluster members. The authors develop the first polynomial-time algorithms that guarantee constant-factor approximations for strict proportional fairness criteria (the core and fully justified representation), showing that near-perfect fairness can be achieved in practice with minimal loss in traditional clustering efficiency.
What Problem Does This Paper Address?
In traditional clustering (like $k$-means), the goal is simply to minimize a global objective function. However, when data points represent human agents—such as users in facility location problems or data sources in clustered federated learning—individual preferences and fairness become paramount.
Prior work on "proportional fairness" split this problem into two distinct camps:
- Centroid Clustering: Agents only care about their distance to a central representative point (e.g., how far is my house from the assigned hospital?).
- Non-Centroid Clustering: Agents only care about their maximum distance to other peers within the same cluster (e.g., in federated learning, do the other users in my cluster have similar data distributions so we can collaborate effectively?).
In reality, many applications require both. A user wants a facility close to home, but also wants it to be in a cohesive neighborhood. This paper introduces semi-centroid clustering to handle these joint preferences. The core challenge is that optimizing for one paradigm can completely ruin fairness in the other; the authors prove that none of the standard algorithms from prior literature can satisfy both objectives simultaneously.
Methods
The authors formalize two structured loss families:
- Dual Metric Loss: Centroid and non-centroid distances are measured using entirely different metrics.
- Weighted Single Metric Loss: Both losses use scaled versions of a single common metric, balanced by a parameter $\lambda \in [0,1]$.
To evaluate fairness, they use the core (no group of $\ge n/k$ agents can unilaterally form a new cluster and improve everyone's loss by a factor of $\alpha$) and its relaxation, Fully Justified Representation (FJR).
Their primary algorithmic contribution is a novel two-phase framework (Algorithm 3):
- Phase 1 (Tentative Clustering): Iteratively isolates an approximate "Most Cohesive Cluster" (MCC)—a group that minimizes the maximum loss of its members. To do this efficiently in polynomial time, they design a clever sub-routine (Algorithm 4) that crafts a custom distance metric for each potential center.
- Phase 2 (Selective Switching): Allows agents to switch to a better cluster, but only if their move doesn't violate a strict mathematical bound on the increase in loss for the existing members of that cluster. This controlled switching prevents the "cascade of harm" typical in non-centroid settings.
Datasets
The algorithms were empirically evaluated on three standard datasets from the UCI Machine Learning Repository:
- Iris: 150 data points measuring flower dimensions.
- Pima Indians Diabetes: Health indicators for medical classification.
- Adult (Census Income): 48,842 instances containing demographic and economic features (processed using one-hot encoding for categorical attributes).
Key Insights and Ideas
- The Incompatibility of Paradigms: The authors show that centroid and non-centroid fairness pull in fundamentally opposite directions. Centroid clustering allows agents to freely switch to the nearest center without harming others, whereas non-centroid clustering strictly forbids switching because a single outlier can drastically increase the loss for everyone else in the cluster.
- The "Secret Sauce" of Bounded Switching: Instead of completely banning cluster switches or allowing them unconditionally, Phase 2 uses a carefully tuned growth factor ($c$) to strike a middle ground. This decouples an agent's decision from the choices of others, making the optimization tractable.
- The Impossibility of Balance: If you force the clusters to be of roughly equal size (balanced clustering), it becomes mathematically impossible to guarantee a finite core approximation when the non-centroid loss dominates.
Key Results
The paper establishes solid theoretical upper and lower bounds for both loss families, summarized in the table below:
- Theoretical Guarantees: For the general dual metric loss, the proposed algorithm computes a $(3 + 2\sqrt{3})$-core approximation in polynomial time. For the weaker FJR criterion, a 4-FJR clustering is efficiently attainable.
- Empirical Performance: On real-world datasets, the algorithms vastly outperformed their theoretical worst-case bounds, achieving near-perfect fairness (core and FJR violations close to 1).
- Fairness-Efficiency Tradeoff: While classical algorithms like $k$-means++ proved to be highly unfair to minority groups of agents, the authors' algorithms (GC and SemiBall) eliminated these fairness violations while only marginally increasing the total $k$-means or $k$-medoids objectives.
Limitations and Future Work
- Unconstrained Centroids: The current semi-centroid algorithms do not guarantee that the chosen cluster center is an actual data point from within that cluster. In applications like committee selection (sortition), this constraint is mandatory.
- Scalability: While polynomial-time, the two-phase algorithm may still be too slow for massive, web-scale datasets. Developing near-linear time variants remains an open challenge.
- Non-Additive Losses: The paper focuses on a linear combination of centroid and non-centroid losses; future work could explore more complex, non-additive interactions between the two preference types.
Summary updated