Meta Fair Classifier
Description
The meta fair classifier is a general-purpose training algorithm for fair classification. The user chooses a fairness metric, such as the statistical rate (each group's share of favourable outcomes) or the false discovery rate (the share of positive predictions that are wrong), and a target between 0 and 1 for how close to equal the groups' values must be. From labelled training examples that include the protected attribute, the algorithm fits a model of the data, solves a series of constrained optimisation problems, and returns the most accurate classifier that meets the target. It trains a new classifier rather than adjusting an existing one. The original paper proves the result comes close to the best classifier that meets the target, up to the error in the fitted model of the data.
Example Use Cases
Fairness
A recruitment platform trains a shortlisting classifier with a statistical-rate target of 0.8, so that the selection rate for any gender group is at least 80% of the highest group's rate, and measures how much accuracy it gives up to reach that target.
A probation service building a recidivism risk classifier constrains false discovery rate parity, so that among people flagged as high risk, the share who do not go on to reoffend is similar across racial groups.
A hospital building a classifier for heart conditions constrains false discovery rate parity, so that false alarms, which send people for unnecessary medical attention, do not fall more heavily on women than on men.
Limitations
- It is a self-contained learner, not a wrapper. It cannot adjust a model you already run, and the paper lists extension to other classifier types as future work. It also needs the protected attribute for every training example, and teams must be willing to replace their model with the one it produces.
- The AIF360 implementation supports only statistical rate and false discovery rate, and raises an error for any other metric. The paper's framework covers more, but other criteria, such as equalised odds, mean extra implementation work or choosing a different technique.
- The guarantee depends on how well the fitted model of the data matches the real distribution, and the paper's bound carries error terms for any mismatch. In its experiments, a simple fitted model gave lower accuracy than competing methods at the same fairness level.
- Results can vary from run to run. In a credit-scoring comparison, repeated runs sometimes missed the fairness target, which made averaging the results unusable.
- The method solves a separate constrained optimisation problem for each value on a grid set by the tolerance, and the number multiplies for each additional fairness metric constrained at once. Combining several criteria quickly makes training slow.
Resources
Research Papers
Classification with Fairness Constraints
Developing classification algorithms that are fair with respect to sensitive attributes of the data is an important problem due to the increased deployment of classification algorithms in societal contexts. Several recent works have focused on studying classification with respect to specific fairness metrics, modeled the corresponding fair classification problem as constrained optimization problems, and developed tailored algorithms to solve them. Despite this, there still remain important metrics for which there are no fair classifiers with theoretical guarantees; primarily because the resulting optimization problem is non-convex. The main contribution of this paper is a meta-algorithm for classification that can take as input a general class of fairness constraints with respect to multiple non-disjoint and multi-valued sensitive attributes, and which comes with provable guarantees. In particular, our algorithm can handle non-convex "linear fractional" constraints (which includes fairness constraints such as predictive parity) for which no prior algorithm was known. Key to our results is an algorithm for a family of classification problems with convex constraints along with a reduction from classification problems with linear fractional constraints to this family. Empirically, we observe that our algorithm is fast, can achieve near-perfect fairness with respect to various fairness metrics, and the loss in accuracy due to the imposed fairness constraints is often small.