<!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>Proportional dependencies and asymptotics of probabilistic representations</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Felix Weitkämper?</string-name>
          <email>felix.weitkaemper@lmu.de</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institut für Informatik Ludwig-Maximilians-Universität München Oettingenstr.</institution>
          <addr-line>67 80538 München</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>In this contribution we give a general overview of our work in progress on incorporating proportional dependencies in statistical relational frameworks. We describe the problem of domain-size dependent probabilities that proportional dependencies set out to tackle and explain how they help to solve that problem and how they are implemented in relational logistic regression models, Markov logic networks and general relational Bayesian networks. We then pose the open problem of how to transfer those concepts and results to probabilistic logic programming settings such as Problog.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>In the last 20 years, Statistical Relational Artificial Intelligence (StarAI) has
developed into a promising approach for combining the reasoning skills of classic
symbolic AI with the adaptivity of modern statistical AI. It is not immediately
clear, however, how StarAI behaves when transitioning between domains of
different sizes. This is a particularly pertinent issue for StarAI since the
templatelike design of statistical relational formalisms, that are presented independently
of grounding to a concrete domain, is one of their main attractions.
Furthermore, scalability has proven a key barrier to their widespread deployment in
applications.</p>
      <p>
        The topic of scaling across domain sizes has therefore received some attention
from the literature, and general patterns of behaviour have become clear. On the
one hand, Jaeger and Schulte [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] have provided very limiting necessary conditions
under which domain size does not affect inference in different StarAI approaches.
On the other hand, Poole et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] have characterised the scaling behaviour of
both Markov Logic Networks (MLN) and Relational Logistic Regression (RLR)
on a small class of formulas on which the inferences turn out to be asymptotically
independent of the learned or supplied parameters. This characterisation was
extended and partly corrected by Mittal et al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] with considerable analytic and
? Copyright © 2020 for this paper by its author. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).
numerical effort. They also present a proposal to mitigate the domain-size
dependence in MLN by scaling the weights associated with formulas according to the
size of the domain, calling the resulting formalism Domain-size Aware Markov
Logic Networks (DA-MLN). With similar computational effort, they prove that
asymptotic probabilities in DA-MLN are dependent on the supplied parameters
for some example cases. However, a general and systematic investigation of this
dependence is still lacking
      </p>
      <p>In this short note, we give a general overview of the work we have done
so far to alleviate this problem, and outline the difficulties experienced when
trying to transfer our results to the setting of probabilistic logic programming
as exemplified by the ProbLog language..
2
2.1</p>
    </sec>
    <sec id="sec-2">
      <title>Proportional dependencies</title>
      <sec id="sec-2-1">
        <title>General concept</title>
        <p>A common example in statistical relational AI is that of smoking and friendship
groups, where one is more likely to be a smoker if one has friends that also smoke.
In the simplest possible representation, this could be modelled as a domain of
one’s friends with a single unary predicate “smokes” and then one proposition
“I_smoke”. The probability of “I_smoke” would then depend on the number of
friends which smoke (i. e. objects in the domain for which “smokes” is true). It
is easy to see that if there is a fixed probability of ’smokes(x)’, then with more
friends the number of smoking friends will increase proportionally. Thus, if every
smoking friend has a certan likelihood of making me smoke, I will eventually
smoke with arbitrarily high probability if I have many friends.</p>
        <p>This asymptotic behavior (that the probability of “I_smoke” converges to 1
as the domain size increeases) is completely independent of the likelihood that
one given friend convinces me of smoking, or the percentage chance that any
given friend smokes. It might rather be appropriate, therefore, to consider the
proportion of my friends that smoke as the determining factor, rather than the
raw number. Then, the asymptotic behaviour does indeed depend both on the
likelihood of any given friend smoking and on the effect that smoking in my
friends has on me as such.</p>
        <p>This proportional dependence is asymptotically well-behaved, at least for
directed models and a fragment of undirected Markov Logic Networks. An
interesting question is however, to what extent proportional dependencies are adequate
to practical cases of changing domain sizes. While this will generally depend on
the domain and on the interpretation of the data, proportional representation is
particularly suitable for randomly sampled subdomains, since random sampling
conserves mean proportions.</p>
        <p>
          The way we model such proportional dependencies depends on the
knowledge representation formalism used. In [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] we have shown that for
weightparametrised directed models (such as the RLR formalism developed by Kazemi
et al. [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] ) scaling the weight parameters with the domain size leads to such a
proportional influence and that indeed the asymptotic properties are both readily
computable and depend on the factors parametrising the model (such as weights
and probabilities of the parent formulas). We will briefly outline the scope and
limitations of our approaches to proportional dependencies in RLR, MLN and
Relational Bayesian Networks (RBN). For the sake of brevity, we refer to the
respective literature (e. g. [
          <xref ref-type="bibr" rid="ref2 ref4 ref8">4,8,2</xref>
          ] respectively) for a description of the formalisms
