Marginal Fairness Sliced Wasserstein Barycenter

Khai Nguyen, Hai Nguyen, Nhat Ho · DOI

Abstract

This paper introduces the Marginal Fairness Sliced Wasserstein Barycenter (MFSWB), a novel framework for calculating the "average" of multiple probability distributions while ensuring the result is approximately equidistant from all of them. By leveraging "slicing" techniques and min-max optimization, the authors provide a computationally efficient way to achieve fairness in applications ranging from 3D shape modeling to fair generative AI. The proposed methods maintain linear time complexity while significantly improving geometric fairness compared to standard Sliced Wasserstein Barycenters.

Introduction: The Fairness Gap in Data Averaging

In data science, finding the "average" of complex objects like images, point clouds, or probability distributions is a fundamental task. The Wasserstein Barycenter is the gold standard for this, as it accounts for the underlying geometry of the data. However, standard barycenters suffer from a "fairness" problem: even when input distributions (marginals) are weighted equally, the resulting average often ends up much closer to some inputs than others due to heterogeneous data shapes.

Comparison of standard USWB versus the proposed MFSWB. Note how the MFSWB barycenter (cyan) is more centrally located relative to all four marginal clusters.

This lack of "marginal fairness" can lead to biased templates in 3D modeling or skewed representations in generative AI. While the Sliced Wasserstein Barycenter (SWB) improved computational speed by projecting high-dimensional data into 1D, it did not address this fairness gap. This research provides the first formal definition and solution for marginal fairness in the context of sliced optimal transport.

Methodology: Surrogate Optimization for Fairness

The authors move from a difficult, constrained optimization problem to three practical "surrogate" definitions that are easier to compute:

  1. s-MFSWB (Surrogate): Instead of minimizing the average distance to all marginals, it minimizes the maximum distance. This "min-max" approach naturally pulls the barycenter toward the most "ignored" distribution.
  2. us-MFSWB (Unbiased Surrogate): To address biased gradient estimates during training, this version looks at the expected maximum distance across 1D projections, allowing for stable optimization using standard stochastic gradient descent.
  3. es-MFSWB (Energy-based Surrogate): The most advanced version, it introduces a non-uniform "slicing distribution." It prioritizes projection directions that are currently "marginally unfair"—where the distances between the barycenter and marginals are largest—and focuses optimization effort there.

Key Insights and Results

The core finding of this work is that uniform weights do not guarantee fairness. The internal structure of data distributions matters more than assigned weights. By switching the objective from a sum to a maximum, the optimization process is forced to account for outlier marginals.

Convergence of various barycenter methods over 50,000 iterations. The MFSWB variants achieve lower F-metrics (fairness) than the standard USWB.

Experimental Performance

The researchers evaluated these methods using the F-metric (measuring the difference in distances) and the W-metric (measuring centrality) across synthetic Gaussians, ShapeNet 3D point clouds, and standard image datasets (MNIST, CIFAR10).

  • Fairness Metrics: Across all experiments, the proposed surrogates (especially es-MFSWB) achieved significantly lower F-metric scores than standard methods.
  • 3D Averaging: In point-cloud tasks, MFSWB produced templates that better captured the shared characteristics of diverse shapes compared to the standard USWB.
  • Generative Modeling: When used in Sliced Wasserstein Autoencoders (SWAE), the us-MFSWB and es-MFSWB variants delivered the best balance of reconstruction quality and class-fairness in the latent space.

Conclusion

The MFSWB framework offers a robust solution for geometric fairness in distribution averaging. Despite the added constraints, the surrogate methods maintain a linear time complexity $O(K)$ relative to the number of marginals, making them practical for large-scale data science applications. While there is a minor "price of fairness" in terms of raw reconstruction quality in generative models, the gain in representation balance provides a critical step forward for fair AI.

Summary updated

BibTeX
@inproceedings{nguyen2025marginal,
  author = {Khai Nguyen and Hai Nguyen and Nhat Ho},
  title = {{Marginal Fairness Sliced Wasserstein Barycenter}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=NQqJPPCesd},
}
Figure