• Keine Ergebnisse gefunden

Improved Answer-Set Programming Encodings for Abstract Argumentation

N/A
N/A
Protected

Academic year: 2022

Aktie "Improved Answer-Set Programming Encodings for Abstract Argumentation"

Copied!
27
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Improved Answer-Set Programming Encodings for Abstract Argumentation

Sarah Gaggl 1 Norbert Manthey 1 Alessandro Ronca 2 Johannes Wallner 3 Stefan Woltran 4

1

Technische Universität Dresden, Germany

2

La Sapienza, University of Rome, Italy

3

HIIT, University of Helsinki, Finland

4

Vienna University of Technology, Austria

(2)

Motivation

Efficient solvers for abstract argumentation are an important development

Reductions to answer set programming (ASP) are well-suited (enumeration of all solutions)

For high-complexity semantics saturation technique is required Complex and tricky loop-techniques are hard to follow and potentially lead to performance bottlenecks

We provide new and simpler encodings for preferred, stage and semi-stable semantics

Based on alternative characterization and conditional literals in

disjunction

(3)

Outline

1

Background

I

Abstract Argumentation

I

Syntax and Semantics (admissible, preferred)

2

ASP Encodings of AFs

I

Original Saturation Encodings

3

New Approach

I

New Characterization of Preferred Semantics

I

New ASP Encodings

4

Evaluation

5

Conclusion

(4)

Argumentation Framework

Abstract Argumentation Framework [Dung95]

An abstract argumentation framework (AF ) is a pair F = (A, R), where A is a finite set of arguments and R ⊆ A × A. Then (a, b) ∈ R if a attacks b. Argument a ∈ A is defended by S ⊆ A (in F ) iff, for each b ∈ A with (b, a) ∈ R, S attacks b.

Example

a b

c

d

e f

(5)

Semantics

Semantics for AFs

Let F = (A, R) and S ⊆ A, we say S is conflict-free in F , i.e. S ∈ cf (F ), if ∀a, b ∈ S: (a, b) 6∈ R. Then, S ∈ cf (F ) is

admissible in F , i.e. S ∈ adm(F ), if each a ∈ S is defended by S;

a preferred extension (of F ), i.e. S ∈ pref (F ), if S ∈ adm(F ) and for each T ∈ adm(F ), S 6⊂ T .

Example

a b

c

d

e f

adm(F ) = {∅, {a}, {c}, {a, c}, {a, d }, {c, f}, {a, c, f}, {a, d , f }}, and

pref (F ) = {{a, c, f},{a, d, f}}

(6)

ASP Encodings

Admissible Sets

Given an AF F = (A, R). A set S ⊆ A is admissible in F , if S is conflict-free in F

each a ∈ S is defended by S in F .

Encoding

F b = {arg(a) | a ∈ A} ∪ {att(a, b) | (a, b) ∈ R}

π adm =

 

 

 

 

in(X ) ← not out(X ), arg(X ) out(X ) ← not in(X ), arg(X )

← in(X ), in(Y ), att(X , Y ) defeated(X ) ← in(Y ), att(Y , X )

← in(X ), att(Y , X ), not defeated(Y )

 

 

 

 

Result: For each AF F , adm(F ) ≡ AS(π adm ( F b ))

(7)

Saturation Encodings

Preferred Extension

Given an AF (A, R). A set S ⊆ A is preferred in F , if S is admissible in F and for each T ⊆ A admissible in T , S 6⊂ T .

Encoding

π

saturate

=

 

 

 

 

 

 

 

 

 

 

 

 

inN(X )|outN(X ) ← out(X )

inN(X ) ← in(X )

spoil ← eq

spoil ← inN(X), inN(Y ), att(X , Y ) spoil ← inN(X), outN(Y ), att(Y , X ),

undefeated(Y ) inN(X ) ← spoil, arg(X ) outN(X ) ← spoil, arg(X )

← not spoil

 

 

 

 

 

 

 

 

 

 

 

 

 π

pref

= π

adm

∪ π

helpers

∪ π

saturate

