paper-with-me

Papers

Memory Augmented Large Language Models are Computationally Universal

2023-01-10 · Dale Schuurmans

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, $U_{15,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.

📄 PDF Abstract BibTeX arXiv:2301.04589

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language Model

Similar Papers 제목 키워드 기반

The Influence of the Memory Capacity of Neural DDEs on the Universal Approximation Property

2025-05-12 · Christian Kuehn, Sara-Viola Kuntz

Neural Ordinary Differential Equations (Neural ODEs), which are the continuous-time analog of Residual Neural Networks (ResNets), have gained significant attention in recent years. Similarly, Neural Delay Differential Eq…

Neural Paging: Learning Context Management Policies for Turing-Complete Agents

2026-02-11 · Liang Chen, Qi Liu arxiv

The proof that Large Language Models (LLMs) augmented with external read-write memory constitute a computationally universal system has established the theoretical foundation for general-purpose agents. However, existing…

ChatDB: Augmenting LLMs with Databases as Their Symbolic Memory

2023-06-06 · Chenxu Hu, Jie Fu, Chenzhuang Du, Simian Luo 외

Large language models (LLMs) with memory are computationally universal. However, mainstream LLMs are not taking full advantage of memory, and the designs are heavily influenced by biological brains. Due to their approxim…

Memory-Augmented Agent Training for Business Document Understanding

2024-12-17 · Jiale Liu, Yifan Zeng, Malte Højmark-Bertelsen, Marie Normann Gadeberg 외

Traditional enterprises face significant challenges in processing business documents, where tasks like extracting transport references from invoices remain largely manual despite their crucial role in logistics operation…

document understanding

Routing by Analogy: kNN-Augmented Expert Assignment for Mixture-of-Experts

2026-01-05 · Boxuan Lyu, Soichiro Murakami, Hidetaka Kamigaito, Peinan Zhang arxiv

Mixture-of-Experts (MoE) architectures scale large language models efficiently by employing a parametric ``router'' to dispatch tokens to a sparse subset of experts. Typically, this router is trained once and then frozen…