Memory Augmented Large Language Models are Computationally Universal
Not on the map. Why?
Abstract (arXiv)
We show that transformer-based large language models are computationally universal when augmented with an external memory. Any deterministic language model that conditions on strings of bounded length is equivalent to a finite automaton, hence computationally limited. However, augmenting such models with a read-write memory creates the possibility of processing arbitrarily large inputs and, potentially, simulating any algorithm. We establish that an existing large language model, Flan-U-PaLM 540B, can be combined with an associative read-write memory to exactly simulate the execution of a universal Turing machine, U15,2. A key aspect of the finding is that it does not require any modification of the language model weights. Instead, the construction relies solely on designing a form of stored instruction computer that can subsequently be programmed with a specific set of prompts.
Key facts. Cited by 45 papers in the map (data through 7 Oct 2026). Builds on 10 of its 24 references that are in the map. First posted on arXiv 10 Jan 2023.
Builds on
10 of 24 references.
References · 10
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Scaling Instruction-Finetuned Language Modelscited by 2,997
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,397
- 2019On the Turing Completeness of Modern Neural Network Architecturescited by 129
- 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
- 2022Language Model Cascadescited by 104
- 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
Built on by
Citing papers per year: 2023: 17; 2024: 10; 2025: 10; 2026: 8.
45 papers.
Sort:
By area:
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023A Comprehensive Overview of Large Language Modelscited by 639
- 2023Language Models can Solve Computer Taskscited by 371
- 2023Foundation Models for Decision Making: Problems, Methods, and Opportunitiescited by 160
- 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memorycited by 136
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
- 2024LLMs Will Always Hallucinate, and We Need to Live With Thiscited by 77
- 2023Suspicion-Agent: Playing Imperfect Information Games with Theory of Mind Aware GPT-4cited by 67
- 2023LLM Censorship: A Machine Learning Challenge or a Computer Security Problem?cited by 47
- 2023The Expressive Power of Transformers with Chain of Thoughtcited by 47
- 2023Large Language Models Are Semi-Parametric Reinforcement Learning Agentscited by 42
- 2023How Powerful are Decoder-Only Transformer Neural Models?cited by 20
33 more
- 2023GPT is becoming a Turing machine: Here are some ways to program itcited by 16
- 2024Code Simulation Challenges for Large Language Modelscited by 15
- 2024Autoregressive Large Language Models are Computationally Universalcited by 14
- 2023Analysis of ChatGPT on Source Codecited by 12
- 2023Large Language Model Programscited by 11
- 2023Generative AI vs. AGI: The Cognitive Strengths and Weaknesses of Modern LLMscited by 11
- 2024Professional Agents -- Evolving Large Language Models into Autonomous Experts with Human-Level Competenciescited by 9
- 2025AI Agents as Universal Task Solverscited by 9
- 2024From Text to Life: On the Reciprocal Relationship between Artificial Life and Large Language Modelscited by 8
- 2025MOOM: Maintenance, Organization and Optimization of Memory in Ultra-Long Role-Playing Dialoguescited by 8
- 2026Position: Modular Memory is the Key to Continual Learning Agentscited by 7
- 2025Code Simulation as a Proxy for High-order Tasks in Large Language Modelscited by 6
- 2025Understanding Prompt Tuning and In-Context Learning via Meta-Learningcited by 6
- 2025Loki's Dance of Illusions: A Comprehensive Survey of Hallucination in Large Language Modelscited by 6
- 2025Bridging Kolmogorov Complexity and Deep Learning: Asymptotically Optimal Description Length Objectives for Transformerscited by 6
- 2025EvoMem: Improving Multi-Agent Planning with Dual-Evolving Memorycited by 6
- 2024Can Language Models Pretend Solvers? Logic Code Simulation with LLMscited by 4
- 2024Enhancing Long Context Performance in LLMs Through Inner Loop Query Mechanismcited by 4
- 2025Distributed Multi-Agent Coordination Using Multi-Modal Foundation Modelscited by 3
- 2024FragRel: Exploiting Fragment-level Relations in the External Memory of Large Language Modelscited by 1
- 2024Large Language Models and the Extended Church-Turing Thesiscited by 1
- 2024METEOR: Evolutionary Journey of Large Language Models from Guidance to Self-Growthcited by 1
- 2026Universal computation is intrinsic to language model decodingcited by 1
- 2026The Library Theorem: How External Organization Governs Agentic Reasoning Capacitycited by 1
- 2023Applying Standards to Advance Upstream & Downstream Ethics in Large Language Modelscited by 0
- 2023Model of models -- Part 1cited by 0
- 2025Towards Understanding Multi-Round Large Language Model Reasoning: Approximability, Learnability and Generalizabilitycited by 0
- 2025Lessons from Neuroscience for AI: How integrating Actions, Compositional Structure and Episodic Memory could enable Safe, Interpretable and Human-Like AIcited by 0
- 2026Neural Paging: Learning Context Management Policies for Turing-Complete Agentscited by 0
- 2026Position: The Turing-Completeness of Autoregressive Transformers Relies Heavily on Context Managementcited by 0
- 2026HyperPatch: Sequential Knowledge Editing Under n-ary Structural Driftcited by 0
- 2026Planning with Transformers: Chain of Computation and Structured Context Windowscited by 0
- 2026BRACE: Differential Privacy for Dense Associative Memory with LSR Energycited by 0
- 2026BRACE: Differential Privacy for Dense Associative Memory with LSR Energy8 Oct 2026
- 2026Planning with Transformers: Chain of Computation and Structured Context Windows20 Jul 2026
- 2026HyperPatch: Sequential Knowledge Editing Under n-ary Structural Drift2 Jun 2026
- 2026Position: The Turing-Completeness of Autoregressive Transformers Relies Heavily on Context Management19 May 2026
- 2026The Library Theorem: How External Organization Governs Agentic Reasoning Capacity22 Mar 2026
- 2026Position: Modular Memory is the Key to Continual Learning Agents2 Mar 2026
- 2026Neural Paging: Learning Context Management Policies for Turing-Complete Agents11 Feb 2026
- 2026Universal computation is intrinsic to language model decoding12 Jan 2026
- 2025Lessons from Neuroscience for AI: How integrating Actions, Compositional Structure and Episodic Memory could enable Safe, Interpretable and Human-Like AI27 Dec 2025
- 2025EvoMem: Improving Multi-Agent Planning with Dual-Evolving Memory1 Nov 2025
- 2025AI Agents as Universal Task Solvers14 Oct 2025
- 2025Bridging Kolmogorov Complexity and Deep Learning: Asymptotically Optimal Description Length Objectives for Transformers26 Sep 2025
33 more
- 2025MOOM: Maintenance, Organization and Optimization of Memory in Ultra-Long Role-Playing Dialogues15 Sep 2025
- 2025Loki's Dance of Illusions: A Comprehensive Survey of Hallucination in Large Language Models6 Jun 2025
- 2025Understanding Prompt Tuning and In-Context Learning via Meta-Learning22 May 2025
- 2025Towards Understanding Multi-Round Large Language Model Reasoning: Approximability, Learnability and Generalizability5 Mar 2025
- 2025Code Simulation as a Proxy for High-order Tasks in Large Language Models5 Feb 2025
- 2025Distributed Multi-Agent Coordination Using Multi-Modal Foundation Models24 Jan 2025
- 2024METEOR: Evolutionary Journey of Large Language Models from Guidance to Self-Growth18 Nov 2024
- 2024Enhancing Long Context Performance in LLMs Through Inner Loop Query Mechanism11 Oct 2024
- 2024Autoregressive Large Language Models are Computationally Universal4 Oct 2024
- 2024Large Language Models and the Extended Church-Turing Thesis11 Sep 2024
- 2024LLMs Will Always Hallucinate, and We Need to Live With This9 Sep 2024
- 2024From Text to Life: On the Reciprocal Relationship between Artificial Life and Large Language Models14 Jun 2024
- 2024FragRel: Exploiting Fragment-level Relations in the External Memory of Large Language Models5 Jun 2024
- 2024Can Language Models Pretend Solvers? Logic Code Simulation with LLMs24 Mar 2024
- 2024Professional Agents -- Evolving Large Language Models into Autonomous Experts with Human-Level Competencies6 Feb 2024
- 2024Code Simulation Challenges for Large Language Models17 Jan 2024
- 2023The Expressive Power of Transformers with Chain of Thought11 Oct 2023
- 2023Suspicion-Agent: Playing Imperfect Information Games with Theory of Mind Aware GPT-429 Sep 2023
- 2023Generative AI vs. AGI: The Cognitive Strengths and Weaknesses of Modern LLMs19 Sep 2023
- 2023A Survey on Large Language Model based Autonomous Agents22 Aug 2023
- 2023Model of models -- Part 18 Aug 2023
- 2023LLM Censorship: A Machine Learning Challenge or a Computer Security Problem?20 Jul 2023
- 2023A Comprehensive Overview of Large Language Models12 Jul 2023
- 2023Large Language Models Are Semi-Parametric Reinforcement Learning Agents9 Jun 2023
- 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memory6 Jun 2023
- 2023Applying Standards to Advance Upstream & Downstream Ethics in Large Language Models6 Jun 2023
- 2023Analysis of ChatGPT on Source Code1 Jun 2023
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Survey30 May 2023
- 2023How Powerful are Decoder-Only Transformer Neural Models?26 May 2023
- 2023Large Language Model Programs9 May 2023
- 2023Language Models can Solve Computer Tasks30 Mar 2023
- 2023GPT is becoming a Turing machine: Here are some ways to program it25 Mar 2023
- 2023Foundation Models for Decision Making: Problems, Methods, and Opportunities7 Mar 2023
- 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
- 2023Suspicion-Agent: Playing Imperfect Information Games with Theory of Mind Aware GPT-4cited by 67
- 2023Large Language Models Are Semi-Parametric Reinforcement Learning Agentscited by 42
- 2024Professional Agents -- Evolving Large Language Models into Autonomous Experts with Human-Level Competenciescited by 9
- 2025EvoMem: Improving Multi-Agent Planning with Dual-Evolving Memorycited by 6
- 2025Distributed Multi-Agent Coordination Using Multi-Modal Foundation Modelscited by 3
- 2026Neural Paging: Learning Context Management Policies for Turing-Complete Agentscited by 0
- 2026Neural Paging: Learning Context Management Policies for Turing-Complete Agents11 Feb 2026
- 2025EvoMem: Improving Multi-Agent Planning with Dual-Evolving Memory1 Nov 2025
- 2025Distributed Multi-Agent Coordination Using Multi-Modal Foundation Models24 Jan 2025
- 2024Professional Agents -- Evolving Large Language Models into Autonomous Experts with Human-Level Competencies6 Feb 2024
- 2023Suspicion-Agent: Playing Imperfect Information Games with Theory of Mind Aware GPT-429 Sep 2023
- 2023A Survey on Large Language Model based Autonomous Agents22 Aug 2023
- 2023Large Language Models Are Semi-Parametric Reinforcement Learning Agents9 Jun 2023
- 2023The Expressive Power of Transformers with Chain of Thoughtcited by 47
- 2026Position: Modular Memory is the Key to Continual Learning Agentscited by 7
- 2026The Library Theorem: How External Organization Governs Agentic Reasoning Capacitycited by 1
- 2025Towards Understanding Multi-Round Large Language Model Reasoning: Approximability, Learnability and Generalizabilitycited by 0
- 2026The Library Theorem: How External Organization Governs Agentic Reasoning Capacity22 Mar 2026
- 2026Position: Modular Memory is the Key to Continual Learning Agents2 Mar 2026
- 2025Towards Understanding Multi-Round Large Language Model Reasoning: Approximability, Learnability and Generalizability5 Mar 2025
- 2023The Expressive Power of Transformers with Chain of Thought11 Oct 2023
- 2023A Comprehensive Overview of Large Language Modelscited by 639
- 2023Language Models can Solve Computer Taskscited by 371
- 2023Foundation Models for Decision Making: Problems, Methods, and Opportunitiescited by 160
- 2023ChatDB: Augmenting LLMs with Databases as Their Symbolic Memorycited by 136
- 2023Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Surveycited by 134
- 2024LLMs Will Always Hallucinate, and We Need to Live With Thiscited by 77
- 2023LLM Censorship: A Machine Learning Challenge or a Computer Security Problem?cited by 47
- 2023How Powerful are Decoder-Only Transformer Neural Models?cited by 20
- 2023GPT is becoming a Turing machine: Here are some ways to program itcited by 16
- 2024Code Simulation Challenges for Large Language Modelscited by 15
- 2024Autoregressive Large Language Models are Computationally Universalcited by 14
- 2023Analysis of ChatGPT on Source Codecited by 12
12 most cited of 33 All 33 (JSON)
- 2026BRACE: Differential Privacy for Dense Associative Memory with LSR Energy8 Oct 2026
- 2026Planning with Transformers: Chain of Computation and Structured Context Windows20 Jul 2026
- 2026HyperPatch: Sequential Knowledge Editing Under n-ary Structural Drift2 Jun 2026
- 2026Position: The Turing-Completeness of Autoregressive Transformers Relies Heavily on Context Management19 May 2026
- 2026Universal computation is intrinsic to language model decoding12 Jan 2026
- 2025Lessons from Neuroscience for AI: How integrating Actions, Compositional Structure and Episodic Memory could enable Safe, Interpretable and Human-Like AI27 Dec 2025
- 2025AI Agents as Universal Task Solvers14 Oct 2025
- 2025Bridging Kolmogorov Complexity and Deep Learning: Asymptotically Optimal Description Length Objectives for Transformers26 Sep 2025
- 2025MOOM: Maintenance, Organization and Optimization of Memory in Ultra-Long Role-Playing Dialogues15 Sep 2025
- 2025Loki's Dance of Illusions: A Comprehensive Survey of Hallucination in Large Language Models6 Jun 2025
- 2025Understanding Prompt Tuning and In-Context Learning via Meta-Learning22 May 2025
- 2025Code Simulation as a Proxy for High-order Tasks in Large Language Models5 Feb 2025
12 newest of 33 All 33 (JSON)