Result: For each AF F , pref (F ) ≡ AS (π pref ( F b ))

(8)

Loop Encodings

Check if second guess is equal to the first one.

equpto(Y ) ← inf(Y ), in(Y ), inN(Y ) equpto(Y ) ← inf(Y ), out(Y ), outN(Y )

equpto(Y ) ← succ(Z , Y ), in(Y ), inN(Y ), equpto(Z )

equpto(Y ) ← succ(Z , Y ), out(Y ), outN(Y ), equpto(Z )

eq ← sup(Y ), equpto(Y )

(9)

Alternative Characterization for Preferred

Proposition 1

Let F = (A, R) be an AF and S ⊆ A be admissible in F . Then,

S ∈ pref (F ) iff, for each E ∈ adm(F ) such that E 6⊆ S, E ∪ S ∈ / cf (F ).

Example

a b

c

d

e f

adm(F ) = {∅, {a}, {c}, {a, c}, {a, d }, {c, f}, {a, c, f}, {a, d , f }}, and

pref (F ) = {{a, c, f},{a, d, f}}

(10)

New Encodings for Preferred

Proposition 1

Let F = (A, R) be an AF and S ⊆ A be admissible in F . Then,

S ∈ pref (F ) iff, for each E ∈ adm(F ) such that E 6⊆ S, E ∪ S ∈ / cf (F ).

π satpref

2

π

satpref2

=

 

 

 

 

 

 

 

 

 

 

nontrivial ← out(X )

witness(X ) : out(X ) ← nontrivial

spoil|witness(Z ) : att(Z , Y ) ← witness(X), att(Y , X )

spoil ← att(X , Y ), witness(X ),

witness(Y )

spoil ← in(X ), witness(Y ), att(X, Y )

witness(X ) ← spoil, arg(X )

← not spoil, nontrivial

 

 

 

 

 

 

 

 

 

 

 π

pref2

= π

adm

∪ π

satpref2

Result: For each AF F , pref (F ) ≡ AS(π pref

2

( F b ))

(11)

Functionality of New Encodings

nontrivial ← out(X )

witness(X ) : out(X) ← nontrivial Example

a b

c

d

e f

(12)

Functionality of New Encodings

nontrivial ← out(X )

witness(X ) : out(X) ← nontrivial Example

a b

c

d

e f

(13)

Functionality of New Encodings

nontrivial ← out(X )

witness(X ) : out(X ) ← nontrivial

spoil|witness(Z ) : att(Z , Y ) ← witness(X ), att(Y , X ) Example

a b

c

d

e f

(14)

Functionality of New Encodings

nontrivial ← out(X )

witness(X ) : out(X ) ← nontrivial

spoil | witness(Z ) : att(Z , Y ) ← witness(X ), att(Y , X )

spoil ← att(X , Y ), witness(X ), witness(Y )

Example

a b

c

d

e f

(15)

Functionality of New Encodings

nontrivial ← out(X )

witness(X ) : out(X ) ← nontrivial

spoil | witness(Z ) : att(Z , Y ) ← witness(X ), att(Y , X )

spoil ← att(X , Y ), witness(X ), witness(Y )

spoil ← in(X ), witness(Y ), att(X , Y )

Example

a b

c

d

e f

(16)

Functionality of New Encodings

nontrivial ← out(X )

witness(X ) : out(X ) ← nontrivial

spoil|witness(Z ) : att(Z , Y ) ← witness(X ), att(Y , X )

spoil ← att(X , Y ), witness(X ), witness(Y )

spoil ← in(X ), witness(Y ), att(X , Y )

witness(X ) ← spoil, arg(X )

← not spoil, nontrivial Example

a b

c

d

e f

(17)

Functionality of New Encodings

Proposition 1

Let F = (A, R) be an AF and S ⊆ A be admissible in F . Then,

S ∈ pref (F ) iff, for each E ∈ adm(F ) such that E 6⊆ S, E ∪ S ∈ / cf (F ).

Example

a b

c

d

e f

(18)

Positive Example

nontrivial ← out(X )

witness(X ) : out(X) ← nontrivial Example

a b

c

