What is explainable AI?
Explainable AI is the set of methods that show, in a way people can understand, which factors influenced a model's particular output and how much, or how the model behaves overall.
It differs from AI interpretability in approach: interpretability means the model itself is understandable, such as a decision tree, while explainable AI often produces explanations for complex models from outside. An explanation does not show the model's inner workings completely; it is an approximation. Citations in RAG show an answer's source but do not explain the model's decision process.
- Topic
- Responsible AI and governance
- Also known as
- XAI, explainability
- Origin
- 2016, DARPA XAI programme
How explainable AI works
- Local explanations cover a single decision: methods such as SHapley Additive exPlanations and Local Interpretable Model-agnostic Explanations compute each input's contribution to it.
- Global explanations show overall behaviour through feature importance and model probing.
- Counterfactual explanations show how inputs would need to change for a different result.
- Explanations are tailored to the audience: data scientists, auditors and affected people need different levels of detail.
In more detail
Mathematical and reliability limits of SHAP and LIME
Post-hoc tools such as LIME and SHAP face notable technical limits: correlated features can split or distort attribution weights, perturbation-based methods can evaluate unrealistic off-manifold data combinations and explanations can be unstable across small input changes or even adversarially manipulated to hide discriminatory proxies ('fairwashing').
Unfaithful chain of thought and mechanistic interpretability
In large language and reasoning models, generated explanations or Chain-of-Thought traces are often plausible rather than faithful, meaning the text sounds logical yet does not reflect the internal weights or cues that actually drove the output. By 2026, enterprise AI governance increasingly pairs output-level checks with mechanistic interpretability techniques such as sparse autoencoders (SAEs) and activation probing to audit internal concepts directly.
Actionable recourse
For affected individuals such as rejected credit applicants, raw feature attributions rarely explain what they can change to receive a positive outcome. Actionable counterfactual recourse constrains suggested changes to feasible, mutable factors, for instance adjusting debt-to-income ratio rather than suggesting impossible changes to age or historical events.
Inherently interpretable models and historical context
While DARPA's 2016 XAI programme popularised the term for modern deep learning, explainability concepts trace back to 1970s rule-based systems and van Lent et al.'s 2004 work. In high-stakes tabular enterprise tasks, Cynthia Rudin's research demonstrates that inherently interpretable models (such as generalised additive models or sparse scoring systems) frequently match black-box accuracy without any post-hoc approximation error.
Commonly confused terms
| Term | How it differs |
|---|---|
| AI interpretability | Interpretability refers to models whose internal mechanics are inherently transparent to humans (like sparse linear models or shallow decision trees), whereas explainable AI (XAI) often applies external post-hoc approximation methods to opaque black-box models. |
| Faithfulness | Faithfulness measures whether an explanation accurately reflects the model's true internal computation, whereas plausibility is merely whether the explanation sounds convincing to humans (a common pitfall with LLM Chain-of-Thought). |
| RAG citations and grounding | RAG citations identify the source documents retrieved to support an answer, whereas XAI attributes how internal model features or weights drove a prediction or classification decision. |
Why explainable AI matters for on-premises AI
Credit, insurance, hiring and public sector decisions require rationale for internal audit, risk committees and regulators; giving affected people an understandable explanation is also often expected. Explanations also help reveal when a model relies on wrong or biased factors. Explainability does not always cost accuracy; on structured enterprise data inherently interpretable models often perform well enough. Explanation methods for large language models are more limited.
A bank's credit risk model shows the credit officer which factors drove a rejection using SHAP values; the officer can pass the reasoning to the customer in plain language.
Common questions
Does explainability always reduce model accuracy?
No. On structured data inherently interpretable models are often enough. For complex models, external explanation methods are used.
Do SHAP or LIME show a model's real logic?
Not exactly. They approximate each input's contribution to a decision; useful, but not to be treated as definitive rationale without validation.
Related terms
- AI interpretability
- SHapley Additive exPlanations
- Local Interpretable Model-agnostic Explanations
- Counterfactual explanation
- Right to explanation for AI decisions
- Black-box model
- Citation
Sources
- Ribeiro, Singh and Guestrin, "Why Should I Trust You?": Explaining the Predictions of Any Classifier, 2016
- Lundberg and Lee, A Unified Approach to Interpreting Model Predictions, 2017
- DARPA, Explainable Artificial Intelligence (XAI)
In the glossary: Glossary, D to L