atlas

Research map / Large language models / Language, safety and interpretability

Ask, and it shall be given: On the Turing completeness of prompting

ICLR 2025 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that prompting a single finite-size decoder-only Transformer is Turing-complete and nearly efficient, by encoding computable functions as prompts for a new model called 2-PTMs executed via chain-of-thought.

Problem

Theoretical understanding of the LLM prompting paradigm (one model, many tasks via prompts) is lacking; prior Transformer expressivity results are one-model-one-task.

Approach

Introduces two-tape Post–Turing machines (2-PTMs), an instruction-sequence model that can be encoded over a finite alphabet and is nearly as efficient as TMs; encodes any computable function's 2-PTM as a prompt, and constructs one fixed finite-size ReLU/layer-norm/hardmax-attention Transformer that executes prompts via CoT steps.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use one finite-size Transformer with task-specific prompts instead of constructing a separate Transformer for each taskPrompting · All computable functionsComputabilityHelped
Use a single prompted Transformer to compute TIME_2(t(n)) functionsPrompted Transformer Γ · TIME_2(t(n)) functionsCoT steps: O(t(n))Helped
Use a single prompted Transformer to compute general TIME(t(n)) functionsPrompted Transformer Γ · TIME(t(n)) functionsCoT steps: O(t(n)\log t(n))Helped
Use a single prompted Transformer to compute TIME(t(n)) functionsPrompted Transformer Γ · TIME(t(n)) functionsprecision bits: O(\log(n+t(n)))Helped
Use a single prompted Transformer to decide polynomial-time languagesPrompted Transformer Γ · P languagesprecision bits: \log nHelped
Simulate a general TM using a two-tape Post–Turing machine2-PTM · TIME(t(n)) functionssimulation steps: t(n)\log t(n)Hurt

Limitations

Experimental setup

Builds on: Wang machines Post-Turing machines Hennie-Stearns theorem Transformers with hardmax attention Turing-completeness results

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy