Explainability: worked examples

On this page

In plain language. When an AI model produces an answer, can we trace why it produced that specific answer (not just from the input, but through the chain of internal computation that led there)? The question matters for finance because regulators and model risk managers need to evaluate whether an AI’s reasoning is sound, not just whether its output happens to be right. This page reports two early attempts at producing that kind of trace, on small open-weight models. Neither is a production-ready audit tool; both are experiments showing what’s technically possible today and where the limits sit.

Methodologically these are applied-interpretability experiments: CLT attribution graphs and a combined NLA/SAE readout on open-weight models (Gemma-2-2B, Gemma-3-12B-IT; GemmaScope-2 SAE at residual-stream layer 32). They stand or fall on interpretability grounds first: whether a technique faithfully recovers a model’s internal computation, and where it breaks.

In plain terms: an attribution graph traces which internal features drove a specific output; a sparse autoencoder (SAE) is a tool that decomposes a model’s internal state into human-nameable features; a natural-language autoencoder (NLA) makes the model describe its own internal state in words; and the dual readout runs the last two side by side so each can check the other.

The FINMA framing below is one application of that: the regulatory case for why per-decision faithfulness matters in a Swiss bank. It is not the reason the methods are interesting. Negative results are reported as findings in their own right, not despite a compliance motive.

This page reports work on per-decision causal documentation for LLMs, anchored where relevant to FINMA Guidance 08/2024 focus area VI (“Explainability”). Two complementary techniques are reported here: cross-layer transcoder (CLT) attribution graphs on small base models, and a per-token dual readout combining natural-language autoencoders (NLA) with sparse autoencoder (SAE) features on a production-class instruct model.

First worked example: barrier knock-in on Gemma-2-2B (May 2026)

A first attribution graph has been computed on the canonical barrier- knock-in prompt using circuit-tracer. The full writeup covers methodology, per-input-position attribution, top contributing features, FINMA §VI mapping, and the CLT method’s limitations.

Headline finding. On the prompt “In a barrier reverse convertible, if the underlying closes below the barrier at maturity, the investor”, base Gemma-2-2B’s top-1 next-token prediction is " receives" (p = 0.346), not " loses" (rank 8, p = 0.015). The base 2B model’s surface behaviour is formulaic, not domain-aware. The attribution graph nevertheless reveals that barrier-related input tokens do contribute to the " loses" logit; the causal-chain signal exists internally but is dominated by template-completion computation at the final token. The artefact demonstrates that per-decision causal documentation is technically feasible today at the small-scale end of the model spectrum.

Read the full analysis: 2026-05: First attribution graph. Top-features tables, reproduction scripts, and prompt sets are part of the research record.

Contrastive variant: does the barrier direction flip the circuit? (May 2026)

The single-prompt worked example left one question open: even though the output is wrong, do the model’s internal features still encode the causal chain? A contrastive run answers it: flip the one word that flips the economics (belowabove) and check whether the circuit flips with it. Full writeup of the contrastive run.

