<!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>Set-Valued Probabilistic Sentential Decision Diagrams</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>alessandro</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>alessandro.facchinig@idsia.ch</string-name>
        </contrib>
      </contrib-group>
      <abstract>
        <p>Probabilistic sentential decision diagrams are a class of arithmetic circuits locally annotated by probability mass functions. This allows for a compact representation of joint mass functions in the presence of logical constraints. Here we propose a set-valued generalisation of the probabilistic quanti cation in these models, that allows to replace the sharp speci cation of the local probabilities with linear constraints over them. This induces a (convex) set of joint probability mass functions, all consistent with the assigned logical constraints. These models should be adopted for a cautious learning of the local parameters if only small amount of data are available. Algorithmic strategies to compute the lower and upper bounds of marginal and conditional queries with respect to these sets of joint mass functions are sketched. The task can be achieved in linear time with respect to the diagram size for marginal queries and, if the diagram is singly connected, the same can be done for conditional queries.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        A simple example showing the need of coherently combining logic and
probability is considered in [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Assume we are given a report of the results of 100
students in four subjects, namely logic (L), knowledge representation (K),
probability (P ) and AI (A). From those data, depicted in Table 1, we thus want to
learn a probabilistic model such as a Bayesian network (BN) [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. The white nodes
in Figure 1 show a BN model that assumes conditional independence between K
and P given A and L. To learn BN parameters we use a Laplace prior of strength
one. This assigns probability Pr(X = x) = [n(X = x) + jXj 1]=[n( ) + 1] to the
state x of variable X, where jXj is the cardinality of X and n is a counting
function for the data set (e.g., Pr(L = 0) = 70:5=101). Out of sixteen possible
combinations, Table 1 reports no observations for eight cases (grey rows). Yet, seven
of these eight cases (dark grey) are not observed because of logical constraints:
L _ P (it is compulsory for a student to either take logic or probability), A ! P
(probability is prerequisite for AI), and K ! A _ L (knowledge representation
is a prerequisite to either AI or logic). The light grey row corresponds instead
to a possible con guration for which we just do not have observations. Yet, the
BN cannot distinguish between those two cases and non-zero probabilities can
be therefore assigned to impossible events (e.g., Pr(A = 1; P = 0) ' 0:005). The
logical constraints can then be embedded in the BN by adding auxiliary nodes
(grey nodes in Figure 1). Each constraint induces a Boolean variable which is a
child of all the variables involved in the logical constraint and whose conditional
probability table has zero/one values modelling the fact that the variable is true
if and only if the logical constraint is satis ed. The model is therefore queried
given the fact that the auxiliary variables implementing the constraints are in
their true state. Such a BN approach to the learning of probability mass
functions that are subject to domain constraints might increase the treewidth of the
original graphical model, thus potentially a ecting the speed of the inferences
(exact inference is exponential in this parameter).
      </p>
      <p>
        Probabilistic sentential decision diagrams (PSDDs for short) [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] o er an
elegant alternative approach to the learning of probabilistic models from data
subject to logical constraints. A PSDD is a circuit representation of a joint
probability mass function assigning zero probability to the impossible states of
the logical constraints. More speci cally, it is a parametrised directed acyclic
graph. Each non-root node is either a logical AND gate with two inputs, or a
logical OR gate with an arbitrary number of inputs and whose incoming wires
are annotated with the probabilities of a conditional mass function (that can
be learned from the data). These types of nodes alternate. Each root node is
a univariate mass function, assigning probability one to X, when X is always
true, to :X when X is always false, or assigning to X (written as ( : X))
when X is true with probability (conditional to a certain context encoded by
the circuit). E.g., the circuit in Figure 2 with sharp numbers instead of intervals
associated to the wires de nes a PSDD consistent with the logical constraints in
the example.
      </p>
      <p>
        Inference in PSDDs, intended here as the computation of the probability of
marginal or conditional queries for single variables, takes time linear in the size
of the graph. Dedicated algorithms have been developed to identify the smallest
circuit modeling a given formula [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. This makes inferences based on a PSDD
typically faster than those based on a BN with auxiliary nodes implementing the
same constraints [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Yet, PSDDs embed context-speci c independence relations
and the problem of trading o the search for a small circuit with the learning of
proper dependence relations from the data is still relatively unexplored [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], while
many techniques have been proposed for the structural learning of BNs [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
From sharp to interval probabilities. Both BN and PSDD parameters are
probabilities to be learned from the data set. These are sharp numerical
values corresponding to the mean of a posterior distribution or the maximum of a
likelihood. Yet, standard inference algorithms adopt only the sharp estimators,
while propagating the whole distribution might increase the inferential
complexity (e.g., [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]). This might be an issue especially if few data are available [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] or if
some data are missing according to an asystematic incompleteness process [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. In
these cases, coping with sets instead of single probability mass functions might
o er a more cautious, and hence reliable, approach to probabilistic modelling.1
      </p>
      <p>
        In particular the imprecise Dirichlet model (IDM) [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] replaces the above
considered estimate for P (X = x) with the interval [n(x); n(x) + jXj 1]=(n( ) + 1).
Thus, for instance, P (L = 0) 2 [70; 71]=101. IDM has been often applied to
BN quanti cation from data (e.g., [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]). The approach transforms the BN into a
credal network [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], and the local conditional probability mass functions,
associated to each variable and each con guration of the parent variables are replaced
by sets of probability mass functions consistent with such interval constraints.
The same can be done with PSDDs by replacing each probability mass function
annotating the incoming wires of a OR gate or a root node with a IDM-based
set of probability mass function.2 This might be valuable as the local parameters
of a PSDD are conditional probabilities based on a context. Indeed, the higher
is the number of variables in the context, the less data might be available to
learn the probabilities, and therefore IDM appears as more reliable from a
modelling perspective. As an example, Figure 2 depicts a PSDD with interval-valued
weights obtained in this way. We call such a model credal PSDD (CPSDD).
Exactly as a PSDD de nes a joint probability mass function which assigns non-zero
probability only to the joint states satisfying the logical constraints, a CPSDD
de nes a (credal) set of joint probability mass function assigning non-zero
proba1 Other extensions of the classical probability theory have been proposed. Among
others, we mention the evidence theory [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], the possibility theory [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], and fuzzy
sets theory [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ]. The set-valued approach we consider here is based instead on the
imprecise probability theory [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] and can be regarded as a generalization of all the
previous ones [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], with a direct sensitivity analysis interpretation. To the best of
our knowledge, none of the other formalisms has been applied to PSDDs so far.
2 If the application of the IDM involves zero counts because of the logical constraints,
the IDM interval associated to the impossible event is replaced by a sharp zero.
bility to the non-impossible con gurations. The model semantics is as expected,
each element of this set of joint mass functions corresponds to a PSDD whose
(sharp) parameters have values consistent with the intervals in the CPSDD.
Inferences in CPSDDs are thence intended as the computation of the lower and
upper bounds of a query with respect to such a joint set of probability mass
functions. Notably, it seems possible to apply the same strategy proposed by
[
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] for sum-product networks (SPNs) with set-valued speci cations of the
parameters to PSDDs. Yet, compared to SPNs, PSDDs allows to cope with logical
constraints. For joint or marginal queries, the inference corresponds to a
simple bottom-up propagation which can be easily achieved by interval arithmetic.
E.g., the query Pr(A = 0; P = 0) corresponds to a product of IDM intervals
and has value [ 3514301 ; 11091 ]. For conditional queries the situation might be more
involved. This is because local (linear) optimisation should be solved during the
intermediate steps of the propagation. By a derivation analogous to that in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ],
it is possible to argue that for CPSDDs with singly connected diagrams, i.e.,
such that each node has exactly one child, inference can be computed in time
linear with respect to the size of the circuit.
      </p>
      <p>:L</p>
      <p>L
:P
:L
:P</p>
      <p>P
:L</p>
      <p>L
:P
1
^
K
_
[ 11001 ; 11011 ]
^
_
^
[ 13001 ; 13011 ]</p>
      <p>[ 16001 ; 16011 ]
_
0 [ 1381 ; 1391 ]
[ 1321 ; 1331 ] 1
_
0
^
?
^
1
^</p>
      <p>A :
[ 5641 ; 5651 ]
_
P
0
^
?
1
^
A
_</p>
      <p>P
0
^
?
0
^
?
_</p>
      <p>L
1
^</p>
      <p>K :
[ 2341 ; 2351 ]</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Alessandro</given-names>
            <surname>Antonucci</surname>
          </string-name>
          and
          <string-name>
            <given-names>Giorgio</given-names>
            <surname>Corani</surname>
          </string-name>
          .
          <article-title>The multilabel naive credal classi er</article-title>
          .
          <source>International Journal of Approximate Reasoning</source>
          ,
          <volume>83</volume>
          :
          <fpage>320</fpage>
          {
          <fpage>336</fpage>
          ,
          <year>2016</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Arthur</given-names>
            <surname>Choi</surname>
          </string-name>
          and
          <string-name>
            <given-names>Adnan</given-names>
            <surname>Darwiche</surname>
          </string-name>
          .
          <article-title>Dynamic minimization of sentential decision diagrams</article-title>
          .
          <source>In AAAI</source>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Fabio</surname>
            <given-names>G.</given-names>
          </string-name>
          <string-name>
            <surname>Cozman</surname>
          </string-name>
          .
          <article-title>Credal networks</article-title>
          .
          <source>Arti cial Intelligence</source>
          ,
          <volume>120</volume>
          :
          <fpage>199</fpage>
          {
          <fpage>233</fpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. Gert de Cooman and
          <article-title>Marco Za alon</article-title>
          .
          <article-title>Updating beliefs with incomplete observations</article-title>
          .
          <source>Arti cial Intelligence</source>
          ,
          <volume>159</volume>
          (
          <issue>1</issue>
          {2):
          <volume>75</volume>
          {
          <fpage>125</fpage>
          ,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Didier</given-names>
            <surname>Dubois</surname>
          </string-name>
          and Henri Prade.
          <article-title>Possibility theory</article-title>
          .
          <source>In Computational Complexity</source>
          , pages
          <volume>2240</volume>
          {
          <fpage>2252</fpage>
          . Springer,
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Lance</given-names>
            <surname>Kaplan</surname>
          </string-name>
          and
          <string-name>
            <given-names>Magdalena</given-names>
            <surname>Ivanovska</surname>
          </string-name>
          .
          <article-title>E cient belief propagation in secondorder Bayesian networks for singly-connected graphs</article-title>
          .
          <source>International Journal of Approximate Reasoning</source>
          ,
          <volume>93</volume>
          :
          <fpage>132</fpage>
          {
          <fpage>152</fpage>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Doga</given-names>
            <surname>Kisa</surname>
          </string-name>
          , Guy Van den Broeck, Arthur Choi, and
          <string-name>
            <given-names>Adnan</given-names>
            <surname>Darwiche</surname>
          </string-name>
          .
          <article-title>Probabilistic sentential decision diagrams</article-title>
          .
          <source>In KR</source>
          ,
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Daphne</given-names>
            <surname>Koller</surname>
          </string-name>
          and
          <string-name>
            <given-names>Nir</given-names>
            <surname>Friedman</surname>
          </string-name>
          .
          <article-title>Probabilistic graphical models: principles and techniques</article-title>
          . MIT press,
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Yitao</given-names>
            <surname>Liang</surname>
          </string-name>
          , Jessa Bekker, and Guy Van den Broeck.
          <article-title>Learning the structure of probabilistic sentential decision diagrams</article-title>
          .
          <source>In UAI</source>
          ,
          <year>2017</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10. Denis Deratani Maua, Diarmaid Conaty, Fabio Gagliardi Cozman, Katja Poppenhaeger, and Cassio Polpo de Campos.
          <article-title>Robustifying sum-product networks</article-title>
          .
          <source>International Journal of Approximate Reasoning</source>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <given-names>Glenn</given-names>
            <surname>Shafer</surname>
          </string-name>
          .
          <source>A Mathematical Theory of Evidence</source>
          . Princeton University Press,
          <year>1976</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>Peter</given-names>
            <surname>Walley</surname>
          </string-name>
          .
          <article-title>Statistical Reasoning with Imprecise Probabilities</article-title>
          .
          <source>Chapman and Hall</source>
          ,
          <year>1991</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>Peter</given-names>
            <surname>Walley</surname>
          </string-name>
          .
          <article-title>Inferences from multinomial data: learning about a bag of marbles</article-title>
          .
          <source>Journal of the Royal Statistical Society. Series B (Methodological)</source>
          , pages
          <fpage>3</fpage>
          {
          <fpage>57</fpage>
          ,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <given-names>Peter</given-names>
            <surname>Walley</surname>
          </string-name>
          .
          <article-title>Towards a uni ed theory of imprecise probability</article-title>
          .
          <source>International Journal of Approximate Reasoning</source>
          ,
          <volume>24</volume>
          :
          <fpage>125</fpage>
          {
          <fpage>148</fpage>
          ,
          <year>2000</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Lot</surname>
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Zadeh</surname>
          </string-name>
          .
          <article-title>A computational approach to fuzzy quanti ers in natural languages</article-title>
          .
          <source>Computers &amp; Mathematics with applications</source>
          ,
          <volume>9</volume>
          (
          <issue>1</issue>
          ):
          <volume>149</volume>
          {
          <fpage>184</fpage>
          ,
          <year>1983</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>