potentialpaper

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

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

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?}

We 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\thetac, now as a per-layer \emph{answer key}: for every datapath signal (operand fetch, dereference, difference, branch, program-counter update), \thetac\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\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\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.

We 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/L1/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.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
16 Sep 2026ICLR 2027 (under review)submittedICLR 2027Desk rejectedreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Desk rejected · OpenReview

Updated 24 Nov 2026, 17:06 UTC.

The venue hasn't published any reviews yet.

Missing a submission?

Loading the discussion…