现代神经网络结构的图灵完备性
On the Turing Completeness of Modern Neural Network Architectures
摘要:
循环神经网络的替代方案,特别是基于注意力或卷积的架构,已经获得了处理输入序列的动力。尽管它们的相关性,这些替代品的计算性能尚未得到充分探讨。我们研究了两种最典型的架构的计算能力,这两种架构举例说明了这些机制:Transformer(Vaswani等人,2017)和神经GPU(Kaiser & Sutskever,2016)。我们证明了这两种模型是图灵完全完全的,完全基于它们计算和访问数据的内部密集表示的能力。特别是,Transformer和Neural GPU都不需要访问外部存储器来实现图灵完备。我们的研究还揭示了一些最小的元素集需要获得这些完整性的结果。
英文摘要:
Alternatives to recurrent neural networks, in particular, architectures based on attention or convolutions, have been gaining momentum for processing input sequences. In spite of their relevance, the computational properties of these alternatives have not yet been fully explored. We study the computational power of two of the most paradigmatic architectures exemplifying these mechanisms: the Transformer (Vaswani et al., 2017) and the Neural GPU (Kaiser & Sutskever, 2016). We show both models to be Turing complete exclusively based on their capacity to compute and access internal dense representations of the data. In particular, neither the Transformer nor the Neural GPU requires access to an external memory to become Turing complete. Our study also reveals some minimal sets of elements needed to obtain these completeness results.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。