Differentially Private and Fair Classification via Calibrated Functional Mechanism

Jiahao Ding, Xinyue Zhang, Xiaohuan Li, Junyi Wang, Rong Yu, Miao Pan

TL;DR

This paper introduces two novel algorithms, PDFC and ADFC, designed to train classification models that are simultaneously "fair" (unbiased against protected groups) and "differentially private" (protecting individual data points). By injecting calibrated noise into the objective function's polynomial coefficients, the authors achieve a better balance of privacy, fairness, and accuracy than previous state-of-the-art methods.

What Problem Does This Paper Address?

Machine learning models often face two major ethical hurdles: privacy leakage and algorithmic bias.

  1. Privacy: Differential Privacy (DP) is the gold standard for ensuring that a model's output doesn't reveal whether a specific individual was in the training set.
  2. Fairness: Fairness constraints (like Demographic Parity) ensure that a model doesn't discriminate based on protected attributes like race or gender.

The challenge is that these two goals often conflict. Privacy requires adding randomness (noise), which can disproportionately degrade the accuracy of minority groups or interfere with fairness constraints. Previous "in-processing" methods—which add fairness constraints directly into the learning objective—often suffer from a massive drop in utility (accuracy) when privacy noise is introduced. The authors aim to bridge this gap by creating a mechanism that handles both constraints gracefully.

Methods

The authors build upon the Functional Mechanism (FM). Instead of adding noise to the final model parameters (which can be unstable), they add noise to the objective function itself.

  • Polynomial Approximation: Since loss functions (like logistic regression) can be complex, they use a Taylor expansion to represent the objective function as a polynomial.
  • Decision Boundary Fairness: They incorporate fairness by adding a "decision boundary covariance" term as a penalty to the objective function. This term mathematically penalizes the model if its predictions are too highly correlated with a protected attribute.
  • PDFC (Purely DP and Fair Classification): This version uses the Laplace mechanism to achieve pure $\epsilon$-differential privacy. Its "calibrated" nature comes from adding different scales of noise to different attributes—specifically, adding more noise to features highly correlated with the protected attribute to further reduce bias.
  • ADFC (Approximately DP and Fair Classification): This is a "relaxed" version that uses Gaussian noise to achieve $(\epsilon, \delta)$-differential privacy. This relaxation typically allows for much higher model accuracy while still maintaining strong privacy guarantees.
Accuracy vs. Privacy Budget for Functional Mechanism variants on the US dataset.

Datasets

The researchers evaluated their approaches on two standard benchmarks for fairness and privacy:

  • Adult Dataset (UCI): ~48,000 records; task is to predict if annual income exceeds $50k. The protected attribute is sex.
  • US Dataset (IPUMS): ~370,000 records; task is to predict if income exceeds $25k. The protected attribute is sex.

Key Insights and Ideas

  • Calibrated Noise as a Fairness Tool: The "aha moment" here is that noise isn't just a privacy requirement; it can be a fairness feature. By strategically adding more noise to "proxy" attributes (unprotected features that are highly correlated with protected ones, like "marital status" often being a proxy for "gender"), the authors can break the discriminatory link between those features and the final prediction.
  • Functional vs. Parameter Perturbation: Perturbing the objective function (the "math" of the goal) is often more robust than perturbing the weights (the "result"). This allows the optimization process to "find" a good solution even in the presence of noise.
  • The Utility of Relaxation: Moving from the strict Laplace mechanism ($\epsilon$-DP) to the Gaussian mechanism ($(\epsilon, \delta)$-DP) provides a significant boost in accuracy, making these models much more viable for real-world deployment where every percentage point of accuracy matters.

Key Results

The experimental results demonstrate the effectiveness of the proposed mechanisms in balancing competing constraints.

Comprehensive performance evaluation of PDFC and ADFC on the Adult dataset.
  • Superior Accuracy: ADFC consistently outperformed the previous state-of-the-art (PFLR*) across various privacy budgets. On the US dataset, ADFC's accuracy approached the "No-Privacy" baseline once the privacy budget $\epsilon$ was greater than $10^{-1}$.
  • Effective Bias Reduction: Both PDFC and ADFC significantly reduced the "Risk Difference" (a measure of unfairness) compared to standard logistic regression. In many cases, they achieved lower bias than PFLR* while maintaining higher accuracy.
  • Robustness to Privacy Constraints: Even when the privacy requirements were very strict (small $\epsilon$ or $\delta$), the functional mechanism maintained a usable level of accuracy, whereas traditional methods often collapsed.

Limitations and Future Work

  • Model Specificity: The current work focuses specifically on Logistic Regression. While the Functional Mechanism can theoretically be applied to any differentiable loss function, the polynomial approximation (Taylor expansion) becomes much more complex for deep neural networks.
  • Attribute Selection: The "calibrated" noise approach requires identifying which unprotected attributes are highly correlated with protected ones. Currently, this selection is somewhat manual or heuristic-based; automating this selection optimally is a potential area for future research.
  • Higher-Order Approximations: The authors used a 2nd-order Taylor expansion. Exploring whether higher-order polynomials provide better utility without requiring prohibitive amounts of noise is an open question.

Summary updated

BibTeX
@inproceedings{ding2020differentially,
  author = {Jiahao Ding and Xinyue Zhang and Xiaohuan Li and Junyi Wang and Rong Yu and Miao Pan},
  title = {{Differentially Private and Fair Classification via Calibrated Functional Mechanism}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i01.5402},
}
Figure