<!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>PLOW: Probabilstic Logic Over the Well-Founded semantics</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Benjamin Grosof</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Theresa Swift Kyndi</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Inc. San Mateo</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>California</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Available through</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Copyright held by the author(s). In A. Martin, K. Hinkelmann, A. Gerber</institution>
          ,
          <addr-line>D. Lenat, F. van Harmelen, P. Clark (Eds.)</addr-line>
          ,
          <institution>Proceedings of the AAAI 2019 Spring Symposium on Combining Machine Learning with Knowledge Engineering (AAAI-MAKE 2019). Stanford University</institution>
          ,
          <addr-line>Palo Alto, California</addr-line>
          ,
          <country country="US">USA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Motivations: A central challenge for AI is how to combine most effectively two core areas: knowledge representation &amp; reasoning (KRR) and machine learning (ML). ML can provide capabilities for acquiring knowledge from data at relatively low cost in human labor. Adding KRR to ML can provide the ability to combine heterogeneous forms and/or multiple sources of knowledge (both human crafted and machine learned), and then use this combination to recommend or make decisions. When the form of KRR is highly explainable, it can provide significantly more trustability to AI systems, helping to meet the rapidly rising demands of users. KRR also offers further advantages in interpreting contextspecific ML results. Significantly, KRR can be essential for complying with organizational policies, ethics, and pertinent legal regulations; and for applying human social and experiential knowledge. Problem Addressed: KRR systems of various kinds have advanced rapidly in the past 5-10 years. In particular, a class of recent logic programming systems, called Rulelog systems, semantically extend database logic and provide high expressiveness together with strong explainability (Grosof 2013; Andersen et al. 2013). These systems support logical functions and higher-order syntax, defeasibility (a.k.a. exceptions, argumentation, and defaults), constraint-based reasoning, and reactivity. Further, they provide a variety of semantically meaningful forms of bounded rationality to enforce query termination. Unlike logic programming systems based on answer set programming (ASP), these Rulelog systems are based on the three-valued well-founded semantics, which offers much better scalability than ASP. Notable Rulelog systems include ErgoAI, Flora-2, and XSB.1 However, until recently Rulelog systems such as these have lacked the sort of quantitative uncertainty reasoning that is needed to reason productively and efficiently using results from a wide variety of ML approaches.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        T-norm based Semantics. A variety of fuzzy logics are
based on different T-norms (cf.
        <xref ref-type="bibr" rid="ref7">(Klement, Mesiar, and
Pap 2004)</xref>
        for an overview). T-norms originally were
formulated when studying probabilistic metric spaces.
Logics based on T-norms have proven to be well-suited for
reasoning with vague concepts (such as whether a given
person is tall), and with reasoning over knowledge that
is based on similarity or relevancy measures. Reasoning
about such statements often requires the use of a
quantitative strength that is not probabilistic in the Bayesian
sense.
      </p>
      <p>
        Lattice-based Semantics. Lattice-based semantics have
formed the basis of various multi-valued logics as well as
possibilistic logics
        <xref ref-type="bibr" rid="ref4">(Dubois, Lang, and Prade 1994)</xref>
        . Such
logics have been used to capture both contradictory
evidence and qualitative measures of belief (e.g., unlikely,
possible, likely and so on).
      </p>
      <p>
        Each of these three approaches can be brought to bear
when combining ML with reasoning. The case for
probabilistic semantics is perhaps the most obvious. Results of
some statistical learning techniques, such as linear/quadratic
discrimination analysis, have formal probabilistic
properties. Results of other types of (machine) learning, such as
neural networks with a softmax output, are often also
interpreted probabilistically. Each of these results can be
propagated through (deductive) reasoning under a probabilistic
semantics. However, there are situations in which
probabilistic reasoning is not suitable, either because of its high
computational complexity, or when ML results are quantitative
but not clearly probabilistic (such as similarity scores
obtained by word embeddings e.g.,
        <xref ref-type="bibr" rid="ref8">(Mikolov et al. 2013)</xref>
        ). For
such cases, reasoning with T-norms may be more
appropriate. And finally, there may be applications where ML results
need to be transformed into qualitative measures to be used
or interpreted: in such casees lattice-based semantics can be
helpful.
      </p>
      <p>PLOW has been implemented as a package of the XSB
system2, and supports a general logic programming
framework for KRR that includes:</p>
      <p>Fully recursive rules that include logical functions along
with both default and explicit negation (also known as
negation-as-failure and strong negation, respectively).
The ability to specify the strength of quantitative rules via
a variety of functions of the strength of their bodies,
including strength boosting, strength decay, sigmoid, and
rectified linear functions.</p>
      <p>
        Evaluation of these rules according to the three-valued
Paraconsistent Well-Founded Semantics
        <xref ref-type="bibr" rid="ref2">(Dama´sio and
Pereira 1998)</xref>
        , a kind of (unprioritized) defeasibility.
      </p>
      <p>Discussion: An important limitation of PLOW is that it
does not support general reasoning-by-cases (i.e., inferring
disjunctions), since it is based on the well-founded
semantics. By contrast, some other approaches to probabilistic
logical KRR do support general reasoning-by-cases, via
extending first-order classical logic (FOL) or using ASP.</p>
      <p>On the other hand, PLOW has several advantages
