[Paper Review] Explainability for fair machine learning
This paper introduces a Shapley value-based framework to explain fairness in machine learning by attributing model unfairness to individual features, ensuring robustness against manipulation. It further proposes a meta-algorithm that applies fairness interventions to a perturbation of the original model, preserving performance while enhancing flexibility and training stability.
As the decisions made or influenced by machine learning models increasingly impact our lives, it is crucial to detect, understand, and mitigate unfairness. But even simply determining what "unfairness" should mean in a given context is non-trivial: there are many competing definitions, and choosing between them often requires a deep understanding of the underlying task. It is thus tempting to use model explainability to gain insights into model fairness, however existing explainability tools do not reliably indicate whether a model is indeed fair. In this work we present a new approach to explaining fairness in machine learning, based on the Shapley value paradigm. Our fairness explanations attribute a model's overall unfairness to individual input features, even in cases where the model does not operate on sensitive attributes directly. Moreover, motivated by the linearity of Shapley explainability, we propose a meta algorithm for applying existing training-time fairness interventions, wherein one trains a perturbation to the original model, rather than a new model entirely. By explaining the original model, the perturbation, and the fair-corrected model, we gain insight into the accuracy-fairness trade-off that is being made by the intervention. We further show that this meta algorithm enjoys both flexibility and stability benefits with no loss in performance.
Motivation & Objective
- To address the challenge of explaining unfairness in machine learning models, especially when standard explainability tools fail to reliably detect or quantify bias.
- To overcome the limitations of existing feature importance methods that can be manipulated to hide the role of protected attributes in unfair decisions.
- To provide a unified, axiomatic explanation framework for multiple fairness definitions, including demographic parity and equalised odds.
- To develop a meta-algorithm that applies training-time fairness interventions not to a new model, but to a perturbation of the original model, enabling comparative analysis of fairness and accuracy trade-offs.
- To improve training stability and model flexibility without sacrificing performance, particularly in adversarial fairness training settings.
Proposed method
- Adapts the Shapley value paradigm to fairness by defining fairness Shapley values that attribute the total unfairness of a model to individual input features.
- Uses the linearity of Shapley values to ensure that the sum of feature-level fairness contributions equals the overall fairness metric, preventing manipulation.
- Proposes a meta-algorithm that trains a fairness-imposing perturbation on an existing model using standard training-time fairness algorithms, rather than retraining the entire model.
- Enables explanation of three models: the original unfair model, the perturbation, and the fair-corrected model, to analyze fairness-accuracy trade-offs.
- Maintains model-agnosticism by allowing the original model to be any black-box or complex model, while only the perturbation needs to be trainable.
- Anchors the fair-corrected model near the original model’s local accuracy optimum, improving training stability under conflicting accuracy-fairness objectives.
Experimental results
Research questions
- RQ1Can Shapley values be effectively adapted to explain unfairness in machine learning models, even when the protected attribute is not directly used in predictions?
- RQ2How can fairness explanations be made robust against manipulation, especially when standard feature importance methods fail to reveal the true impact of protected attributes?
- RQ3To what extent can a perturbation-based meta-algorithm preserve performance while improving flexibility and stability in fairness interventions?
- RQ4How does the proposed method compare to existing training-time fairness algorithms in terms of training stability and convergence behavior?
- RQ5Can the same fairness explanation framework be applied consistently across multiple fairness definitions, such as demographic parity and equalised odds?
Key findings
- The fairness Shapley values provide a robust, manipulation-resistant explanation of unfairness, as their sum always equals the total fairness metric, preventing obfuscation.
- The perturbation-based meta-algorithm maintains the same performance as standard training-time fairness methods while improving training stability, especially under high fairness constraints.
- In adversarial training settings, the perturbation method avoids the collapse to constant predictors seen in methods like Zhang et al. (2018), which often fail under strict fairness thresholds.
- The method exhibits lower variance and higher mean accuracy across hyperparameter settings, as shown in violin plots of accuracy binned by fairness level.
- The approach enables comparative analysis across three models—original, perturbation, and fair-corrected—offering new insights into the fairness-accuracy trade-off.
- The framework is flexible and model-agnostic, allowing application to models that are only available via inference or are non-differentiable, such as rule-based systems.
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.