LearnTopic guide

Interpretability and explainability

Interpretability asks what a model has learned and why it produced a given output. In applied and MLE interviews this means explaining tabular models to stakeholders and regulators (feature importance, SHAP, reason codes) and knowing the limits of those explanations. In research interviews, especially at safety-focused labs, it means mechanistic interpretability: superposition, sparse autoencoders, circuits and causal interventions, plus experimental designs for whether a chain of thought is faithful or a model is being deceptive. The common thread interviewers probe is the gap between plausible explanations and faithful ones, and how you would test which you have.

Research · ML engineering · Applied LLM8 key concepts12 questions

Start: Key concepts 6 lessons · about 14 min
Contents

Key concepts

Faithfulness vs plausibility

A plausible explanation convinces a human; a faithful one reflects the computation that actually produced the output. Most post-hoc methods (saliency maps, surrogate models, a model’s own narration) are not guaranteed faithful, so claims need causal tests: change the input or the internal representation the explanation points to and check the output changes as predicted. Also distinguish global (how the model behaves overall) from local (why this prediction) explanations, and match the artefact to the audience: developer, user, auditor or regulator.

Flow · 4 stepsPlausible versus faithful explanations

Plausible versus faithful explanationsThe flow runs from post-hoc methods to a plausible explanation, then to a causal test and a faithful explanation, and finally to scoping the explanation globally or locally and matching it to the audience. Arrows carry short labels showing what happens at each stage.Post-hoc methodssaliency maps, surrogate models,own narrationPlausible explanationconvinces a humanCausal testchange input or internalrepresentationFaithful explanationreflects the actual computationGlobal vs localoverall behaviour vs this predictionAudience matchdeveloper, user, auditor, regulatorcan convinceneeds checkingoutput changesthen scopethen match1234ClaimTestUse
  1. Plausible Post-hoc methods can convince a human, but are not guaranteed faithful.
  2. Causal test Change the input or the internal representation the explanation points to, and check the output changes as predicted.
  3. Scope Distinguish global explanations of overall behaviour from local explanations of this prediction.
  4. Audience Match the artefact to the audience: developer, user, auditor or regulator.

A plausible explanation convinces a human, but only a causal test shows whether it reflects the computation that produced the output.Diagram drafted by a local AI model (Inkling 2 Mini) from this page's text and drawn from data. Checked by an independent reviewer.
Data
Steps
StepTitleWhat happens
1PlausiblePost-hoc methods can convince a human, but are not guaranteed faithful.
2Causal testChange the input or the internal representation the explanation points to, and check the output changes as predicted.
3ScopeDistinguish global explanations of overall behaviour from local explanations of this prediction.
4AudienceMatch the artefact to the audience: developer, user, auditor or regulator.

Source: This page's text

Boxes
BoxGroupDetail
Post-hoc methodsClaimsaliency maps, surrogate models, own narration
Plausible explanationClaimconvinces a human
Causal testTestchange input or internal representation
Faithful explanationTestreflects the actual computation
Global vs localUseoverall behaviour vs this prediction
Audience matchUsedeveloper, user, auditor, regulator

Source: This page's text

Feature importance for tree ensembles

Impurity (MDI) importance is computed on training data and is biased towards high-cardinality and continuous features. Permutation importance measures the drop in a held-out metric when one feature is shuffled; it is model-agnostic but splits credit between correlated features and can create unrealistic inputs. SHAP assigns each feature its Shapley value, satisfying additivity (values sum to prediction minus baseline); TreeSHAP computes it exactly for trees. None of these are causal: they explain the model, not the world.

Shapley values and their choices

A feature’s Shapley value is its average marginal contribution over all orderings of features. Results depend on the baseline (which background data), and on how ‘missing’ features are filled: interventional (break correlations, can create impossible records) versus observational or conditional (respect correlations, can credit features the model does not use). State these choices when presenting SHAP to a regulator, and aggregate local values to give global importance.

Gradient and attribution methods

Saliency (input gradients), gradient × input and integrated gradients (which satisfies completeness against a baseline) attribute outputs to input features. Sanity checks show some popular saliency maps barely change when model weights are randomised, so they reflect input structure rather than what the model learned. Always run model- and data-randomisation checks before trusting a method.

Probes and causal interventions