compared to other approaches to probabilistic logical KRR.
First, PLOW’s support for the well–founded semantics,
strong negation and other features provides a basis for the
full support of much, perhaps even all, of Rulelog’s
approach to KRR. Second, PLOW offers multiple flavors of
probability under one roof; it has more flexible
expressiveness in that regard than any previous logic programming
system of which we are aware. This is useful not only for
application system builders but also to facilitate study of these
probability flavors at the level of KRR algorithm design and
theory. Third, PLOW offers several kinds of relatively
scalable probabilistic reasoning: not only restricted distribution
2A development version of PLOW is available at
https://github.com/theresasturn/plow.
semantics, but also T-norm based and lattice based.
Scalability is a major challenge in probabilistic logical KRR; many,
if not most, of other approaches that provide medium or high
expressiveness in the non-probabilistic logical aspect suffer
from intractable computational complexity. Finally, in terms
of pragmatic consideration of interoperability: Since PLOW
is implemented using XSB, it inherits XSB’s database, web,
Java, C, Python and other interfaces.</p>
      <p>Acknowledgements The work described here was done in
part while previously at Coherent Knowledge, Inc.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <surname>Andersen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Benyo</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Calejo</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Dean</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Fodor</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Grosof</surname>
            ,
            <given-names>B. N.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Kifer</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Liang</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ; and Swift,
          <string-name>
            <surname>T.</surname>
          </string-name>
          <year>2013</year>
          .
          <article-title>Advanced knowledge base debugging for Rulelog</article-title>
          .
          <source>In Joint Proceedings of the 7th International Rule Challenge</source>
          ,
          <article-title>the Special Track on Human Language Technology and the 3rd RuleML Doctoral Consortium</article-title>
          , Seattle, USA, July
          <volume>11</volume>
          -
          <issue>13</issue>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <string-name>
            <surname>Dama</surname>
          </string-name>
          ´sio, C. V., and
          <string-name>
            <surname>Pereira</surname>
            ,
            <given-names>L. M.</given-names>
          </string-name>
          <year>1998</year>
          .
          <article-title>A survey on paraconsistent semantics for extended logic programas</article-title>
          . In Gabbay, D., and
          <string-name>
            <surname>Smets</surname>
          </string-name>
          , P., eds.,
          <source>Handbook of Defeasible Reasoning and Uncertainty Management Systems</source>
          , volume
          <volume>2</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          Kluwer Academic Publishers.
          <fpage>241</fpage>
          -
          <lpage>320</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <surname>Dubois</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Lang</surname>
            , J.; and Prade,
            <given-names>H.</given-names>
          </string-name>
          <year>1994</year>
          .
          <article-title>Possibilistic logic</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <given-names>In</given-names>
            <surname>Gabbay</surname>
          </string-name>
          , D. M.;
          <string-name>
            <surname>Hogger</surname>
            ,
            <given-names>C. J.;</given-names>
          </string-name>
          and
          <string-name>
            <surname>Robinson</surname>
          </string-name>
          , J. A., eds.,
          <source>Handbook of logic in artificial intelligence and logic programming</source>
          ,
          <source>vol. 3</source>
          . Oxford University Press.
          <fpage>439</fpage>
          -
          <lpage>514</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Grosof</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <year>2013</year>
          .
          <article-title>Rapid Text-based Authoring of Defeasible Higher-Order Logic Formulas, via Textual Logic and Rulelog (Summary of Invited Talk)</article-title>
          .
          <source>In Proc. RuleML-2013, the 7th Intl. Web Rule Symposium.</source>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <surname>Klement</surname>
            ,
            <given-names>E.-P.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Mesiar</surname>
          </string-name>
          , R.; and
          <string-name>
            <surname>Pap</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          <year>2004</year>
          .
          <article-title>Triangular norms. position paper i: basic analytical and algebraic properties</article-title>
          .
          <source>Fuzzy Sets and Systems</source>
          <volume>143</volume>
          :
          <fpage>5</fpage>
          -
          <lpage>26</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <surname>Mikolov</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Sutskever</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ; Chen,
          <string-name>
            <given-names>K.</given-names>
            ;
            <surname>Corrado</surname>
          </string-name>
          , G.; and
          <string-name>
            <surname>Dean</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <year>2013</year>
          .
          <article-title>Distributed representations of words and phrases and their compositionality</article-title>
          .
          <source>In Neural Information Processing Systems</source>
          ,
          <volume>3111</volume>
          -
          <fpage>3119</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <surname>Riguzzi</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          , and
          <string-name>
            <surname>Swift</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <year>2018</year>
          .
          <article-title>A survey of probabilistic logic programming</article-title>
          .
          <source>In Declarative Logic Programming: Theory, Systems, and Applications</source>
          , volume
          <volume>20</volume>
          <source>of ACM Books</source>
          ,
          <volume>185</volume>
          -
          <fpage>233</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <surname>Sato</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ;
          <string-name>
            <surname>Kameya</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ; and
          <string-name>
            <surname>Zhou</surname>
            ,
            <given-names>N.-F.</given-names>
          </string-name>
          <year>2005</year>
          .
          <article-title>Generative modeling with failure in PRISM</article-title>
          . In
          <source>International Joint Conference on Artificial Intelligence</source>
          ,
          <fpage>847</fpage>
          -
          <lpage>852</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          <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 distribution semantics</article-title>
          .
          <source>In International Conference on Logic Programming</source>
          ,
          <fpage>715</fpage>
          -
          <lpage>729</lpage>
          . MIT Press.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          <string-name>
            <surname>Vennekens</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ; Verbaeten,
          <string-name>
            <surname>S.</surname>
          </string-name>
          ; and Bruynooghe,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          <article-title>Logic programs with annotated disjunctions</article-title>
          .
          <source>In International Conference on Logic Programming</source>
          ,
          <fpage>195</fpage>
          -
          <lpage>209</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>