[Paper Review] Two-stage Algorithm for Fairness-aware Machine Learning
This paper proposes a two-stage algorithm (2SDR) for fairness-aware machine learning that mitigates disparate impact in both classification and regression tasks by using instrumental variable-like preprocessing to decouple predictions from sensitive attributes. The method achieves fairness under the 80%-rule across synthetic and real-world datasets while supporting numerical sensitive attributes and explanatory variables, outperforming existing approaches in flexibility and fairness compliance.
Algorithmic decision making process now affects many aspects of our lives. Standard tools for machine learning, such as classification and regression, are subject to the bias in data, and thus direct application of such off-the-shelf tools could lead to a specific group being unfairly discriminated. Removing sensitive attributes of data does not solve this problem because a extit{disparate impact} can arise when non-sensitive attributes and sensitive attributes are correlated. Here, we study a fair machine learning algorithm that avoids such a disparate impact when making a decision. Inspired by the two-stage least squares method that is widely used in the field of economics, we propose a two-stage algorithm that removes bias in the training data. The proposed algorithm is conceptually simple. Unlike most of existing fair algorithms that are designed for classification tasks, the proposed method is able to (i) deal with regression tasks, (ii) combine explanatory attributes to remove reverse discrimination, and (iii) deal with numerical sensitive attributes. The performance and fairness of the proposed algorithm are evaluated in simulations with synthetic and real-world datasets.
Motivation & Objective
- To address disparate impact in algorithmic decision-making, especially when sensitive attributes are correlated with non-sensitive features.
- To develop a fair machine learning method that works for both classification and regression tasks, unlike most existing methods focused only on classification.
- To enable handling of numerical (continuous) sensitive attributes, such as age, which are common in real-world applications.
- To incorporate explanatory attributes (e.g., working hours) to prevent reverse discrimination while maintaining fairness.
- To design a method that lies between data preprocessing and end-to-end fair learning, minimizing transformation while ensuring fairness.
Proposed method
- The algorithm uses a two-stage approach inspired by two-stage least squares (2SLS) in econometrics.
- In the first stage, it regresses the target variable on sensitive attributes to extract residuals that are uncorrelated with sensitive attributes.
- In the second stage, it trains a linear model (e.g., ridge regression or logistic regression) on the residuals from the first stage, using explanatory variables to predict the outcome.
- The method ensures that the final prediction is uncorrelated with sensitive attributes (Theorem 1 and 2), thus reducing disparate impact.
- It supports numerical sensitive attributes and can be combined with generalized linear models in the second stage.
- An ordinal transformation (quantile-based) is applied to non-binary attributes to reduce correlation with sensitive attributes, though it slightly reduces accuracy.
Experimental results
Research questions
- RQ1Can a two-stage algorithm effectively reduce disparate impact in both classification and regression tasks?
- RQ2How does the method perform when sensitive attributes are numerical (e.g., age) rather than categorical?
- RQ3Can the inclusion of explanatory attributes prevent reverse discrimination while maintaining fairness?
- RQ4Does the two-stage design outperform existing preprocessing and post-processing fairness methods in terms of fairness and accuracy?
- RQ5How does the use of non-linear models in the second stage affect fairness and performance?
Key findings
- The 2SDR algorithm achieved compliance with the 80%-rule on both the Adult and C&C datasets across multiple evaluation metrics.
- In the Adult dataset, 2SDR achieved a p%-rule of 0.83 in classification (without ordinal transformation), exceeding the 80% threshold.
- For regression on the C&C dataset, 2SDR reduced mean deviation (MD) to 0.02 and RMSE to 0.18, showing strong fairness and performance.
- Using logistic regression in the second stage reduced the p%-rule to 0.72 on the Adult dataset, indicating that non-linear models can reintroduce bias.
- The ordinal transformation reduced accuracy slightly (e.g., 0.82 vs. 0.83 in 2SDR), but improved fairness by reducing correlation between attributes and sensitive variables.
- Non-linear second-stage models (e.g., SVM, GBM) led to significantly worse fairness than linear models, suggesting linearity is crucial for maintaining uncorrelated predictions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.