<!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>VisPrAF: A system for visually specifying and reasoning over probabilistic abstract argumentation frameworks</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Bettina Fazzinga</string-name>
          <email>fazzinga@icar.cnr.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sergio Flesca</string-name>
          <email>flesca@dimes.unical.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Filippo Furfaro</string-name>
          <email>furfaro@dimes.unical.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>ICAR-CNR</institution>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <fpage>85</fpage>
      <lpage>99</lpage>
      <abstract>
        <p>We present VisPrAF, a system supporting the usage of probabilistic abstract argumentation for modeling disputes in the presence of uncertainty. VisPrAF provides a user-friendly graphical interface for specifying the possible scenarios (in terms of sets of arguments and attacks occurring in the dispute) and their probabilities. Moreover, it provides a reasoning engine that allows the analyst to evaluate the probabilities of extensions and acceptable arguments. Both the graphical interface and the reasoning engine consider the most popular paradigms for modeling prAAFs, and they allow the use of simple constructs for specifying typical correlations between arguments/defeats (such as co-existence and mutual exclusivity) that can make the specification of intricate scenarios intuitive and compact.</p>
      </abstract>
      <kwd-group>
        <kwd>Probabilistic Abstract Argumentation</kwd>
        <kwd>Evaluation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        In the literature, there are several proposals for modeling the uncertainty of
arguments/defeats in Dung’s Abstract Argumentation Frameworks (AAFs), using
di↵erent paradigms (e.g., weights, preferences, probabilities). In this regard, [
        <xref ref-type="bibr" rid="ref12 ref13 ref14 ref5">4,
11, 13, 12</xref>
        ] have extended the original Dung framework into the probabilistic
Abstract Argumentation Framework (prAAF), where the uncertainty is modeled
by exploiting the probability theory. In particular, [
        <xref ref-type="bibr" rid="ref12">11</xref>
        ] proposed a form of
prAAF (here denoted as ind, shorthand for “independence”) where each
argument/defeat can be associated with a probability (and arguments and defeats
are viewed as independent events), whereas [
        <xref ref-type="bibr" rid="ref5">4</xref>
        ] proposed a form of prAAF (here
denoted as ex, shorthand for “extensive”) where uncertainty can be taken into
account by extensively specifying a probability distribution function (pdf) over
the possible scenarios.
      </p>
      <p>Example 1. Mary and Marc’s defense attorney is reasoning on the trial of a
robbery case involving her clients and the witness Ann. The arguments are:
a: “Mary says that she was at the park at the time of the robbery, and thus
denies being involved in the robbery”;
Copyright c 2019 for this paper by its authors. Use permitted under Creative Commons</p>
      <p>License Attribution 4.0 International (CC BY 4.0).
b: “Marc says he was at home when the robbery took place, and therefore
denies being involved in the robbery”;
c: “Ann says that she certainly saw Mary near the bank just before the robbery,
and possibly saw Marc there too”.</p>
      <p>The dispute can be modeled by the AAF A, whose arguments are {a, b, c},
and whose defeats are ac = (a, c), ca = (c, a), bc = (b, c) and cb = (c, b),
meaning that arguments a and b are attacked by c and they counter-attack c.</p>
      <p>The lawyer believes that the arguments/defeats are not certain, and that the
only scenarios (i.e., combinations of arguments/defeats) that may happen are:
S1: “Ann does not testify”;
S2: “Ann testifies, and the jury will deem that her argument c undermines Mary
and Marc’s arguments a, b, and vice versa”;
S3: “Ann testifies, and the jury will deem that her argument c undermines Mary
and Marc’s arguments a, b, while, owing to the bad reputations of Mary and
Marc, a and b will be not perceived as strong enough to undermine c”;
S4: “Ann testifies, and the jury will deem that argument c undermines argument
a but not b, as Ann is uncertain about Marc’s presence. Vice versa, a and b will
be not perceived as strong enough to undermine c”.</p>
      <p>The hypothesis of the lawyer can be modeled by using the paradigm ex,
according to which the possible scenarios (each consisting of a “traditional”
AAF) must be enumerated, and each of them must be assigned the
probability that it represents the case that occurs in practice. In our example, each
Si is encoded by the AAF ↵ i in the following list: ↵ 1 = h{a, b}, ;i , ↵ 2 =
h{a, b, c}, { ac, ca, bc, cb}i, ↵ 3 = h{a, b, c}, { ca, cb}i, ↵ 4 = h{a, b, c}, { ca}i.
Then, on the basis of the lawyer’s perception of how likely each scenario
is, the probability distribution function over the possible scenarios could be:
P (↵ 1) = 0.1 and P (↵ 2) = P (↵ 3) = P (↵ 4) = (1 P (↵ 1))/3 = 0.3, meaning that
the lawyer thinks that there is 10% probability that Mary will not testify (owing
to her ill-health), and that, if she testifies, the other scenarios are equi-probable.</p>
      <p>Otherwise, assume that the lawyer still believes that the arguments/defeats
