# On Expressive Power of Floating-Point Transformers

Floating-point transformers can break permutation equivariance and expose a sequence-length limit

Sejun Park, Yeachan Park, Geonho Hwang · International Conference on Machine Learning · 2026-9-29

- **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 ↗](https://proceedings.mlr.press/v306/park26s.html)
- **What we show**: Paper info and commentary

[Original paper ↗](https://proceedings.mlr.press/v306/park26s.html)

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

## Other paper commentary

- [Unitary Convolutions for Message-passing and Positional Encodings on Directed Graphs](https://refivu.com/en/papers/cf7ea629-41a3-4349-add7-79a6b104140f-unitary-convolutions-for-message-passing-and-positional.md)
- [Understanding the Parameter Space Volume of Transformers Encoding Boolean Functions](https://refivu.com/en/papers/f4dbf6ce-3357-44a3-b4ed-38147e384f67-understanding-the-parameter-space-volume-of-transformers.md)
- [IANN: A Unified Framework for Equivariant InterAtomic Neural Networks with User-Friendly Implementation](https://refivu.com/en/papers/4c633944-8862-4ee4-bd77-a5c9f417f6fd-iann-a-unified-framework-for-equivariant-interatomic-neural.md)
- [Multi-Branch Transformer](https://refivu.com/en/papers/41db7368-f02a-4b93-a29d-688fd514713c-multi-branch-transformer.md)
- [Synthetic Neurosymbolic Task Generation with Controlled Constraint Complexity](https://refivu.com/en/papers/ebe4fa7e-eeaf-4ae2-b493-81d2f69199e5-synthetic-neurosymbolic-task-generation-with-controlled.md)
- [Joint Learning of Factual and Counterfactual Worlds for Causal Prior-data Fitted Networks](https://refivu.com/en/papers/ca05fe75-c727-4e23-8b7e-a0a51814ae5a-joint-learning-of-factual-and-counterfactual-worlds-for.md)
- [RSA-CP: Efficient Conformal Prediction in Small-Sample Regimes via Random Score Alignment](https://refivu.com/en/papers/21bdc1a9-8a21-4757-b322-ec7470296d48-rsa-cp-efficient-conformal-prediction-in-small-sample.md)
- [What Does a Skill Vocabulary Cost? A Closed-Loop Decomposition over Demonstrated Motions](https://refivu.com/en/papers/5436c87a-99ef-46a3-afc4-ed0b0a217c6b-what-does-a-skill-vocabulary-cost-a-closed.md)
- [When Repair Accuracy Misleads: Training a VLM on Its Own Failures](https://refivu.com/en/papers/875ef8df-0b84-431d-bb7d-8f512170c313-when-repair-accuracy-misleads-training-a-vlm-on.md)
- [Cross-Layer Characterization and AI-Assisted Diagnosis of C-to-Rust Performance](https://refivu.com/en/papers/b9b8f973-d979-443f-b049-2f0218e3517a-cross-layer-characterization-and-ai-assisted-diagnosis-of.md)
- [When Is Product Decoding of ECOC MAP-Consistent? Pair Structure and the n-vs-Rest Codes](https://refivu.com/en/papers/91c0b439-85c0-4c82-8b80-68deaac338ab-when-is-product-decoding-of-ecoc-map-consistent.md)
- [Escaping Whack-a-Mole: Optimizing Documentation as Repo-Specific Playbooks for Coding Agents](https://refivu.com/en/papers/52e2d558-711f-4753-af6e-c88268527a9b-escaping-whack-a-mole-optimizing-documentation-as-repo.md)

## Terms in this paper

- [positional encoding](https://refivu.com/en/terms/4544e2c25b3b-positional-encoding)
- [SoftMax function](https://refivu.com/en/terms/ce0db7dbb3f0-softmax-function)
- [attention layer](https://refivu.com/en/terms/3167c0a8579b-attention-layer)
- [exact arithmetic](https://refivu.com/en/terms/c35f969829fc-exact-arithmetic)
- [feed-forward network](https://refivu.com/en/terms/f5454fe080e2-feed-forward-network)
- [transformer block](https://refivu.com/en/terms/09eea1be0b86-transformer-block)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/8eff9b9c-d057-4d27-8b46-4f97cbae6130-on-expressive-power-of-floating-point-transformers)
