AI Fairness 360 is an extensible library with fairness metrics, explanations, and bias mitigation algorithms for datasets and machine learning models.
Overview
AI Fairness 360 packages techniques from the research community to detect and mitigate bias across the machine learning lifecycle. It is aimed at practitioners in domains such as finance, human capital management, healthcare, and education who need to test models and data for unfair treatment patterns.
The toolkit includes a broad set of group fairness metrics derived from selection and error rates, including rich subgroup fairness measures, plus sample distortion metrics. It also ships bias mitigation algorithms spanning preprocessing, in-processing, and post-processing stages, with guidance materials to help choose appropriate metrics and methods for a given scenario.
Packages are published for both Python and R. Python installs via pip with optional extras for specific algorithms that need additional dependencies such as TensorFlow or CVXPY. An interactive experience, tutorials, notebooks, and a full API reference are offered for learning-oriented exploration.
The project is designed for extension: contributors can add new metrics, explainers, and debiasing algorithms. Supported configurations list macOS, Ubuntu, and Windows with recent Python releases.
Key features
- Dataset and model fairness metrics
- Documented metric explanations
- Multiple bias mitigation algorithms
- Rich subgroup fairness support
- Python and R packages
- Interactive introduction and tutorials
- Optional algorithm dependency extras
- Extensible metrics and mitigators
Use cases
- Auditing models for disparate impact
- Comparing mitigation strategies on tabular data
- Teaching fairness concepts with notebooks
- Finance or HR model compliance checks
- Research on new fairness algorithms