themselves.
2.2
        </p>
        <p>RLR
In an RLR model, the probability of an atomic formula at a child node depends
on the truth values of the atoms of the parent nodes, grounded for all those
variables that do not (also) occur in the child. Thus the maximum number of
connections in the ground network is given by QjDxj where the product is taken
x
over all variables occurring in a parent node that do not occur in the child node.
To ensure proportion, we then have to scale the sum of the weights of a formula
by that number.</p>
        <p>
          In [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] we show that when we scale the weight parameters, the asymptotic
probabilities of all literals vary with the weights in an intuitive way. Furthermore,
the asymptotic distribution can in fact be computed directly over a proportional
relational belief network, a Bayesian network that incorporates deterministic
dependencies wherever the law of large numbers provides certain proportions
almost surely.
2.3
        </p>
        <p>
          MLN
In Markov logic networks, where weight scaling with the domain size had first
been suggested by Mittal et al. [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], there is the added complexity that the number
of connections induced by a formula differs between the atoms in a formula.
Therefore, each formula has a connection vector associated with it, rather than
just a single number. When scaling, then, one has to aggregate the entries into
a single scaling factor. Mittal et al. [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] chose the maximum as a scaling factor,
and they show examples in which the asymptotic limit probability of an atom in
a formula depends on the weight of the formula. However, in all those examples,
this atom coincides with the atom of maximal connection number. In [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ], we
show using examples that where the number of connections of a literal in a
formula has a lower order of magnitude than the maximum, the asymptotic
probability will tend to 0.5 regardless of the weight of the formula. Thus, weight
scaling in MLN is most appropriate when the number of connections is the same
for all literals in a formula, and we believe that in those cases the asymptotic
probabilities will always depend in a transparent way on the weights provided.
This is however still work in progress.
2.4
        </p>
        <p>RBN
In the RBN formalism which differs from RLR in that it allows for different
combination rules rather than the default sigmoidal aggregator used in RLR,
proportional reasoning is implemented by the ’mean’ combination function. This
behaves similarly to the weight-scaling in RLR; however, since it applies the mean
directly on the level of the probabilities rather than on the level of weights, it
scales linearly rather than logistically with proportions.
2.5</p>
      </sec>
      <sec id="sec-2-2">
        <title>Projectivity</title>
        <p>
          In [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], Jaeger and Schulte introduce the notion of projectivity as the strongest
form of well-behavedness under increasing domain size: The induced
probability distribution on a set is independent of which superset it is embedded in.
The authors also show that a certain fragment of unscaled statistical regression
models are projective; they are those which only involve local influences. The
question naturaly arises whether the asymptotically well-behaved formalisms we
introduce here are in fact projective. However, this is generally not the case:
Consider a proportional RLR, say, with structure Q(y) ! P (x), a probability
of Q(y) of 0:5 and a probability of P (x) given by the atomic formula Q(y) with
weight 2. Now consider the conditional probability Pr(P (a)jQ(a)). On a domain
of size 1, Q(a) implies that all y satisfy Q(y), and the probability evaluates to
around 0:88. On a very large domain, however, Q(a) does not significantly
impact the proportion of y for which Q(y) holds, and therefore the probability will
limit to the asymptotic unconditional probability of P (a), which turns out to be
0:73.
3
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>What about probabilistic logic programming?</title>
      <p>
        While Problog is akin to Bayesian networks in its inherent directedness (see [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]),
the semantics is very different to the relational Bayesian networks above. While
the main attraction of the RBN are the combination rules, which determine the
probabilities at interior nodes from their parents, current ProbLog semantics only
attach probabilities to the ground facts, all of which are evaluated independently,
and then model all dependencies deterministically.
      </p>
      <p>
        This is in fact a general trait of logic programming languages that has its
root in Sato’s distribution semantics [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], which makes it difficult to adapt the
methods outlined above in an obvious way; the scaling of the weights is indeed
performed everywhere but at the leaves, which gels badly with a syntax and
semantics that confines the probabilities to just those leaf nodes.
      </p>
      <p>
        One approach one might consider would be to use the translation to weighted
