Achieving Fairness through Adversarial Learning: an Application to Recidivism Prediction

Christina Wadsworth, Francesca Vera, Chris PiecharXiv 2018

Introduction

Algorithmic risk assessment tools, such as COMPAS (Correctional Offender Management Profiling for Alternative Sanctions), are increasingly utilized within the U.S. criminal justice system to inform sentencing and supervision. However, these tools often operate as "black boxes" and have been criticized for perpetuating systemic biases. A prominent 2016 investigation by ProPublica demonstrated that COMPAS was significantly biased against Black inmates, who were nearly twice as likely as white inmates to be incorrectly labeled "high risk."

The fundamental challenge lies in the fact that removing "race" as an input feature is insufficient; other variables like age or prior arrests often serve as proxies for race due to systemic societal factors. This research presents an adversarially-trained neural network designed to predict recidivism while actively "unlearning" such racial biases, achieving higher accuracy than COMPAS while drastically reducing disparate treatment.

Methodology: Adversarial Learning

To address the problem of proxy variables, the authors implement an Adversarial Learning framework. This approach involves a minimax game between two competing neural networks:

  1. The Predictor ($N$): A multi-layer network that processes inmate data to estimate the probability of recidivism.
  2. The Adversary ($A$): A separate network that attempts to infer an inmate's race based solely on the output (logit) of the Predictor.
The adversarial training architecture, showing the predictor network and the adversary network competing to minimize/maximize demographic loss.

The Predictor is trained to minimize its own prediction error ($L_y$) while simultaneously maximizing the error of the Adversary ($L_d$). By penalizing the Predictor whenever the Adversary successfully identifies race, the model is forced to rely on features that are predictive of recidivism but mathematically independent of protected demographic traits. The study specifically explored models optimized for Demographic Parity (equalizing "high risk" proportions) and Equality of Odds (equalizing error rates across groups).

Experimental Setup

The model was evaluated using the ProPublica Broward County dataset, which includes criminal records and COMPAS scores for over 10,000 individuals. The analysis focused on a subset of 8,230 individuals for training and 2,213 for testing, specifically comparing white (41%) and Black (59%) inmates to maintain consistency with existing fairness literature.

Results and Discussion

The adversarial model demonstrated superior performance compared to the industry-standard COMPAS tool across nearly every metric. Notably, the "gap" in false positive and false negative rates between racial groups was nearly eliminated.

Metric COMPAS Adversarial Model
Accuracy (AUC) 0.66 0.70
High Risk Gap 0.18 0.02
False Negative Gap 0.22 0.02
False Positive Gap 0.17 0.01

Holistic Feature Reliance

A key insight from the study is that the adversarial model achieves fairness by distributing its "attention" more holistically across features. While standard models often over-rely on a few "heavy hitters" like age and number of priors—which are highly correlated with race—the adversarial model finds more complex, less biased patterns.

Comparison of conditional probability curves for Black and white inmates between (a) the proposed adversarial model and (b) the COMPAS baseline. The adversarial model shows significantly closer alignment between groups.

The Calibration Trade-off

Despite its success in parity and equality of odds, the adversarial model faced a slight trade-off in calibration. COMPAS remains slightly better at ensuring that a specific risk score (e.g., 70%) corresponds to the same real-world frequency of re-offending for all groups. This underscores a known mathematical limitation: it is often impossible to satisfy all fairness definitions simultaneously.

Conclusion

This work demonstrates that a relatively simple adversarial setup can effectively neutralize racial bias in high-stakes predictive modeling. By outperforming COMPAS in both accuracy and fairness, the adversarial model provides a compelling alternative to proprietary "black box" algorithms. Future research will focus on improving calibration at specific thresholds and testing the model's robustness across diverse jurisdictions.

Summary updated

BibTeX
@misc{wadsworth2018achieving,
  author = {Christina Wadsworth and Francesca Vera and Chris Piech},
  title = {{Achieving Fairness through Adversarial Learning: an Application to Recidivism Prediction}},
  year = {2018},
  eprint = {1807.00199},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.00199},
}
Figure