Appendix A

A Notation Reference and Symbol Table#PDF p. 178

This section provides a unified reference for mathematical notation used throughout the paper. It is not exhaustive: symbols that appear only within a single section are defined where they are introduced and may not be listed here. Where a symbol is overloaded across subfields, the section-specific meaning is noted. All vectors are column vectors throughout the paper.

A.1 Dimensions and Indices#PDF p. 178

  • dd: residual-stream dimension; equivalently model hidden size

  • dheadd_{\text{head}}: attention head dimension

  • dmlpd_{\text{mlp}}: MLP hidden dimension, typically dmlp≫dd_{\text{mlp}} \gg d

  • NHN_H: number of attention heads per layer

  • dsparsed_{\text{sparse}}: dictionary size of an SAE or transcoder, dsparse=e dd_{\text{sparse}} = e\,d with integer expansion factor ee

  • LL: number of layers (model depth); ℓ∈{1,…,L}\ell \in \{1,\dots,L\} indexes layers

  • TT: sequence length (context length); t∈{1,…,T}t \in \{1,\dots,T\} indexes token positions

  • O(⋅)O(\cdot): Big-O asymptotic complexity notation

A.2 Inputs and Activations#PDF p. 178

  • xx: an input prompt or a set of input prompts

  • hℓ1:T∈Rd×Th^{1:T}_\ell \in \mathbb{R}^{d\times T}: residual-stream activations at layer ℓ\ell for token positions 11 to TT, whose tt-th column is hℓth^t_\ell

  • hℓt∈Rdh_\ell^t \in \mathbb{R}^{d}: residual-stream activation at layer ℓ\ell for token position tt

  • hℓ∈Rdh_\ell \in \mathbb{R}^{d}: residual-stream activation at layer ℓ\ell with token position omitted

  • h∈Rdh \in \mathbb{R}^{d}: residual-stream activation with both layer and position omitted

  • hℓ′∈Rdh'_\ell \in \mathbb{R}^{d}: mid-block residual stream (post-attention, pre-MLP) at layer ℓ\ell

  • hℓin∈Rdh_\ell^{\text{in}} \in \mathbb{R}^{d}, hℓout∈Rdh_\ell^{\text{out}} \in \mathbb{R}^{d}: input and output of a model component, e.g., an MLP block, at layer ℓ\ell

  • h^∈Rd\hat{h} \in \mathbb{R}^{d}: reconstruction of activations hh by a dictionary model

  • h~∈Rd\tilde{h} \in \mathbb{R}^{d}: activation after an intervention (steering, ablation, patching, etc.)

A.3 Dictionary Learning#PDF p. 178

  • E:Rd→RdsparseE : \mathbb{R}^{d} \to \mathbb{R}^{d_{\text{sparse}}}: SAE encoder

  • D:Rdsparse→RdD : \mathbb{R}^{d_{\text{sparse}}} \to \mathbb{R}^{d}: SAE decoder

  • z∈Rdsparsez \in \mathbb{R}^{d_{\text{sparse}}}: sparse feature activations; zi∈Rz^i \in \mathbb{R} is the activation of feature ii; when a layer index is also present, we write zℓiz_\ell^i for feature ii at layer ℓ\ell

  • fj∈Rdf_j \in \mathbb{R}^{d}: feature direction in activation space (the jj-th column of WoutW_{\text{out}})

  • Win∈Rdsparse×dW_{\text{in}} \in \mathbb{R}^{d_{\text{sparse}} \times d}, bin∈Rdsparseb_{\text{in}} \in \mathbb{R}^{d_{\text{sparse}}}: encoder weights and bias

  • Wout∈Rd×dsparseW_{\text{out}} \in \mathbb{R}^{d \times d_{\text{sparse}}}, bout∈Rdb_{\text{out}} \in \mathbb{R}^{d}: decoder weights and bias

  • kk: number of active features in a Top-kk SAE

A.4 Model Parameters#PDF p. 179

  • WQr,WKr,WVr∈Rdhead×dW_Q^r, W_K^r, W_V^r \in \mathbb{R}^{d_{\text{head}} \times d}, WOr∈Rd×dheadW_O^r \in \mathbb{R}^{d \times d_{\text{head}}}: query, key, value, and output projection matrices of the rr-th attention head

  • W1∈Rdmlp×dW_1 \in \mathbb{R}^{d_{\text{mlp}} \times d}, W2∈Rd×dmlpW_2 \in \mathbb{R}^{d \times d_{\text{mlp}}}: MLP weight matrices

  • b1∈Rdmlpb_1 \in \mathbb{R}^{d_{\mathrm{mlp}}}, b2∈Rdb_2 \in \mathbb{R}^{d}: MLP bias vectors

  • θ\theta: the collection of all trainable model parameters

A.5 Interventions and Objectives#PDF p. 179

  • vsteer∈Rdv_{\text{steer}} \in \mathbb{R}^{d}: steering vector, applied as h+α vsteerh + \alpha\, v_{\text{steer}}

  • α\alpha: scaling factor for an intervention

  • L\mathcal{L}: loss function

  • λ\lambda: sparsity or regularisation coefficient. In Appendix C.2, λ(⋅)\lambda(\cdot) instead denotes the local learning coefficient

A.6 Mathematical Operations#PDF p. 179

  • p(y∣x)p(y \mid x), log⁡p(y∣x)\log p(y \mid x): conditional probability and log probability

  • E[⋅]\mathbb{E}[\cdot]: expectation over the data distribution; E[⋅∣condition]\mathbb{E}[\cdot \mid \text{condition}] denotes a conditional expectation

  • ∥v∥\|v\|: Euclidean norm; ∥z∥1\|z\|_1 and ∥z∥0\|z\|_0 denote the L1L_1 and L0L_0 norms

  • ⟨v,w⟩\langle v, w \rangle: inner product

  • ⊙\odot: element-wise product

  • ⊗\otimes: Kronecker product

  • σ(⋅)\sigma(\cdot): activation function