Explainable AI
What is Explainable AI?
Explainable AI (XAI) is the set of methods and practices that help people understand how an AI system reaches its outputs, why it made a particular decision and how far to trust it.
Updated December 2026 · 2 min read
Explainable AI (XAI) is the set of methods and practices that help people understand why an AI system produced a particular result. For a credit applicant who is declined, a doctor reviewing an AI diagnosis or a regulator examining a bank's models, "the model said so" is not enough. Explainability methods help people understand how an AI system reaches its outputs, which factors mattered most in a specific decision and how far its results can be trusted.
The need grew as machine learning models became more accurate but less transparent. A traditional credit scorecard can be read line by line. A model combining thousands of decision trees, or a neural network with billions of parameters, cannot. Researchers developed widely used techniques such as LIME, introduced in 2016, and SHAP, introduced in 2017, to explain individual predictions, and the US research agency DARPA ran a major explainable AI research program from 2017.
Explainable AI techniques
- Interpretable models: using models that are understandable by design, such as linear models, decision trees or scorecards. Often the best choice for high-stakes decisions when they perform well enough.
- Feature importance: showing which inputs most influence a model's predictions overall.
- Local explanations: explaining a single decision, for example showing that an application was declined mainly because of high debt relative to income. SHAP and LIME are common methods.
- Counterfactual explanations: showing what would need to change for a different result, such as "if annual income were $8,000 higher, the application would be approved."
- Explanations for generative AI: citing sources for answers, showing retrieved documents or reasoning steps. These help users check outputs, though they do not fully explain how the model produced them.
Different audiences, different explanations
| Audience | What they need |
|---|---|
| Person affected | The main reasons for the decision, in plain language, and what they can do about it |
| Front-line user | Enough to judge whether to accept or override the output |
| Data scientist | Detailed feature effects to debug and improve the model |
| Validator or regulator | Evidence that the model works for sound reasons and treats groups fairly |
Explainable AI example
Consider a hypothetical credit card issuer that adopts a machine learning model that improves risk prediction by about 15% compared with its older scorecard. Under Regulation B, US lenders must give declined applicants the specific principal reasons for adverse decisions, and the rule makes no exception for complex algorithms. The Consumer Financial Protection Bureau said so in a 2022 circular, which it withdrew in 2025 along with other guidance, but the underlying requirement still applies. The issuer uses SHAP values to identify the factors that contributed most to each decline and maps them to plain-language reasons, such as "high balances relative to credit limits." Its validation team checks that the explanations are stable and match the model's actual behavior, and finds one feature whose effect makes no business sense, which is removed.
Limits of explainability
- Explanations are approximations. Post-hoc methods describe a model's behavior but may not reflect its true workings.
- Accuracy and interpretability can trade off, though the gap is often smaller than assumed.
- Explanations can be misleading if users treat them as complete.
Explainability is one of the trustworthiness characteristics in the NIST AI Risk Management Framework and supports AI transparency and model validation.
Frequently asked questions
Which explainable AI methods explain individual decisions?
Local explanation methods such as LIME, introduced in 2016, and SHAP, introduced in 2017, show which factors drove a single prediction, such as a loan declined mainly for high debt relative to income. Counterfactual explanations show what would need to change for a different result. For generative AI, citing sources or showing retrieved documents helps users check answers.
Is explainable AI required for credit decisions in the US?
US lenders must give declined applicants the specific principal reasons for adverse decisions under Regulation B, and the rule makes no exception for complex algorithms. The Consumer Financial Protection Bureau withdrew its 2022 circular on the point in 2025, but the underlying requirement still applies, so lenders using machine learning need explainable AI methods. This is general information, not legal advice.
Can explanations from explainable AI tools be fully trusted?
Not entirely. Post-hoc explainable AI methods approximate a model's behavior and may not reflect how it actually works, so explanations can mislead if treated as complete. Validators should check that explanations are stable and match real model behavior. For high-stakes decisions, models that are interpretable by design are often the better choice when they perform well enough.
Related terms
NIST AI Risk Management Framework
NIST's voluntary framework for identifying and managing AI risk.
AI Transparency
Being open about when and how AI is used and what it produces.
Model Validation
An independent check that a model is sound and fit for its purpose.
Human in the Loop
People reviewing or approving AI outputs at defined points.