🛰️ Daily AI Frontier
‹ back to 2026-08-16

Algebraic Decomposition Theory for Transformer Length Generalization

arXiv cs.FL LLMs & Foundation Models Andy Yang, Blerta Veseli, Corentin Barloy, Michaël Cadilhac, Andreas Krebs, Charles Paperman, Howard Straubing, Michael Hahn 2026-08-13

TL;DR - This paper gives the first complete characterization of regular languages on which transformers can generalize beyond their training sequence lengths. It also provides a polynomial-time decision algorithm based on a new algebraic decomposition theory.

  • Characterizes transformer length generalization through the C-RASP formalism.
  • Extends classical finite-semigroup decomposition theory using iterated wreath products of the additive integer group.
  • Decides regular-language membership in polynomial time relative to the syntactic monoid’s size.
  • Experiments show the theory predicts transformer length-generalization behavior better than existing classifications.

view merged work →