• Keine Ergebnisse gefunden

Towards a General Argumentation System Based on Answer-set Programming

N/A
N/A
Protected

Academic year: 2022

Aktie "Towards a General Argumentation System Based on Answer-set Programming"

Copied!
26
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

Towards a General Argumentation System Based on Answer-set Programming

Sarah Alice Gaggl

Institute of Informationsystems, Vienna University of Technology

(2)

Legal Reasoning

Sarah A. Gaggl, TU Vienna General Argumentation System Based on ASP 1

(3)

Social Networks

(4)

Decision Support

Sarah A. Gaggl, TU Vienna General Argumentation System Based on ASP 3

(5)

Motivation

Argumentation Frameworks (AFs)

AFs provide a formalism for a compactrepresentationand evaluationof such scenarios.

More complex semantics, especially in combination with an increasing amount of data, requires anautomated computationof such solutions.

Most of these problems areintractable, so implementing dedicated systems from the scratch is not the best idea.

Logic Programming (LP), in particularAnswer-set Programming (ASP), turned out to beadequateto solve problems associated to AFs.

We use ASP to design the systemASPARTIXfor the evaluation of several approaches how to deal with AFs.

(6)

Overview

1 Introduction to Abstract Argumentation Frameworks

2 ASP Encoding

3 ASPARTIX - System Demonstration

(7)

Abstract Argumentation Frameworks

First introduced by Phan Minh Dung in 1995.

AFs provide a formal way of dealing with conflicting knowledge.

Represent arguments together with a binary attack relation.

Conflicts are solved via semantics (admissible, preferred, stable).

They can be represented as directed graphs.

More formally

Anargumentation framework(AF) is a pair(A,R), where Ais a set of arguments

R⊆A×Ais a relation representing “attacks” (“defeats”)

b c d e

a

(8)

Semantics

Conflict-free

LetF= (A,R)be an AF. A setS⊆Ais said to beconflict-free (inF), if there arenoa,b∈S, such that(a,b)∈R. We denote the collection of sets which are conflict-free (inF) bycf(F).

Example

b c d e

a

cf(F) = {a,c},

Sarah A. Gaggl, TU Vienna General Argumentation System Based on ASP 6

(9)

Semantics

Conflict-free

LetF= (A,R)be an AF. A setS⊆Ais said to beconflict-free (inF), if there arenoa,b∈S, such that(a,b)∈R. We denote the collection of sets which are conflict-free (inF) bycf(F).

Example

b c d e

a

cf(F) =

{a,c},{a,d},

(10)

Semantics

Conflict-free

LetF= (A,R)be an AF. A setS⊆Ais said to beconflict-free (inF), if there arenoa,b∈S, such that(a,b)∈R. We denote the collection of sets which are conflict-free (inF) bycf(F).

Example

b c d e

a

cf(F) =

{a,c},{a,d},{b,d},

Sarah A. Gaggl, TU Vienna General Argumentation System Based on ASP 6

(11)

Semantics

Conflict-free

LetF= (A,R)be an AF. A setS⊆Ais said to beconflict-free (inF), if there arenoa,b∈S, such that(a,b)∈R. We denote the collection of sets which are conflict-free (inF) bycf(F).

Example

b c d e

a

cf(F) =

{a,c},{a,d},{b,d},{a},{b},{c},{d},∅

(12)

Semantics cont.

Stable Extension

Given an AF(A,R). A setS⊆AisstableinF, if Sis conflict-free inF

for eacha∈A\S, there exists ab∈S, such that(b,a)∈R.

Example

b c d e

a

stable(F) = {a,c},

Sarah A. Gaggl, TU Vienna General Argumentation System Based on ASP 7

(13)

Semantics cont.

Stable Extension

Given an AF(A,R). A setS⊆AisstableinF, if Sis conflict-free inF

for eacha∈A\S, there exists ab∈S, such that(b,a)∈R.

Example

b c d e

a

stable(F) =

{a,c},{a,d},

(14)

Semantics cont.

Stable Extension

Given an AF(A,R). A setS⊆AisstableinF, if Sis conflict-free inF

for eacha∈A\S, there exists ab∈S, such that(b,a)∈R.

Example

b c d e

a

stable(F) =

{a,c},{a,d},{b,d},

Sarah A. Gaggl, TU Vienna General Argumentation System Based on ASP 7

(15)

Semantics cont.

Stable Extension

Given an AF(A,R). A setS⊆AisstableinF, if Sis conflict-free inF

for eacha∈A\S, there exists ab∈S, such that(b,a)∈R.

Example

b c d e

a

stable(F) =

