<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>A First-Order Axiomatization for Transition Learning with Rich Constraints</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ja´chym Barv´ınek</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Czech Technical University in Prague Faculty of Electrical Engineering, Department of Computer Science</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>We address the task of learning a dynamic Boolean network model from data about its state transitions, and constraints regarding the known attractors of the system. To this end, we propose a learning strategy where such prior knowledge is compiled into a first-order theory along with axioms describing the Boolean transitions functions and the language bias for their representation. The learning task is then posed as a model-finding task, in that the Boolean network is obtained as a model of the input first-order theory. With this framework, we support experimentally the hypothesis that attractor constraints reduce the number of state transition examples needed to identify the target model.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>Copyright c by the paper’s authors. Copying permitted for private and academic purposes.</p>
      <p>In: Nicolas Lachiche, Christel Vrain (eds.): Late Breaking Papers of ILP 2017, Orle´ans, France, September 4-6, 2017, published at
http://ceur-ws.org</p>
      <p>Our specific goal for this initial exploration is to test the hypothesis that by exploiting prior knowledge about attractors
we may reduce significantly the number of transition examples needed to identify the target model. To test this, we need a
learning framework capable to interpret constraints such as the model has exactly one periodic attractor of proper length
2. Such a framework is our secondary contribution. In particular, we design a framework in which the learned Boolean
network can be obtained as a finite model of a first-order logic theory with equality. The theory consists of common axioms
defining the semantics of propositional programs, problem-specific sentences expressing the global attractor constraints,
and finally the known ground transitions.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Problem Setting</title>
      <p>We consider propositional variables V = fp1; : : : png. We are given a finite set of assignments (intepretations) I =
fIk1 : : : ; Ikm g associated with discrete times ki 2 N , where each Ik : V ! f0; 1g. The model we seek consists of n
propositional formulas i formed with variables in V . The formulas define (synchronous) state transitions, that is to say,
pi is true at time k + 1 iff i is satisfied under the truth values of all variables at time k. The model thus fits I iff for
any Ik; Ik+1 2 I, Ik+1(pi) = 1 iff Ik j= i. Denoting pi(k) Ik(pi), we can express the transitions as pi(k + 1) =
i(p1(k) : : : pn(k)), treating i as a Boolean function.</p>
      <p>
        In the rest of the paper we assume that the formulas i are literal conjunctions, and we adhere to the illustrative example
2 from [5], which is as follows
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
(
        <xref ref-type="bibr" rid="ref2">2</xref>
        )
