Dictionary of Applied Machine Learning: 115 machine-learning terms, each with a definition, a figure, citations and a Python demo · All terms · Demos · Start here

explainability

Updated on 2026-11-08

Readiness 100/100

▶ Run the Python demo Open in Colab Typeset PDF LaTeX source Markdown Cite this entry

See also explanation interpretability explainable artificial intelligence transparency trustworthy artificial intelligence regularization

Explainability is the property of a machine learning (ML) method whose explanations let a human user anticipate the predictions it delivers. The method delivers an explanation along with every prediction, and that explanation is effective if it lets the user anticipate the prediction made for a data point; comprehending the explanation is not required for this test. Explainability is always relative to a specific user or group of users: an explanation can be effective for one and useless for another. Explainability can be measured by comparing the predictions of a learned hypothesis to the anticipations of a user before and after they are provided with an explanation.

Figure produced by the Python demo of the entry explainability
Figure written by the entry's Python demo explainability.py, which recomputes what the entry states: the script block by block · open in Colab

Definition

B-explA radiologist who is shown which pixels of a scan led an image classifier to its prediction can tell, for the next scan, what the classifier will say. A machine learning (ML) method is explainable for a human user if the explanations it provides let the user anticipate the predictions it delivers (Colin et al., 2022; Jung and Nardelli, 2020). Explainability thus includes the notion of an explanation: each prediction is delivered with an explanation for this specific prediction (see Fig. 1), such as the feature values that contributed most to it or, for image data, the relevant pixels. In the figure, the explanation for the prediction at a data point with feature vector ${\mathbf x}$ is a linear map that approximates the learned hypothesis near ${\mathbf x}$. The definition asks for the existence of an explanation, not for a particular one: explainability is certified by exhibiting one explanation that works, and one explanation the user cannot follow does not show that the method is unexplainable. Explainability is relative to a specific user or group of users: the same learned hypothesis can be explainable for one user and inscrutable for another.

Figure 1 of the entry explainability
Figure 1: Explainability refers to explanations. The learned hypothesis $\learnthypothesis$ delivers the prediction $\learnthypothesis(\featurevec)$ for a data point with feature vector $\featurevec$. An explanation is constructed from a simple hypothesis $g$, e.g., a linear map, that approximates $\learnthypothesis$ near $\featurevec$. The explanation is delivered to the user along with the prediction
The usefulness of an explanation can be measured by how much it enables the user to anticipate the predictions on a curated test set: the user states an anticipation for each data point in the test set. If the user comprehends the explanations, these anticipations should be close to the predictions of the learned hypothesis (Colin et al., 2022). A measure of this form is referred to as predictability (International Organization for Standardization and International Electrotechnical Commission, 2022, Sect. 5.15.7). As with interpretability, predictability is weaker than comprehension of the explanations: anticipating the predictions does not require comprehending the provided explanations.

B-entA second measure of this predictability uses the conditional differential entropy, which is defined for random variables (RVs). If the data point is modeled as the realization of an RV, the prediction and the anticipation of the user are RVs too, and their joint probability distribution yields the conditional differential entropy of the predictions given the anticipations (Jung and Nardelli, 2020, Sect. II). The conditional differential entropy quantifies the uncertainty that remains about the predictions once the anticipations are known, so a smaller value means that the anticipations determine the predictions more tightly (Cover and Thomas, 2006, Sect. 8.4). In practice, this conditional differential entropy is unknown and must be replaced by an estimator. One such estimator bins the predictions and the anticipations on a test set, and takes the fraction of test data points that fall into each pair of bins as the joint probability distribution. A related measure, the mutual information (MI) between a selected subset of the features and the prediction, is maximized by the explainer of Chen et al. (2018, Sect. 2.1).

B-localAn explanation raises explainability when the user can reason with it. Fig. 2 illustrates this for a user who reasons in terms of linear maps and anticipates the predictions of an opaque hypothesis (Gaussian kernel ridge regression, a kernel method). Without explanations, the user anticipates by a single linear map fitted to a few predictions, and the anticipations deviate strongly from the predictions. The explanation for a test data point with feature value $x_{0}$ is a local linear approximation of the hypothesis around it (cf. local interpretable model-agnostic explanations (LIME)), a slope and an intercept that the user evaluates at $x_{0}$. With this explanation, the anticipations match the predictions almost exactly. The example presupposes that the user knows how to apply a linear approximation: the anticipations improve only because the user can evaluate the explanation for a data point. A user who cannot gains nothing from it.

Figure 2 of the entry explainability
Figure 2: An opaque hypothesis $\learnthypothesis$ (Gaussian kernel ridge regression, solid curve) and a user who reasons in terms of linear maps. (a) Without explanations the user anticipates by a single linear map fitted to a few predictions (dashed line), which at the test data point $\feature_{0}$ is far off (open square). The explanation for $\feature_{0}$ is a local linear approximation of $\learnthypothesis$ (thick gray segment); the user evaluates it at $\feature_{0}$ and anticipates almost exactly (filled circle). (b) The same two anticipations against the predictions for $20$ of the $40$ data points of the test set (every second one). Without explanations (open squares) they deviate strongly; with the local linear approximation as explanation (filled circles) they track the diagonal of perfect anticipation. The estimated conditional differential entropy of the predictions given the anticipations, over all $40$, drops from 1.22 to 0.09 bits. Data generated by pythondemos/explainability.py
An explanation can also mislead. A computed explanation can be unfaithful to the learned hypothesis, so that anticipations based on it are confidently wrong (Rudin, 2019). Saliency maps, intensity maps over the pixels of an input image (see explainable artificial intelligence (XAI)), barely change for some methods when the trained deep net is replaced by one with random weights (Adebayo et al., 2018, Sect. 3). The predictability test detects such an explanation: anticipations drawn from it deviate from the predictions.

