<!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>Computing Inferences for Credal ALC Terminologies</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Rodrigo B. Polastro</string-name>
          <email>rodrigopolastro@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Fabio G. Cozman</string-name>
          <email>fgcozman@usp.br</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Felipe I. Takiyama</string-name>
          <email>felipe.takiyama@usp.br</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kate C. Revoredo</string-name>
          <email>katerevoredo@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Dept. Informatica Aplicada</institution>
          ,
          <addr-line>Unirio - Av. Pasteur, 458, Rio de Janeiro, RJ -</addr-line>
          <country country="BR">Brazil</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Univ. de Sa~o Paulo - Av.</institution>
          <addr-line>Prof. Mello Moraes 2231, Sa~o Paulo, SP -</addr-line>
          <country country="BR">Brazil</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>We describe a package that performs inferences for the probabilistic description logic crALC: given a terminology consisting of a set of sentences in crALC, and a set of assertions, the package computes the probability of additional assertions using an approximate variational method. We brie y review the essentials of crALC, mention some recent applications, and describe the package. We then describe our current efforts to incorporate lifted inference into the package.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        This paper focuses on a particular probabilistic description logic, Credal ALC
(referred to as crALC). This logic adds some probabilistic operators to the
popular logic ALC [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and combines these operators with independence assumptions
inspired by the theory of relational Bayesian networks [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. One can see crALC
as a language to express ontologies with probabilistic assessments, or simply
as a language to describe relational Bayesian networks. Applications in mobile
robotics [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], automatic construction of ontologies [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], and analysis of social
networks [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] have bene ted from the use of crALC, often coupled with machine
learning techniques. We summarize the main features of crALC, and some of its
applications, in Section 2. Alas, so far there has been no simple way to produce
inferences in crALC | here an inference means the computation of a
probability value for a given assertion conditional on other observed assertions, using a
probabilistic terminology as background knowledge.
      </p>
      <p>In Section 3 we introduce a package, coded by the rst author, that
accepts sentences and assertions in crALC, and that produces inferences using
an approximate variational algorithm. We then discuss our current e orts in
developing exact lifted inference methods that can be added to the package.</p>
      <p>
        Many probabilistic descriptions logics have appeared in the literature [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
Several consider probabilities over the interpretations. For example, one interprets
P (Professor(John)) = 0:001 as assigning 0:001 to be the probability of the set
of interpretations where John is a Professor. The logic crALC is a probabilistic
extension of the description logic ALC that adopts such an interpretation-based
semantics [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. It keeps all constructors of ALC, but only allows concept names
on the left hand side of inclusions/de nitions. Additionally, in crALC one can
have probabilistic inclusions such as P (CjD) = or P (r) = for concepts C
and D, and for role r. If the interpretation of D is the whole domain, then we
simply write P (C) = . The semantics of these inclusions is roughly (a formal
de nition can be found in [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]) given by:
8x 2 D : P (C(x)jD(x)) = ;
8x 2 D; y 2 D : P (r(x; y)) = :
We assume that every terminology is acyclic; no concept uses itself. This
assumption allows one to represent any terminology T through a directed acyclic
graph. Such a graph, denoted by G(T ), has each concept name and role name
as a node, and if a concept C directly uses concept D, then D is a parent of C
in G(T ). Each existential restriction 9r:C and value restriction 8r:C is added to
the graph G(T ) as nodes, with an edge from r and C to each restriction directly
using it. Each restriction node is a deterministic node in that its value is
completely determined by its parents. We then assume a Markov condition on this
graph, similar to the Markov condition on Bayesian networks; with a few
additional assumptions concerning uniqueness of names and values, this guarantees
that any probability distribution over interpretations factorizes as a Bayesian
network over grounded concepts and roles [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        Inferences, such as P (Ao(a0)jA) for an ABox A, can be computed by
grounding a set of sentences into a possibly large Bayesian network. As this may be too
complex in practice, an alternative is to run approximate schemes, for instance
schemes based on approximate variational approximations [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        Recent work has explored the use of probabilistic terminologies in crALC in
several applications [
        <xref ref-type="bibr" rid="ref2 ref7 ref8">2, 7, 8</xref>
        ]. These applications require the computation of many
inferences; thus it is important to have a package that can perform inference in
crALC terminologies.
3
      </p>
    </sec>
    <sec id="sec-2">
      <title>A package</title>
      <p>This section describes a software package that handles crALC terminologies and
assertions, and that produces inferences (either by producing relational Bayesian
networks that can be further processed, or by running approximate variational
inference). The package has been coded by the rst author using the Java
language, and can work either from the command prompt or through a graphical
user interface (depicted in Figure 1).</p>
      <p>The rst design decision was the input language. We have chosen to adapt
the Knowledge Representation System Speci cation (KRSS). The standard
complete speci cation of KRSS can be found at http://dl.kr.org/krss-spec.ps. We use
the following constructs: (and C1...Cn) for conjunction; (or C1...Cn) for
disjunction; (not C) for complement; (all r C) to indicate the quanti er 8r:C;
(some r C) to indicate the quanti er 9r:C; (define-concept C D) for C D;
and (define-primitive-concept C D) for C v D.</p>
      <p>Probabilistic inclusions are speci ed as follows: (probability B ) denotes
P (B) = ; (conditional-probability B A ) for P (AjB) = . An example
of valid input le is:
(probability A(x) 0.7) (probability B(x) 0.4)
(define-concept C(x) (and A(x) (not B(x))))</p>
      <p>Assertions can be represented through written les as well; inference results
can be exported to les. Alternatively, the graphical user interface depicted in
Figure 1 can be used to load/save les, to specify the size of the domain and
the assertions, to ask for inferences, and to check results. The package is freely
available at http://sites.poli.usp.br/pmr/ltd/Software/CRALC/index.html.</p>
      <p>
        Approximate inferences are produced by generating a set of grounded Bayesian
networks, one for each individual mentioned in the query and in the evidence,
plus an additional Bayesian network for a \generic" individual [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Exact Bayesian
network inference is performed in each one of these networks (the package
assumes that such exact inference is feasible) and messages are exchanged
between the networks using a loopy-propagation scheme. A relatively small number
of message-passing iterations seems to generate good approximations; the cost
of running an approximate inference is then the number of allowed iterations
times the sum of inference costs for each one of the grounded networks plus the
\generic" individual network.
4
      </p>
    </sec>
    <sec id="sec-3">
      <title>Conclusion</title>
      <p>E cient inference for probabilistic description logics is a key enabler of
technologies that must deal with uncertainty and semantic information. Currently
there are many proposals for probabilistic description logics but relatively few
implemented inference engines. In this short paper we have described our modest
e orts in providing easier ways to represent and process sentences in probabilistic
description logics. The software package we have presented still requires much
development, but it is a step in a direction we feel has not received enough
attention.</p>
      <p>
        Our current e ort is to implement exact lifted inference; that is, inference
that does not require grounding concepts and roles for the entire domain. We
are using recently developed methods for lifted inference in graphical models [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ],
and plan to report on the results soon.
      </p>
    </sec>
    <sec id="sec-4">
      <title>Acknowledgements</title>
      <p>The rst author was supported by FAPESP. The second author is partially
supported by CNPq. The work reported here has received substantial support
by FAPESP grant 2008/03995-5.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>F.</given-names>
            <surname>Baader</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Calvanese</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.L.</given-names>
            <surname>McGuinness</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Nardi</surname>
          </string-name>
          , and
          <string-name>
            <given-names>P.F.</given-names>
            <surname>Patel-Schneider</surname>
          </string-name>
          .
          <article-title>Description Logic Handbook</article-title>
          . Cambridge University Press,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>F.</given-names>
            <surname>Correa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. G.</given-names>
            <surname>Cozman</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J. Okamoto</given-names>
            <surname>Jr</surname>
          </string-name>
          .
          <article-title>Collective classi cation in semantic mapping with a probabilistic description logic</article-title>
          .
          <source>In Int. Workshop on Description Logics</source>
          , pages
          <volume>455</volume>
          {
          <fpage>465</fpage>
          ,
          <string-name>
            <surname>Barcelona</surname>
          </string-name>
          , Spain,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>F. G.</given-names>
            <surname>Cozman and R. B. Polastro</surname>
          </string-name>
          .
          <article-title>Complexity analysis and variational inference for interpretation-based probabilistic description logics</article-title>
          .
          <source>In Uncertainty in Arti cial Intelligence</source>
          , pages
          <fpage>117</fpage>
          {
          <fpage>125</fpage>
          ,
          <string-name>
            <surname>Corvallis</surname>
          </string-name>
          , Oregon,
          <year>2009</year>
          . AUAI Press.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>M.</given-names>
            <surname>Jaeger</surname>
          </string-name>
          .
          <article-title>Relational Bayesian networks</article-title>
          .
          <source>In Uncertainty in Arti cial Intelligence</source>
          , pages
          <fpage>266</fpage>
          {
          <fpage>273</fpage>
          , San Francisco, California,
          <year>1997</year>
          . Morgan Kaufmann.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>J.</given-names>
            <surname>Kisynski</surname>
          </string-name>
          and
          <string-name>
            <given-names>D.</given-names>
            <surname>Poole</surname>
          </string-name>
          .
          <article-title>Lifted aggregation in directed rst-order probabilistic models</article-title>
          .
          <source>Int. Joint Conf. on Arti cal Intelligence</source>
          , pages
          <fpage>19221929</fpage>
          ,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>T.</given-names>
            <surname>Lukasiewicz</surname>
          </string-name>
          and
          <string-name>
            <given-names>U.</given-names>
            <surname>Straccia</surname>
          </string-name>
          .
          <article-title>Managing uncertainty and vagueness in description logics for the semantic web</article-title>
          .
          <source>Journal of Web Semantics</source>
          ,
          <volume>6</volume>
          :
          <fpage>291</fpage>
          {
          <fpage>308</fpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>J. E. Ochoa</given-names>
            <surname>Luna</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Revoredo</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F. G.</given-names>
            <surname>Cozman</surname>
          </string-name>
          .
          <article-title>Learning probabilistic description logics: A framework and algorithms</article-title>
          .
          <source>In Mexican Int. Conf. on Arti cial Intelligence, Lecture Notes in Arti cial Intelligence</source>
          , volume
          <volume>7094</volume>
          <issue>Part I</issue>
          , pages
          <volume>28</volume>
          {
          <fpage>39</fpage>
          . Springer,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>K.</given-names>
            <surname>Revoredo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. E.</given-names>
            <surname>Ochoa-Luna</surname>
          </string-name>
          , and
          <string-name>
            <given-names>F. G.</given-names>
            <surname>Cozman</surname>
          </string-name>
          .
          <article-title>Semantic link prediction through probabilistic description logic</article-title>
          .
          <source>In Workshop on Uncertainty Reasoning for the Semantic Web</source>
          , pages
          <volume>87</volume>
          {
          <fpage>97</fpage>
          ,
          <string-name>
            <surname>Bonn</surname>
          </string-name>
          , Germany,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>