are uncertain, but also that there is no correlation between the terms of the
dispute. Then, instead of using ex, which would require to explicitly
enumerate too many scenarios (corresponding to all the possible combinations of
arguments/defeats), the adoption of the paradigm ind is more suitable: what
is required to define the prAAF according to ind is the marginal
probability of the terms of the dispute. For instance, the lawyer may set P (c) = 0.9
(meaning that there is 10% probability that Mary will not testify) and P (a) =
P (b) = 1 (meaning that Mary and Marc will certainly testify). Moreover,
she/he could set P ( ca) = 1 (meaning that she/he is certain that the jury
will consider Ann’s argument as a solid rebuttal of Mary’s argument).
Analogously, she/he could set P ( cb) = 0.8 and P ( ac) = P ( bc) = 0.4. Given
this, since the arguments are considered independent, the possible scenarios
modeled by ind are all the AAFs hAi, Dii where Ai is a subset of the
arguments and Di a subset of the defeats between the arguments in Ai.
Specifically, there are 9 possible AAFs, where 4 out of 9 are equal to ↵ 1, . . . ↵ 4
of the previous example, and the others are ↵ 5 = h{a, b, c}, { ac, ca}i, ↵ 6 =
h{a, b, c}, { ca, bc}i, ↵ 7 = h{a, b, c}, { ca, cb, ac}i, ↵ 8 = h{a, b, c}, { ca, cb, bc}i,
↵ 9 = h{a, b, c}, { ca, ac, bc}i. The probability of each AAF hA, Di is a product,
whose factors are the probabilities (resp., the complements of the probabilities)
of the arguments in A (resp., not in A) and of the defeats in D (resp., not in D).
For instance, P (↵ 1) = P (a) ⇥ P (b) ⇥ (1 P (c)) = 0.1 and P (↵ 3) = P (a) ⇥ P (b)⇥
P (c) ⇥ P ( ca) ⇥ P ( cb) ⇥ (1 P ( ac)) ⇥ (1 P ( bc)) = 0.26. 2</p>
      <p>
        More recently, in [
        <xref ref-type="bibr" rid="ref8">7</xref>
        ], the new paradigm gen for specifying a prAAF has been
introduced. gen is based on the well-known paradigm of world-set descriptors
(wsd s) and ws-sets, that was shown to be a complete and succinct formalism
for specifying pdfs over possible worlds in [
        <xref ref-type="bibr" rid="ref1 ref11">1, 10</xref>
        ] in the context of probabilistic
databases. Basically, gen provides a nice trade-o↵ between the compactness of
ind and the high expressiveness of ex, since it allows any form of correlation
to be expressed (like ex), but avoids the need to explicitly enumerate all the
possible scenarios (like ind). We will review the syntax of gen and provide
examples of its use in the core of this paper.
      </p>
      <p>
        Contribution. We here introduce VisPrAF, a system that supports the
specification and the reasoning over prAAFs. In fact, VisPrAF provides both a
visual interface for specifying the possible scenarios and their probabilities, and
a reasoning engine, that is able to solve the probabilistic counterparts of the
verification problem (i.e., “what is the probability that a set of arguments is an
extension?”) and the acceptability problem (i.e., “what is the probability that
an argument a is acceptable?”). VisPrAF allows the user to select the paradigm
to be adopted for representing the prAAF. Besides ex, ind and gen, it also gives
the possibility to choose a fragment of gen, called mon⇤ , where typical
correlations (in particular, co-existence and XOR relationships) can be still specified. In
this regard, an ad-hoc interface for mon⇤ is provided, where simplified graphical
constructs can be used, so that even intricate prAAFs can be defined intuitively
and compactly. As for the reasoning engine, its algorithms work under the most
popular semantics of extensions, and their implementation derive from the
results in [
        <xref ref-type="bibr" rid="ref10 ref7 ref8 ref9">6–9</xref>
        ] on the complexity of computing the probabilities of extensions and
of acceptable arguments in prAAFs.
2
An abstract argumentation framework [
        <xref ref-type="bibr" rid="ref4">3</xref>
        ] (AAF ) is a pair hA, Di, where A is
a finite set, whose elements are called arguments, and D ✓ A ⇥ A is a binary
relation over A, whose elements are called defeats (or attacks). Given a, b 2 A,
we say that a defeats b i↵ ( a, b) 2 D. A set S ✓ A defeats an argument b 2 A i↵
there is a 2 S that defeats b. An argument a defeats S i↵ there is b 2 S defeated
by a. Given S ✓ A, we define S+ as the set of arguments defeated by S.
      </p>
      <p>A set S ✓ A of arguments is said to be conflict-free if there are no a, b 2 S
such that a defeats b. An argument a is said to be acceptable w.r.t. S ✓ A i↵
8 b 2 A such that b defeats a, there is c 2 S such that c defeats b.</p>
      <p>An extension is a set of arguments that is considered “reasonable” according
