(see (Wu et al. 2022) for a survey). Differently from these
works, we capture two-way interactions.
Some works advocate interactivity in XAI (Paulino-
Passos and Toni 2022), but do not make concrete sugges-
tions on how to support it. Other works advocate dialogues
for XAI (Lakkaraju et al. 2022), but it is unclear how these
can be generated. We contribute to grounding the problem
of generating interactive explanations by a computational
framework implemented in a simulated environment.
3 Preliminaries
A BAF (Cayrol and Lagasquie-Schiex 2005) is a triple
⟨X , A, S⟩ such that X is a finite set (whose elements are ar-
guments), A ⊆ X ×X (called the attack relation) and S ⊆ X ×
X (called the support relation), where A and S are disjoint.
A QBAF (Baroni et al. 2015) is a quadruple ⟨X , A, S, τ ⟩
such that ⟨X , A, S⟩ is a BAF and τ ∶ X → I ascribes base
scores to arguments; these are values in some given I rep-
resenting the arguments’ intrinsic strengths. Given BAF
⟨X , A, S⟩ or QBAF ⟨X , A, S, τ ⟩, for any a ∈ X , we call
{b ∈ X ∣(b, a) ∈ A} the attackers of a and {b ∈ X ∣(b, a) ∈ S}
the supporters of a.
We make use of the following notation: given BAFs B =
⟨X , A, S⟩, B
′
= ⟨X
′
, A
′
, S
′
⟩, we say that B ⊑ B
′
iff X ⊆ X
′
,
A ⊆ A
′
and S ⊆ S
′
; also, we use B
′
∖ B to denote ⟨X
′
∖
X , A
′
∖A, S
′
∖S⟩. Similarly, given QBAFs Q =⟨X , A, S, τ ⟩,
Q
′
=⟨X
′
, A
′
, S
′
, τ
′
⟩, we say that Q ⊑ Q
′
iff X ⊆ X
′
, A ⊆ A
′
,
S ⊆ S
′
and ∀a ∈ X ∩ X
′
(which, by the other conditions, is
exactly X ), it holds that τ
′
(a) = τ (a). Also, we use Q
′
∖Q to
denote ⟨X
′
∖X , A
′
∖A, S
′
∖S, τ
′′
⟩, where τ
′′
is τ
′
restricted
to the arguments in X
′
∖ X .
1
Given a BAF B and a QBAF
Q = ⟨X , A, S, τ⟩, with an abuse of notation we use B ⊑ Q to
stand for B ⊑ ⟨X , A, S⟩ and Q ⊑ B to stand for ⟨ X , A, S⟩ ⊑
B. For any BAFs or QBAFs F , F
′
, we say that F = F
′
iff
F ⊑F
′
and F
′
⊑F , and F ⊏F
′
iff F ⊑F
′
but F ≠F
′
.
Both BAFs and QBAFs may be equipped with a gradual
semantics σ, e.g. as in (Baroni et al. 2017) for BAFs and as
in (Potyka 2018) for QBAFs (see (Baroni, Rago, and Toni
2019) for an overview), ascribing to arguments a dialectical
strength from within some given I (which, in the case of
QBAFs, is typically the same as for base scores): thus, for a
given BAF or QBAF F and argument a, σ(F , a) ∈ I.
Inspired by (de Tarl
´
e, Bonzon, and Maudet 2022)’s use
of (abstract) argumentation frameworks (Dung 1995) of a
restricted kind (amounting to trees rooted with a single ar-
gument of focus), we use restricted BAFs and QBAFs:
Definition 1. Let F be a BAF ⟨X , A, S⟩ or QBAF
⟨X , A, S, τ⟩. For any arguments a, b ∈ X , let a path from
a to b be defined as (c
0
, c
1
), . . . , (c
n−1
, c
n
) for some n > 0
(referred to as the length of the path) where c
0
= a, c
n
= b
and, for any 1 ≤ i ≤ n, (c
i−1
, c
i
) ∈ A ∪ S.
2
Then, for e ∈ X ,
F is a BAF/QBAF (resp.) for e iff i) ∄(e, a) ∈ A ∪ S; ii)
1
Note that B
′
∖B , Q
′
∖Q may not be BAFs, QBAFs, resp., as they
may include no arguments but non-empty attack/support relations.
2
Later, we will use paths(a, b) to indicate the set of all paths
between arguments a and b, leaving the (Q)BAF implicit, and use
∣p∣ for the length of path p. Also, we may see paths as sets of pairs.
∀a ∈ X ∖ {e}, there is a path from a to e; and iii) ∄a ∈ X
with a path from a to a.
Here e plays the role of an explanandum.
3
When inter-
preting the BAF/QBAF as a graph (with arguments as nodes
and attacks/supports as edges), i) amounts to sanctioning
that e admits no outgoing edges, ii) that e is reachable from
any other node, and iii) that there are no cycles in the graph
(and thus, when combining the three requirements, the graph
is a multi-tree rooted at e). The restrictions in Definition 1
impose that every argument in a BAF/QBAF for e are “re-
lated” to e, in the spirit of (Fan and Toni 2015b).
In all illustrations (and in some of the experiments in §7)
we use the DF-QuAD gradual semantics (Rago et al. 2016)
for QBAFs for explananda. This uses I = [0, 1] and:
• a strength aggregation function Σ such that Σ(())=0 and,
for v
1
, . . . , v
n
∈[0, 1] (n ≥ 1), if n = 1 then Σ((v
1
)) = v
1
,
if n = 2 then Σ((v
1
, v
2
)) = v
1
+ v
2
− v
1
⋅ v
2
, and if n > 2
then Σ((v
1
, . . . , v
n
)) = Σ(Σ((v
1
, . . . , v
n−1
)), v
n
);
• a combination function c such that, for v
0
, v
−
, v
+
∈ [0, 1]:
if v
−
≥ v
+
then c(v
0
, v
−
, v
+
) = v
0
− v
0
⋅ ∣ v
+
− v
−
∣ and if
v
−
< v
+
, then c(v
0
, v
−
, v
+
) = v
0
+ (1 − v
0
)⋅ ∣ v
+
− v
−
∣.
Then, for F = ⟨X , A, S, τ ⟩ and any a ∈ X , given
A(a) = {b ∈ X ∣(b, a) ∈ A} and S(a) = { b ∈ X ∣(b, a) ∈
S}, σ(F , a) = c(τ (a), Σ(σ(F , A(a))), Σ(σ(F , S(a))))
where, for any S ⊆ X , σ(F , S) = (σ(F, a
1
), . . . , σ(F, a
k
))
for (a
1
, . . . , a
k
), an arbitrary permutation of S.
4 Argumentative Exchanges (AXs)
We define AXs as a general framework in which agents ar-
gue with the goal of conflict resolution. The conflicts may
arise when agents hold different stances on explananda. To
model these settings, we rely upon QBAFs for explananda
as abstractions of agents’ internals. Specifically, we as-
sume that each agent α is equipped with a QBAF and a
gradual semantics (σ): the former provides an abstraction
of the agent’s knowledge/reasoning, with the base score
(τ) representing biases over arguments; the latter can be
seen as an evaluation method for arguments. To reflect the
use of QBAFs in our multi-agent explanatory setting, we
adopt this terminology (of biases and evaluation methods)
in the remainder. Intuitively, biases and evaluations repre-
sent agents’ views on the quality of arguments before and
after, resp., other arguments are considered. For illustra-
tion, in the setting of Figure 1, biases may result from ag-
gregations of votes from reviews for the machine and from
personal views for the human, and evaluation methods allow
the computation of the machine/human stance on the recom-
mendation during the interaction (as in (Cocarascu, Rago,
and Toni 2019)). Agents may choose their own evaluation
range for measuring biases/evaluating arguments.
Definition 2. An evaluation range I is a set equipped with a
pre-order ≤ (where, as usual x < y denotes x ≤ y and y ≰ x)
such that I = I
+
∪ I
0
∪ I
−
where I
+
, I
0
and I
−
are disjoint and
for any i ∈ I
+
, j ∈ I
0
and k ∈ I
−
, k < j < i. We refer to I
+
, I
0
and I
−
, resp., as positive, neutral and negative evaluations.
3
Other terms to denote the “focal point” of BAFs/QBAFs could
be used. We use explanandum given our focus on the XAI setting.
Proceedings of the 20th International Conference on Principles of Knowledge Representation and Reasoning
Main Track
584