arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.09375cs.LGcs.AIcs.CC
收藏

循环 ReLU MLP 可能就是作为实用可编程计算机所需的全部

Looped ReLU MLPs May Be All You Need as Practical Programmable Computers

The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Tsinghua University(清华大学);The Simons Institute for the Theory of Computing(西蒙斯理论计算研究所);University of Pennsylvania(宾夕法尼亚大学)

Yingyu Liang, Zhizhou Sha, Zhenmei Shi, Zhao Song, Yufa Zhou

AI总结:

本文证明循环的 23 层 ReLU-MLP 可用实际规模权重执行可编程计算,且比循环 Transformer 更高效,揭示简单 MLP 被低估的表达能力。

摘要:

先前的工作已经证明注意力机制是图灵完备的。最近的研究进一步表明,一个循环的 9 层 Transformer 可以充当通用可编程计算机。相比之下,采用 ReLU 激活的多层感知机(ReLU-MLP)是神经网络最基本的组成部分之一;众所周知,它具有很强的表达能力,具体而言,在隐藏神经元数量呈指数级增长的情况下,两层神经网络就是通用逼近器。然而,目前仍不清楚能否用实际可行数量的权重将 ReLU-MLP 构造成通用可编程计算机。在本工作中,我们给出了肯定答案:一个循环的 23 层 ReLU-MLP 能够执行基本的必要运算,并且相比循环 Transformer,能够更高效、更有效地充当可编程计算机。这表明简单模块具有比此前预期更强的表达能力,且尚未得到充分探索。我们的工作为理解神经网络的机制提供了洞见,并证明充当可编程计算机这类复杂任务并不一定需要 Transformer 这样的先进架构。

英文摘要:

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.

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

↑