mlsanityData to 7 Oct 2026

Autoregressive Large Language Models are Computationally Universal

arXiv 2410.03170 ↗First posted 4 Oct 2024cs.CLcited by 14

Not on the map. Why?

Abstract (arXiv)

We show that autoregressive decoding of a transformer-based language model can realize universal computation, without external intervention or modification of the model's weights. Establishing this result requires understanding how a language model can process arbitrarily long inputs using a bounded context. For this purpose, we consider a generalization of autoregressive decoding where, given a long input, emitted tokens are appended to the end of the sequence as the context window advances. We first show that the resulting system corresponds to a classical model of computation, a Lag system, that has long been known to be computationally universal. By leveraging a new proof, we show that a universal Turing machine can be simulated by a Lag system with 2027 production rules. We then investigate whether an existing large language model can simulate the behaviour of such a universal Lag system. We give an affirmative answer by showing that a single system-prompt can be developed for gemini-1.5-pro-001 that drives the model, under deterministic (greedy) decoding, to correctly apply each of the 2027 production rules. We conclude that, by the Church-Turing thesis, prompted gemini-1.5-pro-001 with extended autoregressive (greedy) decoding is a general purpose computer.

Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 23 of its 50 references that are in the map. First posted on arXiv 4 Oct 2024.

Builds on

23 of 50 references.

References · 23

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  3. 2014Neural Turing Machinescited by 630
  4. 2018Universal Transformerscited by 613
  5. 2023Augmented Language Models: a Surveycited by 398
  6. 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 293
  7. 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 286
  8. 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 256
  9. 2023Looped Transformers as Programmable Computerscited by 224
  10. 2021Thinking Like Transformerscited by 182
  11. 2024The Illusion of State in State-Space Modelscited by 181
  12. 2019On the Turing Completeness of Modern Neural Network Architecturescited by 129
11 more
  1. 2015Neural GPUs Learn Algorithmscited by 118
  2. 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
  3. 2021Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformerscited by 101
  4. 2020On the Computational Power of Transformers and its Implications in Sequence Modelingcited by 85
  5. 2015Learning to Transduce with Unbounded Memorycited by 54
  6. 2023Memory Augmented Large Language Models are Computationally Universalcited by 45
  7. 2019On the Computational Power of RNNscited by 35
  8. 2015Neural Random-Access Machinescited by 32
  9. 2017Recurrent Neural Networks as Weighted Language Recognizerscited by 30
  10. 2023Practical Computational Power of Linear Transformers and Their Recurrent and Self-Referential Extensionscited by 20
  11. 2023GPT is becoming a Turing machine: Here are some ways to program itcited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 5; 2026: 8.

14 papers.

Sort:

By area: