English

Probability Distributions Computed by Autoregressive Transformers

Computation and Language 2026-05-26 v4

Abstract

Most expressivity results for transformers treat them as language recognizers -- devices that accept or reject strings -- rather than as they are used in practice: as language models that generate strings autoregressively and probabilistically. We characterize the probability distributions that transformer language models can express. We show that making transformer language recognizers autoregressive can sometimes increase their expressivity, and that making them probabilistic can break equivalences that hold in the non-probabilistic case. Our overall contribution is to tease apart what functions transformers are capable of expressing in their most common use case as language models.

Keywords

Cite

@article{arxiv.2510.27118,
  title  = {Probability Distributions Computed by Autoregressive Transformers},
  author = {Andy Yang and Anej Svete and Jiaoda Li and Anthony Widjaja Lin and Jonathan Rawski and Ryan Cotterell and David Chiang},
  journal= {arXiv preprint arXiv:2510.27118},
  year   = {2026}
}

Comments

20 pages

R2 v1 2026-07-01T07:14:59.678Z