- Rating
- 4
- Clarity
- 3
- Confidence
- 5
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper studies the computational power of transformer encoders when they operate over an arbitrary ring instead of a finite alphabet, and emit numerical vectors instead of discrete tokens. To this end it introduces \emph{recursive transformers}: a transformer maps a sequence of ring-valued vectors to another such sequence, and this map is iterated, the sequence growing by one vector per step, until a designated coordinate signals halting. Attention is \emph{leftmost hard attention}, where each position attends to a single vector of maximal score, which is what makes it possible to carry an exact ring element from one vector to another (soft attention would mix values and prevent this). The underlying transformer is a ring-level generalization of a standard encoder, parameterized by the classes of functions allowed for the input and positional embeddings, the attention scores, the pooling, and the per-layer activation, so that results can be stated as equalities between specific choices of these classes and machine models.
The central contribution is a computational equivalence between recursive hard-attention transformers and BSS machines over -ordered rings such as , , and . It comes in two forms depending on the activation class. With arithmetic-circuit activations (addition and multiplication gates, hence arbitrary polynomials), the transformers compute exactly the BSS-computable functions. With ordinary feedforward (ReLU) activations, one gets an equivalence with \emph{linear} BSS machines using degree-2 branching, the degree arising from dot-product attention being a bilinear form. Both directions are proved. The easy direction simulates one transformer step inside a BSS machine. The substantial direction encodes a BSS tape as one vector per cell, with the head handled by a relative-position coordinate that shift states merely relabel, and realizes a full computation step, together with the input and output maps, through the attention and activation functions; a recurring difficulty is recovering the sign function and conditional computation from hard attention alone once explicit sign gates are removed. The authors also handle a chain-of-thought style of recursion, where only the last produced vector is appended, and show it leaves expressivity unchanged.
Strengths and weaknesses
The paper relates transformer expressivity to the BSS model of computation over an ordered ring. The authors introduce \emph{recursive transformers}, which read and emit sequences of ring vectors and are applied recursively until a halting coordinate fires, and prove a two-sided equivalence over -ordered ring extensions: with leftmost hard attention and arithmetic-circuit activations, these transformers compute exactly the division-free BSS$_R$-computable functions, while restricting to ReLU feedforward networks gives exactly the linear BSS$_R$-machines with degree-2 branching. Both the full-feedback and the autoregressive recursion yield the same classes.
The angle is what makes this a strong contribution. Rather than comparing transformers to Boolean circuit classes or to logic, the paper asks which classical model of computation the internal arithmetic of a transformer actually corresponds to, and answers it through a clean two-sided equivalence with BSS$_R$ model. Because the result is parameterized by the underlying ring, one reads off directly what governs the computational power of the architecture and where the boundary between Turing and non-Turing behaviour sits: over or the model matches the Turing-complete case, while richer rings give a correspondingly richer class. This adds to existing literature, and the computation of without sign gates, exploiting the discontinuity of hard attention, is an elegant and load-bearing idea in getting there.
The constructions are complete and, correct. The main limitation is that the transformer model is somewhat ad hoc: recursive application, a designated halting coordinate, growing positional embeddings, and exact ring arithmetic are all tailored to make the simulation go through. This is, however, largely the price to pay for a faithful correspondence with BSS machines, and the authors are honest about it.
My remaining suggestions are presentational: state the Turing / non-Turing reading explicitly as the headline rather than leaving it spread across the introduction and Section6, phrase the equality of Section6 as a single proposition instead of a chain of containments, and promote the complexity remark ( iterations one way against quadratic time the other) to a numbered statement, since it sharpens the boundary from computability to a polynomial-time correspondence.
Questions
-
Can the appendix constructions be refactored into a few independently stated and proved invariants, so that correctness does not rely on a single long induction?
-
How does the division free restriction on the BSS side change the picture over specifically, and is there a clean statement of which functions are lost relative to the full BSS model?
-
Could you give the polynomial time correspondence as a formal proposition, with the precise complexity classes on each side?
-
Is layer normalization fundamentally incompatible with the constructions, or simply omitted? Several invariants seem to require unbounded values.
-
The computation states in Definition
2.9 carry polynomial functions and branching tests the sign of a polynomial, so the BSS model you simulate appears to be the division-free one; this is consistent with the ``(without division)'' qualifier in Theorems4.1 and~4.2. Could you make this explicit and clarify the role division plays in the statements?
Limitations
Partially. The checklist marks limitations as N/A, but a few are worth stating. The model is somewhat ad hoc (recursive application, a halting coordinate, growing positional embeddings, exact ring arithmetic), which is mostly the price to pay for a faithful BSS correspondence but should be named as such. To their credit the authors are upfront about the soft-attention gap and the division issue in Section~6 (see Question 5 also); a short explicit limitations paragraph collecting these would suffice.
N/A on societal impact.
Paper formatting concerns
No specific concerns.
Final justification
The requests were met. On 30 July I said I was inclined to lower my rating and named four things that would keep it where it was. All four were posted before the window closed, and two of them go beyond what I asked. The complexity statement is not merely drafted: parameterising the classes by a cost measure and stating the condition size(X) in Omega(|X|) answers the question I raised about the input-size convention rather than assuming it away, and the overhead is given separately in each direction. The summary table is substantial, with fourteen rows covering both directions of inclusion and the average-attention variants. The invariant list names the coordinates the induction maintains, phase by phase, and is candid about the output state breaking the cell invariants and about what replaces them. The conceptual paragraph was drafted as asked. I record this plainly because I am lowering my rating anyway, and the authors should not be left to infer that their responses fell short.
Why I am lowering it. On reflection I think I scored this paper too generously in June, and I am correcting that rather than reacting to anything in the discussion. My four dimension scores have been at 3 throughout, and the overall rating I gave sat a step above what they support. I am bringing the rating into line at 4; no dimension score changes.
What this is not. It is not a concern about correctness. I checked the constructions carefully at review time and found them complete and correct, and recovering the sign function from the discontinuity of hard attention remains an elegant and load-bearing idea. Nor is it a penalty for the answer to the meta-review. The authors state plainly that their results are not interesting outside mathematical curiosity rather than manufacturing an application, and that deserves credit rather than a lower score, since a venue that rewards overselling gets more of it. My own view of the angle is unchanged from my review and does not depend on theirs.
For the area chair. My position is borderline accept, and I would support acceptance. The paper asks which classical model of computation the internal arithmetic of a transformer corresponds to, rather than comparing it to circuit classes or to logic, and answers with a clean two-sided equivalence. Because the answer is parameterised by the ring, the Turing against non-Turing boundary turns out to be drawn by exact arithmetic on irrationals rather than by attention, which I regard as worth publishing at a theory track even with no engineering consequence. I would not place it above a stronger paper competing for the same slot.
For the authors. Carry all four items into the paper rather than leaving them in this thread, and state the Turing against non-Turing reading as the headline rather than spreading it across the introduction and Section 6.
Thank you for your review and all of your suggestions.
Regarding your Questions
There are some invariants that could be proved independently, but it is hard to say how much this approach can simplify the proofs without actually trying it.
BSS-machines without division cannot compute any rational function (that is not a polynomial). If it always halts, such a machine computes a piecewise polynomial function for each input length. With division these are piecewise rational functions. Also note that this has no effect on branching states, because qp≥0⇔p⋅q≥0 if q=0. This implies that the decision problems solved by the two models are the same.
Yes. It is a restriction to machines and transformers which always halt after polynomially many computation/recursion steps with respect to the size of the input. There are multiple ways to define the size of an input in R∗, but the statement should be valid for all of them, because the simulations are exact.
We simply omitted it, because we need to preserve exact real values throughout multiple layers. It is also not defined for smaller rings like the integers. Even in the real case, its introduction to the architecture would only require a construction that avoids it.
Division plays no role in any of the theorems, because we did not include it in any of the definitions. We chose to explicitly mention "(without division)" in the theorems to avoid confusion with a BSS model that includes it. Division only becomes necessary if you want to simulate average attention on a BSS-machine, because its outputs are scaled by a factor n1 for some n∈N.