Artificial intelligence

Explainable AI

Making model decisions understandable: interpretability, feature attribution, SHAP, LIME, saliency maps, mechanistic interpretability and model cards.

Browse A–Z

Terms

51 terms

  • Accumulated local effects

    Accumulated local effects show how a feature changes a model's average prediction, using local differences that stay reliable when features are correlated.

  • Activation patching

    Activation patching is an interpretability method that swaps internal activations between model runs to find which components causally drive a behavior.

  • AI Explainability 360 AIX360

    AI Explainability 360 (AIX360) is an open-source toolkit of interpretability algorithms and metrics for explaining data, models and individual predictions.

  • Anchors · explainable AI

    Anchors in explainable AI are if-then rules that locally fix a model prediction, so other feature changes rarely alter the outcome.

  • Attention rollout

    Attention rollout estimates how much each input token influences a transformer output by multiplying residual-adjusted attention maps across all layers.

  • Attention visualization

    Attention visualization displays the attention weights of a transformer model as heatmaps or graphs to show which input tokens each position attends to.

  • Attribution graph

    An attribution graph maps how interpretable features inside a language model influence each other to produce one specific output for one prompt.

  • Automated interpretability

    Automated interpretability uses AI models to generate and score explanations of neurons, features and circuits inside other neural networks at scale.

  • Captum

    Captum is an open-source PyTorch library for model interpretability that attributes neural network predictions to input features, layers and neurons.

  • Circuit analysis

    Circuit analysis is a mechanistic interpretability method that identifies the subnetwork of neurons, features and attention heads behind a model behavior.

  • Class activation mapping

    Class activation mapping highlights which image regions a convolutional neural network used to predict a class, producing a coarse visual heatmap.

  • Concept bottleneck model

    A concept bottleneck model predicts human-defined concepts first and then bases its final decision only on those concepts, making it interpretable.

  • Contrastive explanation

    A contrastive explanation tells why a model produced one outcome rather than a specific alternative, by isolating the factors that separate the two.

  • DeepLIFT

    DeepLIFT is a feature attribution method that explains a neural network output by comparing neuron activations with those produced by a reference input.

  • Example-based explanation

    An example-based explanation justifies a model prediction by pointing to specific data instances, such as similar cases, prototypes or counterfactuals.

  • Explainable boosting machine

    An explainable boosting machine is a glass-box model that learns one additive shape function per feature, matching boosted trees while staying interpretable.

  • Explanation faithfulness

    Explanation faithfulness measures how accurately an explanation reflects the reasoning a machine learning model actually used to reach its prediction.

  • Feature attribution

    Feature attribution assigns each input feature a score showing how much it contributed to a machine learning model's prediction for a given input.

  • Feature visualization

    Feature visualization is an interpretability method that optimizes synthetic inputs to show what a neuron, channel or layer inside a neural network detects.

  • Friedman’s H-statistic

    Friedman's H-statistic measures how much of a model's prediction variance comes from interactions between features rather than their separate effects.

  • Global explanation

    A global explanation describes how a machine learning model behaves across its whole input space, showing which features drive its predictions overall.

  • Global surrogate model

    A global surrogate model is an interpretable model trained to mimic a black-box model's predictions across the whole input space.

  • Grad-CAM++

    Grad-CAM++ is a gradient-based saliency method that weights pixel-level gradients to localize multiple objects in CNN predictions more completely.

  • Gradient × input

    Gradient × input is a feature attribution method that multiplies each input value by the model gradient to estimate its contribution to a single prediction.

  • Guided backpropagation

    Guided backpropagation is a gradient-based saliency method that keeps only positive signals through ReLU layers to produce sharp input attribution maps.

  • Individual conditional expectation plot ICE

    An individual conditional expectation plot shows how one model prediction changes for each single instance as one input feature is varied across its range.

  • Induction head

    An induction head is a transformer attention head that finds an earlier copy of the current token and predicts the token that followed it.

  • Influence function

    An influence function estimates how much a single training example changed a model's parameters or predictions, without retraining the model.

  • Interpretability · machine learning

    Interpretability in machine learning is the degree to which people can understand how a model turns inputs into predictions and why it behaves as it does.

  • InterpretML

    InterpretML is an open-source Python toolkit for explainable AI that trains glassbox models and explains black-box models through one shared interface.

  • KernelSHAP

    KernelSHAP is a model-agnostic method that estimates Shapley values for any model by fitting a weighted linear regression over feature coalitions.

  • Layer-wise relevance propagation LRP

    Layer-wise relevance propagation (LRP) explains a neural network prediction by redistributing its output score backward to the input features, layer by layer.

  • Linear representation hypothesis

    The linear representation hypothesis holds that neural networks encode high-level concepts as directions in their activation space.

  • Local explanation

    A local explanation in explainable AI shows why a model produced one specific prediction, attributing that single output to the input features that drove it.

  • Logit lens

    The logit lens is an interpretability method that decodes a transformer's intermediate hidden states into token predictions using its own unembedding matrix.

  • Model-agnostic explanation

    A model-agnostic explanation interprets any machine learning model by probing its inputs and outputs, without relying on its internal structure.

  • Occlusion sensitivity

    Occlusion sensitivity explains a model prediction by hiding parts of the input and measuring how much the output score drops for each hidden region.

  • Permutation feature importance PFI

    Permutation feature importance (PFI) measures how much a model's error grows when one feature's values are randomly shuffled, breaking its link to the target.

  • Polysemanticity

    Polysemanticity describes a neural network neuron that responds to several unrelated features, which makes single neurons hard to interpret in explainable AI.

  • Probing classifier

    A probing classifier is a small model trained on a network's internal activations to test whether a property is encoded in its hidden representations.

  • ProtoPNet

    ProtoPNet is an interpretable image classifier that explains each decision by matching parts of the input to learned prototypical parts of training images.

  • Rashomon effect

    The Rashomon effect describes how many different models fit the same data almost equally well yet explain and predict individual cases differently.

  • Representation engineering RepE

    Representation engineering (RepE) reads and steers concepts such as honesty or refusal inside neural network activations to explain and control model behavior.

  • Score-CAM

    Score-CAM is a gradient-free saliency method that weights convolutional activation maps by how much each one raises the target class score.

  • Shapley value

    The Shapley value is a game-theoretic method that fairly splits a model prediction among input features, forming the basis of SHAP in explainable AI.

  • SmoothGrad

    SmoothGrad sharpens gradient saliency maps by averaging gradients over many noisy copies of an input, reducing visual noise in neural network explanations.

  • TCAV

    TCAV (Testing with Concept Activation Vectors) measures how strongly a human-defined concept influences a neural network's predictions for a given class.

  • Training data attribution TDA

    Training data attribution (TDA) estimates which training examples were most responsible for a specific model prediction or behavior in machine learning.

  • TreeSHAP

    TreeSHAP is a fast, exact algorithm that computes Shapley value feature attributions for decision trees, random forests and gradient-boosted ensembles.

  • Tuned lens

    The tuned lens is an interpretability method that decodes a transformer's hidden layers into token predictions using small learned affine translators.

