The Expressive Power of Low Precision Softmax Transformers with (Summarized) Chain-of-Thought

Moritz Brösamle, Stephan Eckstein
5/18/2026
3 citations
cs.LGcs.CCcs.CL
transformer-attention

Official code: moritzbroe/transformer-expressivity (3 stars, Python, MIT, last commit 2026-05-14).

Abstract

Existing expressivity results for transformers typically rely on hardmax attention, high precision, and other architectural modifications that disconnect them from the models used in practice. We bridge this gap by analyzing standard transformer decoders with softmax attention and rounding of activations and attention weights, while allowing depth and width to grow logarithmically with the context length.

Show full abstract

As an intermediate step, we construct hardmax transformers with ternary activations and well-separated attention scores that simulate Turing machines using Chain-of-Thought (CoT). This lets us convert the constructions to equivalent softmax transformers without the unrealistic parameter magnitudes or activation precision that prior approaches would require. Using the same technique, we analyze a recently proposed summarized CoT paradigm and show that it simulates Turing machines more efficiently, with model size scaling logarithmically in a space bound rather than a time bound. We empirically test predictions made by our results on a Sudoku reasoning task and find better alignment with learnability than for prior high-precision results. Our code is available at https://github.com/moritzbroe/transformer-expressivity.

View on arXivView PDF

Code Implementations(1)

MIT

Code for the ICML 2026 paper "The Expressive Power of Low Precision Softmax Transformers with (Summarized) Chain-of-Thought"

30PythonMay 14, 20266 months agoMIT

Similar Papers

Cite this paper

@article{brsamle2026expressive,
  title  = {The Expressive Power of Low Precision Softmax Transformers with (Summarized) Chain-of-Thought},
  author = {Moritz Brösamle and Stephan Eckstein},
  year   = {2026},
  eprint = {2605.18079},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.18079v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.18079.svg)](https://codeofpaper.com/paper/2605.18079)

Discussion