Paper commentary
On Expressive Power of Floating-Point Transformers
Floating-point transformers can break permutation equivariance and expose a sequence-length limit
- Problem Exact-arithmetic transformer theory assumes real-valued parameters, so it doesn't describe models that run in floating-point. Real machines round after every operation.
- Method The authors model transformers with floating-point parameters and operations, including the order of each summation. Unlike real-valued analyses, the summation order is part of the model.
- Results The authors prove that floating-point transformers can represent non-permutation-equivariant functions without positional encoding, under stated precision conditions.
Why exact-arithmetic results don't carry over
Existing expressive-power results treat transformers as real-valued maps computed exactly. Under that setting transformers are permutation-equivariant, and positional encoding can remove the symmetry when order matters. They can also approximate permutation-equivariant continuous functions on a compact domain.
Real machines store numbers in a finite format and round after each operation, so those results don't directly describe deployed models. Earlier floating-point work mostly fixed a sequential summation order and kept accumulation in the target format. The authors note that the only prior work on arbitrary reduction orders is Park et al. (2026).
How summation order enters the computation
Floating-point addition and multiplication are non-associative, so changing the grouping of operands can change the result. A summation order is written as a full binary tree whose leaves are the inputs and whose internal nodes are floating-point sums. Trees can yield the same summation order, and swapping isomorphic sibling subtrees generates a group G(T_n) under which the sum stays unchanged.
Lemma 1 states this invariance for any full binary tree.
The left-to-right order is the special case where the sum runs from the first input to the last. High-precision accumulation sums intermediate values in a format F′ with p′ ≥ p and q′ ≥ q, then rounds the result back to F.
In the attention layer, the softmax subtracts the maximum entry before exponentiation, and its normalizing sum follows a chosen summation tree. Each block pairs such an attention layer with a column-wise feed-forward network that uses a rounded ReLU.
Non-permutation-equivariant representability
Theorem 2 covers any G(T_n)-equivariant function defined on inputs with pairwise distinct columns, for n ≥ 4. It requires \(2^q-4 \ge p'-p\) and \(q' \le 2^{q-1}\), and it holds under arbitrary deterministic reduction orders with high-precision accumulation.
The construction uses the non-associativity of floating-point addition to make an attention layer reveal partial order information from the reduction tree. The next step identifies the input only up to the action of G(T_n), and a token-wise approximator built on Hwang et al. (2025b) then produces the target output. The authors note that G(T_n)-equivariance is necessary for this construction.
Such a target function needn't be permutation-equivariant, because for a permutation outside G(T_n) the output generally differs. Appending the positions 1 to n as an extra input dimension makes the augmented columns distinct when [n] ⊂ F.
Left-to-right order and the (α, β)-similarity barrier
Two matrices are (α, β)-similar when their first α columns share one value, columns α+1 to β share another, and the remaining columns agree. Under the left-to-right order, Theorem 3 says every floating-point transformer keeps (α, β)-similar inputs (α, β)-similar when α ≥ 3×2^{p′}, β−α ≥ 6×2^{p′} and n ≥ β.
The mechanism is saturation: adding the same value repeatedly eventually stops changing the sum, so different counts of two values can give identical sums. Under the same order, attention preserves the (α, β)-similarity of its inputs, which the authors check through the softmax and the weighted sums.
Because of this, some permutation-equivariant functions can't be represented once n ≥ 9×2^{p′}. Without high-precision accumulation, 9×2^{p′} can be small for low-precision formats such as E5M2 and E4M3. The authors state that representing all permutation-equivariant functions requires p′ = Ω(log n).
Theorem 3 is stated for the left-to-right order, so it doesn't settle the general reduction orders treated in the earlier section.
Bounded sequence length restores representability
Under the left-to-right order with p = p′ and q = q′, Theorem 4 covers every permutation-equivariant function when n ≤ 6 × 2^p − 2. The authors note that hard-coding such functions for bounded n is possible, but it isn't obvious that floating-point transformers can represent them.
Theorem 5 extends this to general reduction orders and high-precision accumulation when p′ ≥ 2p and n ≤ 2^{p+1} − 2.
Exact-arithmetic universal approximation doesn't depend on sequence length, so these bounded-length results contrast with it. Lemmas 14 and 15 encode each token's count through repeated sums of 1+, and these counts saturate in a way that lets the function recover the input distribution.
Equivariance, equality and positional encoding
Theorem 6 states that every floating-point transformer is G(T_n)-equivariant when n ≥ 2. That makes G(T_n)-equivariance the minimal equivariance property in these transformers, since for n ≥ 4 some permutation outside G(T_n) breaks equivariance for some transformer.
Theorem 7 states that identical input columns produce identical output columns.
Lemma 8 shows that x ↦ x ⊕ z is not injective on F for any nonzero z. Adding nontrivial positional encodings therefore can make distinct inputs collide, unless every encoding vector is zero. For example, with v = 1+, the inputs 2 and 2− both sum to 3 under rounding. This contrasts with exact arithmetic, where positional encoding can increase expressive power.
Limitations
The analysis assumes deterministic reduction orders given by full binary trees. Runtime-determined GPU reduction orders, which can change outputs between executions, are outside this model.
Results depend on precision conditions, including Condition 1 and p′ ≥ p+2 for the main proof of Theorem 2. The case p′ ≤ p+1 for Theorem 2 is deferred to an appendix.
The paper proves its results, and the text reports no experiments. Whether p′ = Ω(log n) can be avoided is not settled by these results; the authors state it as necessary.
Paper info
- Authors
- Sejun Park, Yeachan Park, Geonho Hwang
- Venue
- International Conference on Machine Learning · Published
- First published
- 2026-9-29
- Added
- 2026-11-26
- Original paper terms
- Check in the original ↗
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Sejun Park, Yeachan Park, Geonho Hwang (2026). On Expressive Power of Floating-Point Transformers. International Conference on Machine Learning. https://proceedings.mlr.press/v306/park26s.html
BibTeX
@article{park2026expressive,
title = {{On Expressive Power of Floating-Point Transformers}},
author = {Sejun Park and Yeachan Park and Geonho Hwang},
year = {2026},
journal = {International Conference on Machine Learning},
url = {https://proceedings.mlr.press/v306/park26s.html}
}