Algorithm Search⌘K

Theoremadvanced

Complexity of preferred semantics

Also called Dunne-Bench-Capon complexity of argumentation.

For finite frameworks, credulous acceptance under preferred semantics is NP-complete, verification is coNP-complete, and sceptical acceptance is Pi2P-complete.

Preferred semantics is the most used credulous semantics of abstract argumentation, and its decision problems sit at two levels of the polynomial hierarchy. Asking whether an argument is in some preferred extension is NP-complete, like SAT. Asking whether it is in every preferred extension is Π2P\Pi_2^P-complete, like a QBF of the form ∀∃\forall \exists. The jump comes from maximality: to refute sceptical acceptance one must show a preferred extension without the argument, and checking that a set is preferred is itself coNP-complete. The definitions are on preferred extension, and the full table for all semantics is on argument acceptance.

Statement

Let F=(A,R)F = (A, R) be a finite argumentation framework, given as the list of its arguments and attacks, with n=∣A∣n = |A| and m=∣R∣m = |R|. Let prf(F)\mathrm{prf}(F) be its set of preferred extensions, which is never empty (Dung 1995, Corollary 12). Consider the decision problems

  • Credprf\mathrm{Cred}_{prf}: given FF and a∈Aa \in A, is aa in some preferred extension?
  • Skeptprf\mathrm{Skept}_{prf}: given FF and a∈Aa \in A, is aa in every preferred extension?
  • Verprf\mathrm{Ver}_{prf}: given FF and S⊆AS \subseteq A, is SS a preferred extension?
  • Existsprf¬∅\mathrm{Exists}^{\neg\emptyset}_{prf}: given FF, is there a nonempty preferred extension?

Hardness is under polynomial-time many-one reductions (the reductions below are also logspace). The complexity is combined: the whole framework is the input.

Theorem.

  1. Credprf\mathrm{Cred}_{prf} is NP-complete (Dimopoulos and Torres 1996).
  2. Verprf\mathrm{Ver}_{prf} is coNP-complete (Dimopoulos and Torres 1996).
  3. Existsprf¬∅\mathrm{Exists}^{\neg\emptyset}_{prf} is NP-complete.
  4. Skeptprf\mathrm{Skept}_{prf} is Π2P\Pi_2^P-complete (Dunne and Bench-Capon 2002).

These are the preferred row of Table 1 in Dvořák and Dunne (2018), which also gives coNP-completeness of deciding whether the preferred extension is unique.

In plain words

A preferred extension is a largest group of arguments that hangs together and answers every attack on it. Finding out whether a given argument can be in such a group is as hard as solving a satisfiability puzzle, but no harder: if someone shows you a group, you can check it fast. Checking that a given group is one of the largest ones is harder, because you must rule out every bigger group. Finding out whether an argument is in all of the largest groups is harder still. To say no, you must exhibit a largest group without it, and that claim of being largest cannot be checked fast. So the question has the shape "for all choices, there is a completion", which is the second level of the hierarchy.

Proof

We use three facts from Dung (1995). A set is admissible when it is conflict-free and defends each member. Every admissible set is contained in a preferred extension (Theorem 11). Every preferred extension is admissible by definition and complete (Theorem 25).

Membership.

  • Credulous acceptance is in NP. By Theorem 11, aa is in some preferred extension exactly when aa is in some admissible set. Guess SS and check in O(n+m)O(n + m) time that it is admissible and holds aa.
  • Verification is in coNP. SS is not preferred exactly when SS is not admissible, or some admissible TT satisfies S⊊TS \subsetneq T. Guess TT and check it in polynomial time.
  • Nonempty existence is in NP. A nonempty preferred extension exists exactly when a nonempty admissible set exists, by Theorem 11.
  • Sceptical acceptance is in Π2P\Pi_2^P. The complement asks for a preferred SS with a∉Sa \notin S. Guess SS and verify that it is preferred with one call to an NP oracle (the complement of verification). So the complement is in Σ2P=NPNP\Sigma_2^P = \mathrm{NP}^{\mathrm{NP}}.

The standard translation (Dvořák and Dunne, Reduction 3.6). Let φ\varphi be a CNF formula with clause set CC over variables XX. The framework FφF_\varphi has the arguments {φ}∪C∪X∪Xˉ\{\varphi\} \cup C \cup X \cup \bar{X}, where Xˉ={xˉ:x∈X}\bar{X} = \{\bar{x} : x \in X\} stands for the negative literals, and the attacks

  • (c,φ)(c, \varphi) for each clause cc;
  • (x,xˉ)(x, \bar{x}) and (xˉ,x)(\bar{x}, x) for each variable xx;
  • (l,c)(l, c) for each literal ll that occurs in the clause cc.

Claim A. φ\varphi is in some admissible set of FφF_\varphi if and only if φ\varphi is satisfiable.

