# Automatic Programming of Cellular Automata and Artificial Neural   Networks Guided by Philosophy

**Authors:** Patrik Christen, Olivier Del Fabbro

arXiv: 1905.04232 · 2020-09-02

## TL;DR

This paper introduces the allagmatic method, a philosophical approach that automatically programs and executes cellular automata and neural networks, enhancing interpretability and flexibility in model development.

## Contribution

It presents a novel, philosophy-guided, automated programming framework for cellular automata and neural networks using a metamodel and evolutionary computation.

## Key findings

- Successfully evolved target states in cellular automaton and neural network models
- Demonstrated automated programming and execution of models guided by philosophical concepts
- Enhanced interpretability of models through the metamodel and evolutionary approach

## Abstract

Many computer models such as cellular automata and artificial neural networks have been developed and successfully applied. However, in some cases, these models might be restrictive on the possible solutions or their solutions might be difficult to interpret. To overcome this problem, we outline a new approach, the so-called allagmatic method, that automatically programs and executes models with as little limitations as possible while maintaining human interpretability. Earlier we described a metamodel and its building blocks according to the philosophical concepts of structure (spatial dimension) and operation (temporal dimension). They are entity, milieu, and update function that together abstractly describe cellular automata, artificial neural networks, and possibly any kind of computer model. By automatically combining these building blocks in an evolutionary computation, interpretability might be increased by the relationship to the metamodel, and models might be translated into more interpretable models via the metamodel. We propose generic and object-oriented programming to implement the entities and their milieus as dynamic and generic arrays and the update function as a method. We show two experiments where a simple cellular automaton and an artificial neural network are automatically programmed, compiled, and executed. A target state is successfully evolved and learned in the cellular automaton and artificial neural network, respectively. We conclude that the allagmatic method can create and execute cellular automaton and artificial neural network models in an automated manner with the guidance of philosophy.

---
Source: https://tomesphere.com/paper/1905.04232