Fair Model-based Clustering

Jinwon Park, Kunwoong Kim, Jihu Lee, Yongdai KimarXiv 2026

TL;DR

Traditional fair clustering algorithms scale poorly because their parameter count grows linearly with the size of the dataset. This paper introduces Fair Model-based Clustering (FMC), a probabilistic framework that decouples parameter count from sample size, enabling efficient mini-batch learning, seamless handling of categorical data, and instant fair assignment of unseen test data.

What Problem Does This Paper Address?

Fair clustering aims to partition data into groups such that the distribution of sensitive attributes (like race, gender, or age) within each cluster mirrors their distribution in the overall population.

Most state-of-the-art fair clustering methods modify the classic K-means algorithm. However, they suffer from a massive scalability bottleneck: to enforce fairness, they must simultaneously optimize both the cluster centers and the specific cluster assignments for every single data point. Consequently, the number of learnable parameters scales linearly with the dataset size ($N$). This makes full optimization computationally crushing (often cubic complexity) and rules out standard mini-batch training, since fairness cannot be reliably evaluated on a small, random subset of data. Furthermore, these geometric approaches struggle with non-metric (categorical) data and cannot easily assign newly arriving test data without re-running the optimization.

Methods

To break this bottleneck, the authors shift from a geometric perspective to a probabilistic one using Finite Mixture Models. Instead of treating each data point's cluster assignment as an independent parameter, FMC parameterizes the assignment map directly through the model's parameters $\Theta$ (mixture weights and component densities).

Key components of the FMC framework include:

  • The Gap Metric: Instead of using the popular but numerically unstable "Balance" ratio metric for fairness, the authors use a difference-based "Gap" metric ($\Delta$), measuring the absolute difference in cluster proportions across sensitive groups.
  • Constrained Optimization: The objective is formulated as maximizing the data log-likelihood subject to a fairness penalty: $$\max_{\Theta} \ell(\Theta | D) \text{ subject to } \Delta(\Theta) \le \epsilon$$
  • Two Learning Algorithms: The authors develop two ways to solve this: FMC-GD (Gradient Descent) and FMC-EM (Expectation-Maximization, built as a Generalized EM algorithm).
  • Mini-Batch & Sub-Sample Learning: To scale to massive datasets, FMC approximates the global fairness constraint using a sub-sampled dataset $D_n$. The authors provide a theoretical generalization bound proving that optimizing fairness on a sub-sample guarantees approximate fairness on the entire population.

Datasets

The authors evaluated FMC on four standard real-world benchmarks from the UCI Machine Learning Repository:

  1. Adult Dataset: 32,561 samples; sensitive attribute: gender.
  2. Bank Dataset: 41,008 samples; sensitive attribute: marital status.
  3. Credit Dataset: 30,000 samples; sensitive attribute: education.
  4. Census Dataset: A large-scale dataset with 2,458,285 samples; sensitive attribute: gender.

Key Insights and Ideas

  • The Parametric Shortcut: By defining cluster assignments through a global probability density function rather than discrete per-point variables, the parameter space remains fixed regardless of whether you are clustering 10,000 or 10,000,000 data points.
  • Fairness Generalizes: One of the most significant theoretical contributions (Proposition 1) is showing that fairness constraints evaluated on a small, random sub-sample closely approximate the true population fairness. This is what unlocks the ability to use mini-batches.
  • Native Heterogeneity: Because FMC is model-based, it isn't locked into Euclidean distance. By swapping out a Gaussian mixture component for a Multinoulli (categorical) distribution, the algorithm natively clusters categorical data without messy, ad-hoc distance approximations.

Key Results

  • EM vs. GD: In head-to-head testing, FMC-EM consistently achieved a superior cost-fairness trade-off and lower variance than FMC-GD.

    Figure 2: Pareto front lines between ∆and Cost (with stan- dard deviation bands obtained by five random initializations) of FMC-EM (left) and FMC-GD (right) on Adult dataset. See Fig. 4 in Appendix for similar results with respect to Balance and on other datasets.
  • Massive Speedups: On the 2.4-million-sample Census dataset, FMC with mini-batch learning was ~20x faster than Variational Fair Clustering (VFC), while maintaining a highly competitive cost-fairness trade-off.

    Figure 3: Pareto front lines between {∆, Balance} and Cost on Census dataset. See Fig. 7 in Appendix for the similar results without L2 normalization.
  • Sub-sample Efficiency: Training the model on just a 5% random sub-sample and using the resulting parametric map to infer the remaining 95% yielded virtually identical clustering utility and fairness compared to full mini-batch training, but at a fraction of the computational cost.

Limitations and Future Work

While FMC represents a huge leap in scalability, it maximizes log-likelihood rather than directly minimizing geometric clustering cost. As a result, purely distance-based baselines (like VFC) can occasionally find solutions with slightly lower clustering costs for the same fairness level, though they take significantly longer to converge.

Additionally, like all finite mixture models, FMC requires the user to pre-specify the number of clusters ($K$). The authors note that adapting classic mixture model selection estimators (such as the Bayesian Information Criterion) to account for fairness constraints is a vital direction for future research.

Summary updated

BibTeX
@misc{park2026fair,
  author = {Jinwon Park and Kunwoong Kim and Jihu Lee and Yongdai Kim},
  title = {{Fair Model-based Clustering}},
  year = {2026},
  eprint = {2602.21509},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.21509},
}
Figure