AI Explainability 360 (AIX360) is an open-source Python toolkit of interpretability algorithms and evaluation metrics that explains datasets, machine learning models and individual predictions in different ways for different audiences. In Explainable AI, it stands out for combining directly interpretable models, post hoc explainers and explanation quality metrics in one library within the broader field of artificial intelligence.
IBM Research released the toolkit in 2019 and later contributed it to the LF AI & Data Foundation. Its guiding principle is that no single explanation method fits every stakeholder: a data scientist, a loan officer and an affected customer each need a different kind of answer.
How AIX360 organizes explanation methods
AIX360 is built around a taxonomy of explanation types that helps users pick the right algorithm by answering a short series of questions. The first question is whether to explain the data or the model; later questions separate directly interpretable models from post hoc explanations, and local explanations of one prediction from global explanations of overall behavior.
This decision tree is the toolkit’s most distinctive contribution. Instead of offering one dominant method, it treats explainability as a matching problem between a question and a technique, which reflects how practitioners actually work.
| Branch | Question it answers | Typical audience |
|---|---|---|
| Data explanation | Which examples or features characterize the dataset | Data scientists, auditors |
| Directly interpretable model | How does the whole model decide | Regulators, domain experts |
| Global post hoc explanation | What does a black-box model learn overall | Model developers |
| Local post hoc explanation | Why did the model make this prediction | Affected users, case officers |
| Explanation metrics | How faithful is a given explanation | Validation teams |
Key algorithms in the toolkit
The library bundles algorithms that originated in peer-reviewed research, many of them from IBM, alongside wrappers for widely used methods such as LIME and SHAP. The table summarizes the best-known components and what each produces.
| Algorithm | Explanation type | Output |
|---|---|---|
| ProtoDash | Data or local, example-based | Weighted prototypes that summarize a dataset or case |
| Boolean Decision Rules (BRCG) | Directly interpretable, global | Compact rule set in disjunctive normal form |
| Generalized Linear Rule Models (GLRM) | Directly interpretable, global | Linear model over learned rule features |
| Contrastive Explanations Method (CEM) | Local post hoc | Pertinent positives and pertinent negatives |
| DIP-VAE | Data, representation-based | Disentangled latent features |
| TED | Directly interpretable, local | Predictions paired with explanations learned from examples |
| ProfWeight | Global post hoc | Simple model trained with weights from a complex one |
The Contrastive Explanations Method deserves special attention. It explains a prediction by naming the features that are minimally sufficient for the decision (pertinent positives) and the features whose absence is decisive (pertinent negatives), which mirrors how people naturally justify choices by contrast.
The rule-based methods follow a different philosophy. BRCG uses column generation, an optimization technique from operations research, to search a very large space of candidate rules and select a small set that balances accuracy against rule count and length. The result is a model that a domain expert can read line by line, which makes it a strong candidate wherever auditability outweighs a small accuracy loss.
ProtoDash, in turn, selects weighted prototypes by approximately minimizing the distance between the distribution of chosen examples and the distribution of the target data. Because the output consists of real records rather than synthetic scores, reviewers can inspect concrete cases instead of abstract feature weights.
Measuring explanation quality
AIX360 includes quantitative metrics because an attractive explanation can still be wrong. The faithfulness metric correlates feature importance scores with the drop in model confidence when each feature is removed, while the monotonicity metric checks whether adding features in order of importance steadily increases confidence.
These metrics address a known weakness of post hoc methods: they approximate a model and may diverge from its true reasoning. Measuring faithfulness does not prove an explanation correct, but it gives teams a repeatable sanity check before an explanation reaches decision makers.
AIX360 compared with other explainability libraries
AIX360 is a breadth-first research toolkit, while several neighboring libraries specialize in a single model family or a single interface. The comparison below highlights the differences.
| Library | Focus | Strength |
|---|---|---|
| AIX360 | Taxonomy-driven mix of methods | Contrastive, prototype and rule-based explanations |
| SHAP | Shapley value attributions | Consistent additive feature importance |
| InterpretML | Glass-box models and dashboards | Explainable boosting machine |
| Captum | PyTorch model attribution | Gradient methods for deep networks |
| What-If Tool | Interactive visual probing | Counterfactual exploration without code |
IBM published AIX360 as part of a family of trustworthy AI toolkits that also includes AI Fairness 360, the Adversarial Robustness Toolbox and Uncertainty Quantification 360. Teams often combine them because explainability, fairness and robustness are evaluated together in governance reviews.
Practical use and limitations
The toolkit is most useful when a team needs to justify decisions in regulated settings such as credit, insurance or healthcare, where both global transparency and case-level reasons are expected. The following table links common needs to suitable methods.
| Need | Suggested method | Reason |
|---|---|---|
| Auditable model for a regulator | BRCG or GLRM | The model itself is readable |
| Reason for a single denied application | CEM | States what is present and what is missing |
| Representative cases for a review | ProtoDash | Shows real examples instead of scores |
| Check an existing explainer | Faithfulness metric | Tests agreement with model behavior |
- Research-grade code: some algorithms are less optimized than dedicated production libraries.
- Dependency pinning: older modules rely on specific TensorFlow or PyTorch versions, so installation by algorithm group is advisable.
- Rule models trade accuracy for readability: on complex data they may score below gradient-boosted ensembles.
- Explanations are not causal proof: they describe model behavior, not real-world causes.
The simple explanation
AI Explainability 360 is a toolbox for asking an AI system why. Different people need different answers. An engineer wants to know how the whole model works. A customer only wants to know why their own request was refused.
The toolbox holds many tools for these different questions. Some tools show similar past cases. Some write simple rules. Some say what would have changed the result. It also includes tests that check whether an explanation is honest about what the model really does.
How it is used in practice
A mid-sized bank uses a gradient-boosted model to score small-business loan applications. Its model risk team must show reviewers how the model behaves and must give each rejected applicant a clear reason. The team trains a Boolean rule set with BRCG as a transparent benchmark and finds that it reaches accuracy within about two percentage points of the complex model.
For individual decisions, the team applies CEM to each rejected application. One explanation states that the applicant’s debt ratio supports approval, but the missing twelve months of trading history is the pertinent negative that drives the denial. Loan officers also review ProtoDash prototypes to see typical approved and rejected cases. The faithfulness metric is computed on a monthly sample, and the result is clearer adverse action notices and a smoother model validation review.