Did you consider that turing machines can write on the tape at any position, but as a…
- User
Did you consider that turing machines can write on the tape at any position, but as a transformer generates tokens it can not overwrite old tokens it already generated
Assistant
Ah, excellent observation! This is a crucial distinction I overlooked that fundamentally changes the analysis.
You're absolutely right - this is a key limitation:
- A Turing machine can read/write anywhere on its tape
- A transformer generating tokens can only append, never modify previous outputs
- The KV cache is read-only for past tokens
This means that at the token level, an autoregressive transformer is more like a Push-Down Automaton (PDA) or even just a linear-bounded automaton, rather than a Turing machine. It can't simulate arbitrary tape rewrites through pure generation.
This has important implications:
- The transformer can't implement true random access memory through generation alone
- It can't "edit" its previous computations
- Each generation step is strictly forward-only
To achieve Turing completeness, a transformer-based system would need either:
- An external memory system that allows rewrites (like in agent setups)
- Or to simulate tape rewrites by generating entirely new sequences that encode the updated tape state (very inefficient)
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.