What is explainable AI?
Definition
Explainable AI (XAI) is a set of methods and records that let people understand why an AI system produced a given output: which inputs mattered, what the model is built to do, and where it can fail. Teams use it to debug models, review decisions, and give auditors and regulators evidence.
How is explainability different from interpretability and transparency?
The three words overlap, and authors use them differently. This is how we use them in delivery work:
| Term | Question it answers | Typical evidence |
|---|---|---|
| Interpretability | Can a person read how the model works? | A short decision tree, a linear model with coefficients |
| Explainability | Why did this input give this output? | Feature attributions, example-based explanations |
| Transparency | What is the system, who made it, how is it used? | Model card, data description, change log |
A bank can run an opaque model and still be transparent about it. It can also have an interpretable model and say nothing about its data. Buyers need all three, in proportion to the risk.
Which methods do teams actually use?
Feature attribution. It scores how much each input moved one prediction. SHAP describes itself as "a unified approach to explain the output of any machine learning model" and builds on Shapley values from game theory (PyPI, version 0.54.1 released 2026-10-16). Use it on tabular models, such as credit scoring or churn.
Model cards. A model card is a file that travels with the model. Hugging Face says it should describe the model, its intended uses and limitations, training parameters, training datasets and evaluation results (Hugging Face Hub docs).
Decision logs for LLM systems. Feature attribution does not fit a language model well. For an LLM agent, the practical explanation is a record of what happened: the prompt version, the retrieved documents, each tool call, the checks that ran and the person who approved the result.
This is our practice, not a standard method. It explains how the system acted, not why the model picked each word.
What do regulators ask for?
The EU AI Act sets duties for high-risk systems. The quotes below are from the consolidated text as at 27 July 2026, which includes the changes made by the Digital Omnibus on AI. The links go to the European Commission's AI Act Service Desk, which shows that text.
- Article 13 says high-risk systems must be designed so that deployers can "interpret a system's output and use it appropriately" (Article 13). Where applicable, the provider's instructions must include the system's technical capabilities "to provide information that is relevant to explain its output."
- Article 12 requires that these systems "technically allow for the automatic recording of events (logs)" over their lifetime (Article 12).
- Article 86 gives an affected person the right to obtain from the deployer "clear and meaningful explanations of the role of the AI system in the decision-making procedure and the main elements of the decision taken." It covers decisions based on the output of an Annex III high-risk system (with the exception of point 2) that have legal effects or similarly significant effects, which the person considers adverse to their health, safety or fundamental rights (Article 86).
None of the three names a method. They ask for outcomes: interpretable output, logs and an explanation a person can understand.
When does this apply? Article 113 in the 27 July 2026 consolidated text sets 2 August 2026 as the general date.
The high-risk requirements (Chapter III, Sections 1 to 3) apply from 2 December 2027 for Annex III systems and from 2 August 2028 for those under Annex I. Both dates come from the Digital Omnibus on AI (Article 113). Dates have moved before, so check the current text. For the wider timeline, see our state of AI engineering post.
What evidence should a team keep?
Ask for this from your own team or from a vendor, before a regulator asks:
| Evidence | Owner | Answers |
|---|---|---|
| Model card or system description, with intended use and known limits | Builder | What is this and where does it not apply? |
| Evaluation results on a fixed test set | Builder | How well does it work, for whom? |
| Attribution report for tabular models (for example SHAP) | Data science | Which inputs drive decisions? |
| Event logs: model and prompt version, inputs, sources, tool calls | Engineering | What happened on this case? |
| Named human reviewer and override record | Business owner | Who decided, and was the machine overruled? |
| Procedure for answering an affected person | Operations | Can we explain a decision in plain words, on time? |
Related practice is covered in AI governance and AI risk management. Do not duplicate the paperwork: one model card and one log schema can serve both.
When is explainability not enough?
Attribution scores can mislead. They describe what a model used, not whether the use was fair or correct. Test the model itself, with evaluations and bias checks, and treat the explanation as one input to a review.
If you are unsure what your systems would need to show, our AI readiness assessment reviews your use cases and governance and names the gaps against the evidence above. Our responsible AI work builds the logs, model documentation and review steps into the product.
Sources
- AI Act, Article 13: Transparency and provision of information to deployers, European Commission, AI Act Service Desk (EUR-Lex consolidated text as at 2026-07-27), 2026-07-27
- AI Act, Article 86: Right to explanation of individual decision-making, European Commission, AI Act Service Desk (EUR-Lex consolidated text as at 2026-07-27), 2026-07-27
- AI Act, Article 12: Record-keeping, European Commission, AI Act Service Desk (EUR-Lex consolidated text as at 2026-07-27), 2026-07-27
- AI Act, Article 113: Entry into force and application, European Commission, AI Act Service Desk (EUR-Lex consolidated text as at 2026-07-27), 2026-07-27
- shap 0.54.1, Python Package Index, 2026-10-16
- Model Cards, Hugging Face Hub documentation, 2026-11-18
Frequently asked questions
What is the difference between explainable AI and interpretable AI?
Usage varies by author. We use interpretable for models a person can read directly, such as a short decision tree, and explainable for methods that add an explanation to a model that is too complex to read.
Does the EU AI Act require explainable AI?
It requires related things for high-risk systems: design that lets deployers interpret outputs (Article 13), automatic logs (Article 12), and a right for affected people to get explanations of the AI system's role in certain decisions (Article 86). It does not ask for one specific method.
Is SHAP the same as explainable AI?
No. SHAP is one feature attribution method. Explainable AI also covers documentation, logging and human review.
Can you explain a large language model's answer?
Not fully. You can show the prompt, the retrieved sources, the tool calls and the checks that ran. That record explains how the system acted. It does not show why the model chose each word.
Related terms
Sergey AlmyashevChief Operating Officer14+ years in QA, automated, exploratory and performance testing, and continuous integration and delivery within Scrum, helping teams in product and outsourcing companies organize teams, processes and tools.LinkedIn