Headline finding (a negative result, and that is the point). Flipping the underlying from below the barrier to above it (an economically opposite scenario) barely moves the model. Both prompts predict " receives" as top-1 at p ≈ 0.347 (a 0.002 difference); the top-15 logit-driver features are the same circuit (10 of 11 identical, same #1 feature at L19); and 8–9 of the top-10 barrier-concept features are shared. Gemma-2-2B (base) has barrier-token features but no representation of the barrier’s directional consequence that attribution can recover.

This corrects the cautious earlier reading: the “98 concept-position features” seen for the " loses" logit are not specific to the loss scenario; substantially the same features fire for the gain scenario. For an MRM reviewer the value is methodological: a contrastive design can falsify a faithfulness claim, and an explainability method that cannot fail such a test is not an audit. Faithfulness must be re-tested per model.

Read the full analysis: 2026-05-16: Contrastive attribution. Per-prompt top-features tables are in the research record.

Per-token dual readout on Gemma-3-12B-IT (May 2026)

The Gemma-2-2B contrastive run flagged its own faithfulness limit explicitly: a base 2B model is not the surface a Swiss MRM reviewer deploys. The natural next test is a production-class instruct model, Gemma-3-12B-IT, with a method that goes beyond logit-attribution to a two-channel readout of the model’s internal state at the decision layer.

The technique is a per-token dual readout at residual-stream layer 32:

Reading both channels together yields a candidate vocabulary of four agreement patterns (converge, nla_only, sae_only, confabulation) proposed as method-confidence tags on a model’s output. Whether they are useful to an MRM reviewer is exactly what the at-scale run below tests, and the answer so far is “not yet, on this model.” See the headline distribution and the caveats.

Proof of protocol on the barrier triple

The proof-of-protocol run applied the dual readout to the same below/above/neutral barrier triple used in the Gemma-2-2B contrastive test, this time on Gemma-3-12B-IT (47 tokens × 3 prompts). The two channels independently identified financial-domain onset at the same token positions, and the SAE/NLA cross-check caught the run’s first NLA confabulation: a verbal claim not corroborated by any SAE feature at that position. Full writeup with the per-regime token table.

At scale: 25 SP-Benchmark questions

The at-scale run applied the same protocol to a 25-question subset of the SP-Benchmark questionnaire spanning 7 domains (Structuring, Pricing & Greeks, Lifecycle Events, Risk Transfer, Maturity & Settlement, SSPA Taxonomy, Credit-Linked / Fixed Income). The subset was selected by behavioural-signal ranking across 14 closed-frontier and open-weight models in the existing eval panel. Each question’s per-token NLA verbalizations and SAE feature signatures were captured to JSON, then tagged by the agreement-pattern taxonomy. Full at-scale writeup, covering the per-question table, three FM-specific case studies, and aggregates.

Headline distribution (25 questions).

01234567891011121314questions (n=25)nla_onlyconfabulationconvergesae_onlymixed
Agreement-pattern distribution across 25 SP-Benchmark questions on Gemma-3-12B-IT. Source: /analysis/2026-05-dual-readout-empirical/ §4. · hover for detail
PatternnRateReading
converge416%Best case, not a routine one: NLA + SAE independently cite the same concept stack on only 4 of 25 questions.
nla_only1456%Coherent verbal themes, no discriminating SAE features. Weak corroboration only.
confabulation728%NLA verbalizes a claim contradicted by prompt or model state. Verbal-only floor.
sae_only00%SAE never discriminates without NLA also producing themes on this layer/SAE.
mixed00%Priority-ordered tagging collapses ambiguous cases.

By domain and by failure mode. The same 25 questions decomposed two ways: across the 7 SP-Benchmark domains the subset spans, and across the three failure modes (FM1 surface, FM2 isolated, FM3 directional) the questions target. A question with multiple FM targets contributes to each FM row.

012345questionsD1 StructuringD12 Credit-LinkedD2 Pricing/GreeksD5 LifecycleD6 Risk TransferD7 MaturityD8 SSPA Taxonomyconvergenla_onlyconfabulation
Per-domain pattern distribution (n=25). Source: /analysis/2026-05-dual-readout-empirical/ §4.2.
024681012141618(question, FM-target) pairsFM1 surfaceFM2 isolatedFM3 directionalconvergenla_onlyconfabulation
Per-failure-mode pattern distribution. A question with multiple FM targets contributes to each row; column totals therefore exceed 25. Source: /analysis/2026-05-dual-readout-empirical/ §4.3.

Worked case study: Q-D7-L3-01, European vs American barrier semantics. The closest in-the-wild parallel to the proof-of-protocol barrier-direction contrast. The question asks an MRM-relevant compare: a BRC with a European barrier (checked only at maturity) vs an otherwise identical BRC with an American barrier (continuous, breached 3 months ago, recovered). The model produces a fluent answer that inverts the BRC coupon condition and gives a self-contradictory European-barrier definition. The dual readout reads as follows:

MRM implication. The dual readout catches the error only because the auto-tagger has access to the reference answer. Without the reference, the readout produces concept-relevant themes that look corroborating. This bounds what the planned FINMA mapping can claim: on this model+SAE pair, for FM3-class directional errors, the dual readout supports post-hoc audit (reference-anchored) but not pre-hoc flagging. The proof-of-protocol claim (“the readout can flag a directional flip”) narrows into the at-scale in-the-wild finding (“the readout does not flag a directional flip on an uncontrolled prompt without external ground-truth”).

Methodology caveats

Two caveats are load-bearing for any external citation of the at-scale numbers:

Inter-rater note

The 9 confabulation auto-calls in the at-scale run received one independent human review. 7/9 agreed (78%); two were downgraded to nla_only because they were concept hallucinations rather than token-level contradictions. This is a single-rater pass on the highest-stakes subset, not the full subject-matter-expert calibration the testing-validation page §6.2 still flags as an open methodological gap.

Read the full analyses.

Per-question JSONs, the tabulation script, and the execution plan are internal research artefacts not yet published.

Next steps