<!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>
      <journal-title-group>
        <journal-title>Victor Guimar~aes[</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Meta-Interpretive Learning meets Neural Networks</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>CRACS and DCC/FCUP Universidade do Porto Porto</institution>
          ,
          <country country="PT">Portugal</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>0000</year>
      </pub-date>
      <volume>0002</volume>
      <abstract>
        <p>In this work we present NeuralLog+MIL, a structure learning system based on Meta-Interpretive Learning. NeuralLog+MIL applies the idea of Metagol to learn theories in the NeuralLog language. Metagol is a system that uses a set of higher-order clauses to de ne a hypotheses space of rst-order logic theories and applies those clauses in order to derive rst-order theories from examples. Then, NeuralLog transforms a rst-order logic program into a neural network. It receives as input a set of rst-order clauses that are used to de ne the neural network models, and a set of facts that becomes weights in the neural network. We show that our approach has competitive results for the link prediction task when compared with Neural-LP in three di erent datasets. Achieving comparable values for the hit at top 10 entities and the mean rank metric in the UMLS and WordNet datasets; and outperforming Neural-LP in the UWCSE dataset in those metrics.</p>
      </abstract>
      <kwd-group>
        <kwd>Meta-Interpretive Learning</kwd>
        <kwd>Neural Networks</kwd>
        <kwd>Inductive Logic Programming</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        NeuralLog is a system developed to transform a rst-order logic program into a
neural network. It receives as input a set of rst-order clauses that are used to
de ne the neural network models, and a set of facts that becomes weights in the
neural network. Then, those weights are ne-tuned in order to better describe a
set of examples [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
      </p>
      <p>
        In this paper, we propose NeuralLog+MIL, a structure learning system
that nds rst-order logic program for NeuralLog [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. It is based on the
MetaInterpretive Learning (MIL) system Metagol [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and uses a higher-order logic
theory to de ne the possible clauses that shall appear in the rst-order program.
The rst-order logic program, then, de nes the structure of the neural network,
that can then be ne-tuned on the examples.
      </p>
      <p>Copyright© 2021 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).</p>
      <p>
        NeuralLog+MIL contributes to the extensive line of research that is being
developed on combining the advantages of high-level knowledge representations,
quite often based on logic, and the impressive performance of neural networks.
Often, e ort relied on pre-existing theories, or on theories learned by di erent
learners, that might not be the best t for these learners. In fact, previous
work on theory learning for Statistical Relational Programs showed progress in
this area to be constrained by the need to perform combined inference and by
explosive growth in the search space. Thus, most work in this area assumes the
existence of an underlying theory. One important exception is Neural-LP [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ], a
neural network system that is based on TensorLog [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], a system that follows a
related approach in order to build neural network models from rst-order logic
theories.
      </p>
      <p>
        While neural network has been achieving great performance in a range of
tasks [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], it lacks interpretability and explainability. On the other hand,
rstorder logic struggles to deal with uncertainty and noise; two characteristic
inherent to real world problems [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. Neural-Symbolic Learning and Reasoning is
a eld of study that tries to combine neural networks with rst-order logic [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>The combination of logic based approaches with neural network can bene t
from the strengths of both methods. On one hand, neural networks can bring to
rst-order logic the capability to deal with uncertainty and noise. On the other
hand, rst-order logic can improve the performance of neural network models by
incorporating background knowledge. This background knowledge might contain
expert knowledge that can be used to guide the neural network toward a better
model representation. Nevertheless, neural network models based on rst-order
logic might be easier to interpret and explain, since rst-order logic is easier
to understand, from a human perspective; and the inference of neural networks
based on it is, to some extent, based on the underlying logic structure.</p>
      <p>
        We show that NeuralLog+MIL has comparable results with Neural-LP in
the UMLS [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] and the WordNet [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] datasets, for the hit at top 10 and mean
rank metrics [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Furthermore, NeuralLog+MIL outperforms Neural-LP, in those
metrics, in the UWCSE dataset [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ].
      </p>
      <p>The remainder of the paper is organized as follows: in Section 2 we give
the background knowledge in order to understand this work; in Section 3 we
present our structure learning algorithm for NeuralLog using MIL; in Section
4 we present the performed experiments and obtained results; in Section 5 we
present the works related to ours; and we conclude and propose directions for
future work in Section 6.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Background Knowledge</title>
      <p>
        First-order logic programs are basically composed of two parts: (1) a set of logic
facts, that represents relations between logic entities; and (2) a set of rules that
reason over those facts. In this work, we are concerned about a speci c type of
rules called a Horn clause [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>A Horn clause has the form of
b(:)
p1(:) ^ : : : ^ pn(:):
(1)
where b(:) is called the head of the clause and the set of pi is called the body and
represents a conjunction. The Horn clause states that whenever the body is true,
the head must also be true. b and pi are called predicates. In the parentheses,
there might be constants, that represent logic entities and starts with a lower
case letter; or variables, which are substituted by a constant in order to prove the
rule, and starts with an upper case letter. Constants and variables are generically
called term. A predicate name, followed by its terms is called an atom. Each
predicate has a xed number of terms it accepts, which is called arity, and a
predicate p of arity n is represented as p=n. Finally, a fact is represented by
Horn clauses with empty body and no variables.</p>
      <p>
        There are several algorithms that nd the proves of a logic rule. We refer
the reader to [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] for a further understanding of logic programming. However,
NeuralLog transforms the proof of the rule into the inference of a neural network.
      </p>
      <p>NeuralLog receives as input a set of facts weighted F with arity at most 2 and
a set of rules R, both containing a set of entities E. For each distinct predicate
p=2 of the set of facts, NeuralLog creates a matrix P 2 IRjEj jEj, in such a way
that Pi;j = w, if there is a fact p(ei; ej ) with weight w in F ; otherwise, Pi;j = 0.
Analogously, it represents facts of arity 1 as vectors and facts of arity 0 as scalars.
A constant e is represented as an one-hot vector, whose value is 1 for the entry
corresponding to the index of e and 0 anywhere else.</p>
      <p>Finally, inference of rules are computed by mathematical operations on those
matrices, given the numeric representation of the constant for the rst term in
the head of the rule, and the result is a vector representation of the last term
in the head of the rule, in such way that the values di erent from 0 correspond
to logic proved constants. The result values of di erent rules with the same
predicate in the head are summed, in order to obtain the nal result for the
inference of the predicate.</p>
      <p>NeuralLog also allows the de nition of numeric functions as predicates, that
are applied to the vector representation of the variable of the predicate in the
rule. We use this feature to apply activation and output functions to rules.</p>
      <p>
        A neural network is a list of di erentiable operations that is applied into an
input in order to compute the output. These operations often include internal
parameters that are learned by the neural network through a gradient descent
algorithm [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. In NeuralLog, those parameters are represented by the weights of
the logic facts.
      </p>
      <p>The concern of this work is to nd a suited set of Horn clauses that creates a
neural network in order to predict the examples of the task, given the background
knowledge, where the examples are pairs of entities that are connected through a
speci c relation. Given a relation and an (input) entity, we would like to predict
all the (output) entities connected to it, through the given relation; this task is
called link prediction.</p>
      <p>NeuralLog creates a neural network for the relation, based on the set of rules,
in order to predict the output entities, given the input entity. In addition, the
weight of some predicates are speci ed to be learned by the neural network,
through the gradient descent algorithm.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Meta-Interpretive Learning with NeuralLog</title>
      <p>
        In this section we introduce NeuralLog+MIL, a structure learning algorithm
based on the Meta-Interpretive Learning (MIL) system Metagol [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
      </p>
      <p>
        MIL is a method that learns rst-order logic theories by the use of a
higherorder logic theory that will de ne the hypotheses space and guide the search of
the hypothesis in this space [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
      </p>
      <p>In rst-order logic, the predicate names in the rules, which represent the
relations between the logic entities, are constant. In higher-order logic, those
predicate names might be variable, and the logic inference system should nd
the substitution of the name in order to prove the rule.</p>
      <p>
        Metagol uses a modi ed Prolog meta-interpreter that generates a rst-order
logic theory that proves the positive examples, without proving the negative
ones, given the background knowledge. It does it by traversing a higher-order
theory in a similar way a SLD-Resolution algorithm would do [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ].
      </p>
      <p>NeuralLog+MIL takes a slightly di erent approach: instead of adding rules
to the rst-order theory as needed, it creates a rst-order theory by adding all
possible rules that satis es the higher-order program, given a pre-de ned depth.
Each rule will then receive an associated weight and an activation function.</p>
      <p>This approach is better suited to be integrated with NeuralLog, since a single
neural network is created and the task to nd the weight of the rules is passed to
the neural network optimization process. If we had followed Metagol's approach,
we would have to create and evaluate several intermediary neural networks,
which would be more computationally expensive.</p>
      <p>Given a higher-order theory and a target predicate p, NeuralLog+MIL creates
a \meta" SLD-Resolution tree, starting with a list of goals [q], replacing its terms
by distinct variables, as the root node. Then, for each node in the tree, a child
node is created by applying a meta-clause that uni es with one of the goals in
the node; in the same way a conventional SLD-Resolution method would. The
new child node is created with the list of goals from the parent node, with the
goal, whose rule was applied, replaced by the body of the uni ed meta-clause.</p>
      <p>We grow this tree, breadth- rst, by applying all possible meta-clauses to all
goals in all nodes until we reach the maximum depth. Each edge represents the
application of a meta-clause whose head was uni ed to the used goal in the
parent node. For each path from the root to a leaf, we have a meta-program
with variable predicates to be instantiated.</p>
      <p>Finally, for each meta-program we generate a rst-order program by
replacing the set of variable predicates for each possible predicate in the knowledge
base. The nal program is the concatenation of all generated clauses in all the
programs.</p>
      <p>For instance, consider the higher-order theory in Table 1 and a target
predicate p=2. The tree would start with the root node containing the goal [p(X; Y )],
referred here as level 0. By applying each clause to the goal of the root node, we
would end up with two nodes at level 1: the node [Q(X; Y )], generated by the
uni ed clauses p(X; Y ) Q(X; Y ):; and the node [Q(X; Z); R(Z; Y )], generated
by the uni ed clause p(X; Y ) Q(X; Z) ^ R(Z; Y ): After the addition of both
nodes, the level 1 would be complete.</p>
      <p>If we would like to go further in the resolution, we could apply the
metaclause to each goal in the nodes and keep adding new nodes until a pre-de ned
depth. Figure 1 shows an example of part of a tree until depth 3; where some
nodes were omitted for clarity.</p>
      <p>Q(X; Y ) Q0(X; Y ):</p>
      <p>[Q0(X; Y )]
Q0(X; Z) Q00(X; Z0) ^ R0(Z0; Z):
[Q00(X; Y 0); R0(Y 0; Z); R(Z; Y )]
p(X; Y ) Q(X; Y ):</p>
      <p>p(X; Y ) Q(X; Z) ^ R(Z; Y ):
[Q(X; Y )]</p>
      <p>[Q(X; Z); R(Z; Y )]
[p(X; Y )]
Q(X; Y ) Q0(X; Z) ^ R(Z; Y ):
[Q0(X; Z); R(Z; Y )]</p>
      <p>
        R(Z; Y ) Q0(Z; Z0) ^ R0(Z0; Y ):
[Q0(X; Z); Q00(Z; Z0); R0(Z0; Y )]
In order to demonstrate the capabilities of NeuralLog to learn neural network
structure using MIL, we compared NeuralLog+MIL with Neural-LP [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] in
three datasets: the Uni ed Medical Language System (UMLS) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]; the WordNet
dataset [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]; and the UWCSE dataset [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. We chose to compare NeuralLog+MIL
with Neural-LP, since Neural-LP is based on TensorLog, which is closely related
to NeuralLog.
We focused at the link prediction task, where we are given a query of the form
q(a; X), where the goal is to nd all the entities that are related (as second
term) to the entity a (as rst term) through relation q. For each dataset, we
selected a set of target relations and applied the system to learn it. Then, we
evaluated the system by using the mean rank, the mean reciprocal rank (MRR)
and the hit at top 10 entities, based on the ltered rank of the entities, following
the procedure described in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In these experiments, we would like to answer
the research question: can NeuralLog+MIL learn the structure representation of
NeuralLog models for link prediction tasks?
      </p>
      <p>
        We use these rank metrics to reproduce the experiments from Neural-LP [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ].
Since Neural-LP only uses positive examples, to achieve a fair comparison we
give NeuralLog only positive examples as well. Here, we take advantage of the
sparse representation of NeuralLog. The positive examples have an associated
value of 1, and the missing examples will have an associated value of 0 and the
loss function will be able to tune the weights in order to prove only the positive
examples. This is equivalent to consider all the missing examples as negatives,
which is known as the Close World Assumption (CWA).
      </p>
      <p>
        UMLS. It is a dataset consisting of 46 relations between biomedical concepts. We
selected the most frequent relation (A ects) as target relation and applied the
system to predict this relation from the remaining ones. We randomly selected
90% of the facts from the target relation as training examples and the other 10%
as test. Following the procedure used in [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. We repeated this process 10 times
and reported the average of the runs.
      </p>
      <p>WordNet. It is a dataset consisting of 18 relations between words and it is already
split into train, development and test sets. We ran each system once, holding
out one relation at a time, and reported the mean results of the relations.
UWCSE. It is already split into 5-folds for the Advised by relation. We run the
system once for each fold and reported the mean results.</p>
      <p>The used meta-theory was the one shown in Table 2, with the depth of 1.
It means that each meta-clause is applied directly to the example. For instance,
applying the rst clause to the example advisedby(X; Y ) would generate the
clause advisedby(X; Y ) Q(X; Y ):, where Q is replaced for each valid predicate
in the knowledge base (KB). If the depth were 2, in addition to replacing Q for
each example in the KB, we would also have tried to prove it with another
metaclause; for instance, the last one, which would result in an invented predicate
f (X; Y ) Q(X; Z) ^ R(Z; Y ):</p>
      <p>The head of each generated rule is changed from the target predicate p=2 to a
predicate p0=2 and a rule of the form p0(X; Y ) p(X; Y ); output f unction(Y ):
is added to the theory. Also, each generated rule has two atoms appended to
it. The rst one is the atom activation f unction(Y ), where Y is the output of
the rule, and it serves to applying an activation function to the output result of
the rule. The second one is an atom of the form w(id), where id is an unique
constant for each rule and w is a predicate whose weight will be learned by the
network and will multiply the nal result of the rule. Finally, we add a rule of
the form p(X; Y ) b: to the theory. Since this rule does not depend on the
input, it will be true for any input and its value will be b, which will be added
to the output of the other rules with the predicate p=2 in the head, acting as a
bias. The value of the predicate b will also be learned by the network.</p>
      <p>We used sigmoid as activation function and softmax as output function;
and adagrad to minimize the binary cross-entropy with L2 regularization for 50
epochs in the case of the UMLS and UWCSE datasets, and 10 epochs for the
WordNet dataset.</p>
      <p>We used the default parameters for Neural-LP, which achieved good results
in two of the three datasets.
4.2</p>
      <p>Results
Table 3 shows the results for each dataset. The lower the mean rank, the better;
for the other metrics, the higher, the better. The best value of each metric,
for each dataset is bold-faced. Pair of underlined values, of the same metric, in
the same dataset, means that the di erence between the values has statistical
signi cance according to the two-tailed paired t-test with p &lt; 0:05.</p>
      <p>As can be seen from the table, NeuralLog+MIL shows a competitive result
with Neural-LP in both the UMLS and WordNet datasets; and is considerably
better in the UWCSE dataset, for the hit at top 10 entities and the mean rank.</p>
      <p>WordNet is composed of 18 relations with a di erent number of examples for
each relation. If we take the average of the metrics, weighted by the number of
examples of each relation, the di erence between NeuralLog+MIL and
NeuralLP is even smaller, being 0:9280 against 0:9544, for the hit at top 10 entities; and
4:1480 against 6:1228, for the mean rank; for the NeuralLog+MIL and
NeuralLP, respectively. In this scenario, the mean rank of NeuralLog+MIL is better
than the one of Neural-LP.</p>
      <p>Finally, from these results, we show that NeuralLog+MIL can learn the
structure of NeuralLog models for link prediction tasks, a rmatively stating that
NeuralLog+MIL can learn structure representations of NeuralLog models for
link prediction tasks.
5</p>
    </sec>
    <sec id="sec-4">
      <title>Related Work</title>
      <p>
        A strong feature of NeuralLog is that it can be used together with any other
neural network structure. In order to achieve this, the remaining of the neural
network must be de ned in the logic theory. TensorLog [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] is also capable of such
a thing. However, Neural-LP [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ], which uses the TensorLog inference
mechanism, does not accept a pre-existing theory and nds all the rules by itself. In
this way, it is only suited to pure relational logic tasks.
      </p>
      <p>
        DeepProbLog also combines neural networks with rst-order logic. However,
its semantic is di erent from NeuralLog [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. DeepProbLog is based on ProbLog,
which uses the semantic of possible worlds [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. It allows the de nition of
neural network predicates, which are predicates whose underlying implementation
is a neural network. The optimization and inference of the neural network is
combined with the world semantic of the ProbLog system. On the other hand,
NeuralLog creates a neural network to simulate logic inference through di
erentiable operations.
      </p>
      <p>
        Traditional Inductive Logic Programming (ILP) systems try to nd logic
theories to prove a set of examples, given background knowledge in a pure logic
fashion [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. NeuralLog+MIL extends this idea to nd the neural network structure
of NeuralLog by using MIL [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. MIL is well suited to integrate with NeuralLog,
since the higher-order theory allows the user to de ne a template in order to
create the relational part of the logic theory. This template can be used to append
the relational part to an existing theory, which might include the de nition of
an existing neural network.
      </p>
      <p>Furthermore, the higher-order theory may also be used to nd the logic part
that integrates with the neural network part, by specifying a constant
predicate that will pose as a connection point between the logic part and the neural
network. However, we left this for a future work.</p>
      <p>
        The idea of applying MIL to systems based on rst-order logic is not novel.
A system that does that is the Iterated Structural Gradient (ISG) [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], which
is based on ProPPR [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], an SLP system. However, ProPPR uses a di erent
inference mechanism that cannot be easily integrated with deep learning.
6
      </p>
    </sec>
    <sec id="sec-5">
      <title>Conclusion</title>
      <p>
        In this paper we presented NeuralLog+MIL, a structure learning system for the
NeuralLog language [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], based on MIL [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. We compared our approach with
Neural-LP, a system that learns structure for TensorLog [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        We showed that our approach has competitive results in the rank metrics for
the UMLS [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] and WordNet [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] datasets. In addition, it outperforms
NeuralLP in the UWCSE dataset [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], according to the hit at top 10 and the mean
rank metrics. It is important to notice that we trained our system using
reasonable parameters and our goal was not to nd the best possible model for each
dataset, thus, we believe the results can still be improved by the search of better
parameters.
      </p>
      <p>Furthermore, NeuralLog+MIL is suited to learn logic theories alongside other
neural network de nitions in the NeuralLog language, while Neural-LP can only
learn the entire logic theory from scratch. However, we left the analysis of models
that combine logic parts with other neural network structures for future works.</p>
      <p>We would also like to apply NeuralLog+MIL in relational tasks where
(partially correct) theories are available in order to analyse if NeuralLog+MIL is
able to improve the quality of the existing theory by appending clauses built by
the higher-order theory.</p>
      <p>
        In addition, we would also like to experiment learning with a deeper
metatheory in future works, which could take advantage of MIL capability of inventing
new predicates [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ].
      </p>
      <p>Acknowledgment Victor Guimar~aes was nanced by the Portuguese funding
agency, FCT | Fundac~ao para a Ci^encia e a Tecnologia through Ph.D.
scholarships 2020.05718.BD.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Bordes</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Usunier</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Garcia-Duran</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weston</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yakhnenko</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          :
          <article-title>Translating embeddings for modeling multi-relational data</article-title>
          . In: Burges,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Bottou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Welling</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Ghahramani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            ,
            <surname>Weinberger</surname>
          </string-name>
          ,
          <string-name>
            <surname>K</surname>
          </string-name>
          . (eds.)
          <source>Advances in Neural Information Processing Systems</source>
          <volume>26</volume>
          , pp.
          <volume>2787</volume>
          {
          <fpage>2795</fpage>
          . Curran Associates, Inc. (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Cohen</surname>
            ,
            <given-names>W.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mazaitis</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Tensorlog: A probabilistic database implemented using deep-learning infrastructure</article-title>
          .
          <source>J. Artif. Intell. Res</source>
          .
          <volume>67</volume>
          ,
          <issue>285</issue>
          {
          <fpage>325</fpage>
          (
          <year>2020</year>
          ). https://doi.org/10.1613/jair.1.
          <fpage>11944</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>De Raedt</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kimmig</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Toivonen</surname>
          </string-name>
          , H.:
          <article-title>ProbLog: A probabilistic prolog and its application in link discovery</article-title>
          .
          <source>In: Proceedings of the 20th International Joint Conference on Arti cal Intelligence</source>
          . pp.
          <volume>2468</volume>
          {
          <fpage>2473</fpage>
          . IJCAI'
          <fpage>07</fpage>
          , Morgan Kaufmann Publishers Inc.,
          <string-name>
            <surname>Hyderabad</surname>
          </string-name>
          , India (
          <year>January 2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Garcez</surname>
          </string-name>
          , A.d.,
          <string-name>
            <surname>Besold</surname>
            ,
            <given-names>T.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Raedt</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          , Foldiak,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Hitzler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Icard</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            , Kuhnberger, K.U.,
            <surname>Lamb</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.C.</given-names>
            ,
            <surname>Miikkulainen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Silver</surname>
          </string-name>
          ,
          <string-name>
            <surname>D.L.</surname>
          </string-name>
          :
          <article-title>Neural-symbolic learning and reasoning: contributions and challenges</article-title>
          .
          <source>In: 2015 AAAI Spring Symposium Series</source>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5. Guimar~aes, V.,
          <string-name>
            <surname>Costa</surname>
            ,
            <given-names>V.S.:</given-names>
          </string-name>
          <article-title>Neurallog: A neural logic language (</article-title>
          <year>2021</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Haykin</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Neural networks</article-title>
          , vol.
          <volume>2</volume>
          . Prentice hall New York (
          <year>1994</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Horn</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>On sentences which are true of direct unions of algebras</article-title>
          .
          <source>The Journal of Symbolic Logic</source>
          <volume>16</volume>
          (
          <issue>1</issue>
          ),
          <volume>14</volume>
          {
          <fpage>21</fpage>
          (
          <year>1951</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Kok</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Domingos</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Statistical predicate invention</article-title>
          .
          <source>In: Proceedings of the 24th International Conference on Machine Learning</source>
          . p.
          <volume>433</volume>
          {
          <fpage>440</fpage>
          . ICML '07,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Manhaeve</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dumancic</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kimmig</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Demeester</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Raedt</surname>
          </string-name>
          , L.:
          <article-title>DeepProbLog: Neural probabilistic logic programming</article-title>
          . In: Bengio,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Wallach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Larochelle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Grauman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            ,
            <surname>Cesa-Bianchi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Garnett</surname>
          </string-name>
          ,
          <string-name>
            <surname>R</surname>
          </string-name>
          . (eds.)
          <source>Advances in Neural Information Processing Systems</source>
          <volume>31</volume>
          , pp.
          <volume>3749</volume>
          {
          <fpage>3759</fpage>
          . Curran Associates, Inc. (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Miller</surname>
            ,
            <given-names>G.A.</given-names>
          </string-name>
          :
          <article-title>Wordnet: A lexical database for english</article-title>
          .
          <source>Commun. ACM</source>
          <volume>38</volume>
          (
          <issue>11</issue>
          ),
          <volume>39</volume>
          {41 (Nov
          <year>1995</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Muggleton</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>De Raedt</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>Inductive logic programming: Theory and methods</article-title>
          .
          <source>J. Log. Program. 19/20</source>
          , 629{
          <fpage>679</fpage>
          (
          <year>1994</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Muggleton</surname>
            ,
            <given-names>S.H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lin</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tamaddoni-Nezhad</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Meta-interpretive learning of higher-order dyadic datalog: predicate invention revisited</article-title>
          .
          <source>Mach. Learn</source>
          .
          <volume>100</volume>
          (
          <issue>1</issue>
          ),
          <volume>49</volume>
          {
          <fpage>73</fpage>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Richardson</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Domingos</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Markov logic networks</article-title>
          .
          <source>Machine Learning</source>
          <volume>62</volume>
          (
          <issue>1</issue>
          ),
          <volume>107</volume>
          {
          <fpage>136</fpage>
          (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Shan-Hwei</surname>
          </string-name>
          Nienhuys-Cheng, R.d.W.a.:
          <source>Foundations of Inductive Logic Programming. Lecture Notes in Computer Science 1228 : Lecture Notes in Arti cial Intelligence</source>
          , Springer-Verlag Berlin Heidelberg, Berlin, Heidelberg,
          <volume>1</volume>
          <fpage>edn</fpage>
          . (
          <year>1997</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Wang</surname>
          </string-name>
          , W.Y.,
          <string-name>
            <surname>Mazaitis</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cohen</surname>
            ,
            <given-names>W.W.</given-names>
          </string-name>
          :
          <article-title>Structure learning via parameter learning</article-title>
          .
          <source>In: Proceedings of the 23rd ACM International Conference on Conference on Information and Knowledge Management</source>
          . p.
          <volume>1199</volume>
          {
          <fpage>1208</fpage>
          . CIKM '
          <volume>14</volume>
          ,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA (
          <year>2014</year>
          ). https://doi.org/10.1145/2661829.2662022
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Wang</surname>
          </string-name>
          , W.Y.,
          <string-name>
            <surname>Mazaitis</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lao</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cohen</surname>
            ,
            <given-names>W.W.:</given-names>
          </string-name>
          <article-title>E cient inference and learning in a large knowledge base</article-title>
          .
          <source>Machine Learning 100(1)</source>
          ,
          <volume>1</volume>
          {
          <fpage>26</fpage>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Warren</surname>
            ,
            <given-names>D.H.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pereira</surname>
            ,
            <given-names>L.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pereira</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Prolog - the language and its implementation compared with lisp</article-title>
          .
          <source>SIGPLAN Not</source>
          .
          <volume>12</volume>
          (
          <issue>8</issue>
          ),
          <volume>109</volume>
          {
          <fpage>115</fpage>
          (
          <year>1977</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cohen</surname>
            ,
            <given-names>W.W.</given-names>
          </string-name>
          :
          <article-title>Di erentiable learning of logical rules for knowledge base reasoning</article-title>
          . In: Guyon,
          <string-name>
            <given-names>I.</given-names>
            ,
            <surname>Luxburg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.V.</given-names>
            ,
            <surname>Bengio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Wallach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Fergus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            ,
            <surname>Vishwanathan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            ,
            <surname>Garnett</surname>
          </string-name>
          ,
          <string-name>
            <surname>R</surname>
          </string-name>
          . (eds.)
          <source>Advances in Neural Information Processing Systems</source>
          <volume>30</volume>
          , pp.
          <volume>2319</volume>
          {
          <fpage>2328</fpage>
          . Curran Associates, Inc. (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>