Boolean formulas provided by Fierens et al. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In fact, the current
implementation of ProbLog (ProbLog2), outlined there, converts the weighted Boolean
formula to a Markov logic network and then uses a standard MLN algorithm
to solve the approximate inference task. Thus one might think to apply weight
scaling at this level of the architecture. The issue here is, however, that all this
is done after grounding the logic program, and in fact, grounding is applied at
a rather high level: indeed, even a statement such as ’0.5 :: q(X) :- person(X)’ is
only considered as syntactic sugar for the individual ground probabilistic facts.
Thus, combining ProbLog with proportional reasoning seems to require a greater
change to the underlying architecture than in any of the frameworks mentioned
above.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Fierens</surname>
            , D., van den Broeck, ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Renkens</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shterionov</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gutmann</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thon</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Janssens</surname>
          </string-name>
          , G. and
          <string-name>
            <surname>de Raedt</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          (
          <year>2015</year>
          )
          <article-title>Inference and learning in probabilistic logic programs using weighted Boolean formulas</article-title>
          .
          <source>Theory and Practice of Logic Programming</source>
          <volume>15</volume>
          :
          <fpage>3</fpage>
          ,
          <fpage>358</fpage>
          -
          <lpage>401</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Jaeger</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          (
          <year>2002</year>
          )
          <article-title>Relational Bayesian Networks: a Survey</article-title>
          .
          <source>Electronic Transactions in Artificial Intelligence</source>
          <volume>6</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Jaeger</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Schulte</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          (
          <year>2018</year>
          )
          <article-title>Inference, learning and population size: Projectivity for SRL models</article-title>
          . CoRR abs/
          <year>1807</year>
          .00564.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Kazemi</surname>
            ,
            <given-names>S. M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Buchman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kersting</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Natarajan</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Poole</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <article-title>(2014a) Relational Logistic Regression</article-title>
          . In Baral,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Giacomo</surname>
          </string-name>
          <string-name>
            <given-names>G. D.</given-names>
            ,
            <surname>Eiter</surname>
          </string-name>
          , T. (Eds.)
          <article-title>Principles of knowledge representation and reasoning:</article-title>
          <source>Proceedings of the Fourteenth International Conference</source>
          , Vienna, Austria,
          <source>July 20-24</source>
          ,
          <year>2014</year>
          . Palo Alto, CA: AAAI Press.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Mittal</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bhardwaj</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gogate</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Singla</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          (
          <year>2019</year>
          )
          <article-title>Domain-size aware Markov logic networks</article-title>
          . In: Chaudhuri,
          <string-name>
            <given-names>K.</given-names>
            ,
            <surname>Sugiyama</surname>
          </string-name>
          , M. (Eds.)
          <source>The 22nd International Conference on Artificial Intelligence and Statistics</source>
          , AISTATS
          <year>2019</year>
          , Naha, Japan,
          <fpage>16</fpage>
          -
          <lpage>18</lpage>
          April
          <year>2019</year>
          .
          <source>Proceedings of machine learning research</source>
          , vol.
          <volume>89</volume>
          :
          <fpage>3216</fpage>
          -
          <lpage>3224</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Poole</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Buchman</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kazemi</surname>
            ,
            <given-names>S. M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kersting</surname>
            and
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Natarajan</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          (
          <year>2014</year>
          )
          <article-title>Population size extrapolation in relational probabilistic modelling</article-title>
          . In: Straccia,
          <string-name>
            <given-names>U.</given-names>
            ,
            <surname>Cali</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . (Eds.) Scalable Uncertainty Management - 8th
          <source>International Conference</source>
          , Oxford, UK,
          <source>September 15-17</source>
          ,
          <year>2014</year>
          . Lecture Notes in Computer Science vol.
          <volume>8720</volume>
          :
          <fpage>292</fpage>
          -
          <lpage>305</lpage>
          . Berlin: Springer.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7. de Raedt,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Kersting</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            ,
            <surname>Natarajan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            and
            <surname>Poole</surname>
          </string-name>
          ,
          <string-name>
            <surname>D.</surname>
          </string-name>
          (
          <year>2016</year>
          )
          <article-title>Statistical relational artificial intelligence: logic, probability and computation</article-title>
          .
          <source>Synthesis lectures on artificial intelligence and machine learning</source>
          . Morgan &amp; Claypool.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Richardson</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          and
          <string-name>
            <surname>Domingos</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          (
          <year>2006</year>
          ).
          <article-title>Markov Logic Networks</article-title>
          .
          <source>Machine Learning</source>
          <volume>62</volume>
          (
          <issue>1-2</issue>
          ):
          <fpage>107</fpage>
          -
          <lpage>136</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Sato</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          (
          <year>1995</year>
          )
          <article-title>A statistical learning method for logic programs with the distribution semantics</article-title>
          . In Sterling, L. S. (Ed.)
          <source>Logic Programming: The 12th International Conference</source>
          . Cambridge, MA: MIT Press.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Weitkämper</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          (
          <year>2020</year>
          )
          <article-title>Scaling the weight parameters of Markov logic networks and relational logistic regression models</article-title>
          . epub.ub.uni-muenchen.de/71690.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>