[Paper Review] Repairing without Retraining: Avoiding Disparate Impact with Counterfactual Distributions
This paper proposes a method to mitigate disparate impact in black-box machine learning classifiers by learning a counterfactual input distribution for the disadvantaged group, using descent on influence functions to minimize fairness metrics without retraining. The approach enables pre-processing that improves fairness with minimal accuracy drop, validated on real-world datasets with significant disparity reduction.
When the performance of a machine learning model varies over groups defined by sensitive attributes (e.g., gender or ethnicity), the performance disparity can be expressed in terms of the probability distributions of the input and output variables over each group. In this paper, we exploit this fact to reduce the disparate impact of a fixed classification model over a population of interest. Given a black-box classifier, we aim to eliminate the performance gap by perturbing the distribution of input variables for the disadvantaged group. We refer to the perturbed distribution as a counterfactual distribution, and characterize its properties for common fairness criteria. We introduce a descent algorithm to learn a counterfactual distribution from data. We then discuss how the estimated distribution can be used to build a data preprocessor that can reduce disparate impact without training a new model. We validate our approach through experiments on real-world datasets, showing that it can repair different forms of disparity without a significant drop in accuracy.
Motivation & Objective
- To address disparate impact in deployed machine learning models when retraining is infeasible due to black-box access and data privacy constraints.
- To develop a method that repairs fairness by modifying only the input distribution of the disadvantaged group, not the model itself.
- To provide a theoretically grounded, data-driven approach to learn counterfactual distributions that minimize fairness disparities.
- To enable pre-processing that improves outcomes for the disadvantaged group while preserving model accuracy.
- To support ethical and legal use of sensitive attributes in fairness-critical applications like healthcare and lending.
Proposed method
- The method defines a counterfactual distribution as a perturbation of the input distribution for the disadvantaged group that minimizes a fairness metric (e.g., FPR, DA) under the fixed classifier.
- It formulates the optimization of the counterfactual distribution as a descent procedure in the simplex of probability distributions, using influence functions to compute gradients.
- Closed-form estimators for influence functions are derived for key fairness criteria, enabling efficient computation from empirical data.
- The approach uses empirical distributions from training data to estimate gradients and iteratively refine the counterfactual distribution.
- A preprocessor is constructed from the estimated counterfactual distribution to transform inputs from the disadvantaged group before inference.
- The method is validated via descent on fairness metrics (e.g., FPR, DA) using real-world datasets and synthetic experiments.
Experimental results
Research questions
- RQ1Can a counterfactual input distribution be learned to reduce disparate impact in a black-box classifier without retraining?
- RQ2How can influence functions be adapted to compute gradients in the space of probability distributions for fairness optimization?
- RQ3Can pre-processing based on a counterfactual distribution achieve fairness improvements while preserving model accuracy?
- RQ4What is the statistical convergence behavior of the estimated counterfactual distribution under sampling uncertainty?
- RQ5Does the method outperform proxy variable removal when joint proxies exist?
Key findings
- The descent procedure successfully reduced the false positive rate (FPR) from 29.1% to 4.1% in synthetic experiments, demonstrating strong fairness improvement.
- In a joint proxy scenario, removing a single proxy variable (X₁) increased disparity from 14.0% to 24.8%, showing the limitations of univariate removal.
- Applying the proposed preprocessor reduced the disparity metric DA₀ from 14.0% to 0.0% in the joint proxy experiment, confirming effectiveness.
- The method maintains high model accuracy while repairing fairness, as shown in real-world dataset validations.
- Empirical convergence bounds show that the estimated influence functions and fairness metrics are consistent under sampling, with error rates scaling as O(1/√n).
- The counterfactual distribution is not unique, but the method converges to a solution that minimizes the chosen fairness metric effectively.
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.