to some semantics. In particular, we consider the following popular semantics
from the literature:
– admissible (ad): S is an admissible extension i↵ S is conflict-free and its
arguments are acceptable w.r.t. S;
– stable (st): S is a stable extension i↵ S is conflict-free and S defeats each
argument in A \ S;
– complete (co): S is a complete extension i↵ S is admissible and every argument
acceptable w.r.t. S is in S;
– grounded (gr): S is a grounded extension i↵ S is a minimal (w.r.t. ✓ ) complete
set of arguments;
– semi-stable (sst): S is a semi-stable extension i↵ S is a complete extension
where S [ S+ is maximal (w.r.t. ✓ );
– preferred (pr): S is a preferred extension i↵ S is a maximal (w.r.t. ✓ ) complete
set of arguments;
– ideal-set (ids): S is an ideal-set extension i↵ S is admissible and S is contained
in every preferred extension;
– ideal (ide): S is an ideal extension i↵ S is a maximal (w.r.t. ✓ ) ideal-set
extension.</p>
      <p>An argument a is acceptable w.r.t. a semantics sem i↵ a belongs to some
sem extension. Given an AAF, a semantics sem, a set of arguments S and an
argument a, the fundamental problems of verifying whether S is a sem extension
and whether a is acceptable (w.r.t sem) will be denoted as Extsem(S) and
Accsem(a), respectively.
3</p>
    </sec>
    <sec id="sec-2">
      <title>Probabilistic AAFs (prAAFs)</title>
      <p>A well-established way of modeling uncertainty in abstract argumentation is
that of considering the alternative possible scenarios, and assigning probabilities
to them. Basically, given a set A of possible arguments and a set D of possible
defeats, each scenario (called “possible AAF ”) is an AAF whose arguments and
defeats are subsets of A and D that can be viewed as a hypothesis on which
arguments/defeats will actually occur in the dispute. Thus, a probabilistic AAF
is a tuple F = hA, D, ↵ , P i where ↵ = ↵ 1, . . . , ↵ m is a set of possible AAFs
taking arguments and defeats from A and D, while P is a probability distribution
function (pdf) over ↵ such that P (↵ ) represents a measure of how likely the
arguments and defeats occurring in the dispute are exactly those in ↵ .</p>
      <p>Several forms of prAAFs exist in the literature, di↵ering in the paradigm
used to encode the pdf P : di↵erent paradigms have di↵erent expressiveness, and
this influences the correlations that can be imposed between arguments/defeats.
3.1</p>
      <sec id="sec-2-1">
        <title>The Extensive Paradigm EX</title>
        <p>
          ex is a form of prAAF (at the basis of the frameworks in [
          <xref ref-type="bibr" rid="ref13 ref14 ref2 ref3 ref5">4, 12, 13, 2</xref>
          ]) where
the pdf over the possible AAFs is specified “extensively”, by indicating one by
one the scenarios with non-zero probability, and the probability of each of them.
The size of a prAAF hA, D, ↵ , P i of form ex is thus O ((|A| + |D|) · |↵ | + |P |).
        </p>
        <p>In the prAAF of form ex of Example 1, A = {a, b, c}, D = { ca, cb, ac, bc},
↵ = [↵ 1, . . . , ↵ 4] and P is such that P (↵ 1) = 0.1, P (↵ 2) = P (↵ 3) = P (↵ 4) = 0.3.
3.2</p>
      </sec>
      <sec id="sec-2-2">
        <title>The Independence-Based Paradigm IND</title>
        <p>
          In prAAFs of form ind [
          <xref ref-type="bibr" rid="ref10 ref9">8, 9</xref>
          ], the possible AAFs and the pdf over them are
implicitly defined, as they are implied by assigning marginal probabilities to
arguments and defeats, and assuming independence between them. Thus, ↵
and P are encoded as a pair hPA, PDi, where PA and PD denote the marginal
probabilities of the arguments and the defeats, respectively. In turn, given a pair
hPA, PDi, the corresponding set ↵ and pdf P are as follows. As regards ↵ , it
contains every AAF ↵ i = hAi, Dii such that Ai ✓ A, and Di ✓ (Ai ⇥ Ai) \
D. In turn, owing to the independence assumption, the probability implicitly
assigned to each ↵ i = hAi, Dii is: P (↵ i) = Qa2 Ai PA(a)⇥ Qa2 A\Ai (1 PA(a)) ⇥
Q 2 Di PD( ) ⇥ Q 2 D(↵ i)\Di (1 PD( )), where D(↵ i) = D \ (Ai ⇥ Ai). For
instance, considering the possible AAFs of Example 1, we have that P (↵ 5) =
P (h{a, b, c}, { ac, ca}i) = P (a)⇥ P (b)⇥ P (c)⇥ P ( ac)⇥ P ( ca)⇥ (1 P ( bc))⇥ (1
P ( cb)) = 0.043. The size of a prAAF of form ind is thus O(|A|+|D|+|PA|+|PD|).
3.3
        </p>
      </sec>
      <sec id="sec-2-3">
        <title>A General and Compact Paradigm: GEN</title>
        <p>
          In [
          <xref ref-type="bibr" rid="ref8">7</xref>
          ] the new paradigm gen for specifying the pdf over the possible scenarios
has been introduced. It has three main amenities: 1) it generalizes ex, since
it also enables an “extensive” definition of the pdf over the possible AAFs;
2) it generalizes ind, since it also allows us to impose independence between
arguments/defeats; 3) in order to encode a pdf over the possible AAFs, it exploits
the representation model of world-set descriptors and world-set sets, that is a
succinct and complete model for representing possible worlds and probabilities
over them [
          <xref ref-type="bibr" rid="ref1 ref11">1, 10</xref>
          ]. According to this paradigm, any set of possible worlds and