{a,c},{a,d},{b,d},{a},{b},{c},{d},∅

(16)

Encodings

Conflict-free Set

Given an AF(A,R).

A setS⊆Aisconflict-freeinF, if, for eacha,b∈S,(a,b)∈/R.

Encoding for

F = (A,R)

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

πcf =

in(X) ← notout(X),arg(X) out(X) ← notin(X),arg(X)

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

 Result: For each AFF,cf(F)≡ AS(πcf(bF))

Sarah A. Gaggl, TU Vienna General Argumentation System Based on ASP 8

(17)

Encodings cont.

Stable Extension

Given an AF(A,R). A setS⊆AisstableinF, if Sis conflict-free inF

eacha∈A\S, there exists ab∈S, such that(b,a)∈R.

Encoding

πstable=









in(X) ← notout(X),arg(X) out(X) ← notin(X),arg(X)

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

← out(X),notdefeated(X)









 Result: For each AFF,stable(F)≡ AS(πstable(bF))

(18)

ASPARTIX - System Description

Sarah A. Gaggl, TU Vienna General Argumentation System Based on ASP 10

(19)

ASPARTIX - System Description cont.

Semanticsandtypesof AFs incorporated in ASPARTIX:

admissible, complete, stable, preferred, grounded, ideal, stage, semi-stable and cf2;

Preference-based AFs, Value-based AFs, Bipolar AFs, Dynamic AFs and AFs with Recursive Attacks.

(20)

Conclusion

AFs became very important in Artificial Intelligence. They provide a popular tool for modeling and evaluating conflicting knowledge.

Problems associated to AFs are in general intractable, therefore we translate them to ASP.

Web front-end of ASPARTIX is freely available.

http://rull.dbai.tuwien.ac.at:8080/ASPARTIX

Sarah A. Gaggl, TU Vienna General Argumentation System Based on ASP 12

(21)

Complexity

Relation between Semantics

pref stable

ground

compl adm

Complexity

stable adm pref comp ground Cred NP-c NP-c NP-c NP-c inP Skept coNP-c (trivial) ΠP2-c inP inP

[Dimopoulos & Torres 96; Dunne & Bench-Capon 02; Coste-Marquiset al.05]

(22)

Complexity cont.

Complexity of Argumentation

stable adm pref comp ground Cred NP-c NP-c NP-c NP-c inP Skept coNP-c (trivial) ΠP2-c inP inP

Recall: Data-Complexity of Datalog

stratified programs with negation with neg. and disjunction

|=c P-c NP-c ΣP2-c

|=s P-c coNP-c ΠP2-c

[Dantsin,Eiter,Gottlob,Voronkov 01]

Sarah A. Gaggl, TU Vienna General Argumentation System Based on ASP 14

(23)

Performance Tests

Tested Systems:

Grounders: DLV, lparse, GrinGo

Solvers: DLV, smodels, cmodels, clasp, claspD, gnt Testing:

Randomly generated AFs from 90 to 200 arguments with edge density from 10% to 30%.

In total 21303 tests were performed.

(24)

Test Results

Admissible Extensions:

Sarah A. Gaggl, TU Vienna General Argumentation System Based on ASP 16

(25)

Test Results cont.

Preferred Extensions:

(26)

Test Results cont.

Stable Extensions:

Sarah A. Gaggl, TU Vienna General Argumentation System Based on ASP 18

Referenzen

ÄHNLICHE DOKUMENTE

und deren kurze L¨ osung wir effizient ¨ uberpr¨ ufen k¨ onnen (wenn wir diese L¨ osung erst einmal gezeigt bekommen). Intuitiv: NP enth¨ alt so ziemlich alle Probleme, die nach

•  set of those Decision problems, for that an algorithm exists, which solves the problem and which consumes no more than polynomial runtime.. The class P:

Dann sieht man nach, ob es der Fall ist und im allgemeinen ist es nicht der

•  Jede Kante repräsentiert eine Belegung von Variable auf ebene i des Baumes. •  repräsentiert den Wert von Variable

Es ist nicht sofort klar, wie eine L¨osung (d.h. ein Zeuge w ) gefunden werden kann, da man nicht alle Zeugen systematisch durchprobieren kann... QA-FEAS.. • Daraus folgt

Jeweils berechenbar aus w in polynom. Zeit

Gesucht ist eine bijektive Abbildung zwischen den ungekürzten Brüchen und den natür- lichen Zahlen..

Abb. Das ist der beste Spieler in der rangmäßig zweiten Hälfte. Jede Verdoppelung der Spielerzahl benötigt eine zusätzliche Runde. b) Der zweitbeste Spieler kommt ins