d

e f

(19)

Positive Example

nontrivial ← out(X )

witness(X ) : out(X) ← nontrivial Example

a b

c

d

e f

(20)

Positive Example

nontrivial ← out(X )

witness(X ) : out(X ) ← nontrivial

spoil|witness(Z ) : att(Z , Y ) ← witness(X ), att(Y , X ) Example

a b

c

d

e f

(21)

Positive Example

nontrivial ← out(X )

witness(X ) : out(X ) ← nontrivial

spoil | witness(Z ) : att(Z , Y ) ← witness(X ), att(Y , X )

spoil ← att(X , Y ), witness(X ), witness(Y )

Example

a b

c

d

e f

(22)

Positive Example

nontrivial ← out(X )

witness(X ) : out(X ) ← nontrivial

spoil | witness(Z ) : att(Z , Y ) ← witness(X ), att(Y , X )

spoil ← att(X , Y ), witness(X ), witness(Y )

spoil ← in(X ), witness(Y ), att(X , Y )

Example

a b

c

d

e f

(23)

Positive Example

nontrivial ← out(X )

witness(X ) : out(X ) ← nontrivial

spoil|witness(Z ) : att(Z , Y ) ← witness(X ), att(Y , X )

spoil ← att(X , Y ), witness(X ), witness(Y )

spoil ← in(X ), witness(Y ), att(X , Y )

witness(X ) ← spoil, arg(X )

← not spoil, nontrivial Example

a b

c

d

e f

(24)

Evaluation

New encodings were tested against CSP system ConArg, original encodings, and Metasp encodings

Collection of 4972 frameworks (structured and random) Reasoning task: enumeration of all extensions

10 min timeout

Bull HPC-Cluster (Taurus)

Intel Xeon CPU (E5-2670) with 2.60GHz

6.5 GB Ram, 600 seconds from 16 cores we used every 4th

We thank the Center for Information Services and High Performance

Computing (ZIH) at TU Dresden for generous allocations of computer time.

(25)

Results

PR usc solved med

ConArg 60 2814 43.65

Original - 3425 180.36

Meta 1 4626 20.83

New 101 4765 5.77

0 100 200 300 400 500 600

0 1000 2000 3000 4000 5000

time in seconds

solved frameworks CONARG-PR

META-PR NEW-PR ORIGINAL-PR

Figure : Runtimes for preferred (PR) semantics.

(26)

ICCMA 2015 Results

New encodings for preferred semantics reached in two categories of

the first International Competition on Computational Models of

Argument the 4th rank.

(27)

Conclusion and Future Work

With new characterization we avoided complicated looping techniques

New encodings clearly outperform original and metasp encodings New encodings scored good results at ICCMA 2015

Same results also for stage and semi-stable semantics (in the paper)

Encodings and benchmarks are available at

http://dbai.tuwien.ac.at/research/project/argumentation/

systempage/#conditional

Future Work

Optimize ASP encodings for ideal and eager semantics

Referenzen

ÄHNLICHE DOKUMENTE

(1) For the preferred and the semi-stable semantics, we compared existing saturation-based encodings [11] (here we called them handcrafted encodings) with novel alternative

The results, for naive semantics are due to (Coste-Marquis, Devred, and Marquis 2005), for stable semantics follows from (Dimopoulos and Torres 1996), for stage semantics have

stage2 semantics is defined in the SCC-recursive schema of cf2 and instantiated in the base case with stage

They are both based on naive sets, thus they are, in contrast to admissible-based semantics, capable to select arguments out of odd-length cycles as accepted.. Consider the

In this paper, we experimentally compare the original encodings (for the argumentation semantics based on preferred, semi-stable, and respectively, stage extensions) with new

From a given belief base of formulas (in a propositional modal logic with a single modality D standing for desire) and a query formula, one selects between different argument

To be more specific, the system is capable to compute the most important types of extensions (i.e., admissible, preferred, stable, complete, and grounded) in Dung’s origi- nal

The system we present in this paper follows this approach and provides solutions for reasoning problems in different types of argumentation frameworks (AFs) by means of computing