A General Anchor-Based Framework for Scalable Fair Clustering
Shengfei Wei, Suyuan Liu, Jun Wang, Ke Liang, Miaomiao Li, Lei Luo
TL;DR
The paper tackles the scalability gap in fair clustering by introducing the Anchor-based Fair Clustering Framework (AFCF), which reduces computation from operating on all $n$ samples to a much smaller set of anchors $m$ ($m \ll n$) and propagates fairness to the full dataset. AFCF comprises four modules: Fair Anchor Generation (FDAS), Anchor Fair Clustering, Fair Anchor Graph Construction (with a group-label co-constraint), and Label Propagation, supported by an ADMM-based optimization that preserves demographic parity. The authors prove that the fairness of the final clustering matches that of the anchor clustering and demonstrate linear-time scalability with strong clustering performance and fairness on large-scale benchmarks. Empirical results show orders-of-magnitude speedups across multiple baselines and datasets, with preserved or improved accuracy and fairness metrics, making large-scale fair clustering practically feasible.
Abstract
Fair clustering is crucial for mitigating bias in unsupervised learning, yet existing algorithms often suffer from quadratic or super-quadratic computational complexity, rendering them impractical for large-scale datasets. To bridge this gap, we introduce the Anchor-based Fair Clustering Framework (AFCF), a novel, general, and plug-and-play framework that empowers arbitrary fair clustering algorithms with linear-time scalability. Our approach first selects a small but representative set of anchors using a novel fair sampling strategy. Then, any off-the-shelf fair clustering algorithm can be applied to this small anchor set. The core of our framework lies in a novel anchor graph construction module, where we formulate an optimization problem to propagate labels while preserving fairness. This is achieved through a carefully designed group-label joint constraint, which we prove theoretically ensures that the fairness of the final clustering on the entire dataset matches that of the anchor clustering. We solve this optimization efficiently using an ADMM-based algorithm. Extensive experiments on multiple large-scale benchmarks demonstrate that AFCF drastically accelerates state-of-the-art methods, which reduces computational time by orders of magnitude while maintaining strong clustering performance and fairness guarantees.
