Making model decisions understandable: interpretability, feature attribution, SHAP, LIME, saliency maps, mechanistic interpretability and model cards.
51 terms
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 is an interpretability method that swaps internal activations between model runs to find which components causally drive a behavior.
AI Explainability 360 (AIX360) is an open-source toolkit of interpretability algorithms and metrics for explaining data, models and individual predictions.
Anchors in explainable AI are if-then rules that locally fix a model prediction, so other feature changes rarely alter the outcome.
Attention rollout estimates how much each input token influences a transformer output by multiplying residual-adjusted attention maps across all layers.
Attention visualization displays the attention weights of a transformer model as heatmaps or graphs to show which input tokens each position attends to.
An attribution graph maps how interpretable features inside a language model influence each other to produce one specific output for one prompt.
Automated interpretability uses AI models to generate and score explanations of neurons, features and circuits inside other neural networks at scale.
Captum is an open-source PyTorch library for model interpretability that attributes neural network predictions to input features, layers and neurons.
Circuit analysis is a mechanistic interpretability method that identifies the subnetwork of neurons, features and attention heads behind a model behavior.
Class activation mapping highlights which image regions a convolutional neural network used to predict a class, producing a coarse visual heatmap.
A concept bottleneck model predicts human-defined concepts first and then bases its final decision only on those concepts, making it interpretable.
A contrastive explanation tells why a model produced one outcome rather than a specific alternative, by isolating the factors that separate the two.
DeepLIFT is a feature attribution method that explains a neural network output by comparing neuron activations with those produced by a reference input.
An example-based explanation justifies a model prediction by pointing to specific data instances, such as similar cases, prototypes or counterfactuals.
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 measures how accurately an explanation reflects the reasoning a machine learning model actually used to reach its prediction.
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 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 measures how much of a model's prediction variance comes from interactions between features rather than their separate effects.
A global explanation describes how a machine learning model behaves across its whole input space, showing which features drive its predictions overall.
A global surrogate model is an interpretable model trained to mimic a black-box model's predictions across the whole input space.
Grad-CAM++ is a gradient-based saliency method that weights pixel-level gradients to localize multiple objects in CNN predictions more completely.
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 is a gradient-based saliency method that keeps only positive signals through ReLU layers to produce sharp input attribution maps.
An individual conditional expectation plot shows how one model prediction changes for each single instance as one input feature is varied across its range.
An induction head is a transformer attention head that finds an earlier copy of the current token and predicts the token that followed it.
An influence function estimates how much a single training example changed a model's parameters or predictions, without retraining the model.
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 is an open-source Python toolkit for explainable AI that trains glassbox models and explains black-box models through one shared interface.
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) explains a neural network prediction by redistributing its output score backward to the input features, layer by layer.
The linear representation hypothesis holds that neural networks encode high-level concepts as directions in their activation space.
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.
The logit lens is an interpretability method that decodes a transformer's intermediate hidden states into token predictions using its own unembedding matrix.
A model-agnostic explanation interprets any machine learning model by probing its inputs and outputs, without relying on its internal structure.
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) measures how much a model's error grows when one feature's values are randomly shuffled, breaking its link to the target.
Polysemanticity describes a neural network neuron that responds to several unrelated features, which makes single neurons hard to interpret in explainable AI.
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 is an interpretable image classifier that explains each decision by matching parts of the input to learned prototypical parts of training images.
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) reads and steers concepts such as honesty or refusal inside neural network activations to explain and control model behavior.
Score-CAM is a gradient-free saliency method that weights convolutional activation maps by how much each one raises the target class score.
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 sharpens gradient saliency maps by averaging gradients over many noisy copies of an input, reducing visual noise in neural network explanations.
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) estimates which training examples were most responsible for a specific model prediction or behavior in machine learning.
TreeSHAP is a fast, exact algorithm that computes Shapley value feature attributions for decision trees, random forests and gradient-boosted ensembles.
The tuned lens is an interpretability method that decodes a transformer's hidden layers into token predictions using small learned affine translators.
Terms explained in another topic that belong here too.
Activation steering changes a language model's behavior at inference time by adding steering vectors to its internal activations, without retraining weights.
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 is the degree to which a language model's written reasoning reflects the process that actually produced its final answer.
A counterfactual explanation tells a person the smallest realistic change to their inputs that would have flipped an AI model's decision.
Explainable AI covers methods that make AI model decisions understandable to humans, supporting oversight, debugging, fairness review and accountability.
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 is a post-hoc explanation method that highlights which image regions most influenced a convolutional network's prediction for a chosen class.
Integrated gradients is an attribution method that explains a neural network prediction by summing gradients along a path from a baseline to…
An interpretable model is a machine learning model whose structure lets people directly see how inputs lead to each prediction, without separate…
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 reverse-engineers neural networks into human-understandable features and circuits to explain how a model computes its outputs.
A model card is a structured document that describes a machine learning model's intended use, performance, limitations and risks for AI safety…
A partial dependence plot shows how a model's average prediction changes as one or two features vary, supporting transparency reviews in AI…
A post-hoc explanation describes why an already trained AI model produced a prediction, without changing the model or how it reached its…
A saliency map is a heatmap that shows which input features, usually image pixels, most influenced a model's prediction, supporting AI transparency.
SHAP explains machine learning predictions by assigning each input feature a Shapley value, its fair share of the difference from the average…
A sparse autoencoder (SAE) decomposes a neural network's internal activations into many sparse, more interpretable features for AI safety research.
The superposition hypothesis holds that neural networks store more features than they have neurons by encoding them as overlapping, near-orthogonal directions.