not follow any equivalence logic, such as visual sym-
metries.
The classification accuracy results reported may
also depend on the capacity of the CNN. The chosen
CNN is relatively simple, deeper CNN architectures
might be able to capture the logic in the other, less
well-learned, classifications. This hypothesis could
be tested by performing the same evaluation across a
spectrum of CNNs, of increasing capacity.
5 CONCLUSIONS
Convolutional neural networks have proven their ca-
pability in many applications and in particular for pat-
tern recognition in images. We have used this asset to
compare a long list of elementary cellular automata
classifications. The experimental results demonstrate
the ability of a neural network to learn CA classifica-
tions based on logical or abstract concepts, indirectly,
via their visual representation. Several classifications
(Wolfram, Surface Dynamics, Normalised Compres-
sion, Topological) are extremely well captured by
this approach (and all are well captured), suggesting
that convolutional neural networks could be applied
to other areas of the cellular automata domain. For
example, we could apply the Wolfram CNN classi-
fier presented here on non-CA output, such as part
of the memory of a running program, to observe if
the predicted class matches Wolfram’s class of ECAs
that are thought to be capable of universal computa-
tion (Cook, 2004; Martinez et al., 2013) (such as rule
110).
One uncertainty in this method is the choice of
the extracted image, from the ECA output, which
serves as input data to the neural network. Our ex-
periments show excellent results (prediction accu-
racy) from very small ECA output extracts, using lit-
tle training data (100 instances for each CA rule),
and with a simple CNN architecture (thus quickly
trained). Moreover, the ECA output selection is cho-
sen such that the influence of all 513 cells is accounted
for, in order to capture the complex system behaviour
of an ECA. Different results could be obtained from a
different selection, and more observations.
Also, we provide a sketched proof for a patho-
logical behaviour of two ECA rules, previously un-
reported (to our best knowledge).
The possibility that deeper CNNs could lead to
better accuracy for other classifications is considered
future work. This hypothesis, if true, could reflect the
complexity of a given classification, and thus defines
another comparison method (such as: the size of the
CNN that achieves over 99% accuracy).
Finally, the CNN-based approach and its results
could be used to discover new ECA classifications.
ACKNOWLEDGEMENTS
The authors wish to thank Christian Hundt of the
Nvidia AI Technology Center Luxembourg, and the
ICAART reviewers for their insightful comments.
REFERENCES
Bach, E. (2020). https://commons.wikimedia.org/w/index.
php?curid=15015440. Last accessed 22 July 2020.
Berto, F. and Tagliabue, J. (2017). Cellular automata. In
Zalta, E. N., editor, The Stanford Encyclopedia of Phi-
losophy. Metaphysics Research Lab, Stanford Univer-
sity, fall 2017 edition.
Binder, P. (1993). A phase diagram for elementary cellular
automata. Complex Systems, 7(3):241.
Cook, M. (2004). Universality in elementary cellular au-
tomata. Complex systems, 15(1):1–40.
de Oliveira, G. M. B., de Oliveira, P. P., and Omar, N.
(2000). Guidelines for dynamics-based parameteriza-
tion of one-dimensional cellular automata rule spaces.
Complexity, 6(2):63–71.
He, K., Zhang, X., Ren, S., and Sun, J. (2015). Delv-
ing deep into rectifiers: Surpassing human-level per-
formance on imagenet classification. In Proceedings
of the IEEE international conference on computer vi-
sion, pages 1026–1034.
Krizhevsky, A., Sutskever, I., and Hinton, G. E. (2012). Im-
agenet classification with deep convolutional neural
networks. In Advances in neural information process-
ing systems, pages 1097–1105.
Kunkle, D. R. (2003). Automatic Classification of One-
Dimensional Cellular Automata. PhD thesis, Citeseer.
Langton, C. (1990). Computation at the edge of chaos:
Phase transition and emergent computation. Techni-
cal report, Los Alamos National Lab., NM (USA).
LeCun, Y., Bengio, Y., et al. (1995). Convolutional net-
works for images, speech, and time series. The
handbook of brain theory and neural networks,
3361(10):1995.
Li, W. and Packard, N. (1990). The structure of the elemen-
tary cellular automata rule space. Complex systems,
4(3):281–297.
Martinez, G. J., Seck-Tuoh-Mora, J. C., and Zenil, H.
(2013). Computation and universality: class iv
versus class iii cellular automata. arXiv preprint
arXiv:1304.1242.
Mart
´
ınez, G. J. (2013). A note on elementary cellular au-
tomata classification. In Adamatzky, A., editor, Jour-
nal of Cellular Automata, volume 8, pages 233–259.
Old City Publishing, Greenville, SC 29616, United
States.
Moore, E. and Burks, A. (1970). Essays on Cellular Au-
tomata. University of Illinois, Urbana.
Comparing Elementary Cellular Automata Classifications with a Convolutional Neural Network
473