Skip to main content
QUICK REVIEW

[Paper Review] Fair Data Adaptation with Quantile Preservation

Drago Plečko, Nicolai Meinshausen|arXiv (Cornell University)|Nov 15, 2019
Income, Poverty, and InequalitySocial Sciences6 citations
TL;DR

This paper proposes a pre-processing method for fair machine learning that adapts data using quantile preservation in structural causal models, ensuring fairness across classifiers regardless of model misspecification. By preserving counterfactual quantiles under interventions on protected attributes, it guarantees population-level fairness (e.g., demographic parity, counterfactual fairness) even when the underlying causal model is incorrect, with empirical validation via Random Forests and an R package (fairadapt).

ABSTRACT

Fairness of classification and regression has received much attention recently and various, partially non-compatible, criteria have been proposed. The fairness criteria can be enforced for a given classifier or, alternatively, the data can be adapated to ensure that every classifier trained on the data will adhere to desired fairness criteria. We present a practical data adaption method based on quantile preservation in causal structural equation models. The data adaptation is based on a presumed counterfactual model for the data. While the counterfactual model itself cannot be verified experimentally, we show that certain population notions of fairness are still guaranteed even if the counterfactual model is misspecified. The precise nature of the fulfilled non-causal fairness notion (such as demographic parity, separation or sufficiency) depends on the structure of the underlying causal model and the choice of resolving variables. We describe an implementation of the proposed data adaptation procedure based on Random Forests and demonstrate its practical use on simulated and real-world data.

Motivation & Objective

  • To address fairness in machine learning by transforming data to ensure all classifiers trained on it satisfy fairness criteria, rather than modifying models post-hoc.
  • To provide a practical, pre-processing approach grounded in causal structural equation models (SEMs) that preserves quantiles under interventions on protected attributes.
  • To demonstrate that fairness notions (e.g., demographic parity, counterfactual fairness) are preserved even if the assumed causal model is misspecified.
  • To enable flexible fairness control by allowing users to define resolving vs. non-resolving variables, thus modeling causal pathways explicitly.
  • To implement and validate the method using Random Forests and release it as an R package (fairadapt) for practical use.

Proposed method

  • Uses a non-parametric structural equation model (NPSEM) where each variable is a function of its parents and a latent uniform quantile variable U.
  • Applies the quantile preservation assumption (QPA): the conditional quantiles U remain unchanged under do-intervention on the protected attribute A.
  • Defines counterfactual values X(A = a, U = u) as the outcome under intervention do(A = a) while keeping the latent quantiles U fixed.
  • Implements data adaptation via Algorithm 1, which recursively computes transformed values using parent variables, with adaptation parent sets (aps) to selectively remove unfair paths.
  • For resolving variables, aps(R) = ∅; for non-resolving variables, aps(X) = pa(X), allowing selective removal of unfair influence from protected attributes.
  • Employs Random Forests for prediction in the adapted data, enabling practical deployment and evaluation of fairness and performance.

Experimental results

Research questions

  • RQ1Can data adaptation based on quantile preservation ensure fairness across all classifiers trained on the adapted data, even under model misspecification?
  • RQ2How does the choice of resolving vs. non-resolving variables affect the fairness properties of the resulting classifier?
  • RQ3To what extent can the method guarantee counterfactual fairness and demographic parity under a misspecified causal model?
  • RQ4Can the method be practically implemented and scaled using standard ML algorithms like Random Forests?
  • RQ5How does the method compare to existing pre-processing fairness techniques in terms of fairness and predictive performance?

Key findings

  • The method guarantees demographic parity for any predictor whose parent variables are drawn from the set of quantiles not descendant from the protected attribute A.
  • Under the untestable assumption of quantile preservation, the method ensures individual-level counterfactual fairness, meaning the prediction distribution is invariant to intervention on the protected attribute.
  • Even if the assumed causal model is incorrect, the method still satisfies certain population-level fairness notions, such as demographic parity and separation, depending on the causal graph structure.
  • Empirical evaluation on the UCI Adult dataset shows that after subsampling to remove age and race-based sampling bias, the adapted data yields fairer predictions without significant performance loss.
  • The R package fairadapt enables practical application of the method, demonstrating competitive performance and fairness across multiple fairness criteria.
  • The method allows principled fairness selection by aligning fairness notions with causal graph structure, offering a framework for consensus on fairness criteria in sensitive domains.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.