potentialpaper

Which Layer Runs the Program? Normalization, Not Depth, Decides Where a Transformer Executes Each Step

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:25 UTC · 10c8e3f2dc3f ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "YlLeDXrC44"
- }
- ],
- "title": "Which Layer Runs the Program? Normalization, Not Depth, Decides Where a Transformer Executes Each Step",
- "authors": [],
- "abstract": "When a transformer is trained from random initialization to execute a Turing-complete instruction set, it reaches the input--output behavior of a hand-designed reference circuit, while realizing it through a different internal mechanism~\\citep{TwoMechanisms2026, NandaEtAl2023}. That comparison fixes \\emph{which} algorithm gradient descent learns; it leaves open a second, equally basic question: \\emph{where, across the network's depth, is each step of that algorithm computed, and what decides the placement?} \n\nWe study this question on the same substrate as similar recent work, a four-layer transformer trained to execute SUBLEQ~\\citep{Mavaddat1988}, using the same hand-built circuit $\\thetac$, now as a per-layer \\emph{answer key}: for every datapath signal (operand fetch, dereference, difference, branch, program-counter update), $\\thetac$ fixes the layer at which it could be computed, and we require every probe to recover that layout before trusting it. Read this way, the trained network reproduces $\\thetac$'s pipeline in the same dependency order. Where that pipeline runs, however, is decided by an unexpected component: \\emph{normalization}. In a paired, multi-seed comparison whose only difference is a pre-normalization layer, the dereference and the subtraction it feeds are deferred to the final layer without normalization and, with it, staged early at the layer $\\thetac$ uses, under both LayerNorm and RMSNorm. The shift holds on a target no affine function of the operands can supply, so it is not an artifact of when the operands become readable. \n\nWe give an idealized-model account of the effect and turn it into a control. A short analysis shows a block's gradient scales with the norm of its input, which normalization holds to a fixed value (up to a learned gain) at every depth. Acting on this, we place normalization at a chosen layer to \\emph{relocate} the computation to that depth, show the contrast persists across depth, the normalized share decreasing toward $1/L$, and find it dissolves under a norm-free replacement. As by-products we localize that stage to attention rather than the feed-forward block and show the effect recurs across one-instruction-set variants and on modular addition.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "87d01e9e-14aa-41fa-a488-367c11763da2"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Which Layer Runs the Program? Normalization, Not Depth, Decides Where a Transformer Executes Each Step",
+ "authors": [],
+ "abstract": "When a transformer is trained from random initialization to execute a Turing-complete instruction set, it reaches the input--output behavior of a hand-designed reference circuit, while realizing it through a different internal mechanism~\\citep{TwoMechanisms2026, NandaEtAl2023}. That comparison fixes \\emph{which} algorithm gradient descent learns; it leaves open a second, equally basic question: \\emph{where, across the network's depth, is each step of that algorithm computed, and what decides the placement?} \n\nWe study this question on the same substrate as similar recent work, a four-layer transformer trained to execute SUBLEQ~\\citep{Mavaddat1988}, using the same hand-built circuit $\\thetac$, now as a per-layer \\emph{answer key}: for every datapath signal (operand fetch, dereference, difference, branch, program-counter update), $\\thetac$ fixes the layer at which it could be computed, and we require every probe to recover that layout before trusting it. Read this way, the trained network reproduces $\\thetac$'s pipeline in the same dependency order. Where that pipeline runs, however, is decided by an unexpected component: \\emph{normalization}. In a paired, multi-seed comparison whose only difference is a pre-normalization layer, the dereference and the subtraction it feeds are deferred to the final layer without normalization and, with it, staged early at the layer $\\thetac$ uses, under both LayerNorm and RMSNorm. The shift holds on a target no affine function of the operands can supply, so it is not an artifact of when the operands become readable. \n\nWe give an idealized-model account of the effect and turn it into a control. A short analysis shows a block's gradient scales with the norm of its input, which normalization holds to a fixed value (up to a learned gain) at every depth. Acting on this, we place normalization at a chosen layer to \\emph{relocate} the computation to that depth, show the contrast persists across depth, the normalized share decreasing toward $1/L$, and find it dissolves under a norm-free replacement. As by-products we localize that stage to attention rather than the feed-forward block and show the effect recurs across one-instruction-set variants and on modular addition.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}