Also in this topic

Terms explained in another topic that belong here too.

  • Activation steering

    Artificial intelligence › AI safety

    Activation steering changes a language model's behavior at inference time by adding steering vectors to its internal activations, without retraining weights.

  • Black-box model

    Artificial intelligence › AI ethics

    A black-box model is an AI system whose internal reasoning cannot be inspected or understood, raising transparency and accountability concerns.

  • Chain-of-thought faithfulness

    Artificial intelligence › Language models

    Chain-of-thought faithfulness is the degree to which a language model's written reasoning reflects the process that actually produced its final answer.

  • Counterfactual explanation

    Artificial intelligence › AI ethics

    A counterfactual explanation tells a person the smallest realistic change to their inputs that would have flipped an AI model's decision.

  • Explainable AI

    Artificial intelligence › AI safety

    Explainable AI covers methods that make AI model decisions understandable to humans, supporting oversight, debugging, fairness review and accountability.

  • Feature importance

    Artificial intelligence › Machine learning

    Feature importance in machine learning is a score that estimates how much each input variable contributes to a model's predictions or its…

  • Grad-CAM

    Artificial intelligence › AI ethics

    Grad-CAM is a post-hoc explanation method that highlights which image regions most influenced a convolutional network's prediction for a chosen class.

  • Integrated gradients

    Artificial intelligence › AI ethics

    Integrated gradients is an attribution method that explains a neural network prediction by summing gradients along a path from a baseline to…

  • Interpretable model

    Artificial intelligence › AI ethics

    An interpretable model is a machine learning model whose structure lets people directly see how inputs lead to each prediction, without separate…

  • LIME

    Artificial intelligence › AI ethics

    LIME explains a single prediction of any black-box model by fitting a simple, interpretable surrogate model to perturbed samples around that one…

  • Mechanistic interpretability

    Artificial intelligence › AI safety

    Mechanistic interpretability reverse-engineers neural networks into human-understandable features and circuits to explain how a model computes its outputs.

  • Model card

    Artificial intelligence › AI safety

    A model card is a structured document that describes a machine learning model's intended use, performance, limitations and risks for AI safety…

  • Partial dependence plot

    Artificial intelligence › AI ethics

    A partial dependence plot shows how a model's average prediction changes as one or two features vary, supporting transparency reviews in AI…

  • Post-hoc explanation

    Artificial intelligence › AI ethics

    A post-hoc explanation describes why an already trained AI model produced a prediction, without changing the model or how it reached its…

  • Saliency map

    Artificial intelligence › AI ethics

    A saliency map is a heatmap that shows which input features, usually image pixels, most influenced a model's prediction, supporting AI transparency.

  • SHAP

    Artificial intelligence › AI ethics

    SHAP explains machine learning predictions by assigning each input feature a Shapley value, its fair share of the difference from the average…

  • Sparse autoencoder SAE

    Artificial intelligence › AI safety

    A sparse autoencoder (SAE) decomposes a neural network's internal activations into many sparse, more interpretable features for AI safety research.

  • Superposition hypothesis

    Artificial intelligence › AI safety

    The superposition hypothesis holds that neural networks store more features than they have neurons by encoding them as overlapping, near-orthogonal directions.