Autoregressive Large Language Models are Computationally Universal
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
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2014Neural Turing Machinescited by 630
- 2018Universal Transformerscited by 613
- 2023Augmented Language Models: a Surveycited by 398
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 293
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 286
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 256
- 2023Looped Transformers as Programmable Computerscited by 224
- 2021Thinking Like Transformerscited by 182
- 2024The Illusion of State in State-Space Modelscited by 181
- 2019On the Turing Completeness of Modern Neural Network Architecturescited by 129
11 more
- 2015Neural GPUs Learn Algorithmscited by 118
- 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
- 2021Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformerscited by 101
- 2020On the Computational Power of Transformers and its Implications in Sequence Modelingcited by 85
- 2015Learning to Transduce with Unbounded Memorycited by 54
- 2023Memory Augmented Large Language Models are Computationally Universalcited by 45
- 2019On the Computational Power of RNNscited by 35
- 2015Neural Random-Access Machinescited by 32
- 2017Recurrent Neural Networks as Weighted Language Recognizerscited by 30
- 2023Practical Computational Power of Linear Transformers and Their Recurrent and Self-Referential Extensionscited by 20
- 2023GPT is becoming a Turing machine: Here are some ways to program itcited by 16
Built on by
Citing papers per year: 2024: 1; 2025: 5; 2026: 8.
14 papers.
Sort:
By area:
- 2025Constant Bit-size Transformers Are Turing Completecited by 19
- 2026Stable-DiffCoder: Pushing the Frontier of Code Diffusion Large Language Modelcited by 12
- 2025K2-Think: A Parameter-Efficient Reasoning Systemcited by 11
- 2025AI Agents as Universal Task Solverscited by 9
- 2024Memory makes computation universal, remember?cited by 2
- 2026Recursive Inference Machines for Neural Reasoningcited by 2
- 2025Exact Learning of Arithmetic with Differentiable Agentscited by 1
- 2026Universal computation is intrinsic to language model decodingcited by 1
- 2026Efficient Diffusion LLMs via Temporal-Spatial Parallel Decoding and Confidence Extrapolationcited by 1
- 2025Learning Model Successorscited by 0
- 2026Understanding LLM Failures: A Multi-Tape Turing Machine Analysis of Systematic Errors in Language Model Reasoningcited by 0
- 2026Loom: A Scalable Analytical Neural Computer Architecturecited by 0
- 2026Efficient Diffusion LLMs via Temporal-Spatial Parallel Decoding and Confidence Extrapolation29 May 2026
- 2026Position: The Turing-Completeness of Autoregressive Transformers Relies Heavily on Context Management19 May 2026
- 2026TRACES: Tagging Reasoning Steps for Adaptive Cost-Efficient Early-Stopping22 Apr 2026
- 2026Loom: A Scalable Analytical Neural Computer Architecture9 Apr 2026
- 2026Recursive Inference Machines for Neural Reasoning5 Mar 2026
- 2026Understanding LLM Failures: A Multi-Tape Turing Machine Analysis of Systematic Errors in Language Model Reasoning27 Jan 2026
- 2026Stable-DiffCoder: Pushing the Frontier of Code Diffusion Large Language Model22 Jan 2026
- 2026Universal computation is intrinsic to language model decoding12 Jan 2026
- 2025Exact Learning of Arithmetic with Differentiable Agents27 Nov 2025
- 2025AI Agents as Universal Task Solvers14 Oct 2025
- 2025K2-Think: A Parameter-Efficient Reasoning System9 Sep 2025
- 2025Constant Bit-size Transformers Are Turing Complete22 May 2025
2 more
- 2025Learning Model Successors31 Jan 2025
- 2024Memory makes computation universal, remember?23 Dec 2024
- 2025Constant Bit-size Transformers Are Turing Completecited by 19
- 2026Stable-DiffCoder: Pushing the Frontier of Code Diffusion Large Language Modelcited by 12
- 2025AI Agents as Universal Task Solverscited by 9
- 2024Memory makes computation universal, remember?cited by 2
- 2026Recursive Inference Machines for Neural Reasoningcited by 2
- 2025Exact Learning of Arithmetic with Differentiable Agentscited by 1
- 2026Universal computation is intrinsic to language model decodingcited by 1
- 2025Learning Model Successorscited by 0
- 2026Loom: A Scalable Analytical Neural Computer Architecturecited by 0
- 2026Position: The Turing-Completeness of Autoregressive Transformers Relies Heavily on Context Managementcited by 0
- 2026Position: The Turing-Completeness of Autoregressive Transformers Relies Heavily on Context Management19 May 2026
- 2026Loom: A Scalable Analytical Neural Computer Architecture9 Apr 2026
- 2026Recursive Inference Machines for Neural Reasoning5 Mar 2026
- 2026Stable-DiffCoder: Pushing the Frontier of Code Diffusion Large Language Model22 Jan 2026
- 2026Universal computation is intrinsic to language model decoding12 Jan 2026
- 2025Exact Learning of Arithmetic with Differentiable Agents27 Nov 2025
- 2025AI Agents as Universal Task Solvers14 Oct 2025
- 2025Constant Bit-size Transformers Are Turing Complete22 May 2025
- 2025Learning Model Successors31 Jan 2025
- 2024Memory makes computation universal, remember?23 Dec 2024