English

On the Turing Completeness of Modern Neural Network Architectures

Machine Learning 2019-01-14 v1 Formal Languages and Automata Theory Machine Learning

Abstract

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.

Keywords

Cite

@article{arxiv.1901.03429,
  title  = {On the Turing Completeness of Modern Neural Network Architectures},
  author = {Jorge Pérez and Javier Marinković and Pablo Barceló},
  journal= {arXiv preprint arXiv:1901.03429},
  year   = {2019}
}

Comments

ICLR2019 camera ready

R2 v1 2026-06-23T07:08:42.261Z