The international terminology standard for artificial intelligence (AI) defines explainability as the property of an artificial intelligence system (AI system) to express important factors influencing its results in a way that humans can understand. An explanation is intended to answer the question of why the AI system produced a result, without arguing that the result was optimal (International Organization for Standardization and International Electrotechnical Commission, 2022, Sect. 3.5.7). The AI Risk Management Framework of the US National Institute of Standards and Technology (NIST) ties explainability to a representation of the mechanisms underlying the operation of an AI system. NIST reserves interpretability for the meaning of the output in the context of the designed purpose (National Institute of Standards and Technology, 2023). The two documents thus divide the terms differently. The expressed factors influencing a result, which the terminology standard places under explainability, are close to the NIST notion of interpretability; the NIST notion of explainability is instead close to interpretability as comprehension of the computation of the method.

Regulation treats explainability as a component of transparency. The EU AI Act requires that high-risk artificial intelligence systems (high-risk AI systems) are sufficiently transparent to enable deployers to interpret a system's output and use it appropriately (European Parliament and Council of the European Union, 2024, Art. 13(1)). For individual automated decisions, the right to explanation entitles an affected person to a clear and meaningful account of the role that an AI system played in the decision (European Parliament and Council of the European Union, 2024, Art. 86). The Colorado Automated Decision-Making Technology Act of 2026 requires that the deployer give the affected consumer a plain-language description of the decision and of the role the technology played in it, together with the means to request further information (Colorado General Assembly, 2026, Sect. 6-1-1704(3)). What counts as an automated decision is drawn widely: the Court of Justice of the European Union held that a credit information agency computing a person's ability to meet future payments already makes one, when a third party draws strongly on that value (Court of Justice of the European Union, 2023).

See also: explanation, interpretability, explainable artificial intelligence, explainable empirical risk minimization, local interpretable model-agnostic explanations, transparency, right to explanation, trustworthy artificial intelligence, regularization.

References

  1. Colin et al. (2022). What I Cannot Predict, I Do Not Understand: A Human-Centered Evaluation Framework for Explainability Methods. Adv. Neural Inf. Process. Syst.. proceedings.neurips.cc/paper_files/paper/2022/hash/13113e938f2957891c0c5e8df811dd01-Abstract-Conference.html
  2. Jung and Nardelli (2020). An Information-Theoretic Approach to Personalized Explainable Machine Learning. IEEE Signal Process. Lett.. doi.org/10.1109/lsp.2020.2993176
  3. International Organization for Standardization and International Electrotechnical Commission (2022). ISO/IEC 22989:2022 --- Information technology --- Artificial intelligence --- Artificial intelligence concepts and terminology. www.iso.org/standard/74296.html
  4. Cover and Thomas (2006). Elements of Information Theory. Wiley. doi.org/10.1002/047174882X
  5. Chen et al. (2018). Learning to Explain: An Information-Theoretic Perspective on Model Interpretation. Proc. 35th Int. Conf. Mach. Learn.. proceedings.mlr.press/v80/chen18j.html
  6. Rudin (2019). Stop explaining black box machine learning models for high-stakes decisions and use interpretable models instead. Nature Mach. Intell.. doi.org/10.1038/s42256-019-0048-x
  7. Adebayo et al. (2018). Sanity Checks for Saliency Maps. Adv. Neural Inf. Process. Syst. (NeurIPS). proceedings.neurips.cc/paper_files/paper/2018/hash/294a8ed24b1ad22ec2e7efea049b8737-Abstract.html
  8. National Institute of Standards and Technology (2023). Artificial Intelligence Risk Management Framework (AI RMF 1.0). doi.org/10.6028/NIST.AI.100-1
  9. European Parliament and Council of the European Union (2024). Regulation (EU) 2024/1689 of the European Parliament and of the Council of 13 June 2024 laying down harmonised rules on artificial intelligence and amending Regulations (EC) No 300/2008, (EU) No 167/2013, (EU) No 168/2013, (EU) 2018/858, (EU) 2018/1139 and (EU) 2019/2144 and Directives 2014/90/EU, (EU) 2016/797 and (EU) 2020/1828 (Artificial Intelligence Act) (Text with EEA relevance). eur-lex.europa.eu/eli/reg/2024/1689/oj/eng
  10. Colorado General Assembly (2026). Senate Bill 26-189 --- Automated Decision-Making Technology. leg.colorado.gov/bills/sb26-189
  11. Court of Justice of the European Union (2023). Judgment of 7 December 2023, SCHUFA Holding (Scoring), C-634/21, ECLI:EU:C:2023:957. eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:62021CJ0634

Cite this entry

@misc{dictml_explainability,
  author = {Jung, Alexander},
  editor = {Olioumtsevits, Konstantina and Schnoor, Ekkehard},
  title = {explainability},
  howpublished = {Dictionary of Applied Machine Learning (course edition)},
  year = {2026},
  doi = {10.5281/zenodo.21569296},
  note = {ISBN 978-952-64-3013-3, CC BY 4.0, retrieved 2026-11-11},
  url = {https://dictionaryofml.org/terms/explainability.html}
}