any pdf f over them can be defined by means of a suitable set V of independent
discrete random variables. A single possible world is encoded by a valuation of
the variables in V , and its probability is given by the product of the probabilities
of each assignment. For instance, if V = {X, Y }, where X, Y are binary random
variables with probability function p, then ! 1 = {X = 0, Y = 0} is a possible
world, with probability f (! 1) = p(X = 0) · p(Y = 0), as well as ! 2 = {X =
0, Y = 1}, with f (! 2) = p(X = 0) · p(Y = 1). In this case, we have other 2
possible worlds, corresponding to the other valuations of X and Y . In turn, a
set of possible worlds can be defined by either a world-set descriptor (wsd) or
a world-set set (wss). A wsd d is a valuation for a subset of V , and represents
the set ! (d) of possible worlds compatible with these valuations. For instance,
d = {X = 0} is a wsd, and it represents the set ! (d) = {! 1, ! 2}. In turn, a wss
is a set of wsds, and it encodes the set of possible worlds that are represented
by some wsd inside it. The probability of a wsd or a wss is the sum of the
probabilities of the possible worlds that they represent.
        </p>
        <p>In our context, the set ↵ of possible AAFs and the pdf P over them can be
easily represented by associating each argument/defeat x with a wss: this wss
describes the set of possible worlds where x occurs, and the probability of each
possible AAF ↵ is the overall probability of the possible worlds containing the
arguments/defeats in ↵ .</p>
        <p>The major benefit of using the paradigm gen is that it is as expressive as
ex, as it allows any pdf to be encoded, but it is more compact (there is no
P that requires a longer encoding in gen than in ex, while in several cases
the encoding in gen is strictly shorter than in ex). Compared with ind, gen
is more expressive, and when used to represent the independence between
arguments/defeats, it is as compact as ind. From a “modeling” perspective,
resorting to gen can make it easier to specify the correlations between the
arguments/defeats: for instance, the co-existence between two arguments can
be expressed by associated the same wss to them, while an XOR relationship
can be expressed by associating them with wsss with empty intersection.
Example 2. Consider the set of arguments A = {a1, a2, a3, a4} and the set of
defeats D = { 13, 23, 34} (where ij denotes a defeat from ai to aj ). Assume
that the possible scenarios are only those satisfying these conditions: 1) a4 is in
every possible scenario (i.e., it certainly occurs in the dispute); 2) the occurrence
of a1, a2, a3 is uncertain: however, they must co-exist, and the probability of their
occurrence is 0.8; 3) analogously, 13 and 23 are uncertain and must co-exist:
the probability that they occur (conditioned to the occurrence of the involved
arguments a1, a2, a3) is 0.6; 4) the occurrence of 34 is conditioned only on the
occurrence of a3 and a4, and the probability of its occurrence (given the presence
of a3 and a4) is 0.5. This means that the possible scenarios are: ↵ 1 = h{a4}, ;i ,
with P (↵ 1) = 1·(1 0.8) = 0.2; ↵ 2 = h{a1, a2, a3, a4}, ;i , with P (↵ 2) = 1·0.8·(1
0.6) · (1 0.5) = 0.16; ↵ 3 = h{a1, a2, a3, a4}, { 12, 23}i, with P (↵ 3) = 1 · 0.8 · 0.6 ·
(1 0.5) = 0.24; ↵ 4 = h{a1, a2, a3, a4}, { 34}i, with P (↵ 4) = 1·0.8·(1 0.6)·0.5 =
0.16; ↵ 5 = h{a1, a2, a3, a4}, { 12, 23, 34}i, with P (↵ 5) = 1 · 0.8 · 0.6 · 0.5 = 0.24.</p>
        <p>This case can be represented by a prAAF of the form gen defined as follows.
The set V contains the binary random variables X123, X4, Y13,23, Y34, and the
possible scenarios where the arguments/defeats occur are defined via the
following function , associating each argument/defeat with a wss: (a1) = (a2) =
(a3) = {X123 = 1} ; (a4) = {X4 = 1} ; ( 12) = ( 23) = {Y13,23 = 1} ;
( 34) = {Y34 = 1} . Then, the pdf over the possible scenarios defined above
can be modeled by defining the following probability distributions for the random
variables in V : P (X123 = 1) = 0.8 (thus P (X123 = 0) = 0.2); P (X4 = 1) = 1
(thus P (X123 = 0) = 0); P (Y13,23 = 1) = 0.6 (thus P (Y13,23 = 0) = 0.4);
P (Y34 = 1) = P (Y34 = 0) = 0.5. 2
3.4</p>
      </sec>
      <sec id="sec-2-4">
        <title>The Complexity of Reasoning Over prAAFs</title>
        <p>In the probabilistic setting, Extsem(S) and Accsem(a) naturally turn into the
