arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.00003cs.CCcs.DScs.LG
收藏

基于变压器的高效图灵机模拟

Efficient Turing Machine Simulation with Transformers

Shenzhen International Center For Industrial And Applied Mathematics(深圳国际工业与应用数学中心);Shenzhen Research Institute of Big Data(深圳大数据研究 institute);CRRC Zhuzhou Institute(CRRC 长沙研究所);Tengen Intelligence Institute(腾根智能研究院)

Qian Li, Yuyi Wang

AI总结:

本文提出了一种基于变压器的高效图灵机模拟方法,通过优化上下文窗口和CoT步骤,实现了更高效的通用计算。

摘要:

常量位数的变压器已知是图灵完备的,但现有构造要求每个模拟的图灵机(TM)步骤需要Ω(s(n))的链式思考(CoT)步骤,导致不实际的推理长度。在本文中,我们通过证明任何(t(n),s(n))有界的多带图灵机(TM)可以被一个常量位数的变压器模拟,该变压器具有最优的O(s(n))长度的上下文窗口,并且每个TM步骤只需要O(s(n)^c)的CoT步骤,其中c>0可以通过让变压器的头层产品足够大而任意小。此外,我们的构造表明,稀疏注意力与固定几何偏移足以实现高效的通用计算。我们的证明利用多队列图灵机作为桥梁。主要技术创新是通过同步多队列图灵机更高效地模拟多带图灵机,从而在更严格的模型假设下改进了时间和空间复杂度。

英文摘要:

Constant bit-size Transformers are known to be Turing complete, but existing constructions require $Ω(s(n))$ chain-of-thought (CoT) steps per simulated Turing machine (TM) step, leading to impractical reasoning lengths. In this paper, we significantly reduce this efficiency gap by proving that any $(t(n),s(n))$-bounded multi-tape TM can be simulated by a constant bit-size Transformer with an optimal $O(s(n))$-long context window and only $O(s(n)^c)$ CoT steps per TM step, where $c>0$ can be made arbitrarily small by letting the Transformers' head-layer product sufficiently large. In addition, our construction shows that sparse attention with fixed geometric offsets suffices for efficient universal computation. Our proof leverages multi-queue TMs as a bridge. The main technical novelty is a more efficient simulation of multi-tape TMs by synchronous multi-queue TMs, improving both time and space complexity under stricter model assumptions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