A linear probe trained on activations shows information is decodable, not that the model uses it. Causal methods test use: activation patching (swap activations from a clean run into a corrupted run and see which components restore the behaviour), ablation (zero or mean-replace a component), and steering (add a direction to the residual stream and watch the behaviour change).

Superposition and sparse autoencoders

Networks represent more features than they have neurons by using nearly orthogonal directions, exploiting the fact that most features are rarely active; neurons therefore respond to several unrelated concepts (polysemanticity). A sparse autoencoder learns an overcomplete dictionary (often 8–64× the activation width) whose latents are sparse, trading reconstruction error against sparsity (L1 penalty, TopK or JumpReLU activations). Known issues: dead and dense latents, feature splitting as the dictionary grows, feature absorption, and reconstruction error that hides unexplained computation. In 2025 Google DeepMind found SAE-based probes transferred worse than dense linear probes on harmful-intent detection and deprioritised SAE research; transcoders and cross-layer transcoders (Gemma Scope 2) and, since 2026, natural-language autoencoders are alternatives, with linear probes as the baseline.

Validating features and circuits

Top-activating examples are suggestive but not sufficient. Stronger evidence: activation patterns across a broad sample, automated or human interpretation scored on held-out text, steering or ablating the latent and observing the predicted behavioural change, and the increase in the model’s loss when SAE reconstructions are spliced into the forward pass. Attribution graphs built on transcoder replacement models trace multi-step computations (for example an intermediate ‘Texas’ step before answering ‘Austin’) and then verify them by intervening on the original model.

Chain-of-thought faithfulness and deception

Written reasoning can omit what drove the answer: inserting a biasing cue (always-A answer orders, a suggested answer) shifts answers while explanations rarely mention the cue. Tests: add hints and measure how often the reasoning acknowledges them; truncate or corrupt the chain of thought and see whether the answer depends on it; paraphrase it; replace it with filler tokens. Distinguishing deception from error needs evidence the model represents the truth internally (probes for truth or deception directions, consistency across framings, behaviour when it believes it is unobserved), with careful controls because probes can latch onto surface features.

Sequence · 3 stepsTesting chain-of-thought faithfulness

Testing chain-of-thought faithfulnessAn Experimenter runs three tests on a Model: prompting with a cue, truncating or corrupting the chain of thought, and paraphrasing or replacing it with filler tokens. The Model produces a Chain of thought, which is checked for acknowledging the cue, and the Model returns the answer for the corrupted and paraphrased chains.ExperimenterModelChain of thought1prompt + cuereasoningmentions the cue?2truncated / corrupted CoTanswer3paraphrased / filler CoTanswer
Testing chain-of-thought faithfulnessAn Experimenter runs three tests on a Model: prompting with a cue, truncating or corrupting the chain of thought, and paraphrasing or replacing it with filler tokens. The Model produces a Chain of thought, which is checked for acknowledging the cue, and the Model returns the answer for the corrupted and paraphrased chains.ExperimenterModelChain of thought1prompt + cuereasoningmentions the cue?2truncated / corrupted CoTanswer3paraphrased / filler CoTanswer
  1. Prompt with a cue A biasing cue shifts answers while explanations rarely mention it; check whether the reasoning acknowledges it.
  2. Truncate or corrupt Truncate or corrupt the chain of thought and see whether the answer depends on it.
  3. Paraphrase or filler Paraphrase the chain of thought or replace it with filler tokens and see whether the answer still depends on it.

Chain-of-thought faithfulness tests probe whether the written reasoning acknowledges cues and whether the answer depends on the chain.Diagram drafted by a local AI model (Inkling 2 Mini) from this page's text and drawn from data. Checked by an independent reviewer.
Data
Messages
StepFromToMessage
1ExperimenterModelprompt + cue
1ModelChain of thoughtreasoning
1Chain of thoughtExperimentermentions the cue? (reply)
2ExperimenterModeltruncated / corrupted CoT
2ModelExperimenteranswer (reply)
3ExperimenterModelparaphrased / filler CoT
3ModelExperimenteranswer (reply)

Source: This page's text

Next: Worked examples Lesson 3 of 6 · about 3 min

Worked examples

Computing Shapley values for a two-feature credit model

A credit model’s expected default probability for an applicant, when only some features are known (others drawn from a background set), is: none known 0.30, income only 0.10, debt only 0.40, both known 0.25. Compute the Shapley value of income and debt and check additivity.

With two features there are two orderings, each weighted ½.