functional problems P-Extsem(S) and P-Accsem(a) of evaluating the
probabilities P sem(S) that S is an extension and P sem(a) that a is acceptable,
respectively. In particular, these probabilities are the sums of the probabilities of the
possible AAFs where these properties hold.</p>
        <p>
          In the complexity analysis performed in [
          <xref ref-type="bibr" rid="ref8">7</xref>
          ], in order to study the sources of
complexity, not only ex, ind and gen were considered, but also ind-a and
indd, two subclasses of gen sharing these restrictions: 1) the variables occurring
in the wsds are boolean; 2) every argument/defeat is associated with a wss
consisting of a unique wsd, where only one variable occurs. These two restrictions
preserve the possibility of specifying correlations of practical importance, such as
XOR relationships and co-existence. Moreover, in ind-a (resp., ind-d), the wss
associated to any argument (resp., defeat) contains a variable occurring nowhere
else, meaning that the arguments (resp., defeats) are independent from the other
terms of the dispute.
        </p>
        <p>sem
ad, st, co, pr
gr
sst</p>
        <p>Accsem(a)</p>
        <p>(from
literature)</p>
        <p>NP-c</p>
        <p>P
⌃ p2-c</p>
        <p>P-Accsem(a)
ind
ex
gen,
ind-a,
ind-d
FP||NP -c</p>
        <p>FP
FP#P -c in FP||⌃ p2 , FP#P -c</p>
        <p>FP||NP -h</p>
        <p>FP||NP -c
ids, ide in ⇥ 2p, coNP-h</p>
        <p>Table 2: Complexity of Accsem(a) and P-Accsem(a)
and gen the possible AAFs are implicitly defined by the marginal probabilities
and the wsss, respectively. Hence, solving a problem over ex may benefit from
saving a “level of exponentiality”, compared with gen or ind.</p>
        <p>Another interesting point is that the presence of di↵erent forms of
correlations has an impact on the complexity of P-Extsem(S) under the admissible
and stable semantics. In fact, in these cases, P-Extsem(S) can be polynomially
solved when defeats are independent, and correlations (in terms of co-existence
and XOR constraints) are expressed between arguments (see column ind-d in
Table 1). Interestingly, switching things, by making arguments independent and
defeats correlated, makes the complexity explode. Observe that this is not implied
by the fact that Extsem(S) is in P under sem 2 { ad, st}. In fact, P-Extsem(S)
over ind-d is F P #P -complete under the complete and the grounded semantics,
under which Extsem(S) is polynomially decidable. As for P-Accsem(a), it is
already F P #P -complete under every semantics over ind. However, the result
that P-Accsem(a) over gen is still in F P #P implies that imposing correlations
does not further increase the complexity.
4</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Visually specifying prAAFs with VisPrAF</title>
      <p>In this section we describe the main features of the VisPrAF GUI that enables
the visual specification of prAAFs. The construction of a prAAF in the
VisPrAF GUI is tightly coupled with the type of the prAAF to be represented. A
preliminary step for the user willing to define a prAAF consists in specifying
the AAF containing all the arguments and the defeats that occur in at least one
scenario. The interface for specifying the AAF is reported in Figure 1(a). The
designer can add arguments and attacks 1, and can specify for each argument
its name and a description. It is possible to remove both arguments and attacks,
and to save/load the AAF. The AAF in Figure 1(a) consists of the arguments
and defeats described in Example 2.</p>
      <p>After drawing the AAF, the user can specify the list of possible scenarios and
the pdf over them. To do this, the user is asked to choose the form of prAAF
he/she intends to use. Four alternative forms are available: ex, ind, gen and
mon*, where mon* is a visually expressible restriction of gen that is described
in the following (Section 4.1). For each form, an ad-hoc interface is provided
to the user, and in what follows we briefly describe the main characteristics of
each interface.</p>
      <p>The interface for ind. The interface for ind displays the AAF defined in the
preliminary step and allows the user to specify the marginal probabilities (thus
obtaining a prAAF of the form ind) by simply clicking on any attack/defeat
and then inserting its probability (see Figure 1(b)).</p>
      <p>The interface for ex. The GUI for specifying a prAAF of type ex is shown
in Figure 2. In this figure, the prAAF admits five alternative scenarios, that are
1 The GUI allows us to specify supports between arguments too. This extension is not
described in the paper.
those described in Example 2. The user can define each scenario by selecting
its arguments and attacks from the AAF defined in the preliminary step, and
can assign a probability to each scenario. The designer is given the possibility to
revise existing scenarios by adding arguments/attacks that were not included in
it (possibly changing the AAF defined in the preliminary step) or by removing
arguments/attacks.</p>
      <p>The interface for gen. The specification of a prAAF of type gen requires the
