AI Explainability 360

Also known as: AIX360

On this page 7

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.

BranchQuestion it answersTypical audience
Data explanationWhich examples or features characterize the datasetData scientists, auditors
Directly interpretable modelHow does the whole model decideRegulators, domain experts
Global post hoc explanationWhat does a black-box model learn overallModel developers
Local post hoc explanationWhy did the model make this predictionAffected users, case officers
Explanation metricsHow faithful is a given explanationValidation teams
Main branches of the AIX360 taxonomy

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.

AlgorithmExplanation typeOutput
ProtoDashData or local, example-basedWeighted prototypes that summarize a dataset or case
Boolean Decision Rules (BRCG)Directly interpretable, globalCompact rule set in disjunctive normal form
Generalized Linear Rule Models (GLRM)Directly interpretable, globalLinear model over learned rule features
Contrastive Explanations Method (CEM)Local post hocPertinent positives and pertinent negatives
DIP-VAEData, representation-basedDisentangled latent features
TEDDirectly interpretable, localPredictions paired with explanations learned from examples
ProfWeightGlobal post hocSimple model trained with weights from a complex one
Representative AIX360 algorithms

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.

LibraryFocusStrength
AIX360Taxonomy-driven mix of methodsContrastive, prototype and rule-based explanations
SHAPShapley value attributionsConsistent additive feature importance
InterpretMLGlass-box models and dashboardsExplainable boosting machine
CaptumPyTorch model attributionGradient methods for deep networks
What-If ToolInteractive visual probingCounterfactual exploration without code
AIX360 and related open-source explainability tools

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.

NeedSuggested methodReason
Auditable model for a regulatorBRCG or GLRMThe model itself is readable
Reason for a single denied applicationCEMStates what is present and what is missing
Representative cases for a reviewProtoDashShows real examples instead of scores
Check an existing explainerFaithfulness metricTests agreement with model behavior
Choosing an AIX360 method
  • 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.