Exercises — Circuits and superposition
Before we start, one shared picture — Figure s01. Think of a neural network layer as an arrow-space: an activation is an arrow (vector) living in a space with axes (one axis per neuron). A feature is a fixed direction in that space. When a feature is "present," the network adds its direction-arrow into the activation. In Figure s01 the four coloured arrows are four feature-directions packed into a 2-neuron space — this is the exact toy layout used in L2.2 and L2.3, so refer back to it there.

Three conventions we fix once and use everywhere:
Level 1 — Recognition
L1.1
For each statement, say whether it describes a circuit or superposition.
- "100 neurons store 1000 features by using nearly-orthogonal directions."
- "A previous-token head feeds an induction head to copy a repeated pattern."
- "One neuron fires for the word apple, for Apple Inc., and for the color red."
Recall Solution
First, the two words in plain language:
-
A circuit is a path of computation — specific neurons/heads wired together doing one algorithm (a verb: it computes).
-
Superposition is a storage trick — packing more feature-directions than there are axes (a noun about capacity: it stores).
- Superposition — "more features than dimensions via nearly-orthogonal directions" is the definition of superposition.
- Circuit — two heads composed across layers implementing an algorithm (induction).
- Superposition (its symptom): a polysemantic neuron is what you observe when superposition packs several feature-directions through one neuron's axis.
L1.2
The parent note says two random unit vectors in have a dot product (overlap) that clusters near with spread about . As grows, does typical overlap get bigger or smaller? What does that mean physically?
Recall Solution
The dot product measures alignment: = same direction, = perpendicular, = opposite. Two features "interfere" only when their directions overlap.
Spread shrinks as grows. So in high dimensions, random directions are almost perpendicular — huge room to pack near-orthogonal features. This is exactly why superposition scales: more axes → more "almost-perpendicular" corners to hide features in.
Level 2 — Application
L2.1
Using the toy-model bound from the parent note, compute the tolerable feature count for , overlap , sparsity .
Recall Solution
Every symbol (also defined in the boxes above): = number of features you can store and still decode; = the signal ÷ noise threshold; = biggest allowed pairwise overlap ; = probability a given feature is active. The means "up to a constant we set to ."
The bound comes straight from the boxed inequality (derived in full at L5.1). Rearranged it gives . Plugging in:
So decodable features — vastly more than the tiny you'd need for orthogonal storage.
L2.2
Feature (only) is active in the toy 2D example of Figure s01, with . The activation is . What does each neuron read off?
Recall Solution
In Figure s01, is the yellow arrow at . An activation literally means neuron outputs , neuron outputs . Since :
- Neuron :
- Neuron :
Notice neither neuron reads a clean "1." The information is spread across both — that spreading is superposition in action.
L2.3
Two features (the yellow and green arrows of Figure s01) are both active. From the parent note, . To read out feature we project onto (dot product). Compute it and the interference error. Figure s02 draws this readout.
Recall Solution
First check the length of . A projection equals a plain dot product only when the target direction is a unit vector (length ). Use the exact values: , so Exactly unit (the was just the decimal for ). So projection dot product here. If were not unit, you would divide by its length: . Always confirm this before equating the two.
Now the readout — "how much of points along ?" — using exact values : We expected (feature 2 present once). We got . The extra is interference from leaking through the overlap . Right: leak = overlap = (see the red dashed projection line in Figure s02). ✔

Level 3 — Analysis
L3.1
In the induction circuit, why must the induction head live in a deeper layer than the previous-token head? Answer causally, not just "empirically."
Recall Solution
The residual stream is a shared notepad that each layer reads then writes. The previous-token head writes "the token before me was X" onto the notepad. The induction head reads that note to jump to "what followed the earlier X."
A reader can only read what's already written. So the writer (previous-token head) must run first → it must be in an earlier layer. Cross-layer composition is one-directional in time-of-computation: write-before-read forces induction depth > previous-token depth.
L3.2
The parent gives two ceilings: the geometric one (with the order-1 constant defined at the top of this page) and the decoding one . With , , , , , which ceiling binds (is smaller)?
Recall Solution
Geometric ceiling. The formula is where the exponent is — an input we compute first, then feed into the exponential function . Compute the exponent: So the ceiling is . Here is a fixed constant, and is the smooth exponential-growth function whose value at is what we want (for whole numbers happens to equal multiplied by itself times, but for a fractional exponent like it is defined by that same smooth curve, not by repeated multiplication). Numerically and , so . Hence .
Decoding ceiling. .
Which binds? The smaller ceiling is the real limit: , so at this geometry binds. But geometry grows exponentially in : at the exponent is , giving , so now decoding binds. Lesson: geometry overtakes decoding as grows; in real large models ( huge) the sparsity/decoding term is the binding constraint, exactly as the parent claims.
L3.3
Why does a dense feature regime () collapse superposition capacity toward ?
Recall Solution
If , nearly all features are on at once, so active count . Interference grows with . To keep noise below signal you need — a fixed number independent of how many directions geometry allows. The only way to store many dense features cleanly is to make them truly orthogonal → back to . Superposition's magic requires sparsity so that few leaks are ever summed at once.
Level 4 — Synthesis
L4.1
Design a 2D toy: place unit feature-vectors at angles (Figure s03). Compute all pairwise overlaps. If features and are both active, what interference hits the readout of feature ?
Recall Solution
Vectors: , , — the three coloured arrows of Figure s03.
Overlaps (dot products): Perfectly symmetric: every overlap . Note these are negative — which is why we defined with an absolute value: the tolerated overlap here is .
With features active, (the green arrow in Figure s03). Readout of feature 1: Expected , got → interference . The negative overlap reduces the signal (destructive leak), unlike the layout in Figure s01/s02 where leak was .

