Fair Dataset Distillation via Cross-Group Barycenter Alignment

Mohammad Hossein Moslemi, Nima Hosseini Dashtbayaz, Zhimin Mei, Bissan Ghaddar, Boyu Wang

Introduction

Dataset Distillation (DD) aims to compress massive datasets into tiny synthetic ones—sometimes just a handful of images per class—while maintaining the predictive performance of a model trained on them. However, this compression process often accidentally amplifies social biases and ignores minority groups. In Fair Dataset Distillation via Cross-Group Barycenter Alignment, researchers introduce COBRA, a novel method that ensures fairness by aligning synthetic data with a group-agnostic "barycenter" (a central compromise) of all demographic subgroups. This prevents majority patterns from drowning out crucial minority signals.

The Problem: Bias Amplification in Distillation

Standard distillation methods attempt to match the "average" signal of an entire dataset. If one demographic group is larger than another (group imbalance) or exhibits distinct predictive features (feature separation), the distillation process naturally gravitates toward the majority.

Because the "budget" for synthetic samples is so small, the algorithm greedily selects the most dominant signals to maximize overall accuracy, discarding minority nuances. Consequently, models trained on this distilled data experience substantial performance drops for certain subgroups. Crucially, the authors demonstrate that simply balancing the number of samples across groups is insufficient. The fairness gap stems from a fundamental mismatch in how different groups are represented in the feature space, not just sample-size disparities.

The Solution: Cross-Group Barycenter Alignment (COBRA)

To counteract this bias, the authors propose COBRA. In standard distillation, the objective is to minimize the distance between the representation of the real data and the synthetic data. COBRA shifts this target from a single, majority-dominated aggregate representation to a fairer, two-step alignment process:

  1. Compute Subgroup Statistics: The method calculates representative signals (such as gradients or feature embeddings) for every demographic subgroup separately.
  2. Find the Barycenter: It then identifies a "barycenter"—a uniform mean of the subgroup representations. This center is equally distant from all subgroups, regardless of their original sample size.

By distilling toward this fair center, the synthetic data is forced to capture predictive information that works for everyone. COBRA acts as a fairness regularizer and is designed to be plug-and-play, meaning it can be integrated into almost any existing distillation algorithm, such as Distribution Matching or Gradient Matching.

Experimental Setup and Datasets

The researchers evaluated COBRA across a mix of controlled and real-world biased benchmarks:

  • Controlled Benchmarks: Colored-MNIST and Colored-Fashion-MNIST (where color acts as a spurious cue correlated with the label), and CIFAR10-S (where grayscale images induce bias).
  • Real-World Benchmarks: UTKFace (age classification with race as the sensitive attribute) and BFFHQ (age classification heavily correlated with gender).

Key Findings

COBRA consistently outperformed vanilla distillation and existing fairness baselines across multiple metrics:

  • Massive Fairness Gains: On the BFFHQ dataset, COBRA reduced the Equalized Odds Difference (EOD)—a standard measure of unfairness—from 63.47 down to 7.87.
  • Accuracy Preservation: Unlike many fairness interventions that trade accuracy for equity, COBRA often improved accuracy on balanced test sets. On CIFAR10-S, it raised accuracy from 45.4% to 62.4% while simultaneously slashing the fairness gap.
  • Visual Diversity: Qualitatively, COBRA-distilled images exhibit greater diversity. For instance, in Colored-MNIST, standard methods might render all "0s" in red if red is the majority color. COBRA produces synthetic "0s" with a variety of background colors, effectively de-biasing the prototypes.
  • Cross-Architecture Robustness: The fairness benefits persisted even when the distilled datasets were used to train entirely different neural network architectures, such as ResNet or VGG.

Limitations and Future Directions

While highly effective, COBRA has a few limitations. First, it requires explicit demographic labels (like race or gender) during the distillation phase, which may be missing or noisy in real-world scenarios. Second, because it processes each subgroup separately, it introduces computational overhead, running roughly 1.3x to 4x slower than vanilla distillation depending on the number of groups.

Future work will explore "latent" fairness—applying these barycenter principles without explicit demographic labels—and addressing intersectional fairness where individuals belong to multiple protected groups simultaneously.

Summary updated

BibTeX
@inproceedings{moslemi2026fair,
  author = {Mohammad Hossein Moslemi and Nima Hosseini Dashtbayaz and Zhimin Mei and Bissan Ghaddar and Boyu Wang},
  title = {{Fair Dataset Distillation via Cross-Group Barycenter Alignment}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=2FU8PSmu9Z},
}
Figure