(
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
(
        <xref ref-type="bibr" rid="ref4">4</xref>
        )
(
        <xref ref-type="bibr" rid="ref5">5</xref>
        )
p(k + 1) = q(k)
q(k + 1) = p(k) ^ r(k)
r(k + 1) = :p(k)
This Boolean network has two attractors. One is the stable state where only r is true, and the other alternates between the
state where only q is true and one with only p and r true.
      </p>
      <p>In the sequel, we explore how the model (i.e., the three formulas above) can be identified from I and from prior
constrains regarding the model’s attractors. The strategy adopted is that the latter two, along with axioms regarding the syntax
and semantics of propositional conjunctions are combined in a first-order theory T . The Boolean networks conforming to
the said inputs are obtained as finite models of T . We next present two different approaches to such axiomatization.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Relational Axiomatization</title>
      <p>
        Here, the vocabulary for forming T includes a constant for each propositional variable in V , so for the running example,
the constants are p; q; r. Further, we have a finite number of constants i1; i2; : : : corresponding to interpretations I1; I1; : : :
which we are also going to call states. With the running example, we have up to 8 such constants, depending on the set of
states present as examples in a particular experimental setting. Finally, we have a function symbol s representing the state
succession function. E.g. s(i1) = i2 stipulates that state I2 directly follows state I1. As for predicates, we include pos=2,
neg=2, and true=2 whose meaning we explain through the running example. The meaning of pos=2 is that if for instance
pos(q; p) holds, then q appears as a positive literal in the conjunction for p such as in (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ). Similarly, neg=2 indicates a
negative occurrence. Lastly, true(i3; q) means that q is true in (assigned 1 by) interpretation I3.
      </p>
      <p>The first axiom in T defines the semantics of conjunctive transitions. In particular, it expresses that if and only if a
variable is true in the successor of a state S, then all variables with positive (negative) occurrence in the conjunction must
be true (false) in S.</p>
      <p>8S; V true(s(S); V ) $</p>
      <p>8W (pos(W; V ) ! true(S; W )) ^ (neg(W; V ) ! :true(S; W ))
The second axiom encodes the language bias for the propositional models by restricting the pos and neg relations to the
constants p; q; r.</p>
      <p>8V; W (pos(V; W ) _ neg(V; W )) !</p>
      <p>
        (W = p _ W = q _ W = r) ^ (V = p _ V = q _ V = r)
The remaining formulas in T describe the particular learning instance. Each supplied interpretation Ik is encoded as a set
of ground facts; e.g. true(i1; p) and :true(i1; q) express respectively that p (q) is (not) true in I1. Further facts in the form
s(i2) = s3 postulate the known successions of states. The last group of formulas describe the known facts about attractors.
For example the formula
stipulates, under the presence of (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ), that the model has an attractor state (a state transiting to itself), whereas
9S s(S) = S:
9S :(s(S) = S) ^ s(s(S)) = S:
has a periodic attractor of proper length 2 (i.e. two alternating states).
      </p>
      <p>
        In general, T has multiple finite models M , M j= T , which all represent a correct solution to the learning problem. M
identifies the target system (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">1-3</xref>
        ) iff it assigns the following relations to the predicates pos=2 and neg=2:
pos(#; !) M (p) M (q) M (r)
      </p>
      <p>M (p) 0 1 0
M (q) 1 0 0
M (r) 0 1 0
neg(#; !) M (p) M (q) M (r)</p>
      <p>
        M (p) 0 0 1
M (q) 0 0 0
M (r) 0 0 0
Here, M (p) stands for the domain element that p is mapped to by M , and analogically so for q and r. The tables do not
show the Cartesian products for other domain elements as they are all 0 due to axiom (
        <xref ref-type="bibr" rid="ref5">5</xref>
        ).
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Functional Axiomatization</title>
      <p>
        Our alternative axiomatization uses no predicates except for the special equality predicate. We introduce two constants t, f
representing the true and false Boolean values, and the following axiom making sure the two are different
Conjunctions are modeled through the function conj=9 satisfying the next axiom
(
        <xref ref-type="bibr" rid="ref6">6</xref>
        )
(7)
(8)
(9)
(10)
8Pp; Pq; Pr; Np; Nq; Nr; Ip; Iq; Ir conj(Pp; Pq; Pr; Np; Nq; Nr; Ip; Iq; Ir) = t
$ ((Pp = t ! Ip = t) ^ (Np = t ! Ip = f)^
(Pq = t ! Iq = t) ^ (Nq = t ! Iq = f)^
(Pr = t ! Ir = t) ^ (Nr = t ! Ir = f))
:(f = t)
where the P (N , respectively) arguments indicate the presence of the subscripted variable in a positive (negative)
literal in the conjunction, and the I arguments correspond to the truth-values of the subscripted variables. So for example,
conj(t; f; t; f; f; f; t; f; t) = t is a consequence of axiom (9).
      </p>
      <p>
        To model the transitions (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">1-3</xref>
        ), we introduce three functions p=3; q=3; r=3 and postulate that they must coincide with
some conjunction
9Pp; Pq; Pr; Np; Nq; Nr
      </p>
      <p>8Ip; Iq; Ir
p(Ip; Iq; Ir) = conj(Pp; Pq; Pr; Np; Nq; Nr; Ip; Iq; Ir)
The remaining axioms are again specific for a learning instance. The known state transitions are encoded through ground
facts such as</p>
      <p>p(t; f; t) = f
where the arguments stand for the truth values of p; q; r in the source state and the function value corresponds to the
truth-value of the indicated variable in the successive state.</p>
      <p>
        The following constraint expresses that there is an attractor state transiting to itself
To encode the existence of higher-order attractors, we proceed in a spirit analogical to the extension of (
        <xref ref-type="bibr" rid="ref6">6</xref>
        ) towards (7).
      </p>
      <p>Any model found for the theory consisting of the above formulas determines the transition rules by a full instantiation
of the p=3; q=3; r=3 functions. The propositional formulas defining the function are determined from the Skolem constants
assigned by the model to the existentially quantified variables in (10).
ls1000
e
d
o
m
t
s
llae 100
m
s
f
o
r
e
bm 10
u
n
n
a
i
d
em 1
no constraint
exactly 1 attractor with length 1
exactly 1 attractor with length 2
exactly 2 diff. attractors, unspec. lenghts
exactly 2 attractors with lengths 1 and 2
no constraint
eexxaaccttllyy 11 aattttrraaccttoorr wwiitthh lleennggtthh 21
exactly 2 diff. attractors, unspec. lenghts
exactly 2 attractors with lengths 1 and 2
ls1000
e
d
o
m
t
s
lle 100
a
m
s
f
o
r
be 10
m
u
n
n
a
e
m 1
2
3</p>
      <p>4 5 6
number of known transitions
7
8
2
3</p>
      <p>4 5 6
number of known transitions
7
8</p>
    </sec>
    <sec id="sec-5">
      <title>Experiments</title>
      <p>
        All experiments consists of finding finite models of theories T using the model finder Paradox [2], with the aim to identify
the Boolean model (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">1-3</xref>
        ).
      </p>
      <p>
        All experiments with the relational axiomatization include the common axioms (
        <xref ref-type="bibr" rid="ref4 ref5">4-5</xref>
        ) in T . Similarly, all the functional
axiomatization experiments use (8-10). For each axiomatization, we considered five classes of theories, differing in the
attractor constraint added to T . The five different constraints are listed as legends in the plots in Fig. 1. For each of the 10
theory classes, we produced a number of theories differing in the number of transition examples encoded in the theory. In
particular, we produced a theory for each subset of size at least 2 of the Boolean state space, which has 23 = 8 elements.
      </p>
      <p>For each experiment (i.e. each theory T ) multiple finite models are found in general. All resulting models of the
functional axiomatization have the same domain size 2. The relational axiomatization produces models of different domain
sizes and we discard all models larger than the smallest one.</p>
      <p>
        The resulting model set always contains the model corresponding to (
        <xref ref-type="bibr" rid="ref1 ref2 ref3">1-3</xref>
        ). The success measure of the identification
task is thus inversely proportional to the total number of models found (this corresponds to the chance of picking the right
model from the resulting model set). We report1 the mean and median of the number of models in Fig. 1. It is evident that
a strong attractor constraint reduces the model uncertainty significantly; for the smallest considered number 2 of observed
transitions, this can be almost by an order of magnitude in comparison to using no attractor constraint.
      </p>
      <p>To interpret the results comparatively, note that the learning approach from [5] needs all 8 observed transitions to identify
the model. Complete sets of transitions are also required by other popular approaches to Boolean network learning [1].
6</p>
    </sec>
    <sec id="sec-6">
      <title>Discussion and Conclusion</title>
      <p>Although only with a simple example, we have found empirical support for the hypothesis that by exploiting for prior
knowledge on the character of attractors of a Boolean network, such a network can be identified with a smaller number of
state-transition examples.</p>
      <p>To account for such attractor constraints in the learning process, we formulated a first-order framework for learning
propositional formulas. Here, the learned network model is encoded in a finite model of a first-order theory, which specifies
the learning instance. Interestingly, this setting contrasts with the well known ILP setting of learning from interpretations,
where models represent input data and a first-order theory is searched.</p>
      <p>This present framework is strong and allows more complex learning scenarios beyond those exemplified in the preceding
sections. Virtually any part of the input theory can be missing (parts of known state transitions, entire transitions, knowledge
on state successions, etc.) with the only consequence that the theory will allow a greater number of models. Conversely, any
partial knowledge on the structure of the unknown Boolean network (the presence of a certain literal in a rule, entire rule,
etc.) can be easily encoded in the input theory. Similar flexibility pertains to the language bias: while our axioms postulated
conjunctions, they can be straightforwardly extended to DNF’s or other syntactical structures. Also, more interesting and
complex constraints regarding attractors can be specified, which we do not demonstrate here due to limited space.</p>
      <p>For this generality, we will likely pay with limited scalability. Although the reported runtimes for the running example
used in this study was typically 0s with the Paradox model finder, the perspectives for larger tasks are rather dire, since the
1 These statistics pertain to the functional approach; the relational one exhibited almost identical trends.
latter algorithm is based on a reduction to SAT preventing the exploitation of domain-specific heuristics. We thus plan to
develop specialized algorithms for Boolean network learning, yet still able to interpret at least the rich attractor constraints.</p>
      <p>On the other hand, the first-order axiomatization approach presented here could scale up to a slightly different flavor of
Boolean network learning tasks, in which one would not aim at identifying a single ground Boolean model. In particular,
using the axiomatization approach we could still reason through lifted inference about the properties of the Boolean
network models conforming to prior knowledge (transitions, attractors) without the need to construct specific ground models.
Indeed, such reasoning could be implemented by deriving consequences from the input theory through proof finding.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1. Cheng, D.,
          <string-name>
            <surname>Qi</surname>
          </string-name>
          , H.:
          <article-title>State-space analysis of boolean networks</article-title>
          .
          <source>IEEE Transactions on Neural Networks</source>
          <volume>21</volume>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Claessen</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          , So¨rensson, N.:
          <article-title>New techniques that improve MACE-style finite model finding</article-title>
          .
          <source>In: Proceedings of the CADE-19 Workshop:</source>
          Model Computation-Principles, Algorithms, Applications (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Dubrova</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Teslenko</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>A SAT-based algorithm for finding attractors in synchronous boolean networks</article-title>
          .
          <source>IEEE/ACM Trans. Comput. Biol. Bioinformatics</source>
          <volume>8</volume>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Hochma</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Margaliot</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fornasini</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Valcher</surname>
            ,
            <given-names>M.E.</given-names>
          </string-name>
          :
          <article-title>Symbolic dynamics of boolean control networks</article-title>
          .
          <source>Automatica</source>
          <volume>49</volume>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Inoue</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ribeiro</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sakama</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Learning from interpretation transition</article-title>
          .
          <source>Machine Learning</source>
          <volume>94</volume>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Novere</surname>
            ,
            <given-names>N.L.</given-names>
          </string-name>
          :
          <article-title>Quantitative and logic modelling of molecular and gene networks</article-title>
          .
          <source>Nature Reviews Genetics</source>
          <volume>16</volume>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>