You are on page 1of 8

Adaptation and Control in the Allagmatic Method

Olivier Del Fabbro and Patrik Christen, Member, IEEE

Abstract— Control was from its very beginning an important biological concepts such as adaptation, environment, organ-
concept in Cybernetics. Later on, with the works of W. Ross ism, survival, and struggle for existence [3]. For Ashby,
Ashby, for example, biological concepts such as adaptation were adaptation is a form of behaviour that is capable of main-
interpreted in the light of cybernetic systems theory. Adaptation
is the process by which a system is capable of regulating or taining essential variables within certain physiological limits
controlling itself in order to adapt to changes of its inner in order to establish homeostatic stability [3, p. 58]. Wiener,
arXiv:2009.00110v3 [cs.NE] 26 Mar 2021

and outer environment in order to maintain a homeostatic however, anticipated such interpretation by elucidating the
state. In earlier works we have developed a metamodel that on concept of homeostasis in his own view: adaptation is then
the one hand refers to cybernetic concepts such as structure, a process of internal regulation of a system through control
operation, and system, and on the other to the philosophy of
individuation of Gilbert Simondon. The result is the so-called and feedback mechanisms in order to adjust to the influences
allagmatic method that is capable of creating concrete models of of the environment and to establish a homeostatic state [2,
systems such as artificial neural networks and cellular automata pp. 114–115]. In cybernetics, the concept of adaptation is
starting from abstract building blocks. In this paper, we add to thus directly bound to the concept of control and feedback
our already existing method the cybernetic concepts of control and the establishment of a homeostatic state.
and especially adaptation. In regard to the metamodel, we rely
again on philosophical theories, this time the philosophy of But, what counts for biology can also be said for other
organism of Alfred N. Whitehead. We show how these new fields. The famous Macy Conferences show perfectly well
meta-theoretical concepts are described formally and how they how sociology, psychoanalysis, information theory, etc. could
are implemented in program code. We also show what role they adhere to the cybernetic project [4]. Even humanities got
play in simple experiments. We conclude that philosophical influenced by the cybernetic movement [5]. One of these
abstract concepts help to better understand the process of
creating computer models and their control and adaptation. philosophers influenced by cybernetics was the Frenchman
In the outlook we discuss how the allagmatic method needs to Gilbert Simondon (1924–1989). Simondon used concepts
be extended in order to cover the field of complex systems and from cybernetics such as system, structure, operation, feed-
Norbert Wiener’s ideas on control. back, information, and so on in order to establish a meta-
physics of individuation that should be able to describe
I. INTRODUCTION all kinds of phenomena and objects: wave-particle dualism
in physics, chemical growth of crystals, biological beings
Cybernetics was from its very beginning a scientific
such as polyps, psychological behaviour such as emotivity,
endeavor that tried to bring together as many disciplines
social emergence of groups and technical objects such as
as possible. Already in the 1943 written paper, Behavior,
combustion engines and vacuum tubes [6]. Yet, while Si-
Purpose and Teleology, Norbert Wiener, Arturo Rosenblueth,
mondon only worked with pen and paper to write down
and Julian Bigelow [1], mixed concepts from physiology,
his metaphysics in the 1950’s, technological advancements
neuropsychology, engineering, and even philosophy (teleol-
in computer modelling allowed the authors of this paper to
ogy) in order to highlight analogies between living beings
implement Simondon’s abstract concepts into a metamodel
and machines. Active and purposeful behaviour leads to an
[5]. Abstract concepts such as structure and operation helped
output of signals which can be fed back to the system so that
to define generic building blocks of a system model such as
the teleology, i.e. the end, aim, goal, finality, of the system
entities and update function. From these abstract building
under consideration is altered. In the end, it does not matter
blocks, it is then possible to construct concrete models
if that system is the human nervous system or an anti-aircraft
such as cellular automata and artificial neural networks. The
defence system.
abstract building blocks are described in a metamodel of
Yet, what seems to be missing in that publication and
a system and are part of the so-called allagmatic method.
also in Wiener’s 1948 published monograph, Cybernetics [2],
Its name is in reference to Simondon and means change or
is the interpretation of feedback and control in biological
transition. It proceeds through different so-called regimes or
terms. It was left to others in the cybernetic community
stages: virtual, metastable, actual, or in other words, from
such as W. Ross Ashby to introduce more systematically
abstract generic concepts to concrete models.
What up to this point, however, was missing in this
The authors contributed equally to this work. Corresponding author:
Patrik Christen. metamodel is the concept of adaptation as it was intro-
Olivier Del Fabbro is with the Chair for Philosophy, ETH Zurich, Zurich, duced by Wiener and Ashby. In section II we give a short
Switzerland olivier.delfabbro@phil.gess.ethz.ch summary of the already developed metamodel. In section
Patrik Christen is with the Institute for Information Systems, FHNW
University of Applied Sciences and Arts Northwestern Switzerland, Olten, III we introduce the concept of adaptation, i.e. adaptation
Switzerland patrik.christen@fhnw.ch function. Adaptation means here a whole process in which
the behaviour of a system is adjusted due to the evaluation where ŝi are structures of set S and ôj are operations of set
of a target or aim that should be reached. O, thus ŝi ∈ S ∧ ôj ∈ O [11].
However, by adding the concept of adaptation to the More concretely, structure S and operation O are de-
metamodel, further meta-theoretical expansion by philosoph- scribed in more detail by further dividing them into more
ical concepts is required. Here, we rely on the concepts specific but still general concepts. Guided by the systems
of adaptation by the mathematician and philosopher Alfred view, systems are made up by interacting entities defined
N. Whitehead, whose philosophy of organism is close to with an entity e-tuple E = (ê1 , ê2 , ê3 , . . . , êe ), where
Simondon’s philosophy of individuation [7]. Especially, for êi ∈ Q with Q being the set of k possible states [11].
future work on the intricacy and complexity of systems – as These entities are interacting with each other within a
we will show in section VIII – Whitehead’s meta-theoretical certain neighbourhood or milieu defined with the milieus
work will be of great help. At the same time, we show e-tuple M = (M̂1 , M̂2 , M̂3 , . . . , M̂e ), where M̂i =
that Whitehead’s concepts of adaptation are compatible with (m̂1 , m̂2 , m̂3 , . . . , m̂m ) is the milieu of the i-th entity êi
cybernetic vocabulary. We introduce Whitehead’s concepts of E consisting of m neighbours of êi [11]. Additionally,
in section IV of this paper. In section V, we then show how there can be structures for storing some information used
Whitehead’s concepts find their place within the allagmatic by operations. The most basic operation updates the states
method. In section VI of the paper, we give an account of an entity depending of the states of neighbouring entities
of adaptation in simple experiments with cellular automata and some local rules. We defined it as an update function
and artificial neural networks. The experiments do not only φ : Qm+1 → Q and introduced the structure U storing the
show that it is possible to create concrete models such rules or logic of the function [11].
as cellular automata and artificial neural networks from The system metamodel is applied in the allagmatic method
abstract building blocks, the introduction of philosophical [5] following three different regimes (Fig. 1): In the virtual
meta-theoretical concepts also allow to give guidance for regime, the system metamodel is described abstractly. In the
interpretation through the different regimes. Once operating, metastable regime, structure and operation are combined and
the concepts have a specific well-defined place within the fed with model parameters. This creates an actual system that
allagmatic method. We show this in section VI and in can be run in the actual regime.
the discussion VII. Section VI also describes how control
mechanisms are present within the allagmatic method and Virtual Structure
Virtual System
Operation
how they relate to the adaptation function. Control is the Regime

manner of how the update function of a system is being


steered.
Metastable System
Even though simple, the experiments show one important Metastable
Regime
aspect in today’s use of computer models. Once the models Adaptation: Adaptation:
Loss Update
attain a target they do not continue to evolve [8]. For Wiener, Calculation Function
however, and Simondon and Whitehead alike, control in
Actual Actual Systems
real systems is always an assembly of controllers and gov- Regime

ernors that collectively try to maintain homeostasis: body


temperature, waste products in the digestive system, chemical
defences against infection, heart rate, blood pressure and so Fig. 1. The allagmatic method consisting of a system metamodel that is
abstractly described in the virtual regime, concretised with parameters in the
on [2, pp. 114–115]. There is not a single control mechanism. metastable system, and run or executed in the actual regime. It starts with
In the outlook VIII, we show how the meta-theoretical the object creation and thus the transition from the virtual to the metastable
concepts of Whitehead are capable of giving guidance to regime, continues through the metastable and actual regimes, and ends with
the transition from the actual back to the metastable regime. Adaption is
implement future models with multiple control mechanisms. occurring between the metastable and actual regimes.

II. THE ALLAGMATIC METHOD


III. FORMALISM AND IMPLEMENTATION OF
Using the recently developed and implemented metamodel ADAPTATION
for modelling systems, we directly [5] and automatically From a formal point of view, we introduce here, within
[9] created cellular automata and artificial neural networks the context of adaptive computation, a further operation
with the abstract and generic model building blocks of the acting on the structure U capable of adapting or changing
system metamodel of the allagmatic method. The system it. We defined it as an adaptation function ψ with its
metamodel is inspired by the philosophical concepts structure own logic stored in the structure A and adaptation end
and operation as proposed by Simondon to describe a system or target stored in P [11]. Structure is therefore more
[10]. Each system, natural or artificial, consists of at least specifically defined by S := {E, Q, M, U, A, P, . . . , s̃s },
one structure capturing the spatial dimension and at least where s̃i are possible further structures, and operation by
one operation capturing the temporal dimension. We formally O := {φ(êi , M̂i , t, U), ψ(g, A, P, l), . . . , õo }, where t de-
defined a model of a system SM at the most abstract level notes the number of time steps and t̄ the current time
with the tuple SM := (ŝ1 , ŝ2 , ŝ3 , . . . , ŝs , ô1 , ô2 , ô3 , . . . , ôo ), step, g the number of adaptation iterations and ḡ the
current adaptation iteration, and l the loss tolerance [11]. protons, individual molecules, societies of molecules such as
The model of a system SM is finally defined more pre- inorganic bodies, living cells, and societies of cells such as
cisely and formally capturing adaptation with SM := vegetable and animal bodies.” [14, p. 98] Both, the forming
(E, Q, M, U, A, P, . . . , ŝs , φ, ψ, . . . , ôo ), where ŝi ∈ S ∧ of a society and of a nexus are processes of emergence, but it
ôj ∈ O [11]. is the presence of an aim which makes the difference between
In this study, we added the adaptation operation to the a nexus and a society. Today, in agent-based modelling such
system metamodel implementation as well as reimplemented society is called a system whereas in swarm intelligence it is
the rest of the system metamodel in accordance with the called a swarm and in artificial neural networks it represents
definitions above and described in detail in another study the network. Lastly, what Whitehead calls society is termed
that focused on the formalism of the system metamodel [11]. by Simondon an individuation [7]. We will use Whitehead’s
As in the previous implementation [5] and guided by the terminology of society and nexus.
philosophy of Simondon [10], object-oriented programming For both, a nexus and a society, entities interact with each
and template meta-programming in C++ was used [12], [13]. other in order to follow a certain path of behaviour (update
Classes are used to implement structures as data member function) but only in a society an end is attained (adaptation
and operations as member functions of classes defined in function). As shown above in the quote, this phenomenon
the virtual regime. Since the model parameters become con- can, according to Whitehead, also be observed in biology
crete only through parametrisation in the metastable regime, and physics, when molecules form a cell and waves and
generic types are used in the virtual regime implemented electrons an electromagnetic field, respectively. Nexūs (the
with the C++ vector template. Once an object is created and plural of nexus) are thus defined as actual systems that did
all parameters are initialised, it is run in the actual regime. not reach the targeted end. When a society has attained a
The object creation starts with the transition from the virtual certain end, “it is self-sustaining.” [14, p. 89]
to the metastable regime, continuous through the metastable
and actual regimes, and ends with the transition from the V. ADAPTATION AND CONTROL IN THE
actual back to the metastable regime. Adaption is occurring ALLAGMATIC METHOD
between the metastable and actual regimes (Fig. 1). Here, we suggest to integrate adaptation into the system
metamodel and the allagmatic method with the guidance
IV. META-THEORETIC DESCRIPTION OF of Whitehead’s metaphysics. However, we first explain the
ADAPTATION details of the update function that was created and imple-
Before describing how the adaptation function is integrated mented according to the philosophy of Simondon [10] in
into the allagmatic method and system metamodel, and how earlier studies [5], [9], [11].
it operates in concrete models such as cellular automata and The distinction of structure and operation in a system
artificial neural networks, it is necessary to give philosophical is borrowed from Simondon. These operations act upon
descriptions of adaptation on a meta-theoretical level. These structures in three different regimes (Fig. 1), which provides
meta-theoretical descriptions of adaptation in turn follow the a general framework for describing the emergence of a
philosophy of organism of Alfred N. Whitehead, because his system in terms of structure and operation in the allagmatic
philosophy is on the one hand similar to that of Simondon method. At the most abstract level in the virtual regime, the
[7], and on the other hand Whitehead has given a more thor- update function is an operation of the system model SM
ough analysis and deployment of the concept of adaptation. and is defined as a mathematical function φ(êi , M̂i , t, U) :
Already in our previous studies [5], [9], [11], the concept Qm+1 → Q, where all its parameters remain abstract in that
of entity, which constitutes the very basic structure of any regime. Therefore, φ is implemented as a member function of
system, is borrowed from Whitehead’s philosophy of organ- the class SystemModel formally referred to as SM. The
ism, when he uses the concept of actual entity to denote function itself is specific to the application and is thus not
“the final real things of which the world is made up.” [14, defined abstractly. Several existing and concrete update func-
p. 18] Similar to our model in which entities form together a tions as used in elementary cellular automata [15] and simple
system, Whitehead believes that actual entities form together feedforward artificial neural networks [16] are thus imple-
a so-called nexus. mented in the class SystemModel. The process starts with
The important point in regard to adaptation is that it gives the creation of a SystemModel object with a specific type
the entities a target, goal, or end (a telos in philosophical defining Q and thus the transition between the virtual and
terms) that needs to be attained (or a problem to be solved). metastable regime. Please also note that the parameters are
Hence, when the behaviour of entities is structured through the same for each of these methods and are implemented as
an adaptive operation (an adaptation function) and the given generic types and with dynamic sizes to achieve the abstract
end of that function is attained, a so-called society is formed. description in the virtual regime. In the metastable regime,
Society, as it is defined by Whitehead, should therefore not the main program further instantiates the SystemModel
be understood in the narrow and common sense of a social object, where the types are defined and therefore concretised
gathering of humans studied in sociology. In this sense, through template meta-programming. A C++ vector with
Whitehead writes: “The most general examples of such objects of the class Entity is created next and assigned to
societies are the regular trains of waves, individual electrons, the data member entities of the class SystemModel.
With that, the system model is further concretised with entities of the class SystemModel. With that, the
the number of entities. In the same way, M and U are system is further concretised with the number of entities.
created and assigned to the data member milieus and In the same way, M and U are created and assigned to
updateRules of the SystemModel object, respectively. the data member milieus and updateRules of the
With this creation, the system is further concretised with the SystemModel object, respectively. With this creation, the
specific neighbourhood and thus topology of the entities as system is further concretised with the specific neighbourhood
well as the specific update rule. By providing the number and thus topology of the entities as well as the specific update
of time steps t, the creation of the SystemModel object rule. By providing the number of time steps t, the creation
in the metastable regime is finished. In the actual regime, of the SystemModel object in the metastable regime is
the SystemModel object is then run or executed with the finished if no adaptation is considered.
specified parameters for t steps. To include adaptation, the number of adaptation iterations
To run adaptive computations that are capable of adap- g, the structures for adaptation rules A and adaptation end
tation, we extended our system metamodel with a further P, and loss tolerance l are defined and with that the system
model building block called adaptation function and formally further concretised. Please note that A as well as U can
referred to as ψ in the present study guided by the meta- be explicitly specified with the given structures or directly
physics of Whitehead [14]. It is now described in a similar be implemented with the respective functions. In the actual
way as the update function in the previous paragraph in the regime (Fig. 1), the SystemModel object is run or executed
context of the allagmatic method and its implementation with the specified parameters, that is with concrete number of
in the system metamodel as well as the guidance from entities e, milieu topology M, update function φ, number of
Simondon’s and Whitehead’s metaphysics with respect to time steps t, adaptation function ψ, and number of adaptation
adaptation. Again we start with the distinction of structure iterations g. Once t is achieved, adaptation takes place and
and operation acting in the three different regimes. The thus one computation process ends (Fig. 1).
following description of the different steps starting from the According to Whitehead, at this stage a nexus has been
virtual regime leading to the creation of concrete models formed if the end P is not yet reached or a society if the
in the actual regime shows how the concept of adaptation end P is reached. System states are stored as member data
is itself created and at the same time operating within the systemStates of the SystemModel class. To decide
allagmatic method. whether or not the end has been reached, first and in any
At the most abstract level in the virtual regime, the case of the adaption process, that is for every adaptation
adaptation function is an operation of the system model function ψ specified, a loss l is calculated. Loss relates to
SM and is defined as a mathematical function ψ(g, A, P, l), different terms such as error and fitness. It is application
where all its parameters remain abstract in that regime. specific and needs to be specified as such for the different
Therefore, ψ is implemented as a member function of the adaptation functions ψ. In our computer experiments, we
class SystemModel formally referred to as SM. The are searching for a specific sequence called target or end
function itself is specific to the application and update captured by the structure P and consisting of zeros and
function and is thus not defined abstractly. We implemented ones. The loss l is in this case calculated by the mean
specific adaptation functions for cellular automata [15] and square error when comparing each position of the resulting
simple feedforward artificial neural networks [16] in the sequence after t steps with the target P. Second and again
class SystemModel. E.g. for elementary cellular automata, in any case of the adaptation process, the update function φ
there are 28 possible rules in the update function. We thus is adapted. This step is what can be regarded as control in
implemented an adaptation function that randomly selects our allagmatic method. Specifically, the rules U according
one of these possible rules without considering any error to which the update function φ is working are updated.
or fitness measure. In contrast, for the update function of With that, the relation between entities is adapted since the
artificial neural networks, an adaptation function that adapts entities will update according to different rules based on the
the weights of the network taking into account the error entities’ states in the milieu. Thus, an entity’s relation to its
according to the so-called perceptron learning rule [16]. milieu is at every adaptation iteration different. Additionally,
Both adaptation functions are implemented in the class but not in any case of specific adaptation functions, the
SystemModel. Please note that although some parameters adaptation of the update function φ takes into account an
might not be used in specific functions, the ones that are error, fitness, or learning l. In our computer experiments, the
used are the same for each of these functions and are adaptation function for elementary cellular automata does not
implemented as generic types and with dynamic sizes to take into account any error or learning, it randomly selects
achieve the abstract description in the virtual regime. Tran- from a given pool of update rules. In contrast, the adaptation
sitioning from the virtual to the metastable regime (Fig. 1), function of the artificial neural network, takes into account
identical to the update function description above, the main the error of each neuron and adapts the network weights
program instantiates a SystemModel object, where the according to a learning rule. Once adaptation is finished, a
types are defined and therefore concretised through template new process starts where an actual system with the adapted
meta-programming. A C++ vector with objects of the class update function is created in the metastable system, which
Entity is created next and assigned to the data member is then run or executed again in the actual regime until
the number of adaptation iterations g or a certain loss l is members systemStates, milieus, updateRules,
reached. adaptationRules, and targetStates denoted
Control is thus part of the whole adaptation process, i.e. E (0,...,t) , M, U, A, P, respectively, in the system
when within the operation of adaptation function ψ, control metamodel. It also has member function implementations
can be exercised on the update function φ of a system. In of update functions updateFunction() denoted φ and
other words: the behaviour of an entity, or nexus of entities adaptation functions adaptationFunction() denoted
is being influenced and manipulated. ψ that are concrete in their operation but generic in terms
of data types. In the virtual regime, this class is stored in
VI. ADAPTATION AND CONTROL IN CELLULAR the program code and is independent of the concrete system
AUTOMATA AND ARTIFICIAL NEURAL modelled although the functions contain concrete operations.
NETWORKS These functions are selected during concretisation in the
A. Simple Experiments metastable regime.
Two simple experiments were performed with the t e m p l a t e <typename Q>
newly implemented system metamodel of the allagmatic c l a s s SystemModel
{
method. In the first experiment SMCA , a cellular au- s t d : : v e c t o r <s t d : : v e c t o r <E n t i t y <Q>>>
tomaton was created and concretised with 31 entities systemStates ;
e, Boolean entity states Q = {0, 1}, a milieu M s t d : : v e c t o r <s t d : : v e c t o r <i n t >> m i l i e u s ;
s t d : : v e c t o r <Q> u p d a t e R u l e s ;
consisting of m = 2 neighbouring entities, 15 time s t d : : v e c t o r <E n t i t y <Q>> t a r g e t S t a t e s ;
steps t, an update function φ : Qm+1 → Q, ini- Q updateFunctionCA ( . . . ) { . . . }
tial conditions E 0 = 0000000000000001000000000000000, s t d : : v e c t o r <Q> a d a p t a t i o n F u n c t i o n C A ( ) { . . . }
Q updateFunctionANN ( . . . ) { . . . }
an adaptation function ψ randomly selecting a rule, s t d : : v e c t o r <Q> a d a p t a t i o n F u n c t i o n A N N ( ) { . . . }
100000 adaptation iterations g, a target or end P = };
(1101011001111101000000000000000) representing Wol-
2) Metastable regime:
fram’s rule 110 [15] at time step 15, a loss calculation
a) An object of the class SystemModel, denoted by SM
according to the mean square error when comparing each
in the system metamodel, is created giving a concrete data
entity of the current system at t = 15 with the target P,
type of the data member state, represented by the set Q
and a loss l = 0.001. In the second experiment SMAN N , a
of k possible states. At this point the transition from the
simple feedforward artificial neural network [16] was created
virtual to the metastable regime happens and therefore also
and concretised with 31 neurons per layer and 15 layers.
the concretisation process begins.
The other parameters were concretised in the same way
Experiments: SMCA and SMAN N are created with Q =
as in the cellular automaton experiment with the exception
{0, 1}.
of the update and adaptation functions. A weighted input
function and threshold action function were implemented in SystemModel<bool> systemModelCA ;
SystemModel<bool> systemModelANN ;
the update function and with the perceptron learning rule,
a more advanced adaptation function was implemented to b) Objects of the class Entity are created. They might
account for learning [16]. be created in an array-like data structure represented by the
e-tuple E, where the number of entities e is given. Initial
B. Formalism and Program Code
conditions according to the concrete values of Q, k, and e are
The concretisation process can now be observed and created in E (0) and stored to data member systemState
followed starting with the transition from the virtual to the of the SystemModel object denoted SM.
metastable regime (Fig. 1). It is in the following described Experiments: E (0) = (0000000000000001000000000000000)
by providing a description and formalism of the system is created with e = 31 and êi ∈ Q, and added to SMCA
metamodel followed by its implementation in C++ program and SMAN N .
code.
s t d : : v e c t o r <E n t i t y <bool>>
1) Virtual regime: i n i t i a l E n t i t i e s ( numberOfEntities ) ;
a) The class Entity is given with no concrete structures ...
and operations. It has a generic data member state repre- systemModelCA . s e t S y s t e m E n t i t i e s ( i n i t i a l E n t i t i e s ) ;
systemModelANN . s e t S y s t e m E n t i t i e s ( i n i t i a l E n t i t i e s ) ;
senting the state of an entity êi of E, where êi ∈ Q. In the
virtual regime, this class is stored in the program code and c) Milieus M are created and stored to data member
is independent of the concrete system modelled. milieus of the SystemModel object denoted SM.
t e m p l a t e <typename Q> Experiments: M = (M̂1 , M̂2 , M̂3 , . . . , M̂e ) is created
class Entity and added to SMCA and SMAN N . M̂i = (m̂1 , m̂2 ), where
{ m̂1 is the neighbour to the left and m̂2 to the right of êi ,
Q state ;
}; and m̂1 , m̂2 ∈ N.
s t d : : v e c t o r <s t d : : v e c t o r <i n t >>
b) The class SystemModel is given with no milieus ( numberOfEntities ) ;
concrete structures and operations. It has generic data ...
systemModelCA . s e t S y s t e m M i l i e u s ( m i l i e u s ) ; Experiments: SMCA and SMAN N are run for t = 15
systemModelANN . s e t S y s t e m M i l i e u s ( m i l i e u s ) ; iterations.
d) Update rules U and update function φ are created int numberOfIterations = 15;
void runSimulationCA ( n u m b e r O f I t e r a t i o n s ) { . . . }
according to the concrete values of Q, k, and M. U is stored void runSimulationANN ( n u m b e r O f I t e r a t i o n s ) { . . . }
to data member updateRules of the SystemModel
object denoted SM. φ is selected from concretely imple- b) An object of the class SystemModel, denoted by
mented member functions updateFunction() of the SM in the system metamodel, is run in an adaptation of
SystemModel object. Notice that these functions are im- g iterations.
plemented with template programming to account for differ- Experiments: SMCA and SMAN N are adapted for g =
ent data types and milieus. 100000 iterations. Notice that between each of the adaptation
Experiments: U CA = (01101110) is created and stored iterations, t update iterations are simulated. Loss is calculated
in SMCA . φCA for elementary cellular automata [15] in each adaptation iteration and the program stops if either
is selected in SMCA . φAN N = α ◦ β j , where α = the current adaptation iteration ḡ reaches the number of
( adaptation iterations g, thus ḡ = g, or the calculated loss
0 if 0.5 > βj Pm
and β j = i=1 ωi,j ai + ωb [16] are is less than l = 0.001.
1 if βj ≥ 0.5
i n t numberOfAdaptations = 100000;
selected in SMAN N . m = 3 is the milieu or number void runAdaptationCA ( numberOfAdaptations ) { . . . }
of incoming activation signals, ω are randomly initialised v o i d runAdaptationANN ( n u m b e r O f A d a p t a t i o n s ) { . . . }
weights, ai are incoming activation signals, and ωb is a
randomly set bias weight. C. Adaptation and Philosophical Interpretation
i n t numberOfRulesCA = 8 ; The simple experiments show that adaptation is not a static
s t d : : v e c t o r <bool> u p d a t e R u l e s C A ( numberOfRulesCA ) ; concept, but a process occurring between the metastable
... and actual regime and therefore it is a process that hap-
systemModelCA . s e t S y s t e m R u l e s ( u p d a t e R u l e s C A ) ;
Q updateFunctionCA ( . . . ) { . . . } pens within the framework of the allagmatic method. Only
Q updateFunctionANN ( . . . ) { . . . } once the end is attained a society occurs but the different
adaptation processes create continuously new societies and
e) Optionally, adaptation rules A, target P, and adap- nexūs. Since the creation of a model of a system, that is
tation function ψ are created according to the concrete SM or a SystemModel object, is implemented in such a
values of U, e, Q, and k. A and P are stored to data way that it represents societies as described by Simondon
member adaptationRules and targetStates of the and Whitehead, it can be followed meticulously. This is
SystemModel object denoted SM, respectively. ψ is achieved by object-oriented programming and template meta-
selected from concretely implemented member functions programming of the system metamodel in the allagmatic
adaptationFunction() of the SystemModel object. method.
Notice that these functions are implemented with template Section V shows how the different concepts are created
programming to account for different data types and milieus. and related one to another. It combines formal-mathematical
Experiments: P = (1101011001111101000000000000000) and conceptual-philosophical descriptions with implementa-
is created and stored in SMCA and SMAN N . tion into program code. At no time, the concept of adaptation
ψ CA is selected in SMCA , where U is adapted in lies outside of any sort of description. Its behaviour can
a random manner. It is thus randomly controlled. always be linked to a theoretical framework. This also counts
ψ AN N = ωi,j ← ωi,j + r(y − aj )ai is selected in for the processual and operative aspect of program code and
SMAN N , where r = 0.01 is the learning rate, y the target thus the emergence of adaptation as a concept.
or desired activation signal, aj the outgoing activation, and Notice that the emphasis of the allagmatic method does not
ai the incoming activation [16]. Here, control is not random, lie solely on the computed result, i.e. the society. At the end
instead it accounts for a certain target and learning strategy. of all computations in order to find a society that reaches
Loss is calculated by the mean square error comparing each the given target, the created realm of systems consists of
element of P with E (t) . multiple nexūs and one society. These nexūs and society in
s t d : : v e c t o r <E n t i t y <bool>> turn are not themselves forming yet another nexus or society
t a r g e t S t a t e s ( numberOfEntities ) ; because they exist independently from one another. There
...
systemModelCA . s e t S y s t e m T a r g e t ( t a r g e t S t a t e s ) ; is no relation between the entities of one nexus to that of
systemModelANN . s e t S y s t e m T a r g e t ( t a r g e t S t a t e s ) ; another of any kind. There is thus a spatial demarcation.
... Notice also that the implementation did not allow the nexūs
s t d : : v e c t o r <Q> a d a p t a t i o n F u n c t i o n C A ( ) { . . . }
void adaptationFunctionANN ( l e a r n i n g R a t e ) { . . . } and society to further develop – even though it would be
computationally possible. The created societies and nexūs do
3) Actual regime: not further develop, change, or adapt further. They still exist
a) An object of the class SystemModel, denoted by SM but are completely silent in behaviour. Notice furthermore
in the system metamodel, is run in a simulation of t discrete that inside-outside distinctions are possible to make. Every
time steps. single nexus and society has an interior with a certain number
of entities and some of these entities forming the border of first these concepts are capable of finding an implemen-
the nexus. tation in object-oriented programming and template meta-
programming; second, once the abstract concepts have been
VII. DISCUSSION successfully implemented, the computations are operating
within the context of a broad elaborated allagmatic method
We have shown how an adaptation function can be intro- of different regimes giving each element its specific place of
duced into our allagmatic method and how a difference can behaviour and factual arrangement.
be made between two types of operations: update function
and adaptation function. Adaptation as we understand it, was VIII. OUTLOOK
defined meta-theoretically with the help of concepts by the
Our implementation of adaptation only refers to the emer-
philosophy of organism of Whitehead. Furthermore, these
gence of nexūs or societies. It does not show how these
philosophical definitions are compatible with definitions of
nexūs or societies behave or act in regard to an external
adaptation and control by Wiener and Ashby. Adaptation is
environment composed of other nexūs and societies. This is
the perpetual change of a system’s state in order to attain
not only a further question of implementation but also of
a certain end or goal. In this sense, adaptation is linked to
interpretation.
control and we have shown that control is executed in our
allagmatic method within the adaptation function operating First the question arises if only societies survive within a
on the update function. whole computational universe or if also nexūs can survive.
This question can be answered with the topic of storage. That
The additional value of the introduction of adaptation as
is to say, are nexūs simply overwritten and not stored and
adaptation function in our allagmatic method is important
then dying or are they kept alive by storing them? This can
because it gives a processual description of adaptation. This
be compared in evolutionary computation with the question
is important because it shows that adaptation is not outside of
whether survival is bound to efficiency in the sense that only
the system. It is an integrative feature of systems themselves.
the best solutions to a problem are surviving or a randomly
Adaptation is thus not an obscure concept, but a concept
selected number of societies is allowed to reproduce. Due to
that is part of a whole system, playing a specific role in the
the observed necessity of individuals to be at the same time
creation of societies and nexūs. The allagmatic method is
flexible and specialised in order to survive, it might be useful
thus in line with the goal of Whitehead’s metaphysics that
to design computer models on the basis of a mixture of nexūs
provides generic notions which add lucidity and clarity to
and societies as this is already done in genetic algorithms
the apprehension of (in this case) computer models.
[17] and other evolutionary algorithms [24] avoiding too
All in all, the allagmatic method and its description of
homogeneous populations.
adaptation is compatible with standard methods in evolu-
This in turn would mean to create in Whitehead’s terms so-
tionary computation [17], [18], [19], artificial intelligence
called structured societies, i.e. societies composed of nexūs
[16], and complex systems research [20], [21], [22], [23]
and so-called subordinate societies, which are governed and
in general. Adaptation operates on the update function and
controlled by the overarching structured society. This also
calculates a loss, error, or fitness. The implementation of the
means to introduce the concept of hierarchical organisation
concept of adaptation is thus not a specificity of the allag-
and reciprocal control: which society is from an operative
matic method. Its specificity in the allagmatic method lies in
and structural point of view part of another structured so-
the possibility of interpretation and thus understanding.
ciety and so on? Which society is controlling which nexūs
By means of our further developed system metamodel,
and societies? Such description of hierarchical organisation,
the processual emergence of nexūs and societies through the
control, structured societies, and subordinate societies could
different regimes, which as we have shown, are completely
for example then give a deeper look into complex systems
compatible with object-oriented programming and template
and the intricacy of entities.
meta-programming, can be followed meticulously with the
allagmatic method. The method gives guidance for the cre- R EFERENCES
ation of a complete model with functions, parametrisation,
etc. This in turn also gives a better understanding of systems, [1] A. Rosenblueth, N. Wiener, and J. Bigelow, Behavior, Purpose and
Teleology, Philosophy of Science, vol. 10, no. 1, pp. 18–24, 1943.
because specific behaviour and emergent structures can be [2] N. Wiener, Cybernetics: Or Control and Communication in the Animal
traced back to meta-theoretical concepts implemented in and the Machine. Cambridge, MA: The MIT Press, 1948.
object-orientated code. The allagmatic method provides an [3] W. R. Ashby, Design for a Brain. London: Chapman & Hall, 1952.
[4] C. Pias, Kybernetik: The Macy Conferences 1946–1953, Essays und
overview because it is a complete framework relating all Dokumente, Band I, Zürich/Berlin: Diaphanes, 2003.
concepts one to another. [5] P. Christen and O. Del Fabbro, Cybernetical Concepts for Cellular Au-
This again is one of Whitehead’s and also Simondon’s tomaton and Artificial Neural Network Modelling and Implementation,
2019 IEEE International Conference on Systems, Man and Cybernetics
important reasons to do metaphysics. The abstract concepts (SMC), Bari, Italy, pp. 4124–4130, 2019.
such as society, nexus, structure, operation and so on are [6] G. Simondon, Individuation in Light of Notions of Form and Informa-
supposed to find concrete applications in daily experiences; tion. Volume I & II. Translated by Taylor Atkins. Minneapolis/London:
University Minnesota Press, 2020.
scientific and non-scientific alike. This is what we have [7] D. Debaise, Speculative Empiricism: Revisiting Whitehead. Translated
shown in regard to the practice of computer modelling: by Tomas Joseph Weber. Edinburgh: Edinburgh University Press, 2017.
[8] K. O. Stanley, Why Open-Endedness Matters, Artificial Life, vol. 25, [16] S. J. Russel and P. Norvig, Artificial Intelligence: A modern Approach.
no. 3, pp. 232–235, 2019. Upper Saddle River: Prentice Hall, 2010.
[9] P. Christen and O. Del Fabbro, Automatic Programming of Cellular [17] J. H. Holland, Genetic algorithms, Scientific American, vol. 267, no.
Automata and Artificial Neural Networks Guided by Philosophy, in 1, pp. 66–72, 1992.
New Trends in Business Information Systems and Technology, R. [18] T. Bäck, D. B. Fogel, and Z. Michalewicz, Evolutionary Computation
Dornberger, Ed. Cham: Springer, pp. 131–146, 2020. 1: Basic Algorithms and Operators. Boca Raton: CRC Press, 2000.
[10] G. Simondon, L’individuation à la lumière des notions de forme et [19] I. Rechenberg, Case studies in evolutionary experimentation and com-
d’information. Grenoble: Editions Jérôme Millon, 2013. putation. Computer Methods in Applied Mechanics and Engineering,
vol. 186, no. 2-4, pp. 125–140, 2000.
[11] P. Christen, Model Creation and Equivalence Proofs of Cellular [20] S. Thurner, R. Hanel, and P. Klimek, Introduction to the Theory of
Automata and Artificial Neural Networks, arXiv:2005.01192, 2020. Complex Systems. New York: Oxford University Press, 2018.
[12] B. Stroustrup, The C++ Programming Language. Ann Arbor, MI: [21] J. H. Holland, Signals and Boundaries: Building Blocks for Complex
Addison-Wesley, 2013. Adaptive Systems. Cambridge: The MIT Press, 2012.
[13] A. Alexandrescu, Modern C++ Design: Generic Programming and [22] M. Mitchell, Complexity: A Guided Tour. New York: Oxford Univer-
Design Patterns Applied. Upper Saddle River: Addison-Wesley, 2001. sity Press, 2009.
[14] A. N. Whitehead, Process and Reality: An Essay in Cosmology. Edited [23] S. A. Kauffman, The Origins of Order: Self Organization and Selection
by David Ray Grifin & Donald W. Sherburne. New York: The Free in Evolution. New York: Oxford University Press, 1993.
Press, 1978. [24] A. E. Eiben and J. Smith, From evolutionary computation to the
[15] S. Wolfram, A New Kind of Science. Champaign: Wolfram Media, evolution of things, Nature, vol. 521, no. 7553, pp. 476–482, 2015.
2002.

You might also like