If τ\tau is a model, let S={φ}∪{l:l true under τ}S = \{\varphi\} \cup \{l : l \text{ true under } \tau\}. SS has no clause and no complementary pair, so it is conflict-free. Each clause, an attacker of φ\varphi, has a true literal in SS that attacks it. Each literal l∈Sl \in S is attacked only by its complement, which ll attacks. So SS is admissible. Conversely, let SS be admissible with φ∈S\varphi \in S. SS holds no clause, since each clause attacks φ\varphi. Each clause must be attacked by SS, and only literals attack clauses, so SS holds a literal of each clause. SS holds no complementary pair. So "true when the positive literal is in SS" is a model.

By Claim A and Theorem 11, (Fφ,φ)(F_\varphi, \varphi) is a yes-instance of Credprf\mathrm{Cred}_{prf} exactly when φ\varphi is satisfiable. This proves part 1.

The construction for the second level (Dvořák and Dunne, Reduction 3.7). Let Φ=∀Y ∃Z φ\Phi = \forall Y\, \exists Z\, \varphi, where φ\varphi is in CNF with clause set CC over X=Y∪ZX = Y \cup Z. The framework HΦH_\Phi is FφF_\varphi plus one argument φˉ\bar\varphi and the attacks

  • (φ,φˉ)(\varphi, \bar\varphi) and (φˉ,φˉ)(\bar\varphi, \bar\varphi);
  • (φˉ,z)(\bar\varphi, z) and (φˉ,zˉ)(\bar\varphi, \bar{z}) for each z∈Zz \in Z.

For an admissible set SS of HΦH_\Phi:

  • (F1) φˉ∉S\bar\varphi \notin S, because φˉ\bar\varphi attacks itself.
  • (F2) If SS holds a ZZ-literal, then φ∈S\varphi \in S. The literal is attacked by φˉ\bar\varphi, so SS attacks φˉ\bar\varphi, and the only attackers of φˉ\bar\varphi are φ\varphi and φˉ\bar\varphi.
  • (F3) If φ∈S\varphi \in S, then as in Claim A, SS holds no clause and a literal of each clause, with no complementary pair.
  • (F4) If a clause cc is in SS, then SS attacks each literal ll of cc. The attackers of ll are its complement and, for a ZZ-literal, φˉ\bar\varphi. By (F1), the complement of ll is in SS. If cc has a ZZ-literal, this puts a ZZ-literal in SS, so φ∈S\varphi \in S by (F2), and cc attacks φ\varphi, a conflict. So cc has only YY-literals, and SS holds the complement of each of them.

Lemma B. Each preferred extension EE of HΦH_\Phi holds exactly one of yy, yˉ\bar{y} for each y∈Yy \in Y.

At most one, by conflict-freeness. Suppose it holds neither. The only attacker of yy is yˉ∉E\bar{y} \notin E, and yy attacks yˉ\bar{y}. yy also attacks the clauses that contain yy, but by (F4) such a clause in EE would force yˉ∈E\bar{y} \in E. So E∪{y}E \cup \{y\} is conflict-free, and it defends each member, which contradicts the maximality of EE. □\square

Claim C. φ\varphi is in every preferred extension of HΦH_\Phi if and only if Φ\Phi is true.

(⇐\Leftarrow) Let Φ\Phi be true and let EE be preferred. By Lemma B, EE fixes an assignment II of YY. Choose IZI_Z such that I∪IZI \cup I_Z satisfies φ\varphi, and let TT be {φ}\{\varphi\} plus the literals true under I∪IZI \cup I_Z. TT is admissible: it is conflict-free, each clause is attacked by a true literal of TT, each literal is defended against its complement by itself, and each ZZ-literal is defended against φˉ\bar\varphi by φ\varphi. Suppose φ∉E\varphi \notin E. By (F1) and (F2), EE holds no φˉ\bar\varphi and no ZZ-literal. If EE held a clause cc, then by (F4) cc would have only YY-literals, all false under II, so I∪IZI \cup I_Z would make cc false. So EE is exactly the set of the YY-literals true under II, and E⊊TE \subsetneq T, which contradicts maximality. So φ∈E\varphi \in E.

(⇒\Rightarrow) Let Φ\Phi be false, with an assignment II of YY that no IZI_Z extends to a model. The set SIS_I of the YY-literals true under II is admissible: no ZZ-literal or φˉ\bar\varphi is involved, and each literal defends itself. By Theorem 11 there is a preferred E⊇SIE \supseteq S_I, and by Lemma B its YY-literals are exactly SIS_I. If φ∈E\varphi \in E, then (F3) gives a consistent set of literals that hits each clause and agrees with II on YY, which is a model extending II. That is impossible, so φ∉E\varphi \notin E. □\square

