Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

An open-source Python and R toolkit for measuring bias in datasets and models and for trying out algorithms that reduce it before, during or after training.

Full nameAI Fairness 360 (AIF360)
Websitehttps://github.com/Trusted-AI/AIF360
Source codehttps://github.com/Trusted-AI/AIF360
Developed byIBM Research, LF AI & Data Foundation (2018)
TypeSoftware library: Python and R package
Lifecycle phaseDevelopment, Evaluation
FUTURE-AIFairness
ForAI developers, Researchers
FacilitationNo facilitator needed
Skills neededPython or R, basic machine learning
CostFree
LanguagesEnglish
MaturityEstablished
LicenceApache-2.0

What it is

AIF360 bundles a large set of group and individual fairness metrics with more than ten bias mitigation algorithms, such as reweighing, adversarial debiasing and reject option classification. You wrap your data in its dataset classes, compute metrics per protected attribute, and then compare mitigation methods at the pre-processing, in-processing or post-processing stage. IBM Research created it in 2018 and moved it to the LF AI & Data Foundation in 2020. Development has slowed (the latest release, v0.6.1, dates from April 2024), but the repository still receives occasional fixes.

In healthcare

In clinical AI you can use AIF360 to check whether labels, features or model predictions differ across groups such as sex, age band or ethnicity, and to test whether a mitigation step narrows that gap. Treat its metrics as a starting point: you still have to decide which disparities are clinically meaningful and which reflect real differences in disease prevalence.

Where to use it in The ELSA Way

References

Also listed in: RAAIT toolbox.

References
  1. Bellamy, R. K. E., Dey, K., Hind, M., Hoffman, S. C., Houde, S., Kannan, K., Lohia, P., Martino, J., Mehta, S., Mojsilović, A., Nagar, S., Ramamurthy, K. N., Richards, J., Saha, D., Sattigeri, P., Singh, M., Varshney, K. R., & Zhang, Y. (2019). AI Fairness 360: An extensible toolkit for detecting and mitigating algorithmic bias. IBM Journal of Research and Development, 63(4/5), 4:1-4:15. 10.1147/jrd.2019.2942287