Probability Distributions Computed by Autoregressive Transformers
University of Notre Dame · Department of Computer Science, ETHZ - ETH Zurich · ETHZ - ETH Zurich · Max-Planck Institute for Software Systems, University of Kaiserslautern-Landau · San Jose State University · Swiss Federal Institute of Technology
PDF 由论文原始站点提供,PaperCompass 不保存论文文件。
摘要
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.