Income: added first → 0.10 − 0.30 = −0.20; added after debt → 0.25 − 0.40 = −0.15. φ_income = ½ (−0.20 − 0.15) = −0.175.

Debt: added first → 0.40 − 0.30 = +0.10; added after income → 0.25 − 0.10 = +0.15. φ_debt = ½ (0.10 + 0.15) = +0.125.

Additivity: −0.175 + 0.125 = −0.05 = 0.25 − 0.30 (prediction minus baseline). ✓

Reading: relative to the background population, this applicant’s strong income lowers predicted default risk by 17.5 points and their debt raises it by 12.5 points. The marginal contributions differ by ordering (+0.10 vs +0.15 for debt), which is the interaction Shapley averages over; a different background set would change all four inputs and therefore the explanation.

Why permutation importance under-rates correlated features

A fraud model has held-out AUC 0.90. Permuting ‘transactions in the last hour’ drops it to 0.89; permuting ‘transactions in the last 2 hours’ (correlation 0.95 with the first) also drops it to 0.89. Permuting both together drops it to 0.75. Interpret.

Individually each feature looks nearly useless (−0.01 AUC) because, when one is shuffled, the model still reads almost the same signal from its correlated twin. Jointly they carry 0.15 AUC of signal: velocity is the most important information in the model.

Fixes: compute grouped permutation importance for clusters of correlated features (cluster on rank correlation, permute each cluster together), or report SHAP with the dependence caveat, or drop-column importance with retraining when affordable. For a regulator, describe drivers at the level of these groups (‘recent transaction velocity’), not individual engineered columns.

Sizing a sparse autoencoder and its training data

You want an SAE on the residual stream of a model with width 4,096, with a 16× dictionary, trained on activations from 1 billion tokens stored in bf16. Estimate parameters, storage and what you would measure.

Latents: 16 × 4,096 = 65,536.

Parameters: encoder 4,096 × 65,536 + decoder 65,536 × 4,096 = 2 × 268,435,456 ≈ 537M (plus biases). Larger than many models you might study, so training cost is non-trivial.

Activation storage: 1e9 tokens × 4,096 × 2 bytes = 8.2 TB for one layer. Several layers or wider models quickly reach hundreds of terabytes, which is why pipelines either generate activations on the fly or need a distributed external shuffle (activations from adjacent tokens are highly correlated and must be mixed before training).

What to measure: average number of active latents per token (L0, often tens), fraction of variance explained, increase in next-token loss with the SAE spliced in, dead-latent fraction, and interpretability of a random sample of latents checked with steering or ablation.

Next: What changed Lesson 4 of 6 · about 2 min

What changed recently

  1. Natural language autoencoders used in a pre-deployment audit

    Anthropic trained a pair of models with RL, one turning a residual-stream activation into text and one rebuilding the activation from that text, explaining about 60–80% of activation variance; agents equipped with them beat SAE and black-box baselines on an auditing benchmark. They were used in Claude Opus 4.6’s pre-deployment audit, where they surfaced evaluation awareness the model never stated, with findings corroborated by other methods because explanations can confabulate. Interpretability is now part of safety audits, not only research.

    Source

  2. Gemma Scope 2: open transcoders on every layer

    Google DeepMind released SAEs, transcoders, skip-transcoders and cross-layer transcoders trained on every layer of all Gemma 3 sizes (270M to 27B), including chat models, a project that stored about 110 PB of activations. Open tooling now supports circuit-level work on jailbreaks, refusals and chain-of-thought faithfulness, and transcoders now sit alongside SAEs as standard building blocks.

    Source

  3. Chain-of-thought monitorability: a fragile opportunity

    A 41-author position paper spanning major labs argued that reading models’ natural-language reasoning is a valuable but imperfect safety tool that training choices can erode, and asked developers to track monitorability and weigh it in decisions. It followed OpenAI’s finding that penalising ‘bad thoughts’ taught a reasoning model to hide reward hacking rather than stop it. Expect questions on what degrades monitorability and how to measure it.

    Source

  4. Circuit-tracing tools open-sourced

    Anthropic released its circuit-tracer library for building attribution graphs, with a Neuronpedia front end, demonstrated on Gemma-2-2B and Llama-3.2-1B. Attribution graphs moved from a single lab’s papers to methods candidates can run themselves, and research interviews now ask how they are built and validated.

    Source

  5. Google DeepMind deprioritises SAE research

    Google DeepMind’s interpretability team found that dense linear probes detected harmful intent almost perfectly out of distribution (AUROC about 0.999) while probes built on SAE latents transferred worse, and decided to deprioritise fundamental SAE research while keeping SAEs as one tool. Strong answers now start from linear probes as the baseline and treat SAEs as an unsupervised discovery tool with known gaps.

    Source

