TL;DR
The paper introduces COVA-FC (COVAriance-based Fair Clustering), a scalable and numerically stable algorithm for clustering data fairly across multiple intersecting sensitive attributes (subgroups). By rewriting the discrete subgroup-fairness gap as an exact, continuous covariance-based surrogate, the authors enable efficient gradient-based optimization that can scale to millions of data points. Furthermore, they demonstrate that subgroup fairness does not guarantee marginal fairness and extend their framework to control both simultaneously.
What Problem Does This Paper Address?
Fair clustering aims to group data points such that cluster membership is independent of sensitive attributes (like race or gender). However, real-world applications involve multiple sensitive attributes simultaneously. When these attributes intersect, they form subgroups (e.g., "female & minority race & under 40").
As the number of sensitive attributes $q$ grows, the number of subgroups expands exponentially ($2^q$), leading to two major issues for existing fair clustering algorithms:
- Computational Bottlenecks: Traditional methods relying on Linear Programming (LP) scale cubically with the number of data points ($O(n^3)$), making them unusable for large datasets.
- Numerical Instability: Existing penalty-based methods often divide by the size of a subgroup. When subgroups are sparse or contain only a few individuals, these penalties blow up, causing the optimization to fail.
Additionally, the authors highlight a subtle but critical conceptual trap: subgroup fairness alone does not imply marginal fairness. An algorithm can be perfectly fair at the finest subgroup level while remaining unacceptably biased against a broader marginal group (e.g., overall gender balance).
Methods
To circumvent these challenges, the authors design COVA-FC using a multi-step mathematical reformulation:
- The Covariance Surrogate: They define a subgroup-fairness gap and prove it is mathematically equivalent to a covariance-based metric ($CR(\mathbf{A})$) for hard cluster assignments. This shifts the problem from tracking absolute differences in group proportions to measuring the empirical covariance between cluster assignments and subgroup memberships.
- Continuous Relaxation: To make this optimization-friendly, they relax two discrete components:
- Soft Assignments: Hard cluster assignments are replaced with soft assignment probabilities, making the objective differentiable.
- Smooth Worst-Case Selection: Instead of abruptly switching between the single most violated subgroup during optimization, they use a convex combination of subgroups via an adversarial weight vector $v$.
- Alternating Optimization: The algorithm alternates between an adversarial step (updating weights to find the most unfair subgroup directions) and an objective minimization step (updating cluster centroids and soft assignments via parallelized gradient descent).
- Marginal Fairness Extension: They expand the surrogate to include higher-order marginal subgroups, allowing the user to jointly minimize both subgroup and marginal fairness gaps.
Datasets
The authors evaluated COVA-FC across seven benchmark datasets spanning various modalities:
- Tabular: Adult (US Census), Dutch (Netherlands census), Bank (marketing campaigns), Communities (demographics/crime), and ACSIncome (large-scale census data with ~1.66M instances).
- Text: Civilcomments (online comment toxicity dataset represented via embeddings).
- Image: CelebA (face images, utilizing 512-dimensional features extracted from a pretrained ResNet-18).
Key Insights and Ideas
- The Intersectional-Marginal Paradox: The paper provides a stark mathematical counterexample showing that an algorithm can achieve a near-zero subgroup fairness gap while maintaining a massive marginal fairness gap. This justifies the need for their joint subgroup-marginal framework.
- Exactness Over Approximation: Unlike many surrogates in machine learning that merely bound an objective, the proposed covariance surrogate is exactly equal to the true subgroup-fairness gap for hard assignments.
- Instance-Wise Decomposability: Once the adversarial variables are fixed, the covariance surrogate splits into an instance-wise additive form. This allows cluster assignments to be updated in parallel across a GPU, bypassing the global coupling bottlenecks of prior work.
Key Results
- Superior Cost-Fairness Trade-offs: COVA-FC consistently achieved lower subgroup-fairness gaps (SP) at comparable clustering costs than baselines like VFC, FairKM, and FCA across multiple datasets.
- Massive Scalability: On the large-scale ACSIncome dataset ($n \approx 1.66\text{M}$), COVA-FC ran 3.22× faster than VFC, the closest parallelizable baseline. Its matrix-based GPU implementation scales gracefully compared to standard loop-based updates.
- Mitigating Marginal Bias: When tested on the Communities dataset ($q=18$ sensitive attributes, creating 1,180 non-empty subgroups), the subgroup-marginal variant of COVA-FC successfully suppressed first- and second-order marginal fairness gaps ($MP^{(1)}, MP^{(2)}$) with only a minor penalty to the overall subgroup fairness gap.
Limitations and Future Work
- Clustering-Level Constraints Only: COVA-FC enforces statistical fairness strictly at the clustering stage. The authors note that a balanced cluster assignment does not automatically guarantee fair outcomes in downstream tasks (e.g., if these clusters are later used for screening or pricing).
- Binary Attribute Assumption: The notation and core derivations assume binary sensitive attributes, though the authors outline simple extensions for multi-valued attributes.
- Future Extensions: The current framework is tailored to $K$-means. The authors point out that extending this covariance-based surrogate to other clustering paradigms, such as hierarchical clustering or Gaussian mixture models, remains an open and promising direction.
Summary updated