---
title: "Post-hoc Interpretability for Neural NLP: A Survey (2022)"
description: "A guide to post-hoc interpretability in neural NLP: explanation types, evidence for faithfulness, human evaluation, and unresolved limits."
canonical: "https://research.elamur.ai/free/en/papers/madsen-2022-post-hoc-interpretability-neural-nlp/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/madsen-2022-post-hoc-interpretability-neural-nlp/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2022](https://md.research.elamur.ai/free/en/papers/2022/) / Post-hoc Interpretability for Neural NLP: A Survey

# Post-hoc Interpretability for Neural NLP: A Survey

Paper · 2022 · Andreas Madsen, Siva Reddy and Sarath Chandar

**Authors:** Andreas Madsen, [Siva Reddy](https://md.research.elamur.ai/free/en/authors/siva-reddy/) and [Sarath Chandar](https://md.research.elamur.ai/free/en/authors/sarath-chandar/) · **Year:** 2022 · **Venue:** ACM Computing Surveys · **Licence:** [CC BY 4.0 (arXiv)](https://creativecommons.org/licenses/by/4.0/)

ACM Computing Surveys · [licence](https://creativecommons.org/licenses/by/4.0/)

- [PDF](https://arxiv.org/pdf/2108.04840)
- [DOI 10.1145/3546577](https://doi.org/10.1145/3546577)
- [arXiv 2108.04840](https://arxiv.org/abs/2108.04840)

## What it is about

A guide to post-hoc interpretability in neural NLP: explanation types, evidence for faithfulness, human evaluation, and unresolved limits. · about 37 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

An explanation can sound convincing while saying little about how a language system actually reached its answer. This survey examines that gap. Its subject is post-hoc [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/): techniques that investigate an already trained neural system and communicate aspects of its behavior to people. The practical motivation is that predictive performance alone cannot settle whether a system is safe, ethically acceptable, or accountable when something goes wrong. Explanations can help people investigate those questions, but only if the explanations themselves deserve scrutiny.

The paper organizes the field around what an explanation communicates. A highlighted sentence identifies influential input words; an adversarial example exposes a nearby failure; a training example suggests where a prediction may have originated; a generated sentence offers a verbal rationale. Other approaches describe concepts associated with an output class, relationships among vocabulary items, representative cases, linguistic information, or rules. The authors distinguish explanations of an individual prediction, explanations concerning a class, and explanations intended to summarize broader behavior. They also compare the information each technique needs, from access to predictions alone through gradients, training data, internal representations, and architectural details.

Its central finding is methodological: understandability and faithfulness require separate evidence. Human-grounded evaluation asks whether people can use an explanation. Functionally-grounded evaluation asks whether it accurately reflects the system being explained. A readable rationale can succeed at the former while failing at the latter. Conversely, an exact account of an internal computation may be too detailed to help its intended reader. The authors also distinguish application-grounded evaluation, which tests explanations within the practical setting where they are supposed to help.

This is a survey instead of a new prediction algorithm or a unified benchmark. Its conclusions come from comparing research traditions, their assumptions, and their validation practices. Some areas have useful recurring tests, such as correcting deliberately corrupted training labels or asking people to identify an unrelated word within a group. Across the field, however, evaluation remains fragmented, evidence for human usefulness is often weak, and many methods mainly address classification rather than generated sequences. The paper therefore offers a framework for choosing and questioning explanations, while declining to name a universally superior technique.

### Ideas worth borrowing

Choose the communication before the algorithm. The survey’s organizing question is what the recipient needs to learn. A developer investigating a mistaken prediction may need influential training examples, while someone assessing a recurring weakness may need a rule or a collection of representative cases. Starting from that question helps prevent a familiar visualization from becoming the default explanation for every problem. The same principle applies wherever a technical system must communicate a selective account of complicated behavior.

Separate usefulness from faithfulness. An explanation should be tested for what it enables a person to do and for how closely it follows the underlying computation. These are related goals, but success on one does not establish success on the other. This distinction is reusable in interfaces that present summaries, recommendations, or automated reasons: readability should be assessed alongside evidence that the account describes the actual process.

Treat explanation components as dependencies. HotFlip and MiCE use input gradients inside larger search procedures. Their final outputs may be concrete and easy to inspect, yet weaknesses in the attribution guiding their search still matter. The broader lesson is to trace the evidence supporting every component of an explanatory pipeline. Combining methods can create useful capabilities, but it also carries assumptions from one method into another.

Use controls that challenge the interpretation. A probe predicting linguistic labels from hidden representations may appear to reveal linguistic organization. The survey shows why comparison with an untrained system or a randomized task changes the meaning of that result. Similar controls are valuable whenever an auxiliary predictor is used to claim that some representation contains meaningful structure. Strong performance becomes more informative when a plausible alternative explanation has been tested.

Keep changes in meaning separate from failures of consistency. An adversarial example should preserve the correct label while disrupting the prediction. A counterfactual should change the correct label as well. Distinguishing these purposes makes experiments easier to interpret: one investigates an unjustified response to an equivalent input, while the other investigates a decision boundary associated with a substantive change. This distinction also helps organize editing interfaces and diagnostic datasets.

Select examples for coverage. A collection of individually informative explanations can still repeat the same behavior. SP-LIME adds a selection objective that favors coverage of important features within a limited inspection budget. That idea applies to debugging dashboards, qualitative audits, and research reports: the value of a small set depends on what its members collectively reveal, not just on how striking each case looks alone.

Validate the test itself. Replacing human judgments with an algorithm can change the question being measured. The survey’s criticism of automated word-intrusion evaluation makes this concrete: an embedding-distance calculation cannot automatically stand in for a person deciding whether words form a meaningful group. More broadly, an efficient proxy needs an argument connecting it to the property it claims to measure.

### How Mova uses it

For Mova, the small transparent language system implemented in Rust, the survey is most useful as a design and evaluation framework. It does not establish that Mova has implemented any of the surveyed techniques. The concrete applications below are proposals. Their shared purpose would be to make the system’s explanations inspectable and to distinguish direct evidence from a readable account constructed afterwards.

A natural starting point would be to give each explanation a clearly defined target. A token highlight could describe which input elements affected a particular output. A retrieved example could show relevant material from the system’s learning data. A broader diagnostic view could summarize recurring behavior across a class of inputs. Keeping those targets explicit would prevent a local observation from being presented as a complete explanation of the system.

Transparency by construction would still need validation. The authors emphasize that an apparently interpretable architecture does not prove that its visible intermediate structures faithfully explain its final behavior. Applied to Mova, that warning suggests checking whether a displayed dependency, rule, or intermediate decision actually affects the output in the way the explanation implies. A transparent implementation provides opportunities for inspection; it does not settle the explanatory value of every display built around it.

Mova could also adopt the survey’s distinction between a trace and a rationale. Where the system can expose an actual operation, an explanation should stay connected to that operation. If a separate component turns a trace into fluent prose, the prose would need checking against the trace. The survey’s discussion of CAGE explains why this matters: learning to produce plausible reasons from human-written examples can teach an explainer to imitate human reasoning without establishing how the explained system worked.

Controlled editing would offer another practical route. Mova could compare an input with an alternative that preserves its intended meaning, then inspect whether its response changes unexpectedly. It could separately examine edits that deliberately change the intended answer. The first comparison follows the adversarial-example logic; the second follows the counterfactual logic. These would be different diagnostic tools, with different requirements for assessing whether the edit is valid.

For evaluation, Mova could combine internal checks with human tasks. Internal checks could test whether an explanation’s claimed dependency survives an intervention on the relevant computation or input. Human tasks could ask whether the explanation helps a reader anticipate the system’s behavior on a new case. A successful internal check would support faithfulness; a successful human task would support usefulness. Neither outcome would substitute for the other.

A final borrowing concerns evidence presentation. Mova could show a small selection of explanations chosen to cover distinct behaviors, while retaining access to the underlying cases. This follows the survey’s treatment of ensemble explanations. Such a display would remain a summary with a selection procedure, rather than a guarantee that every behavior had been represented. The procedure choosing the examples would itself need inspection.

### The problem and its context

#### Why predictive success leaves questions unanswered

The survey begins from the increasing use and complexity of neural systems for [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/). It identifies systems such as [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/) and [RoBERTa](https://md.research.elamur.ai/free/en/papers/liu-2019-roberta-robustly-optimized-bert-pretraining/) as prominent examples. The authors connect that growth to research reporting an association between scale and predictive performance, including [Scaling Laws](https://md.research.elamur.ai/free/en/papers/kaplan-2020-scaling-laws-neural-language-models/).

Better test performance does not remove the need to understand behavior. The paper discusses consequential settings such as healthcare, finance, and criminal justice, alongside language applications including translation, dialogue, recruitment screening, and search. Its concern is that a system can satisfy its measured objective while exhibiting behavior that its designers did not adequately formalize or evaluate.

This is the role of incomplete problem specification in the argument. A training objective and a collection of tests cannot easily enumerate every ethically relevant attribute, deployment condition, or possible failure. Fairness and robustness measurements can address particular concerns, but the authors argue that qualitative investigation remains necessary. Explanations provide material for that investigation.

The survey connects this motivation to [bias and fairness](https://md.research.elamur.ai/free/en/topics/bias-fairness-safety/), while keeping explanation distinct from a complete solution to those problems. A fairness metric may require a defined set of protected attributes. An explanation may help people notice a concern outside that set. Yet that benefit depends on whether the explanation reveals relevant behavior rather than supplying a reassuring story.

#### Different purposes require different explanations

The authors distinguish ethical assessment, safety, accountability, and scientific understanding. Ethical assessment concerns whether behavior accords with relevant values. Safety concerns behavior under deployment conditions. Accountability concerns explaining a harmful or mistaken decision. Scientific understanding concerns developing and testing hypotheses about how a system works.

These purposes overlap without being interchangeable. An adversarial example may be useful for safety because it exposes a fragile response outside ordinary test cases. A training-data explanation may help investigate an artifact or a mislabeled observation. A linguistic probe may support a research hypothesis about internal representations. The explanation should be judged in relation to its intended purpose.

The paper’s discussion of accountability draws on work about legal explanation and auditing. It presents retrospective investigation as a major reason to study post-hoc techniques. The relevant distinction is temporal flexibility: a method that can investigate an existing system can be used after a problem has occurred, even if interpretability was not part of the original design.

Scientific understanding supplies another reason to explain behavior before any practical harm occurs. Explanations can suggest hypotheses and guide debugging. The authors therefore do not reduce interpretability to a deployment requirement. They treat it as a research instrument whose outputs still require validation.

#### Why communication becomes the organizing principle

Earlier surveys, as characterized by the authors, often concentrated on familiar techniques such as token attribution, adversarial examples, influential examples, embedding projections, and linguistic probing. This survey seeks broader coverage by asking how each approach communicates its findings.

Its social-science motivation comes from [Miller’s account of explanation](https://md.research.elamur.ai/free/en/papers/miller-2017-explanation-artificial-intelligence-insights-social/). Explanations are selective. A person cannot typically absorb every contributing operation, and an explanation becomes useful in part through what it chooses to emphasize. This creates a reason to compare communication strategies alongside their computational machinery.

The resulting taxonomy distinguishes local, class, and global scope. Local explanations concern an individual observation. Class explanations describe behavior associated with a selected output category. Global explanations summarize a broader aspect of the system. These scopes do not form a strict hierarchy of detail: exposing every parameter would be global in coverage yet offer little abstraction.

The authors likewise treat their ordering by abstraction as approximate. A verbal explanation can invoke broad concepts, while a token highlight stays attached to particular input positions. Greater abstraction may improve accessibility while weakening the direct connection to computation. Choosing a level therefore requires attention to the recipient and the application.

#### Post-hoc and intrinsic interpretation

The survey concentrates on explanations produced after training. Such techniques frequently work across architectures, although the authors explicitly reject architecture independence as a requirement. Some methods need only predictions; others need derivatives, embeddings, complete internal access, or a particular architecture.

Intrinsic interpretability instead depends on design choices intended to make a system understandable. The survey engages with the position represented by [Rudin’s argument for interpretable systems](https://md.research.elamur.ai/free/en/papers/rudin-2018-stop-explaining-black-box/): explanations added afterwards can be unreliable, especially in consequential decisions. It accepts the seriousness of that criticism while emphasizing the adaptability of post-hoc analysis.

The distinction is also imperfect. An interpretable intermediate representation may be produced through an opaque process. A post-hoc explanation may rely on training choices that make masking meaningful. The authors therefore see value in combining the approaches. A visible structure needs evidence that it matters, and post-hoc investigation can help examine systems designed for transparency.

### The method, step by step

#### The survey’s procedure

The paper does not introduce a single trained explainer. Its procedure is to organize methods by their communication target, identify their information requirements, explain their mechanics, and examine the evidence used to validate them. Selection emphasizes diversity of approaches and historical development rather than exhaustive coverage.

How the survey examines an explanation method The steps in order.

The paper repeatedly uses sentiment classification to make those comparisons concrete. Its motivating dataset is the [Stanford Sentiment Treebank](https://md.research.elamur.ai/free/en/papers/socher-2013-recursive-deep-models-semantic-compositionality/). A sentence is assigned a sentiment category, making it possible to compare explanations that highlight words, retrieve examples, generate edits, or provide reasons. Many of the visual demonstrations are illustrative constructions rather than measured outputs.

Before examining individual techniques, the survey establishes a common evaluation vocabulary drawn from [Doshi-Velez and Kim](https://md.research.elamur.ai/free/en/papers/doshi-velez-2017-towards-rigorous-science-interpretable-machine/). Application-grounded testing measures usefulness in the intended practical environment. Human-grounded testing uses simpler tasks with people. Functionally-grounded testing examines whether the explanation reflects the system. The last category is also described as faithfulness or fidelity.

The formulas below use the survey’s basic notation. An input is x, the trained parameters are θ, and p(c | x; θ) is the probability assigned to category c. A logit, written f(x; θ)꜀, is the corresponding score before conversion into a probability. A tilde marks an alternative input or a training example, depending on the method.

#### Explain a prediction through input features

Input-feature methods assign explanatory information to words, sub-words, or characters. Their general form is:

```
E(x, c): Iᵈ → ℝᵈ
```

E is the explanation function for category c. I is the input domain, d is the input dimensionality, and ℝᵈ indicates a real-valued explanation aligned with those dimensions. When the values express relative importance, the result is an importance measure.

The scope is narrower than an entire generated answer. An attribution explains a scalar output, such as a category score at a particular output position. Repeating the procedure across output positions can support sequence analysis, but the authors warn that this repetition may miss interactions across a sequence.

The simplest gradient-based measure is:

```
E_gradient(x, c) = Lₚ(∇ₓ p(c | x; θ))
```

The symbol ∇ₓ denotes differentiation with respect to the input. Lₚ is a norm used to reduce components, with the survey discussing L₁, L₂, and L∞. The result measures local sensitivity: how the selected probability responds to a small change around the current input.

For discrete text, differentiation can be taken with respect to a continuously treated one-hot representation. That representation has a vocabulary dimension and a position dimension. Reducing the vocabulary dimension produces a value per position. A norm also removes directional information, so such a display need not distinguish evidence supporting a category from evidence opposing it.

The survey also discusses multiplying the gradient by the input:

```
E_input×gradient(x, c) = x ⊙ ∇ₓ p(c | x; θ)
```

Here ⊙ means elementwise multiplication. This incorporates input scale, but the survey reports concerns that doing so can weaken faithfulness. The central limitation of a plain gradient remains its locality: sensitivity at the present point need not capture the full importance of a feature in a nonlinear computation.

#### Integrate gradients along a baseline path

Integrated Gradient addresses cases where an important feature receives a vanishing local gradient. It compares the observation with a baseline, such as a sequence of padding tokens, and samples gradients along the path between them.

```
x̃ᵢ = b + (i/k)(x − b)
```

The baseline is b. The index i identifies a sample along the path, and k is the number of sampled steps. Each x̃ᵢ lies between the baseline and the observed input.

The resulting approximation is:

```
E_IG(x, c) = (x − b) ⊙ (1/k) Σᵢ₌₁ᵏ ∇ₓ̃ᵢ f(x̃ᵢ; θ)꜀
```

E_IG is the attribution for category c. The sum averages the gradients of the selected logit over the sampled inputs. Multiplication by x − b scales that average by the displacement from the baseline.

The survey explains the method through sensitivity and completeness. Sensitivity requires attribution when a relevant change produces a different output. Completeness requires the assigned contributions collectively to account for the output difference relative to the baseline. These properties motivate the construction, but the authors do not treat them as sufficient evidence of usefulness or universal faithfulness.

#### Fit a local surrogate with LIME

LIME takes a different route. It generates nearby alternatives to the original input, obtains predictions for them, and fits a sparse logistic surrogate. The surrogate’s coefficients become the explanation.

```
q(x̃) = σ(w · x̃)
```

The surrogate prediction is q, its coefficient vector is w, and σ is the sigmoid function. The alternative input is x̃. A coefficient describes the feature’s role within the fitted local approximation.

The survey presents the fitting criterion as follows:

```
E_LIME(x, c) = argmin_w [(1/k) Σᵢ₌₁ᵏ {pᵢ log qᵢ + (1 − pᵢ) log(1 − qᵢ)} + λ‖w‖₁]
```

Here pᵢ abbreviates p(c | x̃ᵢ; θ), qᵢ abbreviates q(x̃ᵢ), and k counts sampled alternatives. The parameter λ controls the L₁ penalty, while ‖w‖₁ measures the sum of absolute coefficient values. The argmin operation selects the coefficient vector minimizing the written expression. The paper’s displayed criterion places the log terms under minimization without a leading minus sign, so the expression needs care if used as an implementation specification.

The substantive explanation is that LIME learns a sparse local approximation to the target’s predictions. Sparsity makes the result selective: some features receive no coefficient. Its main practical uncertainty is what counts as nearby. The survey describes bag-of-words sampling with cosine distance and later masking-based alternatives, while questioning whether these neighborhoods match the target’s behavior.

#### Approximate feature contributions with Kernel SHAP

Kernel SHAP is motivated through Shapley values. The survey introduces these as a way to allocate contributions while considering different combinations of enabled features. Direct enumeration becomes expensive:

```
Cost(T) = O(2ᵀ)
```

T is the number of input features, and O describes the growth of the computation. The expression represents the exponential burden discussed for enumerating feature combinations.

Kernel SHAP uses a smaller set of combined features and a mapping back to the original input. Its surrogate is:

```
g(z) = w · z
```

The binary vector z indicates which combined features are present, w contains their coefficients, and g predicts a score from that presence pattern.

Its weighting kernel is:

```
π(z) = (M − 1) / [choose(M, |z|) · |z| · (M − |z|)]
```

M is the number of combined features, |z| counts enabled features, and choose(M, |z|) is the binomial coefficient. The weight π varies with the size of the enabled set.

The fitting objective is:

```
E_SHAP(x, c) = argmin_w Σ_z π(z)[f(hₓ(z); θ)꜀ − g(z)]²
```

The function hₓ constructs an input from x using the enabled feature groups in z. The sum ranges over the enabled-feature configurations considered by the formulation. The selected logit is compared with the surrogate score using weighted squared error. The resulting coefficients provide the attribution.

The paper also reports a computational claim associated with Partition SHAP:

```
Evaluations(M) = M²
```

M again denotes the number of combined features. This is presented as a claim about a related implementation’s evaluation requirement, instead of an experimental result established by the survey.

The interpretive problem is whether masked or disabled features yield legitimate inputs. A mathematically motivated allocation can still depend on artificial inputs that behave differently from ordinary language. The survey also discusses deliberate attacks in which perturbation-based explanations conceal undesirable behavior on unperturbed inputs.

#### Find a stable set of anchor words

Anchors replaces a graded attribution with a short condition: a set of words associated with a stable prediction. An anchor condition is represented by:

```
A(x) = 1 if every anchor word occurs in x; otherwise A(x) = 0
```

A denotes both the selected word set and its presence test. The indicator returns whether that condition is satisfied.

Its precision measures prediction agreement under alternatives containing the anchors:

```
prec(A) = E_x̃∼D(·|A)[1[argmaxᵢ p(i | x; θ) = argmaxᵢ p(i | x̃; θ)]]
```

D(· | A) is the distribution of alternative inputs satisfying A. The expectation E averages over those alternatives. The indicator 1 is active when the original and alternative inputs receive the same highest-probability category.

Coverage measures how frequently the condition occurs:

```
cov(A) = E_x̃∼D[A(x̃)]
```

D is now the broader input distribution. Coverage is high when the anchor condition applies frequently.

The optimization is:

```
E_anchors(x) = argmax_A cov(A), subject to prec(A) ≥ τ and A(x) = 1
```

The threshold τ specifies required precision. The method seeks a broadly applicable condition that is present in the original example and maintains sufficiently stable predictions. Approximate search expands promising candidate word sets instead of enumerating all possibilities. Crucially, agreement concerns predicted categories; agreement between correct labels alone would not explain the particular trained system.

#### Search for meaning-preserving failures

Adversarial explanations begin with an input and search for an alternative:

```
A(x) → x̃
```

A is the adversarial-generation procedure, x is the original observation, and x̃ is the resulting alternative. The relevant requirement is that the correct label stays unchanged while the prediction becomes wrong.

HotFlip estimates the effect of changing a token through gradients:

```
L(y, x̃ₜ:ᵥ→ᵥ̃; θ) − L(y, x; θ) ≈ ∂L/∂xₜ,ᵥ̃ − ∂L/∂xₜ,ᵥ
```

L is the loss relative to correct label y. Position t originally contains vocabulary item v, and ṽ is a proposed replacement. The components xₜ,ᵥ and xₜ,ᵥ̃ belong to the one-hot input representation. The approximation estimates a finite replacement through a derivative difference.

The search selects a replacement with a large estimated effect:

```
A_HotFlip(x) = argmax_x̃ₜ:ᵥ→ᵥ̃ [∂L/∂xₜ,ᵥ̃ − ∂L/∂xₜ,ᵥ]
```

A_HotFlip denotes the resulting procedure. The argmax searches candidate replacements. Multiple changes are explored with beam search, which retains promising partial candidates. For word substitutions, the reviewed method requires embedding cosine similarity of at least 0.8, intending to constrain semantic drift.

Semantically Equivalent Adversaries, or SEA, instead samples from a paraphrase generator. It defines:

```
S(x, x̃) = min(1, q(x̃ | x) / q(x | x))
```

S is the semantic-equivalence score, and q is the auxiliary paraphrase distribution. Dividing by the probability of reproducing x gives a relative score, addressing the paper’s concern that raw sequence probabilities depend on length.

SEA then searches under explicit constraints:

```
A_SEA(x) = argmax_x̃∼q(·|x) S(x, x̃), subject to S(x, x̃) ≥ 0.8 and predicted(x̃) ≠ predicted(x)
```

A_SEA is the selected adversarial alternative. The function predicted returns the highest-probability category. The objective favors semantic similarity among candidates that satisfy the threshold and change the prediction. The semantic requirement still needs scrutiny: a prediction flip alone does not establish a valid adversarial explanation.

#### Trace predictions to training observations

Influential-example methods connect a test prediction with training observations. This differs from retrieving a sentence using a purely textual similarity score such as [BLEU](https://md.research.elamur.ai/free/en/concepts/bleu/). The claimed relationship must depend on the trained system.

Influence functions approximate what would happen if a training observation were removed:

```
L(y, x; θ̃) − L(y, x; θ) ≈ (1/n) ∇θL(y, x; θ)ᵀ Hθ⁻¹ ∇θL(ỹ, x̃; θ)
```

The pair x, y is the test observation; x̃, ỹ is the training observation under investigation. The parameters θ̃ represent hypothetical training without that observation. The dataset size is n, Hθ is the loss Hessian, and the superscript T indicates a transpose. The expression combines test and training gradients through inverse curvature.

The method avoids explicitly constructing an inverse Hessian by approximating its product with a vector. The survey gives the computational order as:

```
Cost(n, p) = O(np)
```

Here p is the parameter count, while n is the number of training observations. The authors compare this with the order of a training epoch, while stressing that the relevant calculation is required for each explained test observation.

The Hessian must be positive-definite for the reviewed formulation. The method adds a diagonal adjustment when necessary. This matters because neural systems generally do not supply the convexity guarantees associated with simpler statistical settings.

Representer Point Selection offers another decomposition:

```
f(x) = Σᵢ₌₁ⁿ αᵢ κ(x, x̃ᵢ)
```

The score vector f(x) is expressed through training observations x̃ᵢ. Each αᵢ is a coefficient vector, and κ is a similarity function. The index i ranges over the training set.

For the neural setting discussed in the survey, the similarity comes from penultimate representations:

```
f(x) = Σᵢ₌₁ⁿ αᵢ zL−1(x̃ᵢ; θ)ᵀ zL−1(x; θ)
```

The representation zL−1 is the activation before the final linear layer. Its inner product measures similarity within that representation space. Selecting category c extracts that category’s contribution from each summand.

The survey writes the coefficient definition as:

```
αᵢ = [1/(2λn)] · ∂L(ỹᵢ, x̃ᵢ; θ)/∂zL−1(xᵢ; θ)
```

The coefficient depends on the loss derivative, the training-set size n, and positive regularization strength λ. This definition should be read with its surrounding assumptions: a final linear layer, regularization of that layer, and a stationary solution. The displayed derivative notation also warrants care when translating the equation into code.

A post-training refit supplies the required final layer:

```
θL = argmin_W [(1/n) Σᵢ₌₁ⁿ L(p(· | x̃ᵢ; θ), WzL−1(x̃ᵢ; θ)) + λ‖W‖²]
```

θL is the replacement final-layer matrix, W is the matrix being optimized, and p(· | x̃ᵢ; θ) is the original predictive distribution. The loss encourages the replacement layer to reproduce that distribution while satisfying regularization. This makes the approach close to the boundary between post-hoc analysis and modifying the explained system.

TracIn follows the training trajectory instead. Its idealized quantity is:

```
TracInIdeal(x̃, x) = Σₜ∈Tₓ̃ [L(y, x; θₜ) − L(y, x; θₜ₊₁)]
```

Tₓ̃ contains training steps that optimize the chosen training observation x̃. The parameters θₜ and θₜ₊₁ are the states before and after those updates. The sum measures their associated changes in test loss.

The practical approximation uses checkpoints:

```
TracIn(x̃, x) = (1/b) Σₜ∈C ηₜ ∇θₜL(y, x; θₜ) · ∇θₜL(ỹ, x̃; θₜ)
```

C is the checkpoint set, b is batch size, and ηₜ is the learning rate at checkpoint t. The dot product measures alignment between test and training gradients. The surveyed work describes adaptations beyond plain gradient descent. Saving training checkpoints is therefore a substantive information requirement.

#### Generate meaningful opposite cases

Counterfactual explanations seek a fluent, small edit that changes both the prediction and the appropriate label. The survey separates this from adversarial editing, where the correct label should remain stable.

Polyjuice trains an auxiliary generator through [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) on existing paired examples. Its training format includes an original sentence, a control describing the edit, a version with replacement spans hidden, and the text needed to fill those spans. At generation time, the original sentence and optional edit control guide candidate production.

The explained system enters mainly through filtering. Candidates are ranked by prediction change, with SHAP-based adjustment reducing the value assigned to changes that an importance measure already makes predictable. This encourages informative edits, but leaves the survey questioning how strongly the generation process reflects the particular system being explained.

MiCE connects generation more closely to that system. Its auxiliary generator is [T5](https://md.research.elamur.ai/free/en/papers/raffel-2019-exploring-limits-transfer-learning-unified/). Training inputs contain a correct label and a sentence with selected spans masked; targets contain the missing material. Input gradients determine which consecutive tokens to mask.

For counterfactual generation, MiCE substitutes an opposite label in the generator’s input. Beam search explores completions and stops when the explained system changes its prediction. The resulting explanation depends both on the generator’s ability to produce appropriate language and on the attribution guiding the edits. Comparing gradient-guided masking with random masking tests the value of that guidance.

#### Generate a verbal rationale

CAGE uses human-written explanations for commonsense multiple-choice questions. An auxiliary GPT explainer is fine-tuned with the question, candidate answers, the selected answer, and an explanatory continuation. The answer comes from the system being explained at inference time.

The procedure produces an accessible communication form: a reader can inspect a sentence explaining the answer. Yet the training explanations come from people who do not necessarily know the target’s internal behavior. The explainer can therefore learn what people regard as a plausible reason for an answer without learning the computation responsible for that answer.

The survey treats that gap as a central faithfulness problem. Conditioning on the output creates a connection to the target, but it is a narrow connection. Human success in using the resulting prose cannot on its own establish that the prose identifies the actual causes of the prediction.

#### Explain a class through a concept

Concept explanations move beyond particular input words. The survey’s principal NLP example examines occupation-related gender bias by comparing candidate continuations of a [language model](https://md.research.elamur.ai/free/en/concepts/language-model/).

```
bias-effect(x; θ) = p(anti-stereotypical | x; θ) / p(stereotypical | x; θ)
```

The numerator is the probability of the selected continuation opposing an occupation stereotype. The denominator is the probability of the selected stereotypical continuation. Their ratio defines the behavioral quantity under investigation.

Causal mediation analysis then asks how an internal component participates in that effect:

```
mediation-effect_m₁,z,m₂(x; θ) = bias-effect_z(m₂(x);θ)(m₁(x); θ) / bias-effect(x; θ)
```

The transformations m₁ and m₂ are either identity or the occupation-replacement intervention called set-gender. The mediator z is an internal representation, such as an attention head. In the numerator, the main input follows m₁ while the mediator takes the value obtained under m₂. The denominator normalizes against the original bias effect.

The Natural Indirect Effect averages a contrast between mediator settings:

```
NIE_z = E_x∈D[mediation-effect_identity,z,set-gender(x; θ) − mediation-effect_identity,z,identity(x; θ)]
```

D is the evaluation dataset, and E averages across its inputs. NIE_z measures the change associated with routing the intervention through mediator z while retaining the original main input. The example investigates attention heads in a small GPT-2 system. The survey emphasizes that this intervention-based construction still lacks independent groundedness validation in the reviewed study.

#### Explain vocabulary and select representative cases

Vocabulary explanations investigate relationships across [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/). The survey discusses projections of vectors associated with methods including [GloVe](https://md.research.elamur.ai/free/en/concepts/glove/). Principal Component Analysis and t-SNE compress the representation into a display. A supervised projection instead chooses a direction associated with a specific question, such as gender associations.

Rotation changes the coordinate basis while retaining the information in the embedding space. The reviewed approach seeks axes with a small number of large entries, hoping that their strongest words form meaningful groups. Its intended human evaluation is word intrusion: a person identifies a word that does not fit the others.

Ensemble explanations address a different summarization problem. They collect local explanations into a selective global view. SP-LIME begins by aggregating feature importance:

```
Iᵥ = Σₓ̃ᵢ∈D |E_LIME(x̃ᵢ, predicted(x̃ᵢ))ᵥ|
```

Iᵥ is the total absolute importance of vocabulary feature v across dataset D. The subscript v selects that feature’s coefficient from the local explanation.

It then chooses a limited subset:

```
G_SP-LIME = argmax_D̃⊆D, |D̃|≤B Σᵥ₌₁ⱽ 1[∃x̃ᵢ∈D̃: |E_LIME(x̃ᵢ, predicted(x̃ᵢ))ᵥ| > 0] Iᵥ
```

D̃ is the selected set, B is the inspection budget, and V is vocabulary size. The indicator activates when a selected example’s explanation covers feature v. Repeated coverage of the same feature does not add further reward. A greedy procedure approximates the selection.

This global view inherits uncertainty from its local explanations. It also introduces a new question: whether the selection objective captures the diversity of behavior a person needs to inspect.

#### Probe linguistic structure and extract rules

Behavioral probes examine reactions to controlled linguistic inputs. Structural probes train an auxiliary predictor to recover linguistic annotations from internal representations. The survey links this tradition to [BERTology](https://md.research.elamur.ai/free/en/papers/rogers-2020-primer-bertology-what-we-know/), while emphasizing the distinction between observable behavior and information that a separate predictor can extract.

One reviewed probe combines representations across layers:

```
s = softmax(w)
```

The learned vector w determines normalized layer weights s through softmax.

```
zᵢ(x; θ) = γ Σₗ₌₁ᴸ sₗ hₗ,ᵢ(x; θ)
```

The representation hₗ,ᵢ belongs to token i at layer l. L is the number of layers, sₗ is the learned layer weight, and γ is a learned scale. The combined vector zᵢ feeds the linguistic classifier. Layer weights then become part of the interpretation.

The survey explains why predictive success needs controls. An expressive probe may learn from weak or arbitrary representations. [Minimum Description Length](https://md.research.elamur.ai/free/en/concepts/minimum-description-length/) offers a way to examine the complexity required to communicate the labels, rather than relying on accuracy alone.

Rule methods narrow their target. SEAR aggregates successful adversarial substitutions into recurring patterns and measures how often applying a pattern produces a valid failure. Compositional neuron explanations instead search logical conditions predicting whether a chosen neuron exceeds a threshold.

```
IoU(n, R) = Σₓ∈D 1[zₙ(x) > τ ∧ R(x)] / Σₓ∈D 1[zₙ(x) > τ ∨ R(x)]
```

The neuron index is n, its activation is zₙ(x), and τ is the activation threshold. R(x) indicates whether the proposed rule holds. The numerator counts joint occurrences; the denominator counts cases satisfying either condition. IoU is therefore intersection divided by union. Beam search combines feature conditions using logical operations, but a rule describing activation still does not establish how much that neuron matters to the final output.

### Experiments and results

#### What is being compared

The survey does not conduct a shared experiment across explanation methods. There is no common training split, test split, architecture, or score on which all approaches compete. Its empirical contribution is an assessment of experiments reported in the reviewed literature. The authors explicitly identify the absence of a principled common benchmark as a limitation.

The recurring sentiment examples are a communication device. The Stanford Sentiment Treebank supplies a familiar task, but the survey’s hypothetical highlights, edits, retrieved examples, and rationales should not be interpreted as measured comparative results. Their purpose is to show what an explanation would look like.

The evidence reviewed spans several different questions. Human studies ask whether people can select a better classifier or anticipate behavior. Label-correction experiments ask whether influential-example methods identify corrupted observations. Perturbation experiments examine changed predictions, semantic preservation, fluency, and edit size. Probing experiments assess recoverable linguistic labels and the complexity of recovering them.

Those outcomes cannot be placed on a single performance ladder. A method may help people choose between classifiers without establishing exact token attribution. Another may identify corrupted labels without showing that its explanations help users understand unfamiliar predictions. The survey’s framework is valuable precisely because it preserves these differences.

#### Representative explanations help classifier selection

SP-LIME offers the clearest numerical comparison reproduced in the survey’s prose. Participants compare a classifier learned from biased data with one learned from curated data. The evaluation measures whether participants choose the better classifier using a set of explanations.

The reviewed result reports successful selection by 89% of participants with SP-LIME. With randomly selected observations, successful selection is reported for 75%. The star below marks the stronger reviewed setting; it does not indicate a new system introduced by the survey.

SP-LIME study: successful human selection of the better classifier Selecting explanations for feature coverage helped participants choose the better classifier more often.

**The numbers**

| System or setting | participants selecting the better classifier % |
| --- | --- |
| Random observation selection | 75 |
| SP-LIME (this paper) | 89 |

This comparison supports a claim about human usefulness under a particular task. The selection strategy changes which observations people inspect, and the outcome improves relative to random selection. It does not establish that every selected local explanation is faithful, that feature coverage fully represents behavior, or that the same benefit holds for sequence generation.

The survey also describes LIME studies in which non-experts distinguish a classifier affected by biased data from a better alternative. It reports comparisons with intrinsically interpretable predictors as another source of validation. These are complementary forms of evidence: one concerns people using explanations, while the other concerns agreement with a more directly inspectable prediction mechanism.

#### Training-data influence receives intervention-based tests

The reviewed BERT influence-function study removes the 10% of training observations assigned greatest influence and retrains. It compares that condition with removing the 10% assigned least influence and with removing 10% at random. The survey reports a significant reduction in test performance under removal of the most influential observations.

No numerical test-performance values accompany that account. The supported conclusion is therefore directional: the ranking identified training material whose removal mattered more under the reported comparison. It does not supply a precise effect size or a general estimate of influence accuracy.

Another reviewed experiment assigns incorrect labels to 10% of training observations. Influence estimates select examples for correction, and evaluation examines corrupted labels discovered and subsequent predictive performance. This tests whether the ranking is useful for repairing a deliberately damaged dataset.

Representer Point Selection is compared with influence functions through a related label-correction procedure. The survey reports similar ability to find wrong labels, while the examples selected by Representer Point Selection have a larger effect on predictive performance. The quantitative validation discussed is from computer vision; NLP examples are anecdotal.

TracIn is also evaluated through label correction. The survey reports stronger corrupted-label selection than the compared approaches, with experiments on MNIST and CIFAR-10. Its NLP demonstration is again described as anecdotal. Evidence in those image settings therefore supports the mechanism’s promise without establishing an equivalent result for language tasks.

#### Editing studies test different properties

For MiCE, the important comparison replaces gradient-guided masking with random masking. The reviewed study evaluates how many edits are required to change a prediction and how fluent the resulting sentences are. The survey reports that gradient guidance improves fluency and reduces the required editing.

The text gives no numerical edit counts or fluency scores for that comparison. It supports the narrower conclusion that the attribution helps within the MiCE search procedure under the evaluated setup. It does not establish that gradients offer universally faithful token explanations.

HotFlip and SEA include numerical semantic constraints instead of a shared reported benchmark result. HotFlip’s word-level substitutions require cosine similarity of at least 0.8. SEA imposes a semantic-equivalence threshold of 0.8 based on its relative paraphrase score. These values describe search eligibility; they are not accuracy results.

Polyjuice is examined through a human task in which people struggle to anticipate behavior on its counterfactual examples. The survey interprets this as evidence that the examples expose unexpected responses. It simultaneously questions whether generation followed by filtering supplies a sufficiently strong account of the explained computation.

#### Linguistic tests reveal shortcuts and probing confounds

The HANS discussion concerns [natural language inference](https://md.research.elamur.ai/free/en/concepts/natural-language-understanding/). A system receives a premise and a hypothesis and predicts their relationship. The diagnostic dataset groups observations by suspected shortcuts involving lexical overlap, subsequences, and constituents.

The survey reports that the findings support reliance on those heuristics. Its explanatory value comes from connecting failures to labeled linguistic patterns. An undifferentiated challenge-set score would show weakness without identifying the suspected shortcut.

For context, the paper states that BERT obtains 83% accuracy on MNLI, which supplies its training setting in this discussion. That number is not a HANS result. The survey also warns that the underlying reporting does not permit a direct comparison, so it would be misleading to manufacture a numerical contrast from the surrounding discussion.

Structural probing produces another kind of result. The survey reports that probes can achieve high accuracy using representations from an untrained system, and can perform comparably on randomized control labels unless constrained. Information-theoretic analysis finds similar predictive accuracy across linguistic and control tasks while showing greater description complexity for the control. The result changes what accuracy alone can establish.

### What the ablations show

The survey contains no original ablation study; it analyzes controlled comparisons and diagnostic experiments from the literature it reviews.

#### Gradient guidance contributes within MiCE

MiCE’s random-masking comparison isolates a meaningful component of its pipeline. The generator and general counterfactual objective remain relevant, while the choice of spans changes. Better fluency and fewer edits under gradient guidance indicate that the selected spans help the search reach useful alternatives.

That evidence has a specific scope. It validates the contribution of guidance to the combined editing procedure. It does not prove that each gradient value corresponds to a complete causal attribution, or that the same ranking is best for a different task. A component can be useful without resolving every theoretical concern about its interpretation.

The comparison also illustrates the survey’s account of synergy. Attribution need not be the final explanation shown to a person. It can guide another method that produces a concrete contrast. Evaluation should then examine both the resulting contrast and the role played by the attribution.

#### Influence rankings survive a removal test

Removing highly ranked training observations tests whether an influence estimate points towards consequential data. The low-influence and random-removal conditions give the observed performance change a basis for interpretation. Without those controls, deterioration after removing data would be difficult to attribute specifically to the ranking.

The authors nevertheless distinguish this test from label correction. Correcting a corrupted observation frequently uses its estimated influence on its own loss. Explaining a new observation asks about influence across examples. These are related capabilities, but they are not identical. A method can perform well at dataset repair while leaving broader claims about prediction provenance insufficiently tested.

The survey therefore encourages information-removal experiments alongside label correction. Different interventions expose different weaknesses, and a recurring benchmark should not become the sole definition of explanatory quality.

#### Probing controls challenge the source of accuracy

An untrained-representation baseline asks whether successful decoding depends on learned structure. A randomized-label task asks whether the probe can fit an arbitrary mapping with similar success. Both controls challenge the inference that high accuracy reveals meaningful organization learned by the explained system.

Restricting probe size or auxiliary data can reduce that confound, but the survey notes a cost. A weak probe might fail to uncover genuinely complicated structure. Failure to decode then becomes ambiguous: the representation may lack the property, or the measurement tool may be inadequate.

Minimum Description Length supplies a different comparison. It asks how much complexity is needed to communicate the labels through the probe. Comparable accuracy accompanied by different description requirements shows why an evaluation can learn more from the effort required than from the final score alone.

#### Explanation selection adds value beyond local quality

SP-LIME versus random selection tests the packaging of local explanations. Both conditions can provide examples for inspection, but only one deliberately seeks coverage of important features. The human result therefore supports the idea that choosing the collection matters independently of producing an explanation for each case.

There is still an untested step between feature coverage and coverage of behavioral modes. The selection objective operationalizes representativeness through local coefficients. The survey treats that as a useful design choice with its own validation requirement. Faithful ingredients do not automatically guarantee a faithful global summary.

#### Similar verbal outputs do not establish similar reasoning

The CAGE discussion compares explanations generated with an answer available to the explainer against explanations produced without that answer. The survey reports nearly indistinguishable explanations and similar human performance in predicting behavior.

This weakens a simple inference from fluent explanatory prose to privileged access to the target’s reasoning. If the explainer can produce much the same account under different access conditions, the wording may be supported mainly by the task and by human explanation conventions. The comparison raises a faithfulness question even when the resulting text is helpful to readers.

The broader lesson across these analyses is to specify the alternative explanation that a control is intended to rule out. Random masking, random example selection, randomized labels, and untrained representations each test a different dependency. Their value comes from that targeted contrast, rather than from randomness as a general badge of rigor.

### Limitations

#### Limits stated by the authors

The authors explicitly describe the coverage as selective. They prioritize variation in communication strategy and information requirements. Large research areas, especially attribution and linguistic analysis, receive accounts of important developments rather than exhaustive reviews. The taxonomy should consequently be read as a framework for navigating the field, not a complete inventory.

They also state that the survey lacks a common quantitative comparison. At the time represented by its literature, no unified benchmark provides the principled basis they consider necessary. Constructing one lies outside the paper’s scope. The survey therefore cannot rank all explanation families by a shared measure.

The visual examples carry another explicit limitation. Many are hypothetical and show favorable outcomes. Real methods may yield useful local explanations only for some observations, or useful global explanations only for some datasets. A clean illustration demonstrates the form of communication without establishing how frequently that quality occurs.

The authors further separate canonical displays from validated interface design. They choose familiar visual forms, while acknowledging that effective presentation is a research problem involving human-computer interaction. The survey does not test whether its chosen layouts are the most useful way to communicate the methods.

Their classification also has stated boundaries. Abstraction order is approximate, and intrinsic techniques receive only limited comparative treatment. Intermediate representations designed for interpretation fall outside the main post-hoc focus. The taxonomy’s neat organization should therefore not obscure overlap between categories or the existence of omitted approaches.

#### Limits a careful reader should retain

A first reading limit concerns the strength of evidence assembled by a survey. An experiment’s inclusion does not imply that its assumptions were independently replicated. The authors frequently report a study’s validation and then question whether that validation establishes the intended property. Those qualifications are part of the contribution.

A second concerns portability across tasks. Some influential-example evidence comes from computer vision, while language applications are anecdotal. Many explanations target a category instead of a generated sequence. Evidence should remain attached to the task and output structure under which it was collected.

Generation makes the scope problem especially clear. Attribution to a category at an output position can be repeated, but that repetition does not establish an explanation of interactions across the entire output. The authors identify sequence-to-sequence interpretation as an underdeveloped direction, particularly relevant to [machine translation](https://md.research.elamur.ai/free/en/topics/machine-translation/).

A third limit concerns the object being explained. An embedding projection describes relationships within a representation. A neuron rule describes activation. A structural probe describes recoverability by an auxiliary predictor. None of these observations alone demonstrates how strongly the described structure controls the final prediction.

A fourth concerns semantic validity. An adversarial search needs evidence that its edit preserves the correct label. A counterfactual search needs evidence that meaning changes appropriately. An auxiliary similarity score or a fluent generator helps operationalize those goals, but the presence of a numerical constraint is not itself a complete semantic guarantee.

There are also mathematical presentation limits. The survey’s displayed LIME objective and Representer Point Selection coefficient notation need careful interpretation before implementation. The main explanations of the methods remain intelligible, but the formulas should not be treated as a verified software specification.

Finally, neither human plausibility nor agreement among explanation methods supplies an unconditional guarantee. People can find a rationale persuasive because it resembles their own reasoning. Different techniques can agree because they share assumptions or components. The paper’s strongest general claim is therefore a demand for explicit evidence, with each conclusion tied to the property actually measured.

### What came after

The later citation record places this survey within a widening discussion of trustworthy language systems, explanation tools, training-data influence, internal representations, and diagnostic interventions. These connections establish that subsequent authors cited the survey. They do not, on their own, establish that a later study adopted its taxonomy, resolved its evaluation concerns, or implemented a particular surveyed method. The relationships below distinguish the scope stated by each work’s title from what can be concluded about intellectual dependence.

#### Trustworthiness and alignment

[Trustworthy LLMs](https://md.research.elamur.ai/free/en/papers/liu-2023-trustworthy-llms-survey-guideline-evaluating/) presents a survey and evaluation guideline concerning alignment. Its citation places post-hoc explanation within the broader question of assessing trustworthy behavior. The connection is natural at the level of research purpose: Madsen and colleagues frame interpretability as evidence relevant to ethics, safety, and accountability. The citation does not establish which explanation tests the later guideline recommends.

[AI Alignment: A Comprehensive Survey](https://md.research.elamur.ai/free/en/papers/ji-2023-ai-alignment-comprehensive-survey/) likewise connects the interpretability discussion with alignment research. The earlier survey supplies distinctions that remain relevant to such assessment, especially the separation between an explanation that helps a person and one that faithfully reflects computation. The available citation information supports that thematic relationship without specifying how the later survey uses those distinctions.

[Assessing the Brittleness of Safety Alignment](https://md.research.elamur.ai/free/en/papers/wei-2024-assessing-brittleness-safety-alignment-pruning/) identifies pruning and low-rank modifications as its means of investigation. Its stated focus connects with the earlier paper’s interest in examining behavior through controlled changes. A direct claim about its findings, or about which faithfulness criteria it applies, would require more than the citation and title.

#### Tools, attribution, and training data

[Inseq](https://md.research.elamur.ai/free/en/papers/sarti-2023-inseq-interpretability-toolkit-sequence-generation/) identifies itself as an interpretability toolkit for generated sequences. That scope addresses a gap the survey makes explicit: many established techniques are designed around classification, even where generated language is the practical application. The later work’s stated tooling focus belongs to the area the authors wanted to see developed, although the citation record alone does not identify its specific validation procedures.

[LESS](https://md.research.elamur.ai/free/en/papers/xia-2024-less-selecting-influential-data-targeted/) concerns selecting influential data for targeted instruction tuning. It connects training-data influence with a data-selection objective. The earlier survey had examined influence functions, Representer Point Selection, and TracIn as ways to relate observations to learned behavior. The later title establishes a shared concern with influence, but does not establish equivalence to any particular estimator reviewed by the survey.

[Gradient-based analysis of chain-of-thought prompting](https://md.research.elamur.ai/free/en/papers/wu-2023-analyzing-chain-thought-prompting-large/) names feature attribution as its analytical instrument. It places a familiar explanation family in the setting of multi-step verbal prompting. The survey’s questions therefore remain directly applicable to interpreting that kind of analysis: which output is attributed, what the gradients measure, and what evidence connects the attribution to behavior. These are questions supplied by the earlier framework, not claims about the later study’s results.

[Beyond the Token](https://md.research.elamur.ai/free/en/papers/yagiz-2026-beyond-token-correcting-tokenization-bias/) identifies tokenization bias in explainable AI as its problem and morphologically aligned projection as its approach. Its stated scope connects with the survey’s observation that input explanations may operate over characters, sub-words, or words. The choice of unit affects what a person sees. The citation supports this connection without providing a measured account of the proposed correction.

#### Internal representations and alternative explanatory units

[Patchscopes](https://md.research.elamur.ai/free/en/papers/ghandeharioun-2024-patchscopes-unifying-framework-inspecting-hidden/) presents a framework for inspecting hidden representations. It belongs to the broad problem space in which internal information is made accessible to people. The survey’s distinction between recovering information and establishing its behavioral role remains useful for assessing such work, while the citation alone does not establish the later framework’s relationship to individual probing methods.

[A Primer on Transformer Internals](https://md.research.elamur.ai/free/en/papers/ferrando-2024-primer-inner-workings-transformer-based/) continues the explanatory and synthesizing strand. Its title places the inner workings of transformer-based systems at the center. Relative to Madsen and colleagues’ communication-focused organization, this marks a related architectural focus; no specific adoption of the earlier taxonomy is established by the citation information.

[GeoLAN](https://md.research.elamur.ai/free/en/papers/pan-2026-geolan-geometric-learning-latent-explanatory/) names latent explanatory directions and geometric learning as its subject. [The Shape of Vulnerability](https://md.research.elamur.ai/free/en/papers/tsai-2026-shape-vulnerability-how-adversarial-perturbations/) connects adversarial perturbations with changes in latent-space topology. Their stated subjects extend the range of representation-level questions associated with explanation. The earlier survey provides a reason to ask how such geometry is communicated and whether it explains observable behavior, without supplying the answers for these later studies.

#### Linguistic and task-specific explanations

[Transparent Semantic Change Detection](https://md.research.elamur.ai/free/en/papers/tat-2026-transparent-semantic-change-detection-dependency/) uses dependency-based profiles according to its title. [Through the Sentence Lens](https://md.research.elamur.ai/free/en/papers/melanchthon-2026-through-sentence-lens-explainable-essay/) concerns explainable essay scoring through fine-grained predictions. Both titles foreground explanatory units beyond a single undifferentiated output: linguistic profiles in one case and sentence-level views in the other. Their connection to the survey is the broader design question of what structure an explanation should communicate.

[Viewpoint Rotation Without Vision](https://md.research.elamur.ai/free/en/papers/yang-2026-how-do-llms-vlms-understand/) identifies an interpretability study concerning viewpoint rotation in language and vision-language systems. Its stated subject illustrates another task-specific use of interpretation. The survey’s contribution to reading such work is methodological: separate demonstrated task behavior, evidence about internal representations, and evidence that the resulting explanation helps a person understand either one.

## Cite

Cite as Andreas Madsen, Siva Reddy and Sarath Chandar. 2022. Post-hoc Interpretability for Neural NLP: A Survey. ACM Computing Surveys.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1145/3546577](https://doi.org/10.1145/3546577) · [arXiv 2108.04840](https://arxiv.org/abs/2108.04840)

```bibtex
@inproceedings{madsen2022post,
  title = {{Post-hoc Interpretability for Neural NLP: A Survey}},
  author = {Andreas Madsen, Siva Reddy and Sarath Chandar},
  booktitle = {ACM Computing Surveys},
  year = {2022},
  doi = {10.1145/3546577},
  eprint = {2108.04840},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1145/3546577}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
