Equation 14 · What Interpretability Actually Costs to Do at Scale
What does this equation mean?
Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.
This equation gives an approximation: it relates the quantities while allowing an approximation. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.
Read it piece by piece
Symbol C_SAE
AE is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
Symbol d
d is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
Symbol n
n is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
Symbol T
T is a part of this expression. Its role is fixed by the surrounding article and by the operations shown in the formula.
subscript
The lower label selects a particular version, component, or indexed member of the quantity. For example, x₀ and xₜ can be values at different positions.
How to interpret it
Its accuracy depends on the assumptions and range of use described in the article.
What the article says around this equation
Work out what that architecture actually spends compute on per token, because the two halves of it behave differently. The encoding step needs a score for every one of the n candidate latents before it can select the top k , so it is an unavoidably dense matrix multiply: roughly 2dn floating-point operations. The decoding step only touches the k latents that survived, so it is sparse: roughly 2dk operations. Summed and multiplied across T training tokens, a first-order compute model for training the dictionary is . Because published TopK configurations keep k in the tens to low hundreds while n runs into the millions, n k and the encoding term dominates almost…
Read the full surrounding passage
Work out what that architecture actually spends compute on per token, because the two halves of it behave differently. The encoding step needs a score for every one of the n candidate latents before it can select the top k , so it is an unavoidably dense matrix multiply: roughly 2dn floating-point operations. The decoding step only touches the k latents that survived, so it is sparse: roughly 2dk operations. Summed and multiplied across T training tokens, a first-order compute model for training the dictionary is . Because published TopK configurations keep k in the tens to low hundreds while n runs into the millions, n k and the encoding term dominates almost entirely: 2dnT . That single approximation explains something the paper reports without deriving: convergence — the point at which more tokens stop buying lower reconstruction error — is reached later as n grows, empirically as () tokens for GPT-4-scale autoencoders [ 1 ] . Cost scales with the product of dictionary width and token count, and pushing width up forces token count up too if the dictionary is to be trained to convergence rather than merely trained. The paper is explicit that this collided with a real constraint: at their largest scale they state plainly that “because of compute constraints, we were unable to train our 16 million latent autoencoder to” the convergence frontier they used for smaller runs [ 1 ] . Sharkey and colleagues, surveying the field’s open problems, draw the economic conclusion directly: sparse dictionary learning “will probably be relatively expensive to train compared to the original model” it is being used to interpret, and that expense compounds because a separate dictionary is typically needed for every layer an investigator wants to see into [ 2 ] .
Sources cited in the surrounding passage
These citations give research context. Read each source to check which claims it supports.
Return to What Interpretability Actually Costs to Do at Scale