Hugging Face Blog

Transformers backend integration in SGLang

arXiv AI
Oct 28

An Algebra of Transformers

The paper "An Algebra of Transformers" proposes a formal algebraic framework for reasoning about transformer models, building on functional decomposition results. It introduces atomic actions based on these decompositions, along with sequential and parallel composition, recursion for feedback, and abstraction for hidden layers. This marks the first logical modeling attempt for transformers, enabling verification of transformer‑based applications.

By Yong Wang, Zhiyan Wang, Hexiao Kang