What is Explainable AI?
Explainable AI comprises methods for explaining an AI system's results and workings, weighing each explanation's faithfulness, audience, and limits of use.
Explainable AI (XAI) is a set of methods that help people understand the results or operation of an artificial intelligence system. An explanation may describe the factors associated with an individual prediction or give a broader view of the model, the program that produces predictions. Which kind fits depends on the purpose: a customer may want to understand a rejection, while a developer looks for errors in the data or the system's behavior. NIST distinguishes how understandable an explanation is from how faithfully it reflects the actual process and from the accuracy of the prediction. A clear explanation can therefore misrepresent how the system works, and a correct prediction can have a wrong explanation. Explainability must be assessed alongside limits of use and other checks: by itself it does not establish that a decision is fair, reliable, or legally compliant.
See also: Responsible AIResponsible AI is the set of principles and practices for building and using AI systems in ways that account for fairness, safety, and other effects on people.
How models are explained
An inherently interpretable model, such as a small decision tree, lets a reviewer follow the rules leading to a result. A post hoc explanation, by contrast, uses a separate method to describe a model even when its internal rules are hard to interpret. The two approaches should be compared case by case: NIST reports that some sources see a trade-off between accuracy and interpretability, while others argue that in many cases an interpretable model loses no accuracy.
LIME fits an interpretable model around an individual prediction, which yields a local description, not a guarantee about behavior in every case. SHAP assigns an importance value to each factor in a prediction. Both help examine the output, but neither proves that changing a factor alone would cause a different outcome in the real world.
An enterprise example
A bank is evaluating a system that flags loan applications for further review. Before buying, it asks the vendor for a test case showing what information went into the prediction, which factors appear important, and whether the explanation describes the actual model or an approximation. The bank's reviewer checks the explanation against the available data and flags any anomalies. The applicant also needs a plain-language account of the system's role in the process; a technical chart meant for developers does not serve that purpose.
Why it matters for decision makers
An RFP or a contract should specify the intended audiences, use cases, explanation method, limits, and evidence of faithfulness required from the vendor. The organization should decide who checks explanations and how to handle cases outside the intended conditions, and who handles them. Explaining a prediction does not replace reviewing the entire decision process or testing predictive accuracy. On legal duties, Articles 13, 14, and 15 of the GDPR require, for the automated decision-making referred to in Article 22(1) and (4), meaningful information about the logic involved and the significance and envisaged consequences for the data subject. The entry on GDPR and AI explains that framework. Responsible AI also covers other checks, including safety and fairness.
This entry is informational and does not constitute legal advice.
Frequently asked questions
Related terms
- Responsible AIResponsible AI is the set of principles and practices for building and using AI systems in ways that account for fairness, safety, and other effects on people.
- Mechanistic interpretabilityMechanistic interpretability reverse-engineers the concepts and circuits a neural network computes with: today it serves research, not regulatory compliance.
- GDPR and Artificial IntelligenceGDPR and artificial intelligence: personal data rules also apply to training and using AI systems, and duties must be assessed for each processing activity.
- Decision treesA decision tree is a model that learns a sequence of rules from data to assign a category or predict a numerical value for a case it has not seen before.
- Confidence CalibrationHow well an AI model's stated confidence actually matches its real probability of being right.
If it is a risk for your company, I will tell you where to start without selling you fear.
See security and compliance