explicit definition of the set V of the independent random variables that will
occur in the ws-sets and the lambda functions. The variables in V and their
pdfs must be encoded as entries in the so called “world table”: for each variable
x 2 V , and for each value v in the domain of x, the world table contains a triple
(x, v, p) where p is the probability that the value of x is v. The GUI allows the
user to import the AAF defined in the preliminary step (see Figure 3(a)) and
then to define the world table and the lambda functions as shown in Figure 3(b),
that is a screenshot of the final phase of the definition of the prAAF of type gen
of Example 2.</p>
      <p>When inserting a new random variable into the world table, the user is asked
to specify its name and the size of its domain (see Figure 4(a)) along with the
probabilities associated to the values in the domain (see Figure 4(b)). Then, for
each argument/attack in the prAAF, the user is asked to associate it with a
ws-set (see Figure 5(b)), and this is done by specifying the ws-descriptors in it
(see Figure 5(a)).</p>
      <sec id="sec-3-1">
        <title>MON⇤ : a visually expressible restriction of gen</title>
        <p>
          As highlighted in Section 3.3, the form gen exhibits a nice trade-o↵ between
expressiveness and compactness, as its paradigm for encoding the pdf over the
possible AAFs allows any pdf to be represented, while being exponentially more
succinct than ex. Indeed, the price to be paid for this combination of
expressiveness and compactness is the fact that gen may not be user-friendly: the
user must be able to encode the pdf according to the ws-set paradigm, and this
requires to choose and enumerate suitable random variables and to properly
define their probabilities distributions. However, in many situations the entire
expressive power of gen may not be useful: several typical correlations (such as
coexistence and mutual exclusivity) can be expressed without exploiting all the
possibilities provided by the ws-set paradigm. For instance, consider Example 2.
Here, the possible scenarios are those resulting from imposing the co-occurrence
of arguments a1, a2 and a3, and the co-occurrence of defeats 13 and 23. By
looking into the definition of function in Example 2, this can be specified by
associating every argument/defeat with a ws-set satisfying these properties: the
random variables occurring in the ws-descriptors are binary, and every ws-set
consists of exactly one ws-descriptor, that in turn contains exactly one valuation.
It can be shown that these restrictions suce to express also mutual exclusivity
between arguments/defeats [
          <xref ref-type="bibr" rid="ref8">7</xref>
          ]: for instance, in order to specify that there is an
XOR relationship between arguments a and b, it can be set (a) = {{X = 1}}
and (b) = {{X = 0}}, where X is a binary random variable.
        </p>
        <p>In this regard, our contribution is the design and implementation of a GUI
allowing the user to easily define a prAAF satisfying these restrictions of gen.
By means of this GUI, the user can define a prAAF without being asked to
enumerate the scenarios (which is required by the visual interface for ex) and
without being asked to list the random variables, their pdfs and ws-sets (which
is required by the GUI for the unrestricted gen). The user is only asked to edit
the argumentation graph containing all the possible arguments and defeats and
to augment it as follows: arguments and defeats must be enriched with their
marginal probabilities and co-existence and XOR relationships between must be
specified by means of intuitive graphical constructs. The graphical representation
produced by the user is automatically and transparently translated by VisPrAF
into a prAAF of form gen conforming to the “monadicity” described above.
We call mon⇤ the restricted form of gen definable via the GUI provided by
VisPrAF.</p>
        <p>In particular, the augmented graph definable by the user graph has the
following characteristics (see Figure 6):
– the nodes represent the arguments and the arcs the defeats; they are both
labeled with their marginal probabilities;
– nodes and arcs can be pairwise connected by means of red lines labeled with
“AND ” or dashed green lines labeled with “XOR”. AND and XOR lines
denote a co-existence and a XOR relationships between the connected
arguments/defeats, respectively; thus, for arguments/defeats linked by dotted
lines marked with AND or XOR, their probabilities are due to be equal or
complementary, respectively.</p>
        <p>Remarkably, this way of specifying correlations and probabilities resembles
the way of assigning probabilities that is used in ind (which is very user-friendly,
since the user may reason on the probability of each term of the dispute
separately from the others), while allowing common types of correlations to be
specified, thus overcoming a limit in expressiveness of ind.</p>
        <p>Fig. 6 shows how the prAAF of form mon⇤ of Example 2 can be drawn by
means of VisPrAF : the AND lines connecting a1 and a2 with a3 encode the
co-existence of these three arguments, while the XOR line encodes the mutual
exclusivity between the attacks (a1, a3) and (a2, a3). The semantics of the graph
drawn with the GUI is obtained by assuming independence wherever not
explicitly specified through co-existence and XOR constraints. For instance, the
fact that the node a4 in the graph of Figure 6 is connected to no argument
via AND/XOR lines means that argument a4 is independent from all the other
arguments (this independence would hold even if a4’s probability were not 1).
The translation into a prAAF of form mon⇤ is computed by VisPrAF applying
these simple rules: the co-existence constraints are translated into associating
the involved arguments/defeats with the same ws-set, while XOR constraints
into associating the two involved argument/defeats with alternative values of
the same variable. Independent arguments/defeats are instead associated with
ws-sets with distinct variables. The reader can see from the screenshot in Fig. 6
that the translation into a prAAF of the graph drawn by the user is shown by
VisPrAF besides the graph itself: the right-hand side of the window contains
both the world table and the function (mapping arguments/defeats to ws-sets)
automatically computed by VisPrAF.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>The reasoning engine of VisPrAF</title>
      <p>The reasoning engine of VisPrAF comprises a set of algorithms for
supporting the analysis of the dispute modeled by a prAAF. In particular, algorithms
solving the two fundamental problems P-Accsem(a) and P-Extsem(S) are
provided. The algorithms can be invoked from the same GUI used to define the
prAAF: after specifying the details of the prAAF, the user can select a set S
of arguments (resp., a single argument a) and then choose an algorithm in the
library evaluating the probability that S is an extension (resp., a is acceptable).</p>
      <p>The prAAF given as input to the solvers can be of any of the forms ex, ind,
gen, mon⇤ . The input is encoded as an XML document conforming to a specific
DTD, that is the format of the output of the module of VisPrAF providing the
graphical interface for defining a prAAF. Figure 7 reports the DTD describing
the structure of the document encoding a prAAF of the form gen: the root
element ARGUMENTATION contains the element2 BAF, encoding the set of possible
arguments/defeats, and the element GEN, containing the definitions of the world
table and the lambda function associating arguments/defeats with ws-sets.</p>
      <p>
        The algorithms for solving P-Accsem(a) and P-Extsem(S) derive from the
study of complexity presented in [
        <xref ref-type="bibr" rid="ref6 ref8 ref9">8, 5, 7</xref>
        ]. The current implementation contains
mainly algorithms working over the form ind. Polynomial time cases are solved
with ad-hoc strategies. For instance, the algorithm solving P-Extsem(S)
under the complete semantics over ind simply evaluates the closed formula in [
        <xref ref-type="bibr" rid="ref9">8</xref>
        ]
whose terms are the marginal probabilities of the arguments/defeats. For the
hard cases (see Table 1 and Table 2), the algorithms for P-Extsem(S) and
PAccsem(a) work in two phases. First, an “unfolding” phase is performed, where
the pairs hpossible AAF, probability i encoding the alternative scenarios are
enumerated. This phase is straightforward if the input prAAF is of the form ex,
since, in this case, the encoding of the input prAAF already contains the
explicit list of possible AAFs. Then, for each scenario, the decisional counterparts
Versem(S) and Accsem(a) are decided. Finally, the answers of P-Extsem(S)
and P-Accsem(a) are obtained by summing the probabilities of the possible
AAFs where Versem(S) and Accsem(a) turned out to be true, respectively.
      </p>
      <p>
        The library of algorithms is under implementation, and all the semantics
listed in Section 2 are supported. Moreover, the library is currently being
augmented with approximate Monte Carlo-based algorithms for estimating the
probabilities asked by P-Extsem(S) and P-Accsem(a) [
        <xref ref-type="bibr" rid="ref10">9</xref>
        ].
6
      </p>
    </sec>
    <sec id="sec-5">
      <title>Conclusions and future work</title>
      <p>We have presented the main features of VisPrAF, a tool aiming at making the
use of probabilistic abstract argumentation a realistic choice for modeling and
analyzing disputes where the presence of arguments and defeats is characterized
by some uncertainty. VisPrAF is under implementation: at the moment, the
prototype provides a user-friendly visual interface for “drawing” a prAAF and allows
the user to choose the form of prAAF most suitable for her/his needs. VisPrAF
also embeds algorithms for solving the fundamental problems P-Extsem(S) and
P-Accsem(a) behind the reasoning over prAAFs (i.e., evaluating the probability
of extensions and of acceptable arguments): the most popular semantics of
extensions in the literature are considered and di↵erent strategies are implemented
depending on the form of prAAF. Future work will be devoted to introducing
approximate algorithms for enhancing the eciency of the computation of hard
cases of P-Extsem(S) and P-Accsem(a).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Antova</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jansen</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olteanu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Fast and simple relational processing of uncertain data</article-title>
          .
          <source>In: Proc. 24th Int. Conf. on Data Engineering: ICDE, April</source>
          <volume>7</volume>
          -12,
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          <article-title>2 The element is called BAF instead of AAF since it may contain also the specification of supports between arguments, as happens in Bipolar Argumentation Frameworks</article-title>
          .
          <source>Cancu´n, Mexico</source>
          . pp.
          <fpage>983</fpage>
          -
          <lpage>992</lpage>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          2.
          <string-name>
            <surname>Dondio</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Toward a computational analysis of probabilistic argumentation frameworks</article-title>
          .
          <source>Cybernetics and Systems</source>
          <volume>45</volume>
          (
          <issue>3</issue>
          ),
          <fpage>254</fpage>
          -
          <lpage>278</lpage>
          (
          <year>2014</year>
          ). https://doi.org/10.1080/01969722.
          <year>2014</year>
          .894854
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          3.
          <string-name>
            <surname>Dung</surname>
            ,
            <given-names>P.M.</given-names>
          </string-name>
          :
          <article-title>On the acceptability of arguments and its fundamental role in nonmonotonic reasoning, logic programming and n-person games</article-title>
          .
          <source>Artif. Intell</source>
          .
          <volume>77</volume>
          (
          <issue>2</issue>
          ),
          <fpage>321</fpage>
          -
          <lpage>358</lpage>
          (
          <year>1995</year>
          ). https://doi.org/10.1016/
          <fpage>0004</fpage>
          -
          <lpage>3702</lpage>
          (
          <issue>94</issue>
          )
          <fpage>00041</fpage>
          -X
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          4.
          <string-name>
            <surname>Dung</surname>
            ,
            <given-names>P.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thang</surname>
            ,
            <given-names>P.M.:</given-names>
          </string-name>
          <article-title>Towards (probabilistic) argumentation for jury-based dispute resolution</article-title>
          .
          <source>In: Proc. Computational Models of Argument: COMMA, Sept. 8-10</source>
          . pp.
          <fpage>171</fpage>
          -
          <lpage>182</lpage>
          (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          5.
          <string-name>
            <surname>Fazzinga</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Flesca</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Furfaro</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Credulous and skeptical acceptability in probabilistic abstract argumentation: complexity results</article-title>
          .
          <source>Intelligenza Artificiale</source>
          <volume>12</volume>
          (
          <issue>2</issue>
          ),
          <fpage>181</fpage>
          -
          <lpage>191</lpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          6.
          <string-name>
            <surname>Fazzinga</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Flesca</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Furfaro</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Probabilistic bipolar abstract argumentation frameworks: complexity results</article-title>
          .
          <source>In: Proc. Int. Conf. on Artificial Intelligence: IJCAI, July 13-19</source>
          , Stockholm, Sweden. pp.
          <fpage>1803</fpage>
          -
          <lpage>1809</lpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          7.
          <string-name>
            <surname>Fazzinga</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Flesca</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Furfaro</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Complexity of fundamental problems in probabilistic abstract argumentation: Beyond independence</article-title>
          .
          <source>Artif. Intell</source>
          .
          <volume>268</volume>
          ,
          <fpage>1</fpage>
          -
          <lpage>29</lpage>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          8.
          <string-name>
            <surname>Fazzinga</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Flesca</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Parisi</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>On the complexity of probabilistic abstract argumentation frameworks</article-title>
          .
          <source>ACM Trans. Comput. Log</source>
          .
          <volume>16</volume>
          (
          <issue>3</issue>
          ),
          <volume>22</volume>
          :
          <fpage>1</fpage>
          -
          <lpage>22</lpage>
          :
          <fpage>39</fpage>
          (
          <year>2015</year>
          ). https://doi.org/10.1145/2749463
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          9.
          <string-name>
            <surname>Fazzinga</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Flesca</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Parisi</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>On eciently estimating the probability of extensions in abstract argumentation frameworks</article-title>
          .
          <source>Int. J. Approx. Reasoning</source>
          <volume>69</volume>
          ,
          <fpage>106</fpage>
          -
          <lpage>132</lpage>
          (
          <year>2016</year>
          ). https://doi.org/10.1016/j.ijar.
          <year>2015</year>
          .
          <volume>11</volume>
          .009
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          10.
          <string-name>
            <surname>Koch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olteanu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Conditioning probabilistic databases</article-title>
          .
          <source>PVLDB</source>
          <volume>1</volume>
          (
          <issue>1</issue>
          ),
          <fpage>313</fpage>
          -
          <lpage>325</lpage>
          (
          <year>2008</year>
          ). https://doi.org/10.14778/1453856.1453894
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          11.
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Oren</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Norman</surname>
          </string-name>
          , T.J.:
          <article-title>Probabilistic argumentation frameworks</article-title>
          .
          <source>In: Proc. Int. Workshop on Theory and Applications of Formal Argumentation: TAFA, July 16-17</source>
          . pp.
          <fpage>1</fpage>
          -
          <lpage>16</lpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          12.
          <string-name>
            <surname>Rienstra</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Towards a probabilistic dung-style argumentation system</article-title>
          .
          <source>In: Proc. Int. Conf. on Agreement Technologies</source>
          ,
          <string-name>
            <surname>AT</surname>
          </string-name>
          , Dubrovnik, Croatia,
          <source>October 15-16</source>
          . pp.
          <fpage>138</fpage>
          -
          <lpage>152</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          13.
          <string-name>
            <surname>Thimm</surname>
            ,
            <given-names>M.:</given-names>
          </string-name>
          <article-title>A probabilistic semantics for abstract argumentation</article-title>
          .
          <source>In: Proc. European Conf. on Artificial Intelligence: ECAI</source>
          ,
          <string-name>
            <surname>System Demonstrations</surname>
            <given-names>Track</given-names>
          </string-name>
          , Montpellier, France,
          <source>August 27-31</source>
          . pp.
          <fpage>750</fpage>
          -
          <lpage>755</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>