paper-with-me

Papers

Autoregressive Large Language Models are Computationally Universal

2024-10-04 · Dale Schuurmans, Hanjun Dai, Francesco Zanini

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.

📄 PDF Abstract BibTeX arXiv:2410.03170

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language Model

Similar Papers 제목 키워드 기반

ELF: Exact-Lipschitz Based Universal Density Approximator Flow

2021-12-13 · Achintya Gopal

Normalizing flows have grown more popular over the last few years; however, they continue to be computationally expensive, making them difficult to be accepted into the broader machine learning community. In this paper, …

A Triangular Network For Density Estimation

2020-04-30 · Xi-Lin Li

We report a triangular neural network implementation of neural autoregressive flow (NAF). Unlike many universal autoregressive density models, our design is highly modular, parameter economy, computationally efficient, a…

Density Estimation

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 …

Language ModelingLanguage ModellingLarge Language Model

On Powerful Ways to Generate: Autoregression, Diffusion, and Beyond

2025-10-07 · Chenxiao Yang, Cai Zhou, David Wipf, Zhiyuan Li arxiv

Diffusion language models have recently emerged as a competitive alternative to autoregressive language models. Beyond next-token generation, they are more efficient and flexible by enabling parallel and any-order token …

Universal computation is intrinsic to language model decoding

2026-01-12 · Alex Lewandowski, Marlos C. Machado, Dale Schuurmans arxiv

Language models now provide an interface to express and often solve general problems in natural language, yet their ultimate computational capabilities remain a major topic of scientific debate. Unlike a formal computer,…