Meta Optimality for Demographic Parity Constrained Regression via Post-Processing

Kazuto Fukuchi

Introduction

As machine learning models are increasingly deployed in sensitive domains, ensuring that their predictions do not discriminate against protected groups is paramount. One of the most rigorous fairness definitions is Demographic Parity (DP), which requires that the distribution of a model's predictions be identical across different social groups (e.g., gender, race, or age). While achieving fairness is often seen as a trade-off against accuracy, recent theoretical work has sought to find "fair minimax optimal" algorithms—models that achieve the highest possible accuracy while strictly satisfying the DP constraint.

However, previous proofs of optimality have often been "brittle," relying on narrow assumptions such as linear regression models with Gaussian noise. This paper introduces a general "meta-theorem" proving that fair regression can be achieved optimally through a post-processing framework, decoupling the prediction task from the fairness constraint. This approach allows practitioners to leverage state-of-the-art regressors while maintaining theoretical guarantees across a wide range of complex, high-dimensional scenarios.

The Problem: Brittleness in Fair Learning

Existing fair learning algorithms typically integrate fairness constraints directly into the training process (in-processing). While theoretically sound under specific conditions, these methods often lose their optimality guarantees when the underlying data distribution deviates from simple models. The challenge addressed here is whether a general, robust method exists that can transform any optimal regressor into a fair one without losing minimax optimality, regardless of the complexity of the data or the model architecture (e.g., deep neural networks).

Methodology: Post-Processing via Optimal Transport

The authors propose a four-step post-processing pipeline grounded in the mathematics of Optimal Transport (OT) and Wasserstein Barycenters:

  1. Standard Regression: A minimax optimal regressor is trained on an initial portion of the data without regard for fairness constraints.
  2. Barycenter Estimation: Using a separate data split, the algorithm estimates the "average" distribution—the Wasserstein barycenter—of the predictions across all protected groups.
  3. Transport Mapping: The method identifies optimal transport maps that shift the prediction distribution of each specific group toward this central barycenter.
  4. Adjustment: The final, fair prediction is generated by pushing the original model's output through these calculated transport maps.

By using this approach, the fairness requirement is satisfied by construction, as every group's output distribution is mapped to the same target distribution (the barycenter).

Theoretical Contributions

The paper’s primary contribution is a meta-theorem (Theorem 2) that establishes a general upper bound for fair regression error. This theorem demonstrates that the total error of the fair regressor is dominated by the larger of two factors: the error of the initial conventional regressor or the estimation error of the transport maps.

To support this, the authors provide a novel convergence rate analysis for transport map estimation in the context of Wasserstein barycenters (Theorem 3). They establish a rate of $O\left(\left(\frac{n}{\ln n}\right)^{-\alpha/(\alpha+\beta)}\right)$, where $\alpha$ and $\beta$ represent the complexity and smoothness of the transport map class. Finally, the authors prove a matching lower bound (Theorem 5), confirming that this post-processing approach is minimax optimal—meaning no other algorithm, in-processing or otherwise, can achieve better accuracy under the same fairness constraints.

Key Insights

The Decoupling Principle

A significant takeaway is that fairness does not need to be "baked in" during the initial training phase to achieve optimality. If the post-processing mechanism is sufficiently sophisticated (i.e., utilizing optimal transport), practitioners can separate the pursuit of accuracy from the pursuit of fairness.

Fairness in High Dimensions

In high-dimensional settings, such as image or text regression, the initial regression task is often significantly more difficult than the task of estimating transport maps. In these instances, the "cost" of enforcing demographic parity becomes negligible, effectively providing fairness "for free" relative to the inherent difficulty of the underlying prediction problem.

The Role of Smoothness

The efficiency of the fairness adjustment is highly dependent on the "smoothness" of the transport maps between groups. If the distributions of different groups are disparate in highly complex or non-smooth ways, the estimation of the transport maps becomes the bottleneck for the model's convergence to optimality.

Limitations and Future Directions

While the paper provides a robust theoretical foundation, several practical challenges remain:

  • Computational Complexity: The algorithm requires minimizing "congruent potentials," a task that can be computationally intensive for large-scale applications.
  • Data Efficiency: The current proof relies on sample splitting (using different data for regression and fairness adjustment), which may be inefficient for smaller datasets.
  • Approximate Fairness: Future research could explore relaxing the strict DP constraint to "approximate" demographic parity, potentially allowing for further gains in accuracy.
  • Practical Implementation: While the theory is now established, bridging the gap between these optimal transport maps and practical, penalty-based implementation methods remains an open area for investigation.

Summary updated

BibTeX
@inproceedings{fukuchi2025meta,
  author = {Kazuto Fukuchi},
  title = {{Meta Optimality for Demographic Parity Constrained Regression via Post-Processing}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=iuDS9qDzJG},
}
Figure