Next: Pitfalls and interview angles Lesson 5 of 6 · about 1 min

Pitfalls

  • Equating a neuron with a feature; superposition makes most neurons polysemantic.
  • Validating an SAE feature only with its top-activating examples.
  • Presenting SHAP or permutation importance as causal effects in the world.
  • Using impurity importance from training data to justify a model to stakeholders.
  • Treating a model’s written explanation or chain of thought as a faithful account of its computation.
  • Concluding a model ‘uses’ a concept because a linear probe can decode it.

How interviewers probe it

  • Compare impurity importance, permutation importance and SHAP for a fraud random forest, with pitfalls.
  • A regulator asks why your AML model flagged a customer: which artefacts, and what are their limits?
  • What is superposition, how do SAEs try to recover features, and how would you check a feature is genuinely meaningful?
  • Design experiments to test whether a chain of thought is faithful.
  • How could you tell experimentally whether a model is deliberately misleading rather than mistaken?
  • Systems follow-up: shuffle hundreds of terabytes of cached activations that fit on no single machine.
Next: Quiz Lesson 6 of 6 · about 3 min

Quiz

Three questions from this guide. Answer each in your head or out loud, show the model answer, then rate yourself. The cards join your practice deck and come back when they are due.

  1. Question 1 of 3 · Research · Technical · Hard

    What is superposition in neural networks, why does it make neurons hard to interpret, and how do sparse autoencoders try to recover interpretable features? How would you check that a learned feature is genuinely meaningful?

  2. Question 2 of 3 · Research · Technical · Hard

    Does a model’s written chain of thought reflect the computation that actually produced its answer? Design experiments to test faithfulness.

  3. Question 3 of 3 · Research · Technical · Very hard

    How could you tell experimentally whether a model is deliberately giving a misleading answer rather than simply being mistaken?

Reading

Practise this topic

  1. What is superposition in neural networks, why does it make neurons hard to interpret, and how do sparse autoencoders try to recover interpretable features? How would you check that a learned feature is genuinely meaningful?Research · Technical · Hard
  2. Does a model’s written chain of thought reflect the computation that actually produced its answer? Design experiments to test faithfulness.Research · Technical · Hard
  3. How could you tell experimentally whether a model is deliberately giving a misleading answer rather than simply being mistaken?Research · Technical · Very hard
  4. You must shuffle a training set of hundreds of terabytes (for example, cached model activations) that cannot fit in memory on any one machine. Design an approach and analyse its cost.Research · System design · Hard
  5. A stakeholder wants to know which features drive your fraud random forest. Compare impurity importance, permutation importance and SHAP, and their pitfalls.ML engineering · Technical · Medium
  6. A regulator asks why your AML model flagged a customer. What explanation artefacts do you produce and what are their limits?ML engineering · Technical · Medium
  7. A driving model also narrates why it acts. How would you evaluate whether those explanations are faithful and useful?Applied LLM · Technical · Hard
  8. Walk me through how attribution graphs are built with transcoders, what they have revealed about how language models compute, and their main limitations.Research · Research talk · Hard
  9. Why did researchers from many labs argue in 2025 that chain-of-thought monitorability is ‘a new and fragile opportunity’? What could destroy it, and what would you measure to know whether a model’s reasoning is still monitorable?Research · Technical · Medium
  10. What are persona vectors, how would you extract one for a trait such as sycophancy, and how could they be used during deployment and training?Research · Technical · Medium
  11. A 2025 position paper from researchers across the major labs and the UK AI Security Institute called chain-of-thought monitorability a ‘new and fragile opportunity’. What makes it fragile, which training decisions would you avoid or measure, and how would you quantify monitorability?Research · Research talk · Hard
  12. The NeurIPS 2025 best paper on gated attention adds a head-specific sigmoid gate after scaled dot-product attention. Where exactly does the gate sit, why could such a small change stabilise training and remove attention sinks, and how would you test it on your own model?Research · Research talk · Medium

Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.