NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

When Fairness Meets Privacy: Fair Classification with Semi-Private Sensitive Attributes

Canyu Chen, Yueqing Liang, Xiongxiao Xu, Shangyu Xie, Yuan Hong, Kai Shu

TL;DR

This paper introduces FAIRSP, a novel framework for fair classification in a "semi-private" setting where most sensitive attributes are noisy (due to privacy mechanisms) but a small amount of clean sensitive data is available. FAIRSP effectively corrects the noisy attributes and then uses both corrected and clean data for adversarial debiasing, achieving fairness without sacrificing accuracy.

What Problem Does This Paper Address?

High-stakes machine learning applications like loan approvals or medical diagnoses can exhibit bias against certain demographic groups, leading to unfair outcomes. Traditional methods to mitigate this bias often require direct access to sensitive attributes (e.g., race, gender). However, due to increasing privacy concerns and regulations like GDPR, obtaining this sensitive data is becoming increasingly difficult. This creates a challenge: how can we build fair machine learning models when sensitive attributes are not fully available or are noisy due to privacy-preserving techniques? This paper tackles this problem by focusing on a "semi-private" setting, where a large portion of sensitive attributes are privatized (and thus noisy), but a small, trusted subset of clean sensitive attributes is available.

Methods

The core of the proposed solution is the FAIRSP framework, which has two main components:

  1. Private Sensitive Attribute Correction: Since the majority of sensitive attributes are noisy due to privacy mechanisms (specifically, Local Differential Privacy or LDP is assumed), directly using them for debiasing can lead to suboptimal results. FAIRSP first learns a "correction matrix" to estimate the true sensitive attributes from these noisy ones. This is achieved by leveraging the limited clean sensitive attributes to guide the correction process.
  2. Semi-Private Adversarial Debiasing: Once the noisy attributes are corrected, FAIRSP integrates them with the available clean sensitive attributes. It then employs an adversarial debiasing approach. In this setup, a classifier is trained to predict the target label accurately, while an "adversary" tries to predict the sensitive attributes from the classifier's learned representations. The classifier is trained to "fool" the adversary, thus learning representations that are independent of sensitive attributes, leading to fairness. This adversarial training is performed jointly on both the corrected private data and the clean data.

Datasets

The paper evaluates FAIRSP on three standard datasets commonly used in fair classification research:

  • COMPAS: Predicts recidivism of individuals in the United States.
  • ADULT: Predicts whether an individual's income exceeds 50k.
  • MEPS (Medical Expenditure Panel Survey): Predicts whether a person would have "high" healthcare utilization.

The experimental setup involves partitioning the data into a training set and a test set. For the training set, 80% of the samples are treated as "private" (with noisy sensitive attributes generated using LDP), and the remaining 20% are treated as "clean" (with true sensitive attributes).

Key Insights and Ideas

  • Privacy Noise Hurts Debiasing: The paper's preliminary experiments reveal a counter-intuitive finding: stronger privacy guarantees (more noise in sensitive attributes) actually improve fairness for vanilla models but harm fairness for debiasing models. This highlights the need for methods that can handle noisy sensitive attributes effectively.
  • Leveraging Limited Clean Data is Crucial: The semi-private setting, where only a small fraction of sensitive attributes are clean, is presented as a practical and beneficial scenario. FAIRSP's success hinges on its ability to effectively utilize this limited clean data to correct the larger set of noisy attributes.
  • Correction is Key to Fairness: The private sensitive attribute correction module is shown to be critical. Simply merging clean and noisy attributes ("Clean+Private" baseline) is less effective than using FAIRSP's corrected attributes, demonstrating the value of explicitly addressing the noise.
  • Fairness and Accuracy Trade-off is Manageable: FAIRSP aims to achieve fairness without significant drops in prediction accuracy, a common challenge in fair ML. The results suggest this balance is achievable in the semi-private setting.

Key Results

  • Improved Fairness: FAIRSP consistently outperforms baselines in terms of fairness metrics like Demographic Parity (ADP) and Equal Opportunity (ΔΕΟ) across all tested datasets. For example, on the ADULT dataset, FAIRSP achieved a 42.5% improvement in ΔΕΟ and 6.0% in ADP compared to the RNF baseline.
  • Comparable Accuracy: FAIRSP maintains competitive prediction accuracy (Acc.) and F1 scores, often comparable to or slightly better than baselines, demonstrating that fairness improvements do not come at a significant cost to performance.
  • Effectiveness of Correction: The private sensitive attribute correction module provides significant fairness improvements. For instance, FAIRSP with correction showed a 23.3% and 6.0% improvement in ΔΕΟ and ΔDP, respectively, compared to FAIRSP without correction.
  • Robustness to Data Ratios and Privacy Budgets: FAIRSP demonstrates stable fairness performance even with very small clean data ratios (as low as 0.02%) and across various privacy budgets (ε values), indicating its robustness.

Limitations and Future Work

  • Limitations:
    • The paper assumes a specific type of noise introduced by Local Differential Privacy (LDP). The effectiveness might vary with different privacy mechanisms or noise models.
  • The performance of FAIRSP can be slightly less effective when the privacy guarantee is very strong (large ε), as the estimated correction becomes less reliable.
  • Future Work:
    • Extend FAIRSP to more general semi-private fairness settings, including different data types like text and graphs.
  • Investigate fairness under privacy in distributed machine learning settings, such as federated learning and split learning.

Summary updated

BibTeX
@inproceedings{chen2022when,
  author = {Canyu Chen and Yueqing Liang and Xiongxiao Xu and Shangyu Xie and Yuan Hong and Kai Shu},
  title = {{When Fairness Meets Privacy: Fair Classification with Semi-Private Sensitive Attributes}},
  booktitle = {TSRML @ NeurIPS},
  year = {2022},
  url = {https://openreview.net/forum?id=blz5AaisMU},
}
Figure