AI Fairness 360 (AIF360) is an open-source toolkit by IBM that provides a comprehensive suite of fairness metrics to detect bias and bias mitigation algorithms to reduce it across the AI application lifecycle. It integrates over 70 fairness metrics and 10 state-of-the-art mitigation algorithms, supporting pre-processing, in-processing, and post-processing interventions for both classification and regression tasks.
Glossary
AI Fairness 360

What is AI Fairness 360?
An extensible open-source toolkit designed to help developers detect, understand, and mitigate algorithmic bias throughout the machine learning lifecycle.
The toolkit includes an interactive web experience and detailed guidance to help non-experts navigate complex fairness concepts. It standardizes the evaluation workflow by providing a common dataset structure, enabling practitioners to benchmark disparate impact, equalized odds, and other metrics across different models and mitigation strategies within a unified Python framework.
Key Features of AI Fairness 360
AI Fairness 360 (AIF360) is an extensible open-source toolkit that provides a unified interface for bias detection and mitigation across the machine learning lifecycle.
Comprehensive Bias Metrics
AIF360 provides a unified interface for over 70 fairness metrics, enabling rigorous quantitative evaluation of model outputs. These metrics span both group fairness and individual fairness definitions.
- Group Metrics: Includes Statistical Parity Difference, Disparate Impact, Equal Opportunity Difference, and Average Odds Difference.
- Individual Metrics: Includes Consistency and Generalized Entropy Index.
- Output: Each metric returns a scalar value indicating the magnitude and direction of bias, allowing teams to set precise governance thresholds.
Bias Mitigation Algorithms
The toolkit ships with 10+ state-of-the-art mitigation algorithms that can be applied at different stages of the AI pipeline, giving practitioners flexibility based on where they have access.
- Pre-processing: Reweighing, Optimized Preprocessing, and Disparate Impact Remover transform the training data to remove bias before model training.
- In-processing: Adversarial Debiasing and Prejudice Remover add fairness constraints directly into the model's objective function during training.
- Post-processing: Equalized Odds Postprocessing and Calibrated Equalized Odds adjust a trained model's predictions to satisfy fairness criteria without retraining.
Structured Dataset Handling
AIF360 introduces a standardized BinaryLabelDataset class that wraps pandas DataFrames with explicit metadata about favorable labels, unfavorable labels, and protected attribute maps. This structured approach prevents common errors in fairness evaluation.
- Encodes the semantic meaning of each feature (e.g., which outcome is 'good').
- Automatically handles the mapping of categorical protected attributes to numerical indices.
- Provides built-in splitting and validation utilities to ensure train/test leakage does not corrupt fairness evaluation.
Interactive Bias Detection
The toolkit includes an interactive web experience that allows non-technical stakeholders to explore fairness concepts without writing code. Users can upload a dataset, select protected attributes, and visualize bias metrics in real time.
- Provides visual explanations of Disparate Impact and Statistical Parity.
- Enables side-by-side comparison of multiple mitigation strategies.
- Generates exportable fairness reports suitable for compliance documentation and Algorithmic Impact Assessments.
Extensible Architecture
AIF360 is built on a modular, class-based architecture that allows researchers and engineers to extend the toolkit with custom metrics and algorithms. All components inherit from a common BaseEstimator interface.
- New fairness metrics can be added by implementing a simple
explainmethod. - Custom mitigation algorithms integrate seamlessly with the existing evaluation pipeline.
- The toolkit is compatible with popular ML frameworks including scikit-learn, TensorFlow, and PyTorch, enabling integration into existing MLOps workflows.
Tutorials and Benchmark Datasets
AIF360 ships with a curated collection of real-world benchmark datasets that exhibit known fairness issues, enabling reproducible research and education.
- Adult Census Income: Predicts income levels with documented gender and race biases.
- COMPAS Recidivism: Criminal risk assessment data with racial bias concerns.
- German Credit: Credit scoring data with age and gender disparities.
- Each dataset includes detailed documentation of the protected attributes, the fairness challenges present, and baseline model performance for comparison.
Frequently Asked Questions
Explore common questions about IBM's open-source toolkit for detecting and mitigating unwanted bias in machine learning models throughout the AI application lifecycle.
AI Fairness 360 (AIF360) is an extensible, open-source toolkit developed by IBM Research that provides a comprehensive suite of fairness metrics to detect bias and bias mitigation algorithms to remediate it across the machine learning lifecycle. The toolkit operates by first loading a structured dataset with defined sensitive attributes (e.g., race, age, gender) and favorable label outcomes. Users can then compute over 70 fairness metrics—such as statistical parity difference or average odds difference—to quantify bias in either the training data or model predictions. If bias is detected, AIF360 offers a library of mitigation algorithms organized into three categories: pre-processing (transforming the training data), in-processing (adding fairness constraints during model training), and post-processing (adjusting model outputs). The toolkit includes interactive tutorials, guided web demonstrations, and a standardized API that allows data scientists to systematically compare the fairness-utility trade-off of different interventions before deploying a model into production.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
Core concepts and metrics that form the operational backbone of the AI Fairness 360 toolkit, enabling systematic bias detection and mitigation.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us