Appendix C
C Mathematical Foundations#PDF p. 181
This section provides background on some key mathematical frameworks used in mechanistic interpretability.
C.1 Causal Inference Basics#PDF p. 181
Mechanistic interpretability relies on causal reasoning: determining whether a component is necessary and sufficient for a behaviour.
C.1.1 Necessity#PDF p. 181
A component is necessary for behaviour if:
Tested via ablation: measure the effect of removing on downstream loss or output distribution.
C.1.2 Sufficiency#PDF p. 181
A component is sufficient for behaviour if:
Tested via interchange interventions: in the corrupted run with a reference input containing no target information, patch the activation of with that from a clean run using an input containing the target information, and then verify whether the behaviour emerges.
C.1.3 Causal Abstraction#PDF p. 181
Causal abstraction (Geiger et al., 2021) formalises when a high-level description (“this head implements copying”) correctly describes lower-level computation. A high-level abstraction is causally correct if interventions on the high-level description produce the same causal effects as interventions on the low-level system. This is formalised via causal diagrams: high-level variables correspond to low-level variables via abstraction maps , and interventions commute:
C.2 Local Learning Coefficient#PDF p. 181
Singular Learning Theory (SLT; Watanabe, 2009) provides a geometric analysis of learning and generalisation in singular statistical models, including neural networks. The Local Learning Coefficient (LLC; Lau et al., 2025) builds on SLT by localising Watanabe’s learning coefficient around a particular parameter configuration, thereby providing a measure of the effective local complexity of a neural network around a local minimum. Below, we introduce the LLC step by step, following the exposition in Section 3 of Lau et al. (2025).
We first consider a neural network and a downstream task. For each neural network parameter configuration, say , we can evaluate its loss . The task should have an explicitly defined loss function , such that we can optimise the model parameters until they converge to a local minimum . Now we choose a sufficiently small closed ball centred at such that any element in it, i.e., , satisfies
We can then calculate the volume of . Viewing each element in this set, which corresponds to a parameter configuration, as a point in a high-dimensional parameter space whose dimension is the number of scalar parameters in , we have
By SLT, as , has the asymptotic form
The convergence speed of , as characterised by , can therefore measure the model’s effective local complexity. Conceptually, a large means that, when we are just around the local minimum (i.e., for small ), the volume of parameter configurations that preserve a similarly low loss is small: perturbing the parameters is more likely to substantially change the loss. This trend corresponds to a local solution with more complexity but less degeneracy. Conversely, a small implies that a larger number of nearby parameter configurations reach similarly low loss, indicating lower effective local complexity and higher degeneracy.
The LLC has been used to characterise properties of trained neural networks. For example, Lau et al. (2025) showed that the LLC can capture differences in effective complexity between models trained under different settings, even when their training losses are similar.
C.3 Information Theory Basics#PDF p. 182
In mechanistic interpretability, concepts from information theory are often used to quantify relationships between internal components and how much information is preserved, and to measure representation quality. Although they do not directly establish causal mechanisms, they are highly useful for quantifying how information is encoded and changes during model computation.
Entropy.
A random variable has entropy (or information content) that is defined as:
High entropy indicates greater uncertainty, while low entropy implies more predictable distributions. Entropy is frequently utilised to measure learned representation diversity or prediction confidence.
Mutual Information.
The mutual information between two random variables and is
which measures how much information one variable provides about the other. Equivalently,
In interpretability, mutual information is often used to estimate how strongly a representation encodes a property of interest, such as a concept, label, or downstream behaviour.
KL Divergence.
The Kullback–Leibler (KL) divergence between distributions and is
which measures how different one probability distribution is from another. KL divergence is widely used to compare model outputs before and after interventions, evaluate reconstruction quality, and train auxiliary interpretability models such as tuned lenses.