Deciding the truth of ∀Y∃Z φ\forall Y \exists Z\, \varphi with φ\varphi in CNF is Π2P\Pi_2^P-complete (Wrathall 1976). HΦH_\Phi has ∣C∣+2∣X∣+2|C| + 2|X| + 2 arguments and is built in logspace. This proves part 4.

Verification and nonempty existence. Let φ\varphi be a CNF formula with no empty clause (a formula with an empty clause is unsatisfiable and can be mapped to a fixed instance). Take Y=∅Y = \emptyset in the construction, so every variable is in ZZ and φˉ\bar\varphi attacks every literal. Then every nonempty admissible set holds φ\varphi: a literal brings in φ\varphi by (F2), and a clause cannot be in an admissible set by (F4), because each clause has a ZZ-literal. So by (F3) and the first half of Claim A, a nonempty admissible set exists if and only if φ\varphi is satisfiable. Hence ∅\emptyset is preferred exactly when φ\varphi is unsatisfiable, which reduces UNSAT to Verprf\mathrm{Ver}_{prf} (part 2), and a nonempty preferred extension exists exactly when φ\varphi is satisfiable, which reduces SAT to Existsprf¬∅\mathrm{Exists}^{\neg\emptyset}_{prf} (part 3).

Consequences

  • Same credulous problem for three semantics. By Theorem 11 and Theorem 25, credulous acceptance under admissible, complete and preferred semantics is one problem, and one SAT call on the argumentation SAT encoding decides it.
  • Preferred is harder than stable for sceptical reasoning. Sceptical acceptance under stable semantics is coNP-complete. If sceptical preferred acceptance were in coNP, then Π2P=coNP\Pi_2^P = \mathrm{coNP} and the polynomial hierarchy would collapse to its first level.
  • Solver design. Unless the hierarchy collapses, no single SAT call can decide sceptical preferred acceptance. Practical solvers use a loop of SAT calls that look for an admissible set avoiding the query and then try to extend it.
  • Semi-stable semantics. For semi-stable semantics, credulous acceptance is already Σ2P\Sigma_2^P-complete, so the maximality of the range costs one level more than the maximality of the set.

Tightness

  • Odd-cycle-free frameworks. If a finite framework has no directed cycle of odd length, its preferred and stable extensions coincide, so sceptical preferred acceptance falls to coNP-complete, and the Π2P\Pi_2^P bound needs odd cycles. The construction HΦH_\Phi has one: the self-attack of φˉ\bar\varphi.
  • Polynomial classes. On acyclic, bipartite and even-cycle-free frameworks, all four problems of the theorem are in polynomial time, and the same holds on symmetric frameworks (Dvořák and Dunne, Section 3.4).
  • The hypotheses matter. The theorem is about combined complexity on finite frameworks given explicitly. It says nothing about frameworks given in a succinct form, where the bounds can be higher, or about structured formalisms that first have to build the framework.

History

Dung defined preferred extensions in 1995 and proved that they always exist. Dimopoulos and Torres in 1996 studied kernels and related graph structures in logic programs and default theories and obtained the NP and coNP results for stable, admissible and preferred semantics. Dunne and Bench-Capon in 2002 studied coherence, the case where the preferred and stable extensions coincide, and proved that sceptical acceptance under preferred semantics is Π2P\Pi_2^P-complete. The construction above is the variant given in the survey of Dvořák and Dunne in the Handbook of Formal Argumentation (2018), whose Table 1 collects the complexity of all standard semantics.

References

  1. Wolfgang Dvořák and Paul E. Dunne, Computational problems in formal argumentation and their complexity, in Pietro Baroni, Dov Gabbay, Massimiliano Giacomin and Leendert van der Torre (eds), Handbook of Formal Argumentation, volume 1, College Publications (2018), Section 3.3 (Table 1, Reduction 3.6 for the NP and coNP bounds and Reduction 3.7 for the Pi2P bound) and Section 3.4 (tractable classes and odd-cycle-free frameworks)
  2. Paul E. Dunne and Trevor J. M. Bench-Capon, Coherence in finite argument systems, Artificial Intelligence 141(1-2), 187 to 203 (2002), the whole paper (sceptical acceptance under preferred semantics is Pi2P-complete)
  3. Yannis Dimopoulos and Alberto Torres, Graph theoretical structures in logic programs and default theories, Theoretical Computer Science 170(1-2), 209 to 244 (1996), the whole paper (the NP-completeness and coNP-completeness results for preferred semantics)
  4. Phan Minh Dung, On the acceptability of arguments and its fundamental role in nonmonotonic reasoning, logic programming and n-person games, Artificial Intelligence 77(2), 321 to 357 (1995), Definition 7, Theorem 11, Corollary 12 and Theorem 25
  5. Celia Wrathall, Complete sets and the polynomial-time hierarchy, Theoretical Computer Science 3(1), 23 to 33 (1976), the whole paper (QBF with k alternations is complete for the k-th level)

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/0A79JT/text.yaml