An Algebra of Transformers
Yong Wang, Zhiyan Wang, Hexiao Kang
Key points
From the paper's conclusion- As we know, it is the first attempt to model transformers logically and can be used to verify the correctness of transformer based applications.
Abstract
On the theoretic analyses on transforms, they mainly focus on the computability analysis, such the Turing-completeness of unbounded precision transformers, the advantage of parallelizability of unbounded precision transformers and the limitations of bounded precision transformers. This paper give transformers an algebra for reasoning, which relies heavily on the functional decomposition results of transformers. This algebra uses functional decompositions as atomic actions, includes sequential composition and parallel composition, recursion for feedback and abstraction for hidden layers. As we know, it is the first attempt to model transformers logically and can be used to verify the correctness of transformer based applications.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- On the Expressive Power of TransformersarXiv · 2026
- DODR: Deterministic Operator-Driven Reasoning in Latent SpacearXiv · 2026
- Higher-order bialgebraic semanticsJournal of Functional Programming · 2026
- A Tool in the Forward Pass: Frozen Tape Modules as Layers of a Small Language ModelarXiv · 2026
- Executing Causal Structure Learning with Linear-Attention TransformersarXiv · 2026
- VC Dimension and Expressivity of Real-Valued TransformersarXiv · 2026