23层带循环的ReLU MLP可当通用计算机用,比Transformer更高效。
Looped ReLU MLPs May Be All You Need as Practical Programmable Computers
- 用23层带反馈的ReLU-MLP实现可编程计算
- 在有限参数下完成基础计算操作,效率高于循环Transformer
- 揭示简单神经网络的强计算能力,适合研究模型本质者
先前研究证明注意力机制是图灵完备的。最近发现,带有循环的9层Transformer可作为通用可编程计算机。相比之下,带有ReLU激活函数的多层感知机(ReLU-MLP)作为神经网络的基本单元,虽已知具有表达力——两层网络在隐藏神经元指数级增长时可逼近任意函数——但尚不清楚在实际权重规模下,它能否构成通用可编程计算机。本文给出肯定回答:一个23层带循环的ReLU-MLP能够执行基本必要运算,其在实现可编程计算方面比循环Transformer更高效、更有效。这表明简单模块的表达能力远超预期且尚未被充分探索。本工作为理解神经网络机制提供了新视角,证明复杂任务如构建可编程计算机,并不必然依赖于Transformer等高级架构。
原文摘要 · Abstract (English)
Previous work has demonstrated that attention mechanisms are Turing complete. More recently, it has been shown that a looped 9-layer Transformer can function as a universal programmable computer. In contrast, the multi-layer perceptrons with $\mathsf{ReLU}$ activation ($\mathsf{ReLU}$-$\mathsf{MLP}$), one of the most fundamental components of neural networks, is known to be expressive; specifically, a two-layer neural network is a universal approximator given an exponentially large number of hidden neurons. However, it remains unclear whether a $\mathsf{ReLU}$-$\mathsf{MLP}$ can be made into a universal programmable computer using a practical number of weights. In this work, we provide an affirmative answer that a looped 23-layer $\mathsf{ReLU}$-$\mathsf{MLP}$ is capable of performing the basic necessary operations, more efficiently and effectively functioning as a programmable computer than a looped Transformer. This indicates simple modules have stronger expressive power than previously expected and have not been fully explored. Our work provides insights into the mechanisms of neural networks and demonstrates that complex tasks, such as functioning as a programmable computer, do not necessarily require advanced architectures like Transformers.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。