L4.2
A neuron has activation , where is feature presence and is feature 's component on neuron . Given and features active (others off), find . Explain the polysemanticity.
Recall Solution
The neuron reads — a blend of features and 's directions passing through its axis. Because three unrelated features () all have nonzero components on this one axis, the neuron will light up for any of them. That is exactly what makes it polysemantic: one neuron, many meanings, because superposition routed several feature-directions through it. To disentangle, you'd use a tool like sparse autoencoders that re-express activations in a basis where each direction = one feature.
Level 5 — Mastery
L5.1
Prove the squared-SNR bound. Assume features active, each contributing a random-sign leak of magnitude onto a target feature's readout. Using random-walk (variance-adds) reasoning, derive the condition on for decodability, and recover .
Recall Solution
Setup. Reading out the target feature (projecting the activation onto its direction) gives signal plus a sum of interference terms , one leak per other active feature. Each is that feature's overlap with the target. We state the hypotheses explicitly, because the whole derivation rests on them:
- (H1) Zero mean. Each leak has random sign, or equally likely, so its average is . (Feature directions are placed without a preferred orientation, so a leak is as likely to add to the readout as to subtract from it.)
- (H2) Bounded size. (the maximum allowed overlap defined in the box above), so each leak's spread satisfies . Here is the variance — the average of the squared leak, a measure of typical leak size that ignores sign.
- (H3) Independence. Different active features are unrelated, so their leaks are (approximately) independent — knowing one tells you nothing about another.
Step 1 — WHAT: add up the leaks. Total interference is . WHY a sum: every other active feature dumps its own overlap into the same readout, and readouts are linear (dot products), so leaks simply add.
Step 2 — WHY variances add, not magnitudes. For independent zero-mean terms, the variance of a sum is the sum of variances: The cross-terms () vanish precisely because of (H1)+(H3): independent, mean-zero variables have zero covariance (). So the typical size (standard deviation = square-root of variance) of the total interference is WHY , not : this is the drunkard's-walk law. If we had (wrongly) added magnitudes we'd get ; but signed independent steps cancel on average, so the net displacement grows only like . That square-root is the whole reason superposition is powerful — noise grows slowly.
Step 3 — WHAT the picture looks like. Signal is a fixed arrow of length along the target direction; the leaks are tiny random nudges that pile up to a fuzzy cloud of radius around the signal's tip. Decoding succeeds when that cloud stays smaller than the signal.
Step 4 — impose decodability. Using the SNR convention fixed at the top (signal ÷ noise ), with signal and noise : Multiply both sides by (positive) and divide by (positive): Square both sides (both are positive, so the inequality direction is preserved): Where the emergence comes from: the SNR and the overlap appear squared because we squared the random-walk relation — the noise law forces exactly one squaring. Writing the tolerated-noise budget as recovers the parent's boxed form ; with both forms coincide and give the of L2.1. ∎
L5.2
Design + verify a circuit ablation test. You suspect heads form an induction circuit. Baseline induction accuracy . After zeroing those heads, accuracy . Define a causal effect score as the accuracy drop divided by baseline, and state the threshold you'd use to call the circuit "causal, not correlational."
Recall Solution
Ablation = force the heads' outputs to zero and re-run. If behavior collapses, the heads cause it.
Causal effect
So ≈66.3% of the behavior vanishes when the circuit is removed. A reasonable rule: call it a genuine causal circuit if the drop is large and specific — e.g. effect on the target task while random-head ablations of equal size cause . Here : strong causal evidence, matching the parent's claim that ablating induction heads sharply drops induction accuracy. This same ablation logic underlies attention-head interpretability and concept activation vectors.
Recall Quick self-check (clozes)
Superposition stores more features than dimensions by using nearly-orthogonal directions. A neuron responding to many unrelated features is called polysemantic. Interference from active features grows like == (random-walk). Induction heads must be deeper== than the previous-token heads they read from. The decodable feature ceiling is ::: .
Related builds: Feature visualization · ReLU & activations (nonlinearity that denoises superposed features).