Differentially Private Post-Processing for Fair Regression

Ruicheng Xian, Qiaobo Li, Gautam Kamath, Han Zhao

Introduction

In the landscape of algorithmic decision-making, two ethical imperatives often stand at odds: privacy and fairness. Fairness in regression ensures that continuous predictions—such as credit scores or insurance premiums—do not unfairly disadvantage specific demographic groups. Conversely, Differential Privacy (DP) protects individual training data by intentionally injecting noise into statistics, which can obscure the very data needed to ensure equitable outcomes.

While this "privacy-fairness" tension has been extensively studied for classification tasks, regression remains a difficult frontier. This paper introduces a novel post-processing algorithm that transforms any standard regression model into one that is both fair (satisfying statistical parity) and private, providing a mathematically grounded framework to navigate these trade-offs.

Methodology

The authors propose a three-step post-processing pipeline that can be applied to any pre-trained regressor without requiring access to the original training process.

The three-step post-processing pipeline for private and fair regression, illustrating distribution estimation, barycenter computation, and optimal transport mapping.
  1. Private Distribution Estimation: The algorithm first estimates the distribution of the regressor's outputs for each demographic group. To maintain privacy, it employs a Histogram Density Estimator (HDE) combined with the Laplace mechanism. A subsequent re-normalization step using isotonic regression ensures the resulting noisy histograms behave as valid probability distributions.
  2. Computing the Wasserstein Barycenter: Once group-level distributions are estimated, the algorithm identifies a "middle ground" distribution—the Wasserstein barycenter. This target distribution is mathematically as close as possible to all groups' original distributions while being identical for everyone, thereby satisfying the requirement for statistical parity.
  3. Optimal Transport: Finally, the algorithm calculates the "optimal transport" map from each group's original distribution to this fair barycenter. When the model generates a new prediction, this map "nudges" the output to ensure the final results across all groups are statistically indistinguishable.

Key Theoretical Insights

A major theoretical contribution of the paper is Theorem 3.1, which proves that post-processing is sufficient for optimality. If one starts with a perfect (Bayes optimal) regressor, the theoretically optimal fair regressor can be reached solely through this post-processing pipeline, rather than baking fairness into the initial training.

The algorithm's performance is governed by the $k$-bin trade-off:

  • More bins ($k$): Reduces discretization error (statistical bias) but increases variance, as the fixed privacy budget must be spread across more bins, requiring more DP noise per bin.
  • Fewer bins ($k$): Favors fairness. In the extreme case of $k=1$, the model outputs a constant value for everyone—achieving perfect fairness but zero predictive utility.

Experimental Results and Datasets

The researchers evaluated their approach on two standard benchmarks: the Communities & Crime dataset (predicting crime rates with race as a sensitive attribute) and the Law School dataset (predicting undergraduate GPA with race as a sensitive attribute).

  • Pareto Fronts: Experiments mapped the boundary of the best possible trade-offs between Mean Squared Error (MSE) and fairness violations. Stricter privacy requirements (lower $\epsilon$) consistently pushed this boundary outward, indicating a higher accuracy cost for maintaining fairness.
  • Privacy vs. Estimation Error: Interestingly, for many practical settings, the error introduced by DP noise was found to be smaller than the error resulting from simply having a finite amount of data to estimate distributions.
  • Robustness: The algorithm proved relatively insensitive to the privacy budget until very high levels of privacy were demanded, suggesting that the "cost of privacy" is manageable for many real-world regression tasks.

Limitations and Future Work

The current work focuses on the attribute-aware setting, where the model knows an individual's demographic group at the time of prediction. While common in research, this can be restricted in industries like hiring. Future work aims to extend this to attribute-blind settings, potentially using private models to estimate group membership, and exploring fairness notions beyond statistical parity, such as equalized odds.

Summary updated

BibTeX
@inproceedings{xian2024differentially,
  author = {Ruicheng Xian and Qiaobo Li and Gautam Kamath and Han Zhao},
  title = {{Differentially Private Post-Processing for Fair Regression}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=JNeeRjKbuH},
}
Figure