Professional Documents
Culture Documents
BIOMICS: A Theory of Interaction Computing: Natural Computing Series July 2018
BIOMICS: A Theory of Interaction Computing: Natural Computing Series July 2018
BIOMICS: A Theory of Interaction Computing: Natural Computing Series July 2018
net/publication/326512965
CITATIONS READS
2 190
5 authors, including:
5 PUBLICATIONS 37 CITATIONS
Universität Passau
24 PUBLICATIONS 157 CITATIONS
SEE PROFILE
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Gábor Horváth on 25 August 2018.
13.1 Introduction
245
246 P. Dini, C.L. Nehaniv, E. Rothstein, D. Schreckling, G. Horváth
Computations as
mathematical objects
Representation relative
to theory T (e.g. classical,
quantum, etc)
Mathematical Mathematical
model in model in final
initial state state = ‘result’
Computational
or machine model
Mathematical Mathematical
Model Model
Symmetries
and Dynamical
Stability BIOMICS
Computational Abstracts Running Instance Specification Informs
Model
(Language)
Biophysical
Implements Constructs Feeds
Models of Epigenetics
Interaction
System of ASMs
Open Architecture Interaction
& Interaction Rules Implements Open to External
Machine
Environment and Users
Engineering
Models of Emulates Supports
Interaction
Interaction Machine
Lie group
Architecture
Cellular pathways analysis, Existing
as biochemical Petri net Algebraic properties Holonomy
discretization decomposition computational
dynamical of automata structure
& holonomy examples
systems
decomposition
in question. The concern here was not the solution itself, since after all it
can be obtained numerically, but the constants of the “motion” and the in-
tegrals of the “motion”. Even if we restrict the problem to low-dimensional
non-linear systems of ODEs for the species concentrations, the problem re-
mains formidable. In fact, the concept of ‘integrability’ of differential equa-
tions means different things in applied disciplines from what it means in
pure mathematics. In applied disciplines, ‘integrability’ tends to mean that
the solution to a particular differential problem can be expressed in terms
of elementary, transcendental, or special functions – or at least in terms of
quadratures. In pure mathematics, finding a symmetry is tantamount to solv-
ing a problem, even though no elementary function exists to express such a
solution, or the solution is in a non-invertible implicit (and therefore unus-
able) form.
A turning point in the project took place when we found a very interest-
ing paper on the concept of the ‘quasi-potential’ (Zhou et al., 2012), which
connected ideas and results from Hamiltonian and Lagrangian dynamics to
dissipative biochemical systems and to global stability properties through a
stochasticity perspective. While studying the derivation of the Master equa-
tion in Van Kampen’s text on stochastic processes we realized that stochastic
models should be seen as extensions of the mathematical concept of “num-
ber” in a rather similar way to how negative numbers, first, and imaginary
numbers, subsequently, also generally came to be accepted as valid and “le-
gitimate” by Medieval and Renaissance mathematicians. Stochastic methods
based on probability theory, in other words, go well beyond the reduction of
complex phenomena to statistical averages, and are able to capture properties
of systems that are otherwise beyond the reach of current analytical methods.
BIOMICS deliverable (Dini et al., 2016) documents and explains the theories
and the mathematics behind the quasi-potential with the aim to advance the
analytical and mathematical understanding of dynamical stability.
The mapping from Lie groups to the SNAGs found in the cascade decom-
position of automata turned out to be unworkable. This finding is not based
on new mathematical theorems but, rather, on studying and understanding
some of the very advanced mathematical theorems developed as part of the
monumental effort known as the classification of the finite simple groups.
BIOMICS wrote two reports (Figula et al., 2014; Halasi et al., 2013) to ex-
plain some parts of this theory, make it accessible to a wider audience of less
advanced mathematicians and mathematics students, and to instantiate it
252 P. Dini, C.L. Nehaniv, E. Rothstein, D. Schreckling, G. Horváth
within the specific problems addressed by the project. Very briefly, a part of
the findings is as follows.
Systems involving more than a single, 1st-order ODE admit, and require
for their integration, a Lie group whose Lie algebra is solvable with dimension
at least equal to the number of ODEs in the system. However, by the Cheval-
ley construction a finite SNAG is obtained from a simple Lie algebra, i.e. a
Lie algebra tangent to a simple Lie group, which by definition does not have
nontrivial normal subgroups (is not ‘solvable’). In spite of this set-back, we
still think there ought to be a connection between the invariant properties of
biological (dynamical) systems and the invariant properties of computations
of the corresponding finite-state automata, as follows.
Further analysis of the correspondence between finite and continuous
groups highlights that the current problem as posed runs into a “level mis-
match”, in the sense that in the case of ODEs the invariant under the action
of a Lie group is the ODE itself (or system thereof), whereas the invariant we
wish to capture is associated with the solution of the ODE. Whereas the for-
mer invariant is visualizable as the ‘hull’ in the jet-space (Ibragimov, 1992),
the latter is associated with the first integral, the level sets of which are the
solution curves. As explained in (Bluman and Cole, 1974), the symmetry vec-
tor field of a given ODE does preserve the family of solution curves (this can
in fact be regarded as the condition by which the Lie symmetries are found)
but not necessarily the first integral surface.
Although it is well-known that first integrals are not unique, when looked
at in this manner this result is highly counter-intuitive – but nevertheless
true. It can be explained intuitively by noting that the symmetry condition by
which Lie symmetries are derived is a condition on a differential structure, the
functional form of the system of ODEs whose visualization is the hull, whereas
since the solution curves involve an integration step they will satisfy the
system up to some constant. Therefore, the Lie transformation that maps the
system of ODEs to itself (equivalently, whose jet-space prolongation maps the
hull to itself) cannot affect that constant. Since the constant is the value of the
level set (i.e. the height) of the first integral surface, and therefore determines
which specific solution we are referring to, if these constants for a given
family of curves are permuted it follows that the shape of the corresponding
surface will change even though the family itself is still the same set of curves
as before. This is one way to see why the first integral surface of a given
problem is not unique. The only kind of vector field that maps the first
integral surface to itself is (necessarily) tangent to the level sets, and for this
reason it is known as the ‘solution flow’. Put otherwise, a given first integral
is an ‘absolute invariant’ (Bluman and Cole, 1974) of the solution flow vector
field, but not of the infinitesimal Lie symmetries that help us arrive at the
solution.
In light of the above, a potentially fruitful point of view is to focus on
the fundamental properties of groups, i.e. their association with symmetries.
Paraphrasing Ian Stewart (Stewart, 1989), (a) a symmetry is an invertible
13 BIOMICS 253
Finite discrete automata models of biological systems such as the lac operon,
the Krebs cycle and p53-mdm2 genetic regulation constructed from systems
biology models have canonically associated algebraic structures (their trans-
formation semigroups). These contain permutation groups (local substruc-
tures exhibiting symmetry) that correspond to ‘pools of reversibility’. These
natural subsystems are related to one another in a hierarchical manner by
the notion of ‘weak control’. In (Nehaniv et al., 2015b) we present natural
subsystems arising from several biological examples and their weak control
hierarchies in detail.
254 P. Dini, C.L. Nehaniv, E. Rothstein, D. Schreckling, G. Horváth
We have shown that SNAGs can occur as the symmetry groups acting
in the natural subsystems. BIOMICS explained how SNAGs can work as
a basis for computation as they are functionally complete (like the two-
element Boolean algebra in logic), reviewed the background and recently
demonstrated bounds on the realization of arbitrary finitary functions, and
proved new results showing how discrete systems with SNAGs such as the
p53-mdm2 genetic regulatory system or ensembles of such systems could ex-
ploit this to achieve finitary universal computation.
In (Nehaniv et al., 2015b) we introduced interaction machines as ensemble
structures that dynamically grow or change their topologies based on inter-
nal and external interaction, and outlined how these discrete dynamical sys-
tems can implement novel dynamic computational structures (e.g. dynamic
cascades for positional number systems). We also applied the interaction
machine framework to show how it can naturally model biological systems
that change their own structure (e.g. multicellular differentiation with cell
division), discussed the interpretation of permutation groups in temporally
changing interacting ensembles, and proved that ensembles of the natural
subsystems can be arranged according to the weak control hierarchy to em-
ulate a given discrete finite automaton. Moreover, we proved that the last
can be achieved with a dynamic cascade, generalizing the holonomy method
in algebraic automata theory for finite automata to decomposition using in-
teraction machines. This gives one of the foundational blocks upon which
further work on interaction computing can be built.
BIOMICS deliverables D2.1 and D2.2 for further work in Interaction Comput-
ing. We examined the notion of dynamical stability, developing the example
of the calcium cycle in cardiac cells. Further formal work carried out in D2.2
establishes methods and tools for the constrained realization of interaction
machines and methods of specification that will be useful in the creation of
dynamically stable Interaction Computing environments.
During the development of the BIOMICS project, the idea of what or how
Interaction Machines should look like was constantly changing. The Interac-
tion Computing Framework presented in Deliverable 3.1.1 (Nehaniv et al.,
2014b) described Interaction Machines as dynamically changing cascades of
networks of deterministic finite state machines, equipped with feedback func-
tions that enable the transformation of inputs from global inputs to local
inputs based on interactions with the environment and local conditions in
the dynamic topology. In Deliverable 4.1 (Rothstein and Schreckling, 2015),
we modelled Interaction Machines using coalgebras capable of describing the
behaviour of black-box Mealy machines with a recursive structure, i.e., inside
the coalgebras, we would see a network of other black-box Mealy machines
(in coalgebraic representation). Finally, in Deliverable 4.2, we opted to em-
power Abstract State Machines (ASM) (Börger and Stärk, 2003) so that they
could satisfy the requirements of Interaction Computing. This latter model
has been iteratively refined to obtain Abstract State Interaction Machines
(ASIMs), the machine model that we explain in this section.
Adopting ASIMs as the underlying machine model for Interaction Com-
puting has several advantages over other machine models. Most notably is
that ASIMs do not require users to anticipate all possible states during spec-
ification, unlike deterministic finite automata; instead, ASIMs have a notion
of initial state(s) and a program that allows them to update their set of cur-
rent states. Both the initial state(s) and the program can be conveniently
described using ASM rules.
ASIMs, like biological systems, have the capacity to dynamically grow,
and to deploy or retract structures and resources in response to ongoing
interactions, like the dynamically growing machines described in Deliverable
D3.1.1 (Nehaniv et al., 2014b) (published in final form as (Nehaniv et al.,
2015b)). ASIMs also inherit the notion of abstract states from ASMs; i.e.,
the state of an ASIM is not given just by a name or label, but by a first-
order algebraic structure – a Σ-algebra for a signature Σ – which assigns
concrete values to the ground terms of functions of the signature Σ. Finally,
a practical advantage is that we find open source executions frameworks for
13 BIOMICS 257
ASMs that can be adapted and modified; most notably CoreASM (Farahbod
and Glaesser, 2011), which supports the design and execution of ASMs.
In this section, we formally introduce Abstract State Interaction Machines
(ASIMs) and their components. Using CoreASM’s architecture (Farahbod
and Glaesser, 2011) as inspiration, we take a modular approach and define
a set of internal components for ASIMs, following the requirements set by
the new Interaction Computing paradigm. Ultimately, these components are
in charge of handling different aspects of the behaviour of ASIMs, and pro-
vide support to operations that allow ASIMs to handle algebraic structures,
process expressions, and communicate. These components of ASIMs are: the
parser, the interpreter, the scheduler, the mailbox and the abstract storage.
We emphasize that from a computer science point of view the level of
innovation achieved is limited, and that the discussion that follows is meant
for a broad interdisciplinary audience, in line with the spirit of the project.
Thus, the liberal use of analogies and metaphors from biology is meant more
to help non-computer scientists understand the functional properties of the
components described than to impress a computer science audience. However,
the architecture and components described can be seen as starting points
for further UCOMP research that builds on the significant interdisciplinary
effort already expended by BIOMICS and that has resulted in these new
capabalities of ASIMs relative to ASMs:
• Creation and deletion of ASIMs
• Rules (policies) that control the interaction between ASIMs (and help
build hierarchies)
• The exchange of rules which can change (rewrite) the behaviour of one
or a set of ASIMs
13.5.1 Parser
13.5.2 Interpreter
Food can be seen as structures that combine simpler, more elementary struc-
tures, including fats, carbohydrates, and proteins. The cells in our body need
our digestive system to break down food into these elementary structures so
that they can be useful. The interpreter of an ASIM is the component that
“digests” the algebraic structures recognised by the parser, and returns a set
of simpler structures that the ASIM understands and can use to continue
its execution. For instance, the interpretation of a rule yields sets of updates
to the current state should the rule be executed, the interpretation a policy
yields sets of agents that satisfy the policy, and the interpretation of a term
yields the value of the term in the algebra described by the state of the ASIM.
Interpreters empower programming languages with the ability to add lay-
ers of abstraction, positively affecting their expressivity. Without interpreters,
we would have to program computers using low level code. Similarly, without
the ASIM interpreter, we would have to define the rules of ASIMs in terms
of sets of updates, losing one of the key properties of ASMs: the ability to
describe algorithms at the right level of abstraction.
13.5.3 Scheduler
tells the scheduler that all local agents have to run at this step, and the
choose-one policy
13 BIOMICS 259
tells the scheduler to randomly select only one local agent among those that
satisfy the condition cond. A detailed explanation of scheduling policies can
be found in Morris and Schreckling, 2015, Section 2.3.4. A step for these local
agents should be understood as a single execution of their programs; thus,
we see that there are two notions of step: a high-level for the ASIM where
scheduling and message passing happens, and a low-level for each of the local
agents where they run their program.
13.5.4 Mailbox
The mailbox component is one of the new additions to the ASM formalism,
which aims to describe ASMs with communication capabilities, i.e., com-
municating ASMs (see (Börger and Schewe, n.d.)). ASIMs naturally inherit
the communication capabilities of communicating ASMs. The mailbox of an
ASIM empowers the ASIM so that it can send and receive messages to and
from other ASIMs, and we think of the mailbox as the interface between the
ASIM and its communication environment.
The mailbox manifests in the abstract storage (explained below) as two
primitive locations: the monitored inbox location and the output outbox lo-
cation. The inbox location updates at each step, and it evaluates to the set
of message elements that the ASIM received since it last checked its mailbox.
Messages can be placed in the output location for delivery by means of the
send message rule
| {z } to "asim
send Element " with subject String.
| {z 2 } | {z }
body receiver subject
Abstract Storage
Fig. 13.5 Abstract storage of ASIMs. The primitive locations are initial, program, policy,
inbox and outbox.
13.5.5.1 initial
The initial location – initial(self ) – contains a rule that initialises the ASIM.
This rule is only executed once, when the ASIM is created. The execution
of this rule does not count towards the number of steps that the ASIM has
executed. Changing the contents of the initial location does not directly affect
the execution of the ASIM.
13 BIOMICS 261
13.5.5.2 program
The program location contains the rule that the ASIM executes every step.
We can change the behaviour of an ASIM by changing the contents of its
program location; however, this change has to be explicitly carried out by
the current program of the ASIM. For example, the programs
rule R1 = par x:=x+1 program := R2 endpar
rule R2 = par x:=x−1 program := R1 endpar
alter the program location by assigning the other rule when executed. An
ASIM “dies” if its program sets the value of its program location to the
no-op rule skip or to an undefined value.
13.5.5.3 policy
The policy location contains the policy that the scheduler of the ASIM uses to
select which local agents execute during the current step. Using the program,
an ASIM can change its scheduling policy by updating the policy location.
Changing the scheduling policy results in the different components being
triggered in a different pattern, ultimately affecting the overall behaviour of
the ASIM.
13.5.5.4 inbox
The inbox location is a monitored (i.e. read-only) location that contains the
messages that were received between the previous step and the current step
of the ASIM. The mailbox component is the entity responsible for putting
the incoming messages in the inbox location so that they are available to the
ASIM during execution.
13.5.5.5 outbox
The outbox location contains the messages generated by the ASIM during
the current step. This location is an output location, so the ASIM cannot
read it, but can write to it instead. To write in the outbox location, we use a
send message rule. This location is accessed by the mailbox, which takes the
messages out of it and passes them to the communication environment.
262 P. Dini, C.L. Nehaniv, E. Rothstein, D. Schreckling, G. Horváth
References