On the Complexity of Enumerating the Extensions of
Abstract Argumentation Frameworks
Markus Kr
¨
oll, Reinhard Pichler, and Stefan Woltran
TU Wien, Austria
{kroell, pichler,woltran}@dbai.tuwien.ac.at
Abstract
Several computational problems of abstract argu-
mentation frameworks (AFs) such as skeptical and
credulous reasoning, existence of a non-empty ex-
tension, verification, etc. have been thoroughly an-
alyzed for various semantics. In contrast, the enu-
meration problem of AFs (i.e., the problem of com-
puting all extensions according to some semantics)
has been left unexplored so far. The goal of this pa-
per is to fill this gap. We thus investigate the enu-
meration complexity of AFs for a large collection
of semantics and, in addition, consider the most
common structural restrictions on AFs.
1 Introduction
Within the area of Artificial Intelligence, argumentation has
become one of the major fields over the last two decades
[
Rahwan and Simari, 2009; Bench-Capon and Dunne, 2007
]
.
Its most prominent approach is given by abstract argumen-
tation frameworks (AFs) due to Dung
[
1995
]
, a simple, yet
powerful formalism for modeling and deciding problems that
are integral to various advanced argumentation systems, see
e.g.
[
Caminada and Amgoud, 2007
]
. In AFs one abstracts
away from the actual contents of arguments and from the
concrete reason of conflicts. Many different semantics have
been proposed in the literature to define the set of possible
extensions of an AF each representing a coherent set of
arguments that “jointly survive” the conflicts given by the
AF. In contrast to other communities, the multitude of se-
mantics is seen as a virtue of formal argumentation rather
than a weakness and thus a significant amount of research
has been done in order to understand particular features
of the available semantics, see e.g.
[
Baroni et al., 2011a;
Dunne et al., 2015
]
.
Also several computational problems of AFs have been
thoroughly analyzed such as skeptical and credulous reason-
ing, existence of a non-empty extension, and the verification
problem
[
Dimopoulos and Torres, 1996; Dunne and Bench-
Capon, 2002; Dvo
ˇ
r
´
ak and Woltran, 2010; Gaggl and Woltran,
2013; Dvo
ˇ
r
´
ak and Gaggl, 2016; Baroni et al., 2011b
]
. Since
these problems tend to be intractable for most semantics,
structural restrictions on the AFs have been investigated and
their potential for reducing the complexity of the aforemen-
tioned problems has been pinpointed
[
Coste-Marquis et al.,
2005; Dunne, 2007
]
. For an overview on complexity results,
see also
[
Dvo
ˇ
r
´
ak, 2012
]
. The only complexity analysis we
are aware of that goes beyond decision problems is about the
counting complexity for AFs
[
Baroni et al., 2010
]
.
In 2015, the first edition of the International Competition
on Computational Models of Argumentation (ICCMA) took
place and compared the performance of 18 submitted solvers
in terms of skeptical and credulous reasoning, finding one ex-
tension, and enumerating all extensions
[
Thimm et al., 2016
]
.
For the next edition of ICCMA
1
, in total seven semantics will
be considered. This not only shows the increasing interest
in solvers that are capable of dealing with multiple seman-
tics, but also witnesses that the enumeration problem is in-
deed considered to be important by the community. How-
ever, in contrast to the detailed picture of the complexity of
decision problems, the enumeration complexity has been left
unexplored so far.
Formal tools for the complexity analysis of enumeration
problems date back to
[
Johnson et al., 1988
]
and have been
further refined in recent years
[
Strozecki, 2010; Creignou et
al., 2013
]
. In particular, several notions of tractability have
been introduced, since a complexity classification of enumer-
ation problems has to take the size of the output into account.
The interest in enumeration problems spans various fields,
with some of the most prominent and natural examples com-
ing from the database area: in query answering, one is typ-
ically interested in obtaining all answers to a query rather
than asking if some answer exists. See
[
Bulatov et al., 2012;
Kazana and Segoufin, 2013; Durand et al., 2014; Kr
¨
oll et al.,
2016
]
for recent works along this line. Enumeration complex-
ity of graph problems has been studied by Goldberg
[
1991
]
.
As emphasized above, enumeration is a central task for ar-
gumentation systems and, in order to understand their ade-
quacy from a complexity theoretic point of view, a systematic
study of the enumeration problem of AFs is needed. It is ex-
actly the goal of this paper to provide such an analysis.
Main Contributions. We investigate the enumeration com-
plexity for a total number of 11 multiple-status semantics and,
in addition, consider 5 common structural restrictions on AFs,
namely bipartite AFs, symmetric AFs (with or without the ad-
1
http://www.dbai.tuwien.ac.at/iccma17/
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
1145
ditional restriction of irreflexivity), AFs without even cycles,
and implicitly also acyclic AFs. Our main result is a complete
picture of the complexity of the enumeration problem of AFs
for all these semantics for unrestricted AFs and for AFs with
the above listed restrictions. We thus provide an exact sep-
aration between tractable and intractable enumeration for all
the resulting 66 settings.
Structure. After this introduction, we recall the most rele-
vant basic definitions on abstract argumentation frameworks
and on enumeration problems in Section 2. In Section 3, we
present an overview of our results. The proof strategy and the
main proof ideas will be presented in Section 4. We conclude
with Section 5.
2 Background
Abstract argumentation. We first recall some fundamental
concepts related to abstract argumentation frameworks (AFs).
This will enable us, in Table 1, to give concise definitions of
the various semantics of AFs studied in this work.
Formally, an AF is a directed graph (A, R) where A is a
finite set of arguments and R A × A is the attack relation.
Given an AF F = (A, R), we define S
+
F
= {a | s S :
(s, a) R}, S
F
= {a | s S : (a, s) R} and S
F
=
S S
+
F
. The characteristic function F
F
of AF F is defined
as F
F
: 2
A
2
A
with F
F
(S) = {a A | {a}
F
S
+
F
}.
A full resolution β of F is a subset β R such that for any
two distinct arguments a, b A with {(a, b), (b, a)} R,
exactly one of (a, b) and (b, a) is contained in β. We write
γ(F ) to denote the set of all full resolutions of F . For
S A, we write F |
S
for the restriction of F to S, i.e.,
F |
S
= (A S, R (S × S)). By SCCs(F ) we denote
the strongly connected components of the directed graph F .
For a A, let C
F
(a) denote the strongly connected com-
ponent containing a, i.e., C
F
(a) SCCs(F ) unique with
a C
F
(a). An argument b A is called component-
defeated by S (in F), if there exists a S with (a, b) R and
a 6∈ C
F
(b). We write D
F
(S) to denote the set of arguments
component defeated by S.
For a set of sets M, we write min(M) to denote the set
of inclusion-minimal sets in M and max(M) for the set of
inclusion-maximal sets in M.
The semantics of an AF is defined in terms of coherent sets
of arguments (so-called “extensions”) that jointly survive the
conflicts given by the AF. In this work, we study the following
semantics
[
Dung, 1995; Verheij, 1996; Caminada et al., 2012;
Baroni et al., 2011b; 2005; Dvo
ˇ
r
´
ak and Gaggl, 2016
]
, which
are defined via the extensions of a given AF F : the set
of conflict-free sets cf (F ), naive sets naive(F ), admissi-
ble extensions adm(F), preferred extensions pref (F), sta-
ble extensions stable(F ), complete extensions comp(F ),
semi-stable extensions semi (F ), stage extensions stage(F ),
resolution-based grounded extensions resGr(F ), stage2 ex-
tensions stage2 (F ), and cf2 extensions cf2 (F ). The formal
definitions are given in Table 1. Note that all semantics are
multiple-status, i.e. they provide in general more than one ex-
tension. We will also occassionally refer to the grounded ex-
tension of an AF F , denoted by grd(F); recall that this ex-
cf (F ) = {S A | a, b S, (a, b) 6∈ R}
naive(F ) = max(cf (F ))
adm(F ) = {S cf (F ) | S F
F
(S)}
pref (F ) = max(adm(F ))
stable(F ) = {S adm(F) | S
F
= A}
comp(F) = {S adm(F) | F
F
(S) S}
semi(F ) = {S adm(F ) | T A :
if S
F
T
F
then T 6∈ adm(F )}
stage(F ) = {S cf (F ) | T A :
if S
F
T
F
then T 6∈ cf (F )}
resGr (F ) = min
[
βγ(F )
min(comp((A, R \ β))
S stage2 (F ) iff:
in case |SCCs(F)| = 1: S stage(F)
else: C SCCs(F ), (S C) stage2 (F |
C\D
F
(S)
)
S cf2 (F ) iff:
in case |SCCs(F)| = 1: S naive(F)
else: C SCCs(F ), (S C) cf2 (F |
C\D
F
(S)
)
Table 1: Semantics of AFs, given F = (A, R).
tension is unique for each AF. Formally, grd (F ) is given by
the subset-minimal complete extension of F.
Several decision problems on AFs have been investigated
in the literature. We briefly recall the complexity classifica-
tion of two of the most prominent decision problems defined
as follows: given an AF F , semantics σ, and argument a, de-
cide whether a is contained (i) in at least one σ-extension of
F (credulous reasoning); (ii) in all σ-extensions of F (skepti-
cal reasoning). Both problems are tractable for cf and naive,
and skeptical reasoning is tractable for comp and trivial for
adm (since adm(F ) for any AF). Credulous reasoning
is NP-complete for adm, pref , stable, comp, resGr, and
cf2 , and Σ
P
2
-complete for semi, stage and stage2 . Skepti-
cal reasoning is coNP-complete for stable, resGr, and cf2
and Π
P
2
-complete for pref , semi , stage and stage2 ; see e.g.
[
Dvo
ˇ
r
´
ak, 2012; Dvo
ˇ
r
´
ak and Gaggl, 2016
]
for further details.
Enumeration problems and their complexity. An enumer-
ation problem is a pair (L, Sol) such that L Σ
(for an
alphabet Σ containing at least two symbols) and Sol: Σ
2
Σ
is a function such that for all x Σ
, we have that Sol(x)
(the set of “solutions”) is finite and Sol(x) = iff x / L.
An enumeration algorithm A for an enumeration problem
P = (L, Sol) is an algorithm which, on input x, outputs ex-
actly the elements from Sol(x) without duplicates. We denote
the output of algorithm A on x by A(x).
As far as the computation model of enumeration algo-
rithms is concerned, it is common (cf.
[
Strozecki, 2010
]
) to
use the RAM model. This is motivated by the fact that a RAM
can access parts of exponential-size data in polynomial time.
As we will see below, this may be needed to efficiently detect
(and avoid the output of) duplicates. We restrict ourselves to
polynomially bounded RAM machines, i.e., the size of each
register is polynomially bounded in the size of the input.
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
1146
Let A be an enumeration algorithm for some problem P.
For an input x, let n = |A(x)|. For 0 i n, we define
delay(i) as follows: delay(0) (“preprocessing”) is the time
between the start of the algorithm and the first output (or ter-
mination of A, if n = 0). For 0 < i < n, delay(i) is the time
between outputting solution i and (i + 1). Finally, delay(n)
is the time between the last output and the termination of A.
Several notions of tractability have been proposed in
the literature
[
Johnson et al., 1988; Creignou et al., 2013;
Strozecki, 2010
]
. We recall the two most relevant ones for
our purposes below, namely DelayP (“polynomial delay”)
and OutputP (“output-polynomial time”). Alternatively, the
latter class is sometimes referred to as TotalP (“total polyno-
mial time”)
[
Strozecki, 2010
]
.
The classes DelayP and OutputP are defined as follows.
Let P = (L, Sol) be an enumeration problem.
P OutputP, if there exists an enumeration algorithm
A for P and some m N, such that on every input x,
algorithm A terminates in time O((|x| + |Sol(x)|)
m
).
P DelayP, if there exists an enumeration algorithm A
for P and some m N, such that on every input x and
for every i {0, . . . , |Sol(x)|}, delay (i) is in O(|x|
m
).
Clearly, DelayP OutputP holds. This inclusion can be
seen as follows: suppose that an enumeration algorithm A
for some problem P works with delay O((|x|
m
)) for some
m 1. Moreover, let N = |Sol(x)|. Then the total time of A
to output all solutions for input x is O((N +1)|x|
m
). Recall
that the factor (N + 1) rather than N is needed for the time
between the last output and termination of A. For N = 0,
we have O((N + 1) |x|
m
) = O(|x|
m
) = O((N + |x|)
m
).
For N > 0, the sequence of equalities O((N + 1) |x|
m
) =
O(N |x|
m
) = O((N + |x|)
m
0
) with m
0
= m + 1 holds,
which proves the desired OutputP-membership of P.
Hence, membership in DelayP is the stronger tractability
result, which entails membership in OutputP. Conversely,
the stronger intractability result is to show that a problem
is not in OutputP (under the common assumption that P 6=
NP), which entails non-membership in DelayP.
Note that membership in DelayP does not impose a restric-
tion on the space consumption of an enumeration algorithm.
More specifically, a DelayP algorithm may require the con-
struction of an index structure for the already found solutions
to avoid the output of duplicates. Hence, if there are exponen-
tially many solutions, this index structure and, therefore, the
space consumption of the algorithm may become exponen-
tial. We will use the notation DelayP
P
to refer to the class of
enumeration problems which can be enumerated with poly-
nomial delay using only polynomial space. In contrast, when
we state DelayP membership of a problem, this means that
the enumeration may potentially use exponential space.
3 Overview of Results
The overall goal of this work is to study the complexity of
the enumeration problem of abstract argumentation under the
various semantics recalled in the previous section. We denote
by EnumExt(C, σ) the enumeration problem of σ-extensions
C
0
C
bip
C
sym
C
(ir,sym)
C
noev
cf DelayP
P
naive DelayP
P
adm nOP DelayP DelayP
P
DelayP
pref nOP DelayP
P
trivial
stable nOP nOP DelayP
P
trivial
comp nOP DelayP
P
trivial
semi nOP nOP DelayP
P
trivial
stage nOP nOP DelayP
P
nOP
resGr DelayP
P
stage2 nOP nOP DelayP
P
nOP
cf2 DelayP
P
Table 2: Summary of tractability/intractability results. Entry
means that hardness carries over from some special case.
means that membership carries over from a more general case.
of argumentation frameworks in a class C of AFs. An algo-
rithm for the EnumExt (C, σ) problem thus takes F C as
input and outputs σ(F ).
Recall from Section 2 that, for most of the semantics σ con-
sidered here, the principal decision problems such as credu-
lous and skeptical reasoning are intractable. Consequently,
several structural restrictions on the AFs have been studied
in the literature. In this work, we study three of the most
commonly used subclasses of AFs, namely: the restrictions
to bipartite graphs, to symmetric graphs and to graphs with-
out even cycles. As far as the restriction to symmetric graphs
is concerned, one has often imposed the further restriction of
irreflexivity, see e.g.
[
Coste-Marquis et al., 2005
]
. In total,
we thus consider the following 5 classes of AFs: AFs without
any restrictions (which we will denote as C
0
), AFs restricted
to bipartite graphs (denoted as C
bip
), irreflexive, symmetric
AFs (denoted as C
(ir,sym)
), symmetric AFs without irreflexiv-
ity restriction (denoted as C
sym
), and AFs restricted to graphs
with no even cycles (denoted as C
noev
).
Our results are summarized in Table 2. Each of the 11 se-
mantics is treated in a separate row. We then have 5 columns
for the 5 classes of AFs mentioned above. Table 2 pro-
vides a complete complexity classification of the enumera-
tion problem separating the tractable cases (marked with
one of the entries DelayP”, DelayP
P
or “trivial”) from the
intractable ones (marked with “nOP”, which is short for “not
in OutputP under the common assumption that P 6= NP).
Clearly, if tractability even holds in the unrestricted case
(e.g. for cf semantics), then tractability propagates to the re-
stricted cases. Likewise, tractability for AFs in C
sym
(e.g.,
for pref semantics) carries over to AFs in C
(ir,sym)
. We mark
this with the entry in Table 2. Conversely, if at least one
of the restricted cases is intractable, then intractability prop-
agates to the unrestricted case. We mark this with the entry
”. The cases where the structural restriction causes the
semantics to have at most one nonempty extension (namely
the grounded extension, which can always be computed effi-
ciently) are marked with “trivial”.
When filling in the remaining entries in Table 2, we can
make use of further dependencies between the different cases.
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
1147
In particular, under various restrictions, some of the seman-
tics coincide. For instance, in symmetric AFs, every conflict-
free extension is admissible. Hence the DelayP
P
-membership
of enumerating admissible extensions in case of symmetric
AFs requires no separate proof. Similarly, for bipartite AFs,
every preferred extension is stable. Hence, the intractabil-
ity of enumerating stable extensions in case of bipartite AFs
carries over to preferred extensions. To distinguish the en-
tries in Table 2 which require a separate proof from the ones
which follow by the collapse of different semantics in some
restricted case, we display the former results in boldface.
Note that the restriction to acyclic graphs, which has also
been used in the literature to achieve tractability of decision
problems, is implicitly covered by our results: First, since
acyclic AFs are a special case of AFs without even cycles, all
the tractability results of the latter case carry over to acyclic
AFs. Moreover, the only intractable cases for AFs without
even cycles are stage and stage2 semantics. However, for
acyclic AFs, these two coincide with grounded semantics (cf.
[
Dvo
ˇ
r
´
ak and Gaggl, 2016
]
), which is a trivially tractable case.
4 Proof Strategy and Main Proof Ideas
Before we start discussing the various entries in Table 2, we
define the decision problem ManySol(P), which is strongly
related to an enumeration problem P. For an arbitrary enu-
meration problem P = (L, Sol), it is defined as follows:
ManySol(P): Given x L and a positive integer m in
unary notation, is |Sol(x)| m?
The following property of the ManySol problem will make it
a useful tool for our intractability proofs.
Proposition 1. Let P = (L, Sol) be an enumeration problem.
If ManySol(P) 6∈ P, then P 6∈ OutputP.
Proof Sketch. Let P = (L, Sol) be an enumeration problem.
We prove the contrapositive, i.e., assume that P OutputP.
We have to show that then ManySol(P) P also holds. By
P OutputP, there is an algorithm A computing A(x) =
Sol(x) for any x L in time p(|x| + |Sol(x)|) for some poly-
nomial p. Let x L, m 0. Then we can decide whether
|Sol(x)| m as follows: we run algorithm A on input x for
at most s = p(|x| + m) many steps. If the algorithm ter-
minates before s many steps, it outputs Sol(x) and we can
check whether |Sol(x)| m. If A has not terminated after s
many steps, we must have that |Sol(x)| > m as A produces
an output after p(|x| + |Sol(x)|) computational steps.
Since m is given in unary, the size of the input to the
ManySol problem equals |x|+m. Hence, we have shown that
ManySol(P) can indeed be decided in polynomial time.
The following decision problem, which is parameterized
by a semantics σ, is a special case of ManySol(P), provided
that σ is guaranteed to have the empty set as an extension.
Exists
¬∅
σ
: Given an AF F = (A, R), does there exist a
set 6= S A with S σ(F )?
The following property is an immediate consequence of
Proposition 1.
Corollary 1. Let σ be a semantics such that σ(F ) for all
AFs F and let C be a class of AFs. If Exists
¬∅
σ
6∈ P for AFs
restricted to C, then EnumExt (C, σ) 6∈ OutputP.
We are now ready to present the main proof ideas of the
results summarized in Table 2. To this end, we inspect one
column of the table after the other.
Unrestricted AFs. First consider the complexity of enumer-
ating conflict-free and naive extensions. For an AF F =
(A, R), S A is a (maximal) conflict-free set iff it is a (max-
imal) independent set in the corresponding undirected graph.
It was shown in
[
Johnson et al., 1988
]
that the maximal inde-
pendent sets can be enumerated in DelayP
P
. The same result
holds for enumerating all independent sets. Hence, we get
EnumExt(C
0
, σ) DelayP
P
with σ {naive, cf }.
The tractability result for cf2 semantics is obtained by ap-
plying standard algorithms for recursively enumerating ex-
tensions, see e.g.
[
Cerutti et al., 2014
]
.
Theorem 1. EnumExt(C
0
, cf2 ) DelayP
P
holds.
Proof Sketch. Let F = (A, R) with strongly connected com-
ponents S
1
, . . . , S
m
A. W.l.o.g., assume that S
1
, . . . , S
n
are the bottom components for some n m, i.e. strongly
connected components without an incoming edge from an-
other component. By the definition of cf2, every naive ex-
tension on a bottom component is part of some S cf2 (F ).
As for each such bottom component the naive extensions are
enumerable with polynomial delay using polynomial space,
we can fix some naive set N
i
S
i
for 1 i n. Next we
get rid of the arguments of the bottom components S
1
=
S
S
i
and the ones which are component defeated by N
1
=
S
N
i
,
resulting in the AF F
1
= F |
A\(S
1
∪N
1
)
. As before, we choose
a naive extension for every bottom component of F
1
, thus
again obtaining a union of naive extensions N
2
. After repeat-
ing this process at most k many times for some k |A|, we
have that F
k
6= and F
k+1
= . Then S =
S
k
i=1
N
i
is a cf2
extension of F. By selecting a single different naive exten-
sion of a bottom component of some F
j
, the same procedure
obtains an S
0
cf2 (F ) with S
0
6= S. Through backtrack-
ing, we can thus enumerate all extensions S cf2 (F ) with
polynomial delay using polynomial space.
It only remains to establish the tractability of resGr and
the intractability of adm semantics, since for all further se-
mantics, the intractability in the unrestricted case carries over
from the intractability of some restricted case.
For resGr , an enumeration algorithm is given in
[
Baroni et
al., 2011b, Algorithm 2
]
. This algorithm can be refined to an
algorithm with polynomial delay using polynomial space by
making use of an algorithm for maximal independent sets and
backtracking. For adm, we recall that the Exists
¬∅
adm
problem
is NP-complete, which follows from results in
[
Dimopoulos
and Torres, 1996
]
. Hence, by Corollary 1, we may conclude
that EnumExt(C
0
, adm) 6∈ OutputP holds unless P = NP.
Bipartite AFs. We first inspect the tractability for adm se-
mantics. It is easy to verify that, given an admissible set S
in a bipartite AF F = (A
1
A
2
, R), the restrictions S A
1
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
1148
and S A
2
are also admissible. The crucial properties of bi-
partite AFs used here are that, for i {1, 2}, all subsets of
A
i
are conflict-free and all defenders of an argument in A
i
must also be in A
i
. To compute all admissible sets of F , we
have to find the sets A
i
of admissible subsets of A
i
for each
i {1, 2} separately and then find all conflict-free combina-
tions S
1
S
2
with S
i
A
i
. For the computation of A
i
, the
following lemma, which holds for arbitrary AFs, is crucial.
Lemma 1. Given an AF (A, R) and a conflict-free set M
A, enumerating all admissible subsets S M is in DelayP.
Proof Sketch. It is shown in
[
Dunne et al., 2013, Lemma 1
]
that, given a conflict-free set M A, there exists a unique
maximal admissible subset S
M, which can be com-
puted in polynomial time. Then the desired algorithm for
enumerating all admissible subsets of M works as follows:
we maintain two queues P and Q of admissible sets, such
that P contains the already printed and processed ones while
Q contains those which have been found but not printed and
processed yet. Initially, P = and Q = {S
}. As long as
Q is not empty, we take an element from Q, output it and
search recursively for admissible subsets of S \ {x} for each
x S. For every admissible set S
0
thus found, we check if
S
0
6∈ P Q and, if so, add it to Q.
The correctness of this algorithm is easy to verify. The
polynomial delay can be seen as follows: the already found
extensions have to be organized in some index structure.
In principle, any balanced search tree formalism (e.g., AVL
trees) can be used. Yet simpler, we can arrange extensions
of an AF with n arguments in a binary tree of depth n where
each leaf node (or, equivalently, each path from the root to a
leaf) represents an already found extension. A node at depth
i is either labelled with a
i
in” or with a
i
out” depending
on whether argument a
i
is contained in the extension or not.
Checking if the current extension is new and extending the
tree in case it is, can thus be done in time O(n).
Note that Lemma 1 only states DelayP membership rather
than DelayP
P
membership. Indeed, the algorithm in the proof
of Lemma 1 crucially depends on an index structure of all
the already found solutions to avoid the output of duplicates.
Hence, if there are exponentially many solutions, the space
requirement of the algorithm becomes exponential as well.
Theorem 2. EnumExt(C
bip
, adm) DelayP holds.
Proof Sketch. Consider a bipartite AF F = (A
1
A
2
, R).
Then each of the two sets A
i
is conflict-free. As mentioned in
the proof of Lemma 1, we can thus compute the unique max-
imal admissible set S
i
A
i
efficiently by applying
[
Dunne
et al., 2013, Lemma 1
]
. In principle, using our Lemma 1
above, we could compute with polynomial delay the set A
i
of all admissible subsets of A
i
and finally check each pair
(S
1
, S
2
) A
1
× A
2
for conflict-freeness to find and output
all admissible sets S
1
S
2
with elements from both sides A
1
and A
2
. However, the challenge with bipartite AFs is that
there may exist exponentially many pairs (S
1
, S
2
) but only a
small number of them yields a conflict-free set S
1
S
2
.
Hence, we have to be careful to get an overall enumera-
tion algorithm which works in polynomial delay. The solu-
tion to overcome this problem is an interleaved output of the
admissible subsets S
i
of A
i
with i {1, 2} and of admissible
subsets of the form S
1
S
2
:
Whenever an admissible subset S
1
A
1
is processed,
we search recursively for the maximal admissible subsets of
S
1
\ {x} for each x S
1
as in the proof sketch of Lemma 1
and, moreover, we also search for all admissible subsets
S
2
A
2
such that S
1
S
2
is conflict-free. For the latter
task, we first compute M A
2
containing all arguments that
have no conflict with S
1
. Clearly M is conflict-free, since it
only has arguments from one side of the bipartite AF. We can
then find all admissible subsets S
2
M with polynomial de-
lay by Lemma 1. For every S
2
thus found, we output S
1
S
2
.
Note that in this way also all admissible subsets S
1
A
1
are output (namely when we combine S
1
with S
2
= ) and
also admissible subsets S
2
A
2
are output (namely when we
combine S
2
with S
1
= ), since is guaranteed to be among
the admissible subsets of A
1
and A
2
, respectively.
Before we switch to intractability, we recall that the stable,
stage, semi, and pref semantics all coincide for bipartite
AFs. This follows from the fact that bipartite AFs are odd-
cycle free, hence stable and pref coincide; this also guar-
antees the existence of a stable extension which implies that
stable, semi-stable and stage extensions coincide. Hence, to
prove the intractability results of bipartite AFs in Table 2,
it suffices to consider the stable, stage2 , and comp seman-
tics. To this end, we first recall the following definition. Let
G = (V, E) be a directed graph and K V . Then K is
called a kernel of G, if K is an independent dominating set,
i.e. the nodes in K are pairwise non-adjacent and for every
v V \K there exists a k K with (k, v) E. As shown by
Dimopoulos et al.
[
1997
]
it is NP-complete to decide whether
a given graph has more than two kernels and that this prob-
lem remains NP-complete even if the graphs are restricted to
bipartite graphs with a single SCC. Building upon this result,
we prove the following intractability results for bipartite AFs.
Theorem 3. Let σ {stable, comp, stage2 }.
Then EnumExt(C
bip
, σ) 6∈ OutputP holds unless P = NP.
Proof Sketch. stable”. Clearly, for an AF F = (A, R),
S A is a stable extension iff it is a kernel in the corre-
sponding graph. This means that for the class C
bip
of AFs and
stable semantics, the ManySol problem is NP-hard. Hence
EnumExt(C
bip
, stable) 6∈ OutputP by Proposition 1.
stage2 ”. Since stable and stage semantics coincide for bi-
partite AFs, the enumeration of stage extensions shares the
hardness of stable ones. Since the underlying NP-hardness
results for kernels holds even for bipartite graphs with a sin-
gle SCC, we also have EnumExt(C, stage2 ) 6∈ OutputP.
comp”. We can use the reduction of the NP-hardness proof
in
[
Dimopoulos et al., 1997
]
to show that for the class C
bip
of
AFs and comp semantics, the ManySol problem is NP-hard.
Instead of kernels, satisfying truth assignments correspond to
non-trivial complete extensions, which are subsets of the non-
trivial kernels of the bipartite graph.
Symmetric AFs. In symmetric AFs, every argument defends
itself against any attacks. Hence, cf and adm semantics coin-
cide and so do naive and pref semantics. The DelayP
P
mem-
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
1149
bership of cf and naive semantics thus carries over to adm
and pref semantics. For cf2 , and resGr, DelayP
P
member-
ship carries over from the unrestricted case. For the remain-
ing semantics, no collapse with an already shown tractable
case occurs in case of symmetric AFs. Indeed, for the follow-
ing semantics, we can show intractability:
Theorem 4. Let σ {stable, stage, semi , stage2 }.
Then EnumExt(C
sym
, σ) 6∈ OutputP holds unless P = NP.
Proof Sketch. In
[
Dvo
ˇ
r
´
ak, 2012
]
it was shown that for an ar-
bitrary AF F one can construct in polynomial time a symmet-
ric AF F
0
with self-loops such that stage(F ) = stage(F
0
) =
semi(F
0
) and stable(F) = stable(F
0
). In other words, the
problem of enumerating the stage extensions of an arbitrary
AF F can be reduced to the problem of enumerating the stage
(resp. semi-stable) extensions of a symmetric AF F
0
C
sym
.
Likewise, the problem of enumerating the stable extensions
of an arbitrary AF F can be reduced to the problem of enu-
merating the stable extensions of a symmetric AF F
0
C
sym
.
This means that EnumExt(C
sym
, σ) 6∈ OutputP holds for
σ {stage, stable, semi } unless P = NP.
For stage2, we observe that the aforementioned reduction
from F to F
0
preserves strong connectivity. Using the AF
F to be constructed in the proof of Theorem 7, we have
that stage(F ) = stage(F
0
) = stage2 (F
0
), thus proving in-
tractability also for EnumExt(C
sym
, stage2 ).
It only remains to consider comp semantics. To study this
case, we define the following decision problem:
ExtSolComplete Given an AF F = (A, R) and sets of
arguments I, O A, is there some S comp(F ) with
I S and O S = ?
While this problem is intractable for arbitrary AFs, it can
be shown tractable for comp semantics over symmetric AFs.
Lemma 2. ExtSolComplete is in P for symmetric AFs.
Proof Sketch. Intuitively, I (resp. O) contains the arguments
that we want to be in (resp. out). A polynomial time algorithm
A for solving this decision problem works as follows: On
input F = (A, R) and I, O A, we first check whether I
cf (F ). If this is not the case then A ends in a rejecting state;
otherwise, we compute the minimal fixpoint S of F
F
such
that I S holds. Since, for symmetric AFs, conflict-free
sets are admissible, S is the minimal complete set containing
I. So A accepts the input iff S O = .
Similarly to algorithms in
[
Creignou and H
´
ebrard, 1997
]
and
[
Kr
¨
oll et al., 2016
]
, we can use algorithm A for ExtSol-
Complete from Lemma 2 to design an efficient enumeration
algorithm for complete extensions on symmetric AFs.
Theorem 5. EnumExt(C
sym
, comp) DelayP
P
holds.
Proof Sketch. Let F = (A, R) with A = {a
1
, . . . , a
n
}. The
idea of the enumeration algorithm is the following: We ex-
tend single arguments to complete extensions successively,
by repeatedly adding arguments to such partial extensions as
well as fixing a set of arguments that cannot be added to such
partial extensions. Starting with the argument a
1
, the enumer-
ation algorithm first obtains the answers of algorithm A from
Lemma 2 on input (F, {a
1
}, {}) and (F, {}, {a
1
}). For every
input = (F, I
, O
) accepted by A we add a
2
to either I
or O
resulting in two new inputs
1
= (F, I
{a
2
}, O
)
and
1
= (F, I
, O
{a
2
}). Repeating this n times, we
obtain all complete extensions I
for inputs of A such that
A accepts and I
O
= {a
1
, . . . , a
n
}. By a depth-first
computation and backtracking, this enumeration can be done
with polynomial delay using polynomial space.
Irreflexive, symmetric AFs. We now consider AFs which
are symmetric and irreflexive. Clearly, all tractability re-
sults carry over from symmetric AFs. It remains to consider
those cases, for which the enumeration problem of symmetric
AFs with self-loops is intractable. The restriction to irreflex-
ive, symmetric AFs implies that stable and preferred seman-
tics coincide
[
Coste-Marquis et al., 2005
]
. Hence, DelayP
P
-
membership of pref semantics carries over to stable, and
consequently to semi and stage semantics (since we are guar-
anteed that a stable extension exists). Finally, stage2 and
stage extensions coincide, since in symmetric AFs different
components are not connected at all. Hence, we also have
DelayP
P
-membership for stage2 semantics.
No-even AFs. Let F = (A, R) be an AF without even cycles.
As shown in
[
Dunne and Bench-Capon, 2001
]
, the grounded
extension S A is the only complete (and also preferred and
semi-stable) extension and is computable in polynomial time.
Moreover, S is the only candidate for a stable extension and
we can test whether S stable(F ) efficiently. Hence, for any
of the semantics stable, pref , comp, and semi, the enumera-
tion problem becomes trivial. It remains to consider the adm,
stage, and stage2 semantics. Below, we show that adm leads
to tractability while the latter two lead to intractability.
Theorem 6. EnumExt(C
noev
, adm) DelayP holds.
Proof Sketch. For AF F C
noev
, comp and grd semantics
coincide. Hence, the grounded extension of F (which can be
computed efficiently) is the unique maximal admissible set of
F . In particular, it is conflict-free and contains all admissible
sets of F as subsets. By Lemma 1, we can enumerate all
admissible sets S M with polynomial delay.
Theorem 7. Let σ {stage, stage2 }.
Then EnumExt(C
noev
, σ) 6∈ OutputP holds unless P = NP.
Proof Sketch. By Proposition 1, it suffices to show that the
ManySol problem of stage and stage2 extensions is NP-
hard on AFs without even cycles. The proof is by reduc-
tion from SAT. For stage semantics, we can take over almost
literally the construction from
[
Dvo
ˇ
r
´
ak, 2012, Theorem 30
]
(which, in turn, uses ideas similar to
[
Dvo
ˇ
r
´
ak et al., 2014,
Proposition 13
]
). The only modification needed is to delete
an auxiliary argument q from the AF constructed there.
Apart from a self-cycle, the resulting AF is acyclic, i.e.,
every argument builds its own SCC. The main task to prove
NP-hardness also for stage2 semantics is a general one: we
are given an acyclic AF and we have to extend it in such a way
that the resulting AF consists of a single SCC. The challenge
here is that we must not introduce an even cycle.
Our construction proceeds in two steps: first, we assume an
appropriate topological sort of the arguments in the directed
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
1150
acyclic graph (ignoring self-cycles) from
[
Dvo
ˇ
r
´
ak, 2012,
Theorem 30
]
and we introduce “backward paths” of length 2
between any two successive vertices. That is, let A be sorted
as A = {a
1
, . . . , a
N
}. Then, for every i {1, . . . , N 1},
we add vertices u
i
and arcs (a
i+1
, u
i
), (u
i
, a
i
), (u
i
, u
i
). The
self-cycles prevent the u
i
s from being selected in a stage ex-
tension. The idea of these paths of length 2 is that every sim-
ple cycle in the resulting graph consists of a “forward” arc
(i.e., from some a
i
to some a
i+k
) and a sequence of k 1
“backward paths” of length 2. Hence, these cycles have odd
length. Moreover, since a
1
can be chosen such that every
other vertex in A is reachable from it, the additional paths of
length 2 thus make sure that the graph has a single SCC.
The second step then adds further auxiliary vertices v
i
, v
0
i
together with a cycle of length 3 for every i {1, . . . , N 1}:
(v
i
, u
i
), (u
i
, v
0
i
), (v
0
i
, v
i
), (v
0
i
, v
0
i
); the AF thus remains to con-
sist of a single component. Moreover, every stage extension
contains the “auxiliary” vertices v
i
and, thus, has all vertices
u
i
in its range. This is needed to guarantee that the maximal-
ity condition of stage extensions only depends on the original
vertices in A and not on the question as to which of the addi-
tional vertices u
i
are contained in the range.
Analogously to
[
Dvo
ˇ
r
´
ak, 2012, Theorem 30
]
, one can show
that the resulting AF is guaranteed to have 2m stage exten-
sions, where m denotes the number of clauses in the instance
ϕ of the SAT problem. Further stage extensions exist if and
only if ϕ is satisfiable. Hence, the ManySol problem is NP-
hard and intractability of EnumExt(C
noev
, σ) for the seman-
tics σ {stage, stage2 } follows from Proposition 1.
5 Conclusion
In this work, we have started a systematic study of the enu-
meration problem in the context of abstract argumentation.
As our main result, we have identified the border between
tractable and intractable enumeration for AFs under 11 of the
most common semantics of AFs. A great variety of settings
has been explored by considering unrestricted AFs as well
as AFs with common structural restrictions (namely, bipartite
graphs, symmetric graphs with or without self-loops, graphs
without even cycles, and implicitly also acyclic graphs).
These tractability and intractability results can now be
used as guidance for developers of argumentation tools which
compute the set of extensions under a given semantics. De-
velopers have to make sure that, in the tractable cases identi-
fied here, the tools indeed work efficiently. In particular, for
reduction-based argumentation tools (working by reduction
to SAT or ASP), it is not guaranteed a priori that favorable
structural properties of an input AF are preserved under the
reduction and exploited by the target solvers.
Note that further structural restrictions of AFs have been
studied in the literature, such as AFs with no odd cycles.
Since they provide a generalization of the class C
bip
of AFs
restricted to bipartite graphs, our intractability results for the
semantics pref , stable, comp, semi, stage, and stage2 carry
over to AFs with no odd cycles. Likewise, the DelayP
P
membership for the semantics cf , naive, resGr , and cf2
carries over from the unrestricted case C
0
. In contrast, the
adm semantics remains as an interesting open question. Fur-
ther structural restrictions to be considered can be found
in
[
Dunne, 2007
]
. A particularly interesting class is given
by AFs which, when interpreted as undirected graphs, have
bounded treewidth. For this class, MSO encodings as given
in
[
Dunne, 2007; Dvo
ˇ
r
´
ak et al., 2012
]
readily pave the way
for showing tractable enumeration via meta-theorems as pro-
vided in
[
Flum et al., 2002; Bagan, 2006; Courcelle, 2009
]
.
Our study has revealed that the boundary between easy and
hard cases of enumeration may well differ from related deci-
sion problems. For instance, as recalled in Section 2, both
credulous and skeptical reasoning with cf2 semantics is in-
tractable. Nevertheless, the enumeration of all cf2 extensions
is feasible with polynomial delay. Hence, for future work,
the search for further tractable fragments of computational
problems in the area of argumentation should take the enu-
meration problem as an additional focus into account.
Acknowledgments
This research was supported by the Austrian Science Fund
(FWF): P25207-N23, P25518-N23, I2854-N35, W1255-
N23. We thank Wolfgang Dvo
ˇ
r
´
ak for many fruitful discus-
sions and his help.
References
[
Bagan, 2006
]
Guillaume Bagan. MSO queries on tree de-
composable structures are computable with linear delay.
In Proc. CSL’06, volume 4207 of LNCS, pages 167–181.
Springer, 2006.
[
Baroni et al., 2005
]
Pietro Baroni, Massimiliano Giacomin,
and Giovanni Guida. SCC-recursiveness: a general
schema for argumentation semantics. Artificial Intelli-
gence, 168(1-2):162–210, 2005.
[
Baroni et al., 2010
]
Pietro Baroni, Paul E. Dunne, and Mas-
similiano Giacomin. On extension counting problems in
argumentation frameworks. In Proc. COMMA 2010, vol-
ume 216 of FAIA, pages 63–74. IOS Press, 2010.
[
Baroni et al., 2011a
]
Pietro Baroni, Martin Caminada, and
Massimiliano Giacomin. An introduction to argu-
mentation semantics. Knowledge Engineering Review,
26(4):365–410, 2011.
[
Baroni et al., 2011b
]
Pietro Baroni, Paul E. Dunne, and
Massimiliano Giacomin. On the resolution-based family
of abstract argumentation semantics and its grounded in-
stance. Artificial Intelligence, 175(3-4):791–813, 2011.
[
Bench-Capon and Dunne, 2007
]
Trevor J. M. Bench-Capon
and Paul E. Dunne. Argumentation in artificial intelli-
gence. Artificial Intelligence, 171(10-15):619–641, 2007.
[
Bulatov et al., 2012
]
Andrei A. Bulatov, V
´
ıctor Dalmau,
Martin Grohe, and D
´
aniel Marx. Enumerating homomor-
phisms. J. Comput. Syst. Sci., 78(2):638–650, 2012.
[
Caminada and Amgoud, 2007
]
Martin Caminada and Leila
Amgoud. On the evaluation of argumentation formalisms.
Artificial Intelligence, 171(5-6):286–310, 2007.
[
Caminada et al., 2012
]
Martin Caminada, Walter A.
Carnielli, and Paul E. Dunne. Semi-stable semantics. J.
Log. Comput., 22(5):1207–1254, 2012.
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
1151
[
Cerutti et al., 2014
]
Federico Cerutti, Massimiliano Gia-
comin, Mauro Vallati, and Marina Zanella. An SCC re-
cursive meta-algorithm for computing preferred labellings
in abstract argumentation. In Proc. KR 2014, pages 42–51,
2014.
[
Coste-Marquis et al., 2005
]
Sylvie Coste-Marquis, Caro-
line Devred, and Pierre Marquis. Symmetric argumenta-
tion frameworks. In Proc. ECSQARU 2005, volume 3571
of LNCS, pages 317–328. Springer, 2005.
[
Courcelle, 2009
]
Bruno Courcelle. Linear delay enumera-
tion and monadic second-order logic. Discrete Applied
Mathematics, 157(12):2675–2700, 2009.
[
Creignou and H
´
ebrard, 1997
]
Nadia Creignou and J-J
H
´
ebrard. On generating all solutions of generalized satis-
fiability problems. Informatique th
´
eorique et applications,
31(6):499–511, 1997.
[
Creignou et al., 2013
]
Nadia Creignou, Arne Meier, Julian-
Steffen M
¨
uller, Johannes Schmidt, and Heribert Vollmer.
Paradigms for parameterized enumeration. In Proc. MFCS
2013, volume 8087 of LNCS, pages 290–301. Springer,
2013.
[
Dimopoulos and Torres, 1996
]
Yannis Dimopoulos and Al-
berto Torres. Graph theoretical structures in logic pro-
grams and default theories. Theor. Comput. Sci., 170(1-
2):209–244, 1996.
[
Dimopoulos et al., 1997
]
Yannis Dimopoulos, Vangelis
Magirou, and Christos H Papadimitriou. On kernels,
defaults and even graphs. Annals of Mathematics and
Artificial Intelligence, 20(1-4):1–12, 1997.
[
Dung, 1995
]
Phan Minh Dung. On the acceptability of ar-
guments and its fundamental role in nonmonotonic rea-
soning, logic programming and n-person games. Artificial
Intelligence, 77(2):321–357, 1995.
[
Dunne and Bench-Capon, 2001
]
Paul E. Dunne and Trevor
J. M. Bench-Capon. Complexity and combinatorial prop-
erties of argument systems. Univ. Liverpool, Tech. report,
2001.
[
Dunne and Bench-Capon, 2002
]
Paul E. Dunne and Trevor
J. M. Bench-Capon. Coherence in finite argument systems.
Artificial Intelligence, 141(1/2):187–203, 2002.
[
Dunne et al., 2013
]
Paul E. Dunne, Wolfgang Dvo
ˇ
r
´
ak, and
Stefan Woltran. Parametric properties of ideal semantics.
Artificial Intelligence, 202:1–28, 2013.
[
Dunne et al., 2015
]
Paul E. Dunne, Wolfgang Dvo
ˇ
r
´
ak,
Thomas Linsbichler, and Stefan Woltran. Characteristics
of multiple viewpoints in abstract argumentation. Artificial
Intelligence, 228:153–178, 2015.
[
Dunne, 2007
]
Paul E. Dunne. Computational properties of
argument systems satisfying graph-theoretic constraints.
Artificial Intelligence, 171(10-15):701–729, 2007.
[
Durand et al., 2014
]
Arnaud Durand, Nicole Schweikardt,
and Luc Segoufin. Enumerating answers to first-order
queries over databases of low degree. In Proc. PODS 2014,
pages 121–131. ACM, 2014.
[
Dvo
ˇ
r
´
ak and Gaggl, 2016
]
Wolfgang Dvo
ˇ
r
´
ak and Sarah Al-
ice Gaggl. Stage semantics and the SCC-recursive
schema for argumentation semantics. J. Log. Comput.,
26(4):1149–1202, 2016.
[
Dvo
ˇ
r
´
ak and Woltran, 2010
]
Wolfgang Dvo
ˇ
r
´
ak and Stefan
Woltran. Complexity of semi-stable and stage seman-
tics in argumentation frameworks. Inf. Process. Lett.,
110(11):425–430, 2010.
[
Dvo
ˇ
r
´
ak et al., 2012
]
Wolfgang Dvo
ˇ
r
´
ak, Stefan Szeider, and
Stefan Woltran. Abstract argumentation via monadic sec-
ond order logic. In Proc. SUM 2012, volume 7520 of
LNCS, pages 85–98. Springer, 2012.
[
Dvo
ˇ
r
´
ak et al., 2014
]
Wolfgang Dvo
ˇ
r
´
ak, Matti J
¨
arvisalo, Jo-
hannes P. Wallner, and Stefan Woltran. Complexity-
sensitive decision procedures for abstract argumentation.
Artificial Intelligence, 206:53–78, 2014.
[
Dvo
ˇ
r
´
ak, 2012
]
Wolfgang Dvo
ˇ
r
´
ak. Computational Aspects
of Abstract Argumentation. PhD thesis, Technische Uni-
versit
¨
at Wien, 2012.
[
Flum et al., 2002
]
J
¨
org Flum, Markus Frick, and Martin
Grohe. Query evaluation via tree-decompositions. J. ACM,
49(6):716–752, 2002.
[
Gaggl and Woltran, 2013
]
Sarah Alice Gaggl and Stefan
Woltran. The cf2 argumentation semantics revisited. J.
Log. Comput., 23(5):925–949, 2013.
[
Goldberg, 1991
]
Leslie Ann Goldberg. Efficient algorithms
for listing combinatorial structures. PhD thesis, Univer-
sity of Edinburgh, UK, 1991.
[
Johnson et al., 1988
]
David S. Johnson, Christos H. Pa-
padimitriou, and Mihalis Yannakakis. On generating all
maximal independent sets. Inf. Process. Lett., 27(3):119–
123, 1988.
[
Kazana and Segoufin, 2013
]
Wojciech Kazana and Luc
Segoufin. Enumeration of first-order queries on classes of
structures with bounded expansion. In Proc. PODS 2013,
pages 297–308. ACM, 2013.
[
Kr
¨
oll et al., 2016
]
Markus Kr
¨
oll, Reinhard Pichler, and Se-
bastian Skritek. On the complexity of enumerating the an-
swers to well-designed pattern trees. In Proc. ICDT 2016,
volume 48 of LIPIcs, pages 22:1–22:18, 2016.
[
Rahwan and Simari, 2009
]
Iyad Rahwan and Guillermo R.
Simari, editors. Argumentation in Artificial Intelligence.
Springer, 2009.
[
Strozecki, 2010
]
Yann Strozecki. Enumeration complexity
and matroid decomposition. PhD thesis, Universit
´
e Paris
Diderot Paris 7, 2010.
[
Thimm et al., 2016
]
Matthias Thimm, Serena Villata, Fed-
erico Cerutti, Nir Oren, Hannes Strass, and Mauro Val-
lati. Summary report of the first international competition
on computational models of argumentation. AI Magazine,
37(1):102–104, April 2016.
[
Verheij, 1996
]
Bart Verheij. Two approaches to dialectical
argumentation: admissible sets and argumentation stages.
In Proc. NAIC, pages 357–368, 1996.
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
1152

Preview text:

Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
On the Complexity of Enumerating the Extensions of
Abstract Argumentation Frameworks
Markus Kr¨oll, Reinhard Pichler, and Stefan Woltran TU Wien, Austria
{kroell, pichler,woltran}@dbai.tuwien.ac.at Abstract
their potential for reducing the complexity of the aforemen-
tioned problems has been pinpointed [Coste-Marquis et al.,
Several computational problems of abstract argu-
2005; Dunne, 2007]. For an overview on complexity results,
mentation frameworks (AFs) such as skeptical and
see also [Dvoˇr´ak, 2012]. The only complexity analysis we
credulous reasoning, existence of a non-empty ex-
are aware of that goes beyond decision problems is about the
tension, verification, etc. have been thoroughly an-
counting complexity for AFs [Baroni et al., 2010].
alyzed for various semantics. In contrast, the enu-
In 2015, the first edition of the International Competition
meration problem of AFs (i.e., the problem of com-
on Computational Models of Argumentation (ICCMA) took
puting all extensions according to some semantics)
place and compared the performance of 18 submitted solvers
has been left unexplored so far. The goal of this pa-
in terms of skeptical and credulous reasoning, finding one ex-
per is to fill this gap. We thus investigate the enu-
tension, and enumerating all extensions [Thimm et al., 2016].
meration complexity of AFs for a large collection
For the next edition of ICCMA1, in total seven semantics will
of semantics and, in addition, consider the most
be considered. This not only shows the increasing interest
common structural restrictions on AFs.
in solvers that are capable of dealing with multiple seman-
tics, but also witnesses that the enumeration problem is in-
deed considered to be important by the community. How- 1 Introduction
ever, in contrast to the detailed picture of the complexity of
Within the area of Artificial Intelligence, argumentation has
decision problems, the enumeration complexity has been left
become one of the major fields over the last two decades unexplored so far.
[Rahwan and Simari, 2009; Bench-Capon and Dunne, 2007].
Formal tools for the complexity analysis of enumeration
Its most prominent approach is given by abstract argumen-
problems date back to [Johnson et al., 1988] and have been
tation frameworks (AFs) due to Dung [1995], a simple, yet
further refined in recent years [Strozecki, 2010; Creignou et
powerful formalism for modeling and deciding problems that
al., 2013]. In particular, several notions of tractability have
are integral to various advanced argumentation systems, see
been introduced, since a complexity classification of enumer-
e.g. [Caminada and Amgoud, 2007]. In AFs one abstracts
ation problems has to take the size of the output into account.
away from the actual contents of arguments and from the
The interest in enumeration problems spans various fields,
concrete reason of conflicts. Many different semantics have
with some of the most prominent and natural examples com-
been proposed in the literature to define the set of possible
ing from the database area: in query answering, one is typ-
extensions of an AF – each representing a coherent set of
ically interested in obtaining all answers to a query rather
arguments that “jointly survive” the conflicts given by the
than asking if some answer exists. See [Bulatov et al., 2012;
AF. In contrast to other communities, the multitude of se-
Kazana and Segoufin, 2013; Durand et al., 2014; Kr¨oll et al.,
mantics is seen as a virtue of formal argumentation rather
2016] for recent works along this line. Enumeration complex-
than a weakness and thus a significant amount of research
ity of graph problems has been studied by Goldberg [1991].
has been done in order to understand particular features
As emphasized above, enumeration is a central task for ar-
of the available semantics, see e.g. [Baroni et al., 2011a;
gumentation systems and, in order to understand their ade- Dunne et al., 2015].
quacy from a complexity theoretic point of view, a systematic
Also several computational problems of AFs have been
study of the enumeration problem of AFs is needed. It is ex-
thoroughly analyzed such as skeptical and credulous reason-
actly the goal of this paper to provide such an analysis.
ing, existence of a non-empty extension, and the verification
Main Contributions. We investigate the enumeration com-
problem [Dimopoulos and Torres, 1996; Dunne and Bench-
plexity for a total number of 11 multiple-status semantics and,
Capon, 2002; Dvoˇr´ak and Woltran, 2010; Gaggl and Woltran,
in addition, consider 5 common structural restrictions on AFs,
2013; Dvoˇr´ak and Gaggl, 2016; Baroni et al., 2011b]. Since
namely bipartite AFs, symmetric AFs (with or without the ad-
these problems tend to be intractable for most semantics,
structural restrictions on the AFs have been investigated and
1http://www.dbai.tuwien.ac.at/iccma17/ 1145
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
ditional restriction of irreflexivity), AFs without even cycles, cf (F ) =
{S ⊆ A | ∀a, b ∈ S, (a, b) 6∈ R}
and implicitly also acyclic AFs. Our main result is a complete naive(F ) = max(cf (F ))
picture of the complexity of the enumeration problem of AFs adm(F ) = {S ∈ cf (F ) | S ⊆ F
for all these semantics for unrestricted AFs and for AFs with F (S)}
the above listed restrictions. We thus provide an exact sep- pref (F ) = max(adm(F ))
aration between tractable and intractable enumeration for all stable(F ) = {S ∈ adm(F ) | S⊕ = A} F the resulting 66 settings. comp(F ) = {S ∈ adm(F ) | FF (S) ⊆ S}
Structure. After this introduction, we recall the most rele- semi (F ) = {S ∈ adm(F ) | ∀T ⊆ A :
vant basic definitions on abstract argumentation frameworks
and on enumeration problems in Section 2. In Section 3, we
if S⊕ ⊂ T ⊕ then T 6∈ adm(F )} F F
present an overview of our results. The proof strategy and the stage(F ) = {S ∈ cf (F ) | ∀T ⊆ A :
main proof ideas will be presented in Section 4. We conclude
if S⊕ ⊂ T ⊕ then T 6∈ cf (F )} with Section 5. F F [ resGr (F ) = min min(comp((A, R \ β)) 2 Background β∈γ(F ) S ∈ stage2 (F ) iff:
Abstract argumentation. We first recall some fundamental
in case |SCCs(F )| = 1: S ∈ stage(F )
concepts related to abstract argumentation frameworks (AFs).
else: ∀C ∈ SCCs(F ), (S ∩ C) ∈ stage2 (F |C\DF (S))
This will enable us, in Table 1, to give concise definitions of
the various semantics of AFs studied in this work. S ∈ cf2 (F ) iff:
Formally, an AF is a directed graph (A, R) where A is a
in case |SCCs(F )| = 1: S ∈ naive(F )
finite set of arguments and R ⊆ A × A is the attack relation.
else: ∀C ∈ SCCs(F ), (S ∩ C) ∈ cf2 (F |C\DF (S))
Given an AF F = (A, R), we define S+ = {a | ∃s ∈ S :
Table 1: Semantics of AFs, given F = (A, R). F
(s, a) ∈ R}, S− = {a | ∃s ∈ S : (a, s) ∈ R} and S⊕ = F F
S ∪ S+. The characteristic function F F F of AF F is defined
tension is unique for each AF. Formally, grd (F ) is given by
as FF : 2A → 2A with FF (S) = {a ∈ A | {a}− ⊆ S+}. F F
the subset-minimal complete extension of F .
A full resolution β of F is a subset β ⊆ R such that for any
Several decision problems on AFs have been investigated
two distinct arguments a, b ∈ A with {(a, b), (b, a)} ⊆ R,
in the literature. We briefly recall the complexity classifica-
exactly one of (a, b) and (b, a) is contained in β. We write
tion of two of the most prominent decision problems defined
γ(F ) to denote the set of all full resolutions of F . For
as follows: given an AF F , semantics σ, and argument a, de-
S ⊆ A, we write F |S for the restriction of F to S, i.e.,
cide whether a is contained (i) in at least one σ-extension of
F |S = (A ∩ S, R ∩ (S × S)). By SCCs(F ) we denote
F (credulous reasoning); (ii) in all σ-extensions of F (skepti-
the strongly connected components of the directed graph F .
cal reasoning). Both problems are tractable for cf and naive,
For a ∈ A, let CF (a) denote the strongly connected com-
and skeptical reasoning is tractable for comp and trivial for
ponent containing a, i.e., CF (a) ∈ SCCs(F ) unique with
adm (since ∅ ∈ adm(F ) for any AF). Credulous reasoning
a ∈ CF (a). An argument b ∈ A is called component-
is NP-complete for adm, pref , stable, comp, resGr , and
defeated by S (in F ), if there exists a ∈ S with (a, b) ∈ R and cf2 , and ΣP a 6∈ C
2 -complete for semi , stage and stage2 . Skepti-
F (b). We write DF (S) to denote the set of arguments
cal reasoning is coNP-complete for stable, resGr , and cf2 component defeated by S. and ΠP
For a set of sets M, we write min(M) to denote the set
2 -complete for pref , semi , stage and stage2 ; see e.g.
[Dvoˇr´ak, 2012; Dvoˇr´ak and Gaggl, 2016] for further details.
of inclusion-minimal sets in M and max(M) for the set of inclusion-maximal sets in M.
Enumeration problems and their complexity. An enumer-
The semantics of an AF is defined in terms of coherent sets
ation problem is a pair (L, Sol) such that L ⊆ Σ∗ (for an
of arguments (so-called “extensions”) that jointly survive the
alphabet Σ containing at least two symbols) and Sol : Σ∗ →
conflicts given by the AF. In this work, we study the following
2Σ∗ is a function such that for all x ∈ Σ∗, we have that Sol(x)
semantics [Dung, 1995; Verheij, 1996; Caminada et al., 2012;
(the set of “solutions”) is finite and Sol(x) = ∅ iff x / ∈ L.
Baroni et al., 2011b; 2005; Dvoˇr´ak and Gaggl, 2016], which
An enumeration algorithm A for an enumeration problem
are defined via the extensions of a given AF F : the set
P = (L, Sol) is an algorithm which, on input x, outputs ex-
of conflict-free sets cf (F ), naive sets naive(F ), admissi-
actly the elements from Sol(x) without duplicates. We denote
ble extensions adm(F ), preferred extensions pref (F ), sta-
the output of algorithm A on x by A(x).
ble extensions stable(F ), complete extensions comp(F ),
As far as the computation model of enumeration algo-
semi-stable extensions semi (F ), stage extensions stage(F ),
rithms is concerned, it is common (cf. [Strozecki, 2010]) to
resolution-based grounded extensions resGr (F ), stage2 ex-
use the RAM model. This is motivated by the fact that a RAM
tensions stage2 (F ), and cf2 extensions cf2 (F ). The formal
can access parts of exponential-size data in polynomial time.
definitions are given in Table 1. Note that all semantics are
As we will see below, this may be needed to efficiently detect
multiple-status, i.e. they provide in general more than one ex-
(and avoid the output of) duplicates. We restrict ourselves to
tension. We will also occassionally refer to the grounded ex-
polynomially bounded RAM machines, i.e., the size of each
tension of an AF F , denoted by grd (F ); recall that this ex-
register is polynomially bounded in the size of the input. 1146
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
Let A be an enumeration algorithm for some problem P. C0 Cbip Csym C(ir,sym) Cnoev
For an input x, let n = |A(x)|. For 0 ≤ i ≤ n, we define cf DelayPP → → → →
delay (i) as follows: delay(0) (“preprocessing”) is the time naive DelayPP → → → →
between the start of the algorithm and the first output (or ter- adm nOP DelayP DelayP → DelayP P
mination of A, if n = 0). For 0 < i < n, delay (i) is the time pref ← nOP DelayP → trivial P
between outputting solution i and (i + 1). Finally, delay (n) stable ← nOP nOP DelayP trivial
is the time between the last output and the termination of A. P comp ← nOP DelayPP → trivial
Several notions of tractability have been proposed in semi ← nOP nOP DelayP trivial
the literature [Johnson et al., 1988; Creignou et al., 2013; P stage ← nOP nOP DelayP nOP
Strozecki, 2010]. We recall the two most relevant ones for P
our purposes below, namely DelayP (“polynomial delay”) resGr DelayPP → → → →
and OutputP (“output-polynomial time”). Alternatively, the stage2 ← nOP nOP DelayP nOP P
latter class is sometimes referred to as TotalP (“total polyno- cf2 DelayPP → → → →
mial time”) [Strozecki, 2010].
The classes DelayP and OutputP are defined as follows.
Table 2: Summary of tractability/intractability results. Entry “←”
Let P = (L, Sol) be an enumeration problem.
means that hardness carries over from some special case. “→”
means that membership carries over from a more general case.
• P ∈ OutputP, if there exists an enumeration algorithm
A for P and some m ∈ N, such that on every input x,
algorithm A terminates in time O((|x| + |Sol(x)|)m).
of argumentation frameworks in a class C of AFs. An algo-
rithm for the EnumExt (C, σ) problem thus takes F ∈ C as
• P ∈ DelayP, if there exists an enumeration algorithm A input and outputs σ(F ).
for P and some m ∈ N, such that on every input x and
Recall from Section 2 that, for most of the semantics σ con-
for every i ∈ {0, . . . , |Sol(x)|}, delay (i) is in O(|x|m).
sidered here, the principal decision problems such as credu-
Clearly, DelayP ⊆ OutputP holds. This inclusion can be
lous and skeptical reasoning are intractable. Consequently,
seen as follows: suppose that an enumeration algorithm A
several structural restrictions on the AFs have been studied
for some problem P works with delay O((|x|m)) for some
in the literature. In this work, we study three of the most
m ≥ 1. Moreover, let N = |Sol(x)|. Then the total time of A
commonly used subclasses of AFs, namely: the restrictions
to output all solutions for input x is O((N +1)∗|x|m). Recall
to bipartite graphs, to symmetric graphs and to graphs with-
that the factor (N + 1) rather than N is needed for the time
out even cycles. As far as the restriction to symmetric graphs
between the last output and termination of A. For N = 0,
is concerned, one has often imposed the further restriction of
we have O((N + 1) ∗ |x|m) = O(|x|m) = O((N + |x|)m).
irreflexivity, see e.g. [Coste-Marquis et al., 2005]. In total,
For N > 0, the sequence of equalities O((N + 1) ∗ |x|m) =
we thus consider the following 5 classes of AFs: AFs without
O(N ∗ |x|m) = O((N + |x|)m0 ) with m0 = m + 1 holds,
any restrictions (which we will denote as C0), AFs restricted
which proves the desired OutputP-membership of P.
to bipartite graphs (denoted as Cbip), irreflexive, symmetric
Hence, membership in DelayP is the stronger tractability
AFs (denoted as C(ir,sym)), symmetric AFs without irreflexiv-
result, which entails membership in OutputP. Conversely,
ity restriction (denoted as Csym), and AFs restricted to graphs
the stronger intractability result is to show that a problem
with no even cycles (denoted as Cnoev).
is not in OutputP (under the common assumption that P 6=
Our results are summarized in Table 2. Each of the 11 se-
NP), which entails non-membership in DelayP.
mantics is treated in a separate row. We then have 5 columns
Note that membership in DelayP does not impose a restric-
for the 5 classes of AFs mentioned above. Table 2 pro-
tion on the space consumption of an enumeration algorithm.
vides a complete complexity classification of the enumera-
More specifically, a DelayP algorithm may require the con-
tion problem – separating the tractable cases (marked with
struction of an index structure for the already found solutions
one of the entries “DelayP”, “DelayPP” or “trivial”) from the
to avoid the output of duplicates. Hence, if there are exponen-
intractable ones (marked with “nOP”, which is short for “not
tially many solutions, this index structure and, therefore, the
in OutputP” under the common assumption that P 6= NP).
space consumption of the algorithm may become exponen-
Clearly, if tractability even holds in the unrestricted case
tial. We will use the notation DelayP
(e.g. for cf semantics), then tractability propagates to the re- P to refer to the class of
enumeration problems which can be enumerated with poly-
stricted cases. Likewise, tractability for AFs in Csym (e.g.,
nomial delay using only polynomial space. In contrast, when
for pref semantics) carries over to AFs in C(ir,sym). We mark
we state DelayP membership of a problem, this means that
this with the entry “→” in Table 2. Conversely, if at least one
the enumeration may potentially use exponential space.
of the restricted cases is intractable, then intractability prop-
agates to the unrestricted case. We mark this with the entry 3 Overview of Results
“←”. The cases where the structural restriction causes the
semantics to have at most one nonempty extension (namely
The overall goal of this work is to study the complexity of
the grounded extension, which can always be computed effi-
the enumeration problem of abstract argumentation under the
ciently) are marked with “trivial”.
various semantics recalled in the previous section. We denote
When filling in the remaining entries in Table 2, we can
by EnumExt (C, σ) the enumeration problem of σ-extensions
make use of further dependencies between the different cases. 1147
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
In particular, under various restrictions, some of the seman-
Corollary 1. Let σ be a semantics such that ∅ ∈ σ(F ) for all
tics coincide. For instance, in symmetric AFs, every conflict-
AFs F and let C be a class of AFs. If Exists¬∅ 6∈ P σ for AFs
free extension is admissible. Hence the DelayPP-membership
restricted to C, then EnumExt (C, σ) 6∈ OutputP.
of enumerating admissible extensions in case of symmetric
AFs requires no separate proof. Similarly, for bipartite AFs,
We are now ready to present the main proof ideas of the
every preferred extension is stable. Hence, the intractabil-
results summarized in Table 2. To this end, we inspect one
ity of enumerating stable extensions in case of bipartite AFs
column of the table after the other.
carries over to preferred extensions. To distinguish the en-
Unrestricted AFs. First consider the complexity of enumer-
tries in Table 2 which require a separate proof from the ones
ating conflict-free and naive extensions. For an AF F =
which follow by the collapse of different semantics in some
(A, R), S ⊆ A is a (maximal) conflict-free set iff it is a (max-
restricted case, we display the former results in boldface.
imal) independent set in the corresponding undirected graph.
Note that the restriction to acyclic graphs, which has also
It was shown in [Johnson et al., 1988] that the maximal inde-
been used in the literature to achieve tractability of decision
pendent sets can be enumerated in DelayPP. The same result
problems, is implicitly covered by our results: First, since
holds for enumerating all independent sets. Hence, we get
acyclic AFs are a special case of AFs without even cycles, all
EnumExt (C0, σ) ∈ DelayPP with σ ∈ {naive, cf }.
the tractability results of the latter case carry over to acyclic
The tractability result for cf2 semantics is obtained by ap-
AFs. Moreover, the only intractable cases for AFs without
plying standard algorithms for recursively enumerating ex-
even cycles are stage and stage2 semantics. However, for
tensions, see e.g. [Cerutti et al., 2014].
acyclic AFs, these two coincide with grounded semantics (cf.
[Dvoˇr´ak and Gaggl, 2016]), which is a trivially tractable case.
Theorem 1. EnumExt (C0, cf2 ) ∈ DelayPP holds. 4
Proof Strategy and Main Proof Ideas
Proof Sketch. Let F = (A, R) with strongly connected com-
ponents S1, . . . , Sm ⊆ A. W.l.o.g., assume that S1, . . . , Sn
Before we start discussing the various entries in Table 2, we
are the bottom components for some n ≤ m, i.e. strongly
define the decision problem ManySol(P), which is strongly
connected components without an incoming edge from an-
related to an enumeration problem P. For an arbitrary enu-
other component. By the definition of cf2, every naive ex-
meration problem P = (L, Sol), it is defined as follows:
tension on a bottom component is part of some S ∈ cf2 (F ).
• ManySol(P): Given x ∈ L and a positive integer m in
As for each such bottom component the naive extensions are
unary notation, is |Sol(x)| ≥ m?
enumerable with polynomial delay using polynomial space,
we can fix some naive set Ni ⊆ Si for 1 ≤ i ≤ n. Next we
The following property of the ManySol problem will make it
get rid of the arguments of the bottom components S1 = S Si
a useful tool for our intractability proofs.
and the ones which are component defeated by N1 = S Ni,
Proposition 1. Let P = (L, Sol) be an enumeration problem.
resulting in the AF F 1 = F |A\(S1∪N1). As before, we choose
If ManySol (P) 6∈ P, then P 6∈ OutputP.
a naive extension for every bottom component of F 1, thus
again obtaining a union of naive extensions N2. After repeat-
Proof Sketch. Let P = (L, Sol) be an enumeration problem.
ing this process at most k many times for some k ≤ |A|, we
We prove the contrapositive, i.e., assume that P ∈ OutputP.
have that F k 6= ∅ and F k+1 = ∅. Then S = Sk N i=1 i is a cf2
We have to show that then ManySol (P) ∈ P also holds. By
extension of F . By selecting a single different naive exten-
P ∈ OutputP, there is an algorithm A computing A(x) =
sion of a bottom component of some F j , the same procedure
Sol(x) for any x ∈ L in time p(|x| + |Sol(x)|) for some poly-
obtains an S0 ∈ cf2 (F ) with S0 6= S. Through backtrack-
nomial p. Let x ∈ L, m ≥ 0. Then we can decide whether
ing, we can thus enumerate all extensions S ∈ cf2 (F ) with
|Sol(x)| ≥ m as follows: we run algorithm A on input x for
polynomial delay using polynomial space.
at most s = p(|x| + m) many steps. If the algorithm ter-
minates before s many steps, it outputs Sol(x) and we can
It only remains to establish the tractability of resGr and
check whether |Sol(x)| ≥ m. If A has not terminated after s
the intractability of adm semantics, since for all further se-
many steps, we must have that |Sol(x)| > m as A produces
mantics, the intractability in the unrestricted case carries over
an output after p(|x| + |Sol(x)|) computational steps.
from the intractability of some restricted case.
Since m is given in unary, the size of the input to the
For resGr , an enumeration algorithm is given in [Baroni et
ManySol problem equals |x| + m. Hence, we have shown that
al., 2011b, Algorithm 2]. This algorithm can be refined to an
ManySol (P) can indeed be decided in polynomial time.
algorithm with polynomial delay using polynomial space by
making use of an algorithm for maximal independent sets and
The following decision problem, which is parameterized
backtracking. For adm, we recall that the Exists¬∅
by a semantics σ, is a special case of ManySol(P), provided adm problem
is NP-complete, which follows from results in [Dimopoulos
that σ is guaranteed to have the empty set as an extension.
and Torres, 1996]. Hence, by Corollary 1, we may conclude • Exists¬∅ that EnumExt (C
σ : Given an AF F = (A, R), does there exist a
0, adm ) 6∈ OutputP holds unless P = NP.
set ∅ 6= S ⊆ A with S ∈ σ(F )?
Bipartite AFs. We first inspect the tractability for adm se-
The following property is an immediate consequence of
mantics. It is easy to verify that, given an admissible set S Proposition 1.
in a bipartite AF F = (A1 ∪ A2, R), the restrictions S ∩ A1 1148
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
and S ∩ A2 are also admissible. The crucial properties of bi-
admissible subsets Si of Ai with i ∈ {1, 2} and of admissible
partite AFs used here are that, for i ∈ {1, 2}, all subsets of subsets of the form S1 ∪ S2:
Ai are conflict-free and all defenders of an argument in Ai
Whenever an admissible subset S1 ⊆ A1 is processed,
must also be in Ai. To compute all admissible sets of F , we
we search recursively for the maximal admissible subsets of
have to find the sets Ai of admissible subsets of Ai for each
S1 \ {x} for each x ∈ S1 as in the proof sketch of Lemma 1
i ∈ {1, 2} separately and then find all conflict-free combina-
and, moreover, we also search for all admissible subsets
tions S1 ∪ S2 with Si ∈ Ai. For the computation of Ai, the
S2 ⊆ A2 such that S1 ∪ S2 is conflict-free. For the latter
following lemma, which holds for arbitrary AFs, is crucial.
task, we first compute M ⊆ A2 containing all arguments that
Lemma 1. Given an AF (A, R) and a conflict-free set M ⊆
have no conflict with S1. Clearly M is conflict-free, since it
A, enumerating all admissible subsets S ⊆ M is in DelayP.
only has arguments from one side of the bipartite AF. We can
then find all admissible subsets S2 ⊆ M with polynomial de-
Proof Sketch. It is shown in [Dunne et al., 2013, Lemma 1]
lay by Lemma 1. For every S2 thus found, we output S1 ∪ S2.
that, given a conflict-free set M ⊆ A, there exists a unique
Note that in this way also all admissible subsets S1 ⊆ A1
maximal admissible subset S∗ ⊆ M , which can be com-
are output (namely when we combine S1 with S2 = ∅) and
puted in polynomial time. Then the desired algorithm for
also admissible subsets S2 ⊆ A2 are output (namely when we
enumerating all admissible subsets of M works as follows:
combine S2 with S1 = ∅), since ∅ is guaranteed to be among
we maintain two queues P and Q of admissible sets, such
the admissible subsets of A1 and A2, respectively.
that P contains the already printed and processed ones while
Q contains those which have been found but not printed and
Before we switch to intractability, we recall that the stable,
processed yet. Initially, P = ∅ and Q = {S∗}. As long as
stage, semi , and pref semantics all coincide for bipartite
Q is not empty, we take an element from Q, output it and
AFs. This follows from the fact that bipartite AFs are odd-
search recursively for admissible subsets of S \ {x} for each
cycle free, hence stable and pref coincide; this also guar-
x ∈ S. For every admissible set S0 thus found, we check if
antees the existence of a stable extension which implies that
S0 6∈ P ∪ Q and, if so, add it to Q.
stable, semi-stable and stage extensions coincide. Hence, to
The correctness of this algorithm is easy to verify. The
prove the intractability results of bipartite AFs in Table 2,
polynomial delay can be seen as follows: the already found
it suffices to consider the stable, stage2 , and comp seman-
extensions have to be organized in some index structure.
tics. To this end, we first recall the following definition. Let
In principle, any balanced search tree formalism (e.g., AVL
G = (V, E) be a directed graph and K ⊆ V . Then K is
trees) can be used. Yet simpler, we can arrange extensions
called a kernel of G, if K is an independent dominating set,
of an AF with n arguments in a binary tree of depth n where
i.e. the nodes in K are pairwise non-adjacent and for every
each leaf node (or, equivalently, each path from the root to a
v ∈ V \K there exists a k ∈ K with (k, v) ∈ E. As shown by
leaf) represents an already found extension. A node at depth
Dimopoulos et al. [1997] it is NP-complete to decide whether i is either labelled with “a
a given graph has more than two kernels and that this prob-
i in” or with “ai out” depending on whether argument a
lem remains NP-complete even if the graphs are restricted to
i is contained in the extension or not.
Checking if the current extension is new and extending the
bipartite graphs with a single SCC. Building upon this result,
tree in case it is, can thus be done in time O(n).
we prove the following intractability results for bipartite AFs.
Theorem 3. Let σ ∈ {stable, comp, stage2 }.
Note that Lemma 1 only states DelayP membership rather Then EnumExt (C than DelayP
bip, σ) 6∈ OutputP holds unless P = NP.
P membership. Indeed, the algorithm in the proof
of Lemma 1 crucially depends on an index structure of all
Proof Sketch. “stable”. Clearly, for an AF F = (A, R),
the already found solutions to avoid the output of duplicates.
S ⊆ A is a stable extension iff it is a kernel in the corre-
Hence, if there are exponentially many solutions, the space
sponding graph. This means that for the class Cbip of AFs and
requirement of the algorithm becomes exponential as well.
stable semantics, the ManySol problem is NP-hard. Hence
Theorem 2. EnumExt (Cbip, adm) ∈ DelayP holds.
EnumExt (Cbip, stable) 6∈ OutputP by Proposition 1.
Proof Sketch. Consider a bipartite AF F = (A
“stage2 ”. Since stable and stage semantics coincide for bi- 1 ∪ A2, R). Then each of the two sets A
partite AFs, the enumeration of stage extensions shares the
i is conflict-free. As mentioned in
the proof of Lemma 1, we can thus compute the unique max-
hardness of stable ones. Since the underlying NP-hardness imal admissible set S∗ ⊆ A
results for kernels holds even for bipartite graphs with a sin- i
i efficiently by applying [Dunne
et al., 2013, Lemma 1]. In principle, using our Lemma 1
gle SCC, we also have EnumExt (C, stage2 ) 6∈ OutputP.
above, we could compute with polynomial delay the set A
“comp”. We can use the reduction of the NP-hardness proof i of all admissible subsets of A
in [Dimopoulos et al., 1997] to show that for the class C i and finally check each pair bip of (S
AFs and comp semantics, the ManySol problem is NP-hard.
1, S2) ∈ A1 × A2 for conflict-freeness to find and output all admissible sets S
Instead of kernels, satisfying truth assignments correspond to
1 ∪ S2 with elements from both sides A1 and A
non-trivial complete extensions, which are subsets of the non- 2.
However, the challenge with bipartite AFs is that
there may exist exponentially many pairs (S
trivial kernels of the bipartite graph. 1, S2) but only a
small number of them yields a conflict-free set S1 ∪ S2.
Hence, we have to be careful to get an overall enumera-
Symmetric AFs. In symmetric AFs, every argument defends
tion algorithm which works in polynomial delay. The solu-
itself against any attacks. Hence, cf and adm semantics coin-
tion to overcome this problem is an interleaved output of the
cide and so do naive and pref semantics. The DelayPP mem- 1149
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
bership of cf and naive semantics thus carries over to adm
Lemma 2 on input (F, {a1}, {}) and (F, {}, {a1}). For every
and pref semantics. For cf2 , and resGr , DelayPP member-
input Ω = (F, IΩ, OΩ) accepted by A we add a2 to either IΩ
ship carries over from the unrestricted case. For the remain-
or OΩ resulting in two new inputs Ω1 = (F, IΩ ∪ {a2}, OΩ)
ing semantics, no collapse with an already shown tractable
and Ω1 = (F, IΩ, OΩ ∪ {a2}). Repeating this n times, we
case occurs in case of symmetric AFs. Indeed, for the follow-
obtain all complete extensions IΩ for inputs Ω of A such that
ing semantics, we can show intractability:
A accepts and IΩ ∪ OΩ = {a1, . . . , an}. By a depth-first
Theorem 4. Let σ ∈ {stable, stage, semi , stage2 }.
computation and backtracking, this enumeration can be done Then EnumExt (C
with polynomial delay using polynomial space.
sym, σ) 6∈ OutputP holds unless P = NP.
Irreflexive, symmetric AFs. We now consider AFs which
Proof Sketch. In [Dvoˇr´ak, 2012] it was shown that for an ar-
are symmetric and irreflexive. Clearly, all tractability re-
bitrary AF F one can construct in polynomial time a symmet-
sults carry over from symmetric AFs. It remains to consider
ric AF F 0 with self-loops such that stage(F ) = stage(F 0) =
those cases, for which the enumeration problem of symmetric
semi (F 0) and stable(F ) = stable(F 0). In other words, the
AFs with self-loops is intractable. The restriction to irreflex-
problem of enumerating the stage extensions of an arbitrary
ive, symmetric AFs implies that stable and preferred seman-
AF F can be reduced to the problem of enumerating the stage
tics coincide [Coste-Marquis et al., 2005]. Hence, DelayP
(resp. semi-stable) extensions of a symmetric AF F 0 ∈ C P- sym.
membership of pref semantics carries over to stable, and
Likewise, the problem of enumerating the stable extensions
consequently to semi and stage semantics (since we are guar-
of an arbitrary AF F can be reduced to the problem of enu-
anteed that a stable extension exists). Finally, stage2 and
merating the stable extensions of a symmetric AF F 0 ∈ Csym.
stage extensions coincide, since in symmetric AFs different
This means that EnumExt (Csym, σ) 6∈ OutputP holds for
components are not connected at all. Hence, we also have
σ ∈ {stage, stable, semi } unless P = NP. DelayP
For stage2, we observe that the aforementioned reduction
P-membership for stage2 semantics.
from F to F 0 preserves strong connectivity. Using the AF
No-even AFs. Let F = (A, R) be an AF without even cycles.
F to be constructed in the proof of Theorem 7, we have
As shown in [Dunne and Bench-Capon, 2001], the grounded
that stage(F ) = stage(F 0) = stage2 (F 0), thus proving in-
extension S ⊆ A is the only complete (and also preferred and
tractability also for EnumExt (Csym, stage2 ).
semi-stable) extension and is computable in polynomial time.
Moreover, S is the only candidate for a stable extension and
It only remains to consider comp semantics. To study this
we can test whether S ∈ stable(F ) efficiently. Hence, for any
case, we define the following decision problem:
of the semantics stable, pref , comp, and semi , the enumera-
• ExtSolComplete Given an AF F = (A, R) and sets of
tion problem becomes trivial. It remains to consider the adm,
arguments I, O ⊆ A, is there some S ∈ comp(F ) with
stage, and stage2 semantics. Below, we show that adm leads I ⊆ S and O ∩ S = ∅?
to tractability while the latter two lead to intractability.
While this problem is intractable for arbitrary AFs, it can
Theorem 6. EnumExt (Cnoev, adm) ∈ DelayP holds.
be shown tractable for comp semantics over symmetric AFs.
Proof Sketch. For AF F ∈ Cnoev, comp and grd semantics
Lemma 2. ExtSolComplete is in P for symmetric AFs.
coincide. Hence, the grounded extension of F (which can be
computed efficiently) is the unique maximal admissible set of
Proof Sketch. Intuitively, I (resp. O) contains the arguments
F . In particular, it is conflict-free and contains all admissible
that we want to be in (resp. out). A polynomial time algorithm
sets of F as subsets. By Lemma 1, we can enumerate all
A for solving this decision problem works as follows: On
admissible sets S ⊆ M with polynomial delay.
input F = (A, R) and I, O ⊆ A, we first check whether I ∈
cf (F ). If this is not the case then A ends in a rejecting state;
Theorem 7. Let σ ∈ {stage, stage2 }.
otherwise, we compute the minimal fixpoint S of FF such
Then EnumExt (Cnoev, σ) 6∈ OutputP holds unless P = NP.
that I ⊆ S holds. Since, for symmetric AFs, conflict-free
sets are admissible, S is the minimal complete set containing
Proof Sketch. By Proposition 1, it suffices to show that the
I. So A accepts the input iff S ∩ O = ∅.
ManySol problem of stage and stage2 extensions is NP-
hard on AFs without even cycles. The proof is by reduc-
Similarly to algorithms in [Creignou and H´ebrard, 1997]
tion from SAT. For stage semantics, we can take over almost
and [Kr¨oll et al., 2016], we can use algorithm A for ExtSol-
literally the construction from [Dvoˇr´ak, 2012, Theorem 30]
Complete from Lemma 2 to design an efficient enumeration
(which, in turn, uses ideas similar to [Dvoˇr´ak et al., 2014,
algorithm for complete extensions on symmetric AFs.
Proposition 13]). The only modification needed is to delete Theorem 5. EnumExt (C
an auxiliary argument q from the AF constructed there. sym, comp ) ∈ DelayPP holds.
Apart from a self-cycle, the resulting AF is acyclic, i.e.,
Proof Sketch. Let F = (A, R) with A = {a1, . . . , an}. The
every argument builds its own SCC. The main task to prove
idea of the enumeration algorithm is the following: We ex-
NP-hardness also for stage2 semantics is a general one: we
tend single arguments to complete extensions successively,
are given an acyclic AF and we have to extend it in such a way
by repeatedly adding arguments to such partial extensions as
that the resulting AF consists of a single SCC. The challenge
well as fixing a set of arguments that cannot be added to such
here is that we must not introduce an even cycle.
partial extensions. Starting with the argument a1, the enumer-
Our construction proceeds in two steps: first, we assume an
ation algorithm first obtains the answers of algorithm A from
appropriate topological sort of the arguments in the directed 1150
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
acyclic graph (ignoring self-cycles) from [Dvoˇr´ak, 2012,
ther structural restrictions to be considered can be found
Theorem 30] and we introduce “backward paths” of length 2
in [Dunne, 2007]. A particularly interesting class is given
between any two successive vertices. That is, let A be sorted
by AFs which, when interpreted as undirected graphs, have
as A = {a1, . . . , aN }. Then, for every i ∈ {1, . . . , N − 1},
bounded treewidth. For this class, MSO encodings as given
we add vertices ui and arcs (ai+1, ui), (ui, ai), (ui, ui). The
in [Dunne, 2007; Dvoˇr´ak et al., 2012] readily pave the way
self-cycles prevent the ui’s from being selected in a stage ex-
for showing tractable enumeration via meta-theorems as pro-
tension. The idea of these paths of length 2 is that every sim-
vided in [Flum et al., 2002; Bagan, 2006; Courcelle, 2009].
ple cycle in the resulting graph consists of a “forward” arc
Our study has revealed that the boundary between easy and
(i.e., from some ai to some ai+k) and a sequence of k − 1
hard cases of enumeration may well differ from related deci-
“backward paths” of length 2. Hence, these cycles have odd
sion problems. For instance, as recalled in Section 2, both
length. Moreover, since a1 can be chosen such that every
credulous and skeptical reasoning with cf2 semantics is in-
other vertex in A is reachable from it, the additional paths of
tractable. Nevertheless, the enumeration of all cf2 extensions
length 2 thus make sure that the graph has a single SCC.
is feasible with polynomial delay. Hence, for future work,
The second step then adds further auxiliary vertices vi, v0
the search for further tractable fragments of computational i
together with a cycle of length 3 for every i ∈ {1, . . . , N −1}:
problems in the area of argumentation should take the enu- (vi, ui), (ui, v0), (v0, v
, v0); the AF thus remains to con-
meration problem as an additional focus into account. i i i), (v0i i
sist of a single component. Moreover, every stage extension
contains the “auxiliary” vertices vi and, thus, has all vertices Acknowledgments
ui in its range. This is needed to guarantee that the maximal-
This research was supported by the Austrian Science Fund
ity condition of stage extensions only depends on the original
(FWF): P25207-N23, P25518-N23, I2854-N35, W1255-
vertices in A and not on the question as to which of the addi-
N23. We thank Wolfgang Dvoˇr´ak for many fruitful discus-
tional vertices ui are contained in the range. sions and his help.
Analogously to [Dvoˇr´ak, 2012, Theorem 30], one can show
that the resulting AF is guaranteed to have 2m stage exten- References
sions, where m denotes the number of clauses in the instance [
ϕ of the SAT problem. Further stage extensions exist if and
Bagan, 2006] Guillaume Bagan. MSO queries on tree de-
only if ϕ is satisfiable. Hence, the ManySol problem is NP-
composable structures are computable with linear delay.
hard and intractability of EnumExt (C
In Proc. CSL’06, volume 4207 of LNCS, pages 167–181. noev, σ) for the seman-
tics σ ∈ {stage, stage2 } follows from Proposition 1. Springer, 2006.
[Baroni et al., 2005] Pietro Baroni, Massimiliano Giacomin, 5 Conclusion and Giovanni Guida. SCC-recursiveness: a general
schema for argumentation semantics. Artificial Intelli-
In this work, we have started a systematic study of the enu-
gence, 168(1-2):162–210, 2005.
meration problem in the context of abstract argumentation.
[Baroni et al., 2010] Pietro Baroni, Paul E. Dunne, and Mas-
As our main result, we have identified the border between
similiano Giacomin. On extension counting problems in
tractable and intractable enumeration for AFs under 11 of the
argumentation frameworks. In Proc. COMMA 2010, vol-
most common semantics of AFs. A great variety of settings
ume 216 of FAIA, pages 63–74. IOS Press, 2010.
has been explored by considering unrestricted AFs as well
[Baroni et al., 2011a] Pietro Baroni, Martin Caminada, and
as AFs with common structural restrictions (namely, bipartite Massimiliano Giacomin. An introduction to argu-
graphs, symmetric graphs with or without self-loops, graphs mentation semantics. Knowledge Engineering Review,
without even cycles, and implicitly also acyclic graphs). 26(4):365–410, 2011.
These tractability and intractability results can now be
used as guidance for developers of argumentation tools which
[Baroni et al., 2011b] Pietro Baroni, Paul E. Dunne, and
compute the set of extensions under a given semantics. De-
Massimiliano Giacomin. On the resolution-based family
velopers have to make sure that, in the tractable cases identi-
of abstract argumentation semantics and its grounded in-
fied here, the tools indeed work efficiently. In particular, for
stance. Artificial Intelligence, 175(3-4):791–813, 2011.
reduction-based argumentation tools (working by reduction
[Bench-Capon and Dunne, 2007] Trevor J. M. Bench-Capon
to SAT or ASP), it is not guaranteed a priori that favorable and Paul E. Dunne.
Argumentation in artificial intelli-
structural properties of an input AF are preserved under the
gence. Artificial Intelligence, 171(10-15):619–641, 2007.
reduction and exploited by the target solvers.
[Bulatov et al., 2012] Andrei A. Bulatov, V´ıctor Dalmau,
Note that further structural restrictions of AFs have been
Martin Grohe, and D´aniel Marx. Enumerating homomor-
studied in the literature, such as AFs with no odd cycles.
phisms. J. Comput. Syst. Sci., 78(2):638–650, 2012.
Since they provide a generalization of the class Cbip of AFs
restricted to bipartite graphs, our intractability results for the
[Caminada and Amgoud, 2007] Martin Caminada and Leila
semantics pref , stable, comp, semi , stage, and stage2 carry
Amgoud. On the evaluation of argumentation formalisms.
over to AFs with no odd cycles. Likewise, the DelayP
Artificial Intelligence, 171(5-6):286–310, 2007. P
membership for the semantics cf , naive, resGr , and cf2 [Caminada et al., 2012] Martin Caminada, Walter A.
carries over from the unrestricted case C0. In contrast, the
Carnielli, and Paul E. Dunne. Semi-stable semantics. J.
adm semantics remains as an interesting open question. Fur-
Log. Comput., 22(5):1207–1254, 2012. 1151
Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17)
[Cerutti et al., 2014] Federico Cerutti, Massimiliano Gia-
[Dvoˇr´ak and Gaggl, 2016] Wolfgang Dvoˇr´ak and Sarah Al-
comin, Mauro Vallati, and Marina Zanella. An SCC re- ice Gaggl.
Stage semantics and the SCC-recursive
cursive meta-algorithm for computing preferred labellings
schema for argumentation semantics. J. Log. Comput.,
in abstract argumentation. In Proc. KR 2014, pages 42–51, 26(4):1149–1202, 2016. 2014.
[Dvoˇr´ak and Woltran, 2010] Wolfgang Dvoˇr´ak and Stefan
[Coste-Marquis et al., 2005] Sylvie Coste-Marquis, Caro- Woltran.
Complexity of semi-stable and stage seman-
line Devred, and Pierre Marquis. Symmetric argumenta-
tics in argumentation frameworks. Inf. Process. Lett.,
tion frameworks. In Proc. ECSQARU 2005, volume 3571 110(11):425–430, 2010.
of LNCS, pages 317–328. Springer, 2005.
[Dvoˇr´ak et al., 2012] Wolfgang Dvoˇr´ak, Stefan Szeider, and
[Courcelle, 2009] Bruno Courcelle. Linear delay enumera-
Stefan Woltran. Abstract argumentation via monadic sec-
tion and monadic second-order logic. Discrete Applied
ond order logic. In Proc. SUM 2012, volume 7520 of
Mathematics, 157(12):2675–2700, 2009.
LNCS, pages 85–98. Springer, 2012.
[Creignou and H´ebrard, 1997] Nadia Creignou and J-J
[Dvoˇr´ak et al., 2014] Wolfgang Dvoˇr´ak, Matti J¨arvisalo, Jo-
H´ebrard. On generating all solutions of generalized satis-
hannes P. Wallner, and Stefan Woltran. Complexity-
fiability problems. Informatique th´eorique et applications,
sensitive decision procedures for abstract argumentation. 31(6):499–511, 1997.
Artificial Intelligence, 206:53–78, 2014.
[Creignou et al., 2013] Nadia Creignou, Arne Meier, Julian-
[Dvoˇr´ak, 2012] Wolfgang Dvoˇr´ak. Computational Aspects
Steffen M¨uller, Johannes Schmidt, and Heribert Vollmer.
of Abstract Argumentation. PhD thesis, Technische Uni-
Paradigms for parameterized enumeration. In Proc. MFCS versit¨at Wien, 2012.
2013, volume 8087 of LNCS, pages 290–301. Springer,
[Flum et al., 2002] J¨org Flum, Markus Frick, and Martin 2013.
Grohe. Query evaluation via tree-decompositions. J. ACM,
[Dimopoulos and Torres, 1996] Yannis Dimopoulos and Al- 49(6):716–752, 2002.
berto Torres. Graph theoretical structures in logic pro-
[Gaggl and Woltran, 2013] Sarah Alice Gaggl and Stefan
grams and default theories. Theor. Comput. Sci., 170(1-
Woltran. The cf2 argumentation semantics revisited. J. 2):209–244, 1996.
Log. Comput., 23(5):925–949, 2013.
[Dimopoulos et al., 1997] Yannis Dimopoulos, Vangelis
[Goldberg, 1991] Leslie Ann Goldberg. Efficient algorithms
Magirou, and Christos H Papadimitriou. On kernels,
for listing combinatorial structures. PhD thesis, Univer- defaults and even graphs. Annals of Mathematics and sity of Edinburgh, UK, 1991.
Artificial Intelligence, 20(1-4):1–12, 1997.
[Johnson et al., 1988] David S. Johnson, Christos H. Pa-
[Dung, 1995] Phan Minh Dung. On the acceptability of ar-
padimitriou, and Mihalis Yannakakis. On generating all
guments and its fundamental role in nonmonotonic rea-
maximal independent sets. Inf. Process. Lett., 27(3):119–
soning, logic programming and n-person games. Artificial 123, 1988.
Intelligence, 77(2):321–357, 1995.
[Kazana and Segoufin, 2013] Wojciech Kazana and Luc
[Dunne and Bench-Capon, 2001] Paul E. Dunne and Trevor
Segoufin. Enumeration of first-order queries on classes of
J. M. Bench-Capon. Complexity and combinatorial prop-
structures with bounded expansion. In Proc. PODS 2013,
erties of argument systems. Univ. Liverpool, Tech. report, pages 297–308. ACM, 2013. 2001.
[Kr¨oll et al., 2016] Markus Kr¨oll, Reinhard Pichler, and Se-
[Dunne and Bench-Capon, 2002] Paul E. Dunne and Trevor
bastian Skritek. On the complexity of enumerating the an-
J. M. Bench-Capon. Coherence in finite argument systems.
swers to well-designed pattern trees. In Proc. ICDT 2016,
Artificial Intelligence, 141(1/2):187–203, 2002.
volume 48 of LIPIcs, pages 22:1–22:18, 2016. [ [
Dunne et al., 2013] Paul E. Dunne, Wolfgang Dvoˇr´ak, and
Rahwan and Simari, 2009] Iyad Rahwan and Guillermo R.
Stefan Woltran. Parametric properties of ideal semantics.
Simari, editors. Argumentation in Artificial Intelligence.
Artificial Intelligence, 202:1–28, 2013. Springer, 2009. [ [
Strozecki, 2010] Yann Strozecki. Enumeration complexity
Dunne et al., 2015] Paul E. Dunne, Wolfgang Dvoˇr´ak,
and matroid decomposition. PhD thesis, Universit´e Paris
Thomas Linsbichler, and Stefan Woltran. Characteristics Diderot – Paris 7, 2010.
of multiple viewpoints in abstract argumentation. Artificial
Intelligence, 228:153–178, 2015.
[Thimm et al., 2016] Matthias Thimm, Serena Villata, Fed-
erico Cerutti, Nir Oren, Hannes Strass, and Mauro Val-
[Dunne, 2007] Paul E. Dunne. Computational properties of
lati. Summary report of the first international competition
argument systems satisfying graph-theoretic constraints.
on computational models of argumentation. AI Magazine,
Artificial Intelligence, 171(10-15):701–729, 2007. 37(1):102–104, April 2016.
[Durand et al., 2014] Arnaud Durand, Nicole Schweikardt,
[Verheij, 1996] Bart Verheij. Two approaches to dialectical and Luc Segoufin.
Enumerating answers to first-order
argumentation: admissible sets and argumentation stages.
queries over databases of low degree. In Proc. PODS 2014,
In Proc. NAIC, pages 357–368, 1996. pages 121–131. ACM, 2014. 1152