493
Views
1
CrossRef citations to date
0
Altmetric
Theory and Methods

On Learning and Testing of Counterfactual Fairness through Data Preprocessing

, , ORCID Icon &
Pages 1286-1296 | Received 22 Oct 2021, Accepted 23 Feb 2023, Published online: 12 Apr 2023
 

Abstract

Machine learning has become more important in real-life decision-making but people are concerned about the ethical problems it may bring when used improperly. Recent work brings the discussion of machine learning fairness into the causal framework and elaborates on the concept of Counterfactual Fairness. In this article, we develop the Fair Learning through dAta Preprocessing (FLAP) algorithm to learn counterfactually fair decisions from biased training data and formalize the conditions where different data preprocessing procedures should be used to guarantee counterfactual fairness. We also show that Counterfactual Fairness is equivalent to the conditional independence of the decisions and the sensitive attributes given the processed nonsensitive attributes, which enables us to detect discrimination in the original decision using the processed data. The performance of our algorithm is illustrated using simulated data and real-world applications. Supplementary materials for this article are available online.

Supplementary Materials

The supplementary materials provide proofs of Theorems 1 and 2, and additional simulation and real data analysis results.

Notes

1 We should note that the causal interpretation of demographic attributes such as gender and race has long been contested (VanderWeele and Robinson Citation2014; Glymour and Glymour Citation2014; Kasirzadeh and Smart Citation2021), part of the reason is that we cannot define a reasonable hypothetical intervention on those attributes. Here we adopt the same perspective as Kusner et al. (Citation2017) and make the intervention on the perception of the demographic attributes. That is, the female student is not made into a boy biologically, but people’s perception of her is intervened (note we use the words ``treated as a boy'').

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.