Pakota: A System for Enforcement in Abstract Argumentation Andreas - - PowerPoint PPT Presentation

pakota a system for enforcement in abstract argumentation
SMART_READER_LITE
LIVE PREVIEW

Pakota: A System for Enforcement in Abstract Argumentation Andreas - - PowerPoint PPT Presentation

Pakota: A System for Enforcement in Abstract Argumentation Andreas Niskanen Johannes P. Wallner Matti J arvisalo HIIT, Department of Computer Science University of Helsinki Finland November 10, 2016 @ JELIA 2016, Larnaca, Cyprus Niskanen


slide-1
SLIDE 1

Pakota: A System for Enforcement in Abstract Argumentation

Andreas Niskanen Johannes P. Wallner Matti J¨ arvisalo

HIIT, Department of Computer Science University of Helsinki Finland

November 10, 2016 @ JELIA 2016, Larnaca, Cyprus

Niskanen (HIIT, UH) Pakota November 10, 2016 1 / 17

slide-2
SLIDE 2

Motivation

Argumentation

An active area of modern AI research Connections to logic, philosophy, and law Applications: decision support, legal reasoning, medical diagnostics, etc.

Dung’s argumentation frameworks (AFs)

Central KR formalism in abstract argumentation Recent interest in dynamic aspects of AFs

◮ E.g., how to adjust a given AF in light of new knowledge?

a b c d

Niskanen (HIIT, UH) Pakota November 10, 2016 2 / 17

slide-3
SLIDE 3

Motivation

Argumentation

An active area of modern AI research Connections to logic, philosophy, and law Applications: decision support, legal reasoning, medical diagnostics, etc.

Dung’s argumentation frameworks (AFs)

Central KR formalism in abstract argumentation Recent interest in dynamic aspects of AFs

◮ E.g., how to adjust a given AF in light of new knowledge?

a b c d

Niskanen (HIIT, UH) Pakota November 10, 2016 2 / 17

slide-4
SLIDE 4

Contributions

Pakota

System for solving enforcement via employing MaxSAT and SAT solvers. Describe the system in detail

◮ System architecture overview ◮ Features ⋆ Supported semantics and problem variants ⋆ MaxSAT and SAT solver interfaces ◮ Algorithms ⋆ Problems in NP: direct MaxSAT encodings ⋆ Beyond NP: MaxSAT-based CEGAR procedures ◮ Input format, usage and options

Provide benchmarks and generators for enforcement Evaluate the impact of the choice of the MaxSAT solver on scalability

Niskanen (HIIT, UH) Pakota November 10, 2016 3 / 17

slide-5
SLIDE 5

Argumentation Frameworks

Syntax

An argumentation framework (AF) is a directed graph F = (A, R), where A is the set of arguments R ⊆ A × A is the attack relation

◮ a → b means argument a attacks argument b

Semantics

Define sets of jointly accepted arguments or extensions a function σ mapping an AF F = (A, R) to a collection σ(F) ⊆ 2A e.g. conflict-free: E ∈ cf (F) if E is an independent set

Acceptability of arguments

Given an AF F = (A, R) and semantics σ, an argument a ∈ A is credulously accepted under σ iff a is in some extension skeptically accepted under σ iff a is in all extensions

Niskanen (HIIT, UH) Pakota November 10, 2016 4 / 17

slide-6
SLIDE 6

Argumentation Frameworks

Syntax

An argumentation framework (AF) is a directed graph F = (A, R), where A is the set of arguments R ⊆ A × A is the attack relation

◮ a → b means argument a attacks argument b

Semantics

Define sets of jointly accepted arguments or extensions a function σ mapping an AF F = (A, R) to a collection σ(F) ⊆ 2A e.g. conflict-free: E ∈ cf (F) if E is an independent set

Acceptability of arguments

Given an AF F = (A, R) and semantics σ, an argument a ∈ A is credulously accepted under σ iff a is in some extension skeptically accepted under σ iff a is in all extensions

Niskanen (HIIT, UH) Pakota November 10, 2016 4 / 17

slide-7
SLIDE 7

Argumentation Frameworks

Syntax

An argumentation framework (AF) is a directed graph F = (A, R), where A is the set of arguments R ⊆ A × A is the attack relation

◮ a → b means argument a attacks argument b

Semantics

Define sets of jointly accepted arguments or extensions a function σ mapping an AF F = (A, R) to a collection σ(F) ⊆ 2A e.g. conflict-free: E ∈ cf (F) if E is an independent set

Acceptability of arguments

Given an AF F = (A, R) and semantics σ, an argument a ∈ A is credulously accepted under σ iff a is in some extension skeptically accepted under σ iff a is in all extensions

Niskanen (HIIT, UH) Pakota November 10, 2016 4 / 17

slide-8
SLIDE 8

AF Reasoning Tasks

Static computational problems

Direct inference from a given AF—no change involved credulous and skeptical acceptance of an argument extension enumeration Many system implementations available!

Dynamic computational problems

How to change a given AF to support new information?

Pakota

First system implementation in its generality for solving instances of extension enforcement status enforcement

Niskanen (HIIT, UH) Pakota November 10, 2016 5 / 17

slide-9
SLIDE 9

AF Reasoning Tasks

Static computational problems

Direct inference from a given AF—no change involved credulous and skeptical acceptance of an argument extension enumeration Many system implementations available!

Dynamic computational problems

How to change a given AF to support new information?

Pakota

First system implementation in its generality for solving instances of extension enforcement status enforcement

Niskanen (HIIT, UH) Pakota November 10, 2016 5 / 17

slide-10
SLIDE 10

AF Reasoning Tasks

Static computational problems

Direct inference from a given AF—no change involved credulous and skeptical acceptance of an argument extension enumeration Many system implementations available!

Dynamic computational problems

How to change a given AF to support new information?

Pakota

First system implementation in its generality for solving instances of extension enforcement status enforcement

Niskanen (HIIT, UH) Pakota November 10, 2016 5 / 17

slide-11
SLIDE 11

Extension Enforcement

Problem definition

[Coste-Marquis et al., 2015; Wallner et al., 2016]

Input: AF F = (A, R), T ⊆ A, semantics σ Task: Find an AF F ′ = (A, R′) such that

◮ T ∈ σ(F ′) (strict extension enforcement) ◮ T ⊆ T ′ ∈ σ(F ′) (non-strict extension enforcement)

and the number of changes |R∆R′| is minimized.

Example

Enforcing T = {a} strictly under the preferred semantics.

a b c a b c

Niskanen (HIIT, UH) Pakota November 10, 2016 6 / 17

slide-12
SLIDE 12

Extension Enforcement

Problem definition

[Coste-Marquis et al., 2015; Wallner et al., 2016]

Input: AF F = (A, R), T ⊆ A, semantics σ Task: Find an AF F ′ = (A, R′) such that

◮ T ∈ σ(F ′) (strict extension enforcement) ◮ T ⊆ T ′ ∈ σ(F ′) (non-strict extension enforcement)

and the number of changes |R∆R′| is minimized.

Example

Enforcing T = {a} strictly under the preferred semantics.

a b c a b c

Niskanen (HIIT, UH) Pakota November 10, 2016 6 / 17

slide-13
SLIDE 13

Status Enforcement

Credulous status enforcement

[Niskanen et al., 2016]

Input: AF F = (A, R), disjoint sets P, N ⊆ A, semantics σ Task: Find an AF F ′ = (A, R′) such that

◮ all arguments in P are credulously accepted ◮ all arguments in N are not credulously accepted

and the number of changes |R∆R′| is minimized.

Skeptical status enforcement

[Niskanen et al., 2016]

Input: AF F = (A, R), disjoint sets P, N ⊆ A, semantics σ Task: Find an AF F ′ = (A, R′) such that

◮ all arguments in P are skeptically accepted ◮ all arguments in N are not skeptically accepted

and the number of changes |R∆R′| is minimized.

Niskanen (HIIT, UH) Pakota November 10, 2016 7 / 17

slide-14
SLIDE 14

Status Enforcement

Credulous status enforcement

[Niskanen et al., 2016]

Input: AF F = (A, R), disjoint sets P, N ⊆ A, semantics σ Task: Find an AF F ′ = (A, R′) such that

◮ all arguments in P are credulously accepted ◮ all arguments in N are not credulously accepted

and the number of changes |R∆R′| is minimized.

Skeptical status enforcement

[Niskanen et al., 2016]

Input: AF F = (A, R), disjoint sets P, N ⊆ A, semantics σ Task: Find an AF F ′ = (A, R′) such that

◮ all arguments in P are skeptically accepted ◮ all arguments in N are not skeptically accepted

and the number of changes |R∆R′| is minimized.

Niskanen (HIIT, UH) Pakota November 10, 2016 7 / 17

slide-15
SLIDE 15

Computational Complexity of Enforcement

Table: Complexity of extension and status enforcement.

[Wallner et al., 2016; Niskanen et al., 2016]

extension enf. status enf. (N = ∅) status enf. (unrestr. case) σ strict non-strict credulous skeptical credulous skeptical cf in P in P in P trivial in P trivial adm in P NP-c NP-c trivial ΣP

2 -c

trivial stb in P NP-c NP-c ΣP

2 -c

ΣP

2 -c

ΣP

2 -c

com NP-c NP-c NP-c NP-c ΣP

2 -c

NP-c prf ΣP

2 -c

NP-c NP-c in ΣP

3

ΣP

2 -c

in ΣP

3

Niskanen (HIIT, UH) Pakota November 10, 2016 8 / 17

slide-16
SLIDE 16

Pakota

Features of the system

Employs MaxSAT and SAT solvers for solving enforcement instances Allows for optimally solving

◮ extension enforcement under σ ∈ {adm, com, stb, prf } ◮ credulous status enforcement under σ ∈ {adm, com, stb, prf } ◮ skeptical status enforcement under σ ∈ {adm, stb}

Offers an interface for plugging in the MaxSAT solver of choice Output of MaxSAT encodings in standard WCNF and LP formats

Niskanen (HIIT, UH) Pakota November 10, 2016 9 / 17

slide-17
SLIDE 17

Enforcement via Maximum Satisfiability

The (partial) maximum satisfiability problem

Input: Hard clauses ϕh and soft clauses ϕs Task: Find a truth assignment that satisfies all hard clauses and as many soft clauses as possible Used as a declarative language for solving optimization problems in NP.

NP-encodings

Soft clauses encode modifications to the attack structure Hard clauses encode the properties of enforcement

Niskanen (HIIT, UH) Pakota November 10, 2016 10 / 17

slide-18
SLIDE 18

Enforcement via Maximum Satisfiability

The (partial) maximum satisfiability problem

Input: Hard clauses ϕh and soft clauses ϕs Task: Find a truth assignment that satisfies all hard clauses and as many soft clauses as possible Used as a declarative language for solving optimization problems in NP.

NP-encodings

Soft clauses encode modifications to the attack structure Hard clauses encode the properties of enforcement

Niskanen (HIIT, UH) Pakota November 10, 2016 10 / 17

slide-19
SLIDE 19

Counterexample-Guided Abstraction Refinement

Beyond NP: Counterexample-guided abstraction refinement (CEGAR)

Start with a NP-abstraction, solved using a MaxSAT solver

◮ Lower bound on the cost of the solution

Refine using a counterexample, provided by a SAT solver, until no counterexample is found

◮ SAT check on the validity of the solution

MaxSAT Solver

  • n abstraction

SAT Solver counterexample? exclude attack structure modified AF Input Output

Niskanen (HIIT, UH) Pakota November 10, 2016 11 / 17

slide-20
SLIDE 20

Counterexample-Guided Abstraction Refinement

Beyond NP: Counterexample-guided abstraction refinement (CEGAR)

Start with a NP-abstraction, solved using a MaxSAT solver

◮ Lower bound on the cost of the solution

Refine using a counterexample, provided by a SAT solver, until no counterexample is found

◮ SAT check on the validity of the solution

MaxSAT Solver

  • n abstraction

SAT Solver counterexample? exclude attack structure modified AF Input Output

Niskanen (HIIT, UH) Pakota November 10, 2016 11 / 17

slide-21
SLIDE 21

System Architecture

APX Input AF + query Pakota Enf. instance Enforcement Ext. Status

  • Cred. Skept.

SAT interface

MiniSAT Glucose

· · · MaxSAT interface

OpenWBO LMHS

· · ·

check refine encode decode

AF APX Output Optimal solution AF

Niskanen (HIIT, UH) Pakota November 10, 2016 12 / 17

slide-22
SLIDE 22

Performance Overview: First Level

number of arguments median CPU time 50 100 150 200 250 300 350 0.01 0.1 1 10 100 1000

  • CPLEX

MaxHS MSCG Maxino WPM OpenWBO 1000 1500 2000 2500 200 400 600 800 instances solved CPU time

  • MaxHS

WPM Maxino MSCG Open−WBO CPLEX

Figure: MaxSAT solver comparison on NP-complete extension enforcement; Left: strict enf. under complete; right: non-strict enf. under stable

Niskanen (HIIT, UH) Pakota November 10, 2016 13 / 17

slide-23
SLIDE 23

Performance Overview: Second Level

  • number of arguments

CPU time (seconds) 25 50 75 100 125 150 175 200 0.001 0.01 0.1 1 10 100 1000 median

  • OpenWBO CPU time

LMHS CPU time

  • number of arguments

200 175 150 125 100 75 50 25

0.01 0.1 1 10 100 1000 0.01 0.1 1 10 100 1000

Figure: MaxSAT solver comparison on ΣP

2 -complete extension enforcement;

Strict enforcement under preferred

Niskanen (HIIT, UH) Pakota November 10, 2016 14 / 17

slide-24
SLIDE 24

Paper Summary

Pakota

The first system implementation in its generality for solving problem instances of extension and status enforcement Utilizes MaxSAT solvers directly for the NP-complete variants and a CEGAR procedure for the problems beyond NP

Contributions

Overview of the Pakota system:

◮ System architecture and features ◮ Details on encodings and algorithms ◮ More in paper!

Empirical evaluation of the impact of the choice of MaxSAT solvers System available online under an open source licence: http://www.cs.helsinki.fi/group/coreo/pakota/ Future: Extending the system to support further central AF semantics

Niskanen (HIIT, UH) Pakota November 10, 2016 15 / 17

slide-25
SLIDE 25

Paper Summary

Pakota

The first system implementation in its generality for solving problem instances of extension and status enforcement Utilizes MaxSAT solvers directly for the NP-complete variants and a CEGAR procedure for the problems beyond NP

Contributions

Overview of the Pakota system:

◮ System architecture and features ◮ Details on encodings and algorithms ◮ More in paper!

Empirical evaluation of the impact of the choice of MaxSAT solvers System available online under an open source licence: http://www.cs.helsinki.fi/group/coreo/pakota/ Future: Extending the system to support further central AF semantics

Niskanen (HIIT, UH) Pakota November 10, 2016 15 / 17

slide-26
SLIDE 26

References

Coste-Marquis, S., Konieczny, S., Mailly, J., and Marquis, P. (2015). Extension enforcement in abstract argumentation as an optimization problem. In

  • Proc. IJCAI, pages 2876–2882. AAAI Press.

Niskanen, A., Wallner, J. P., and J¨ arvisalo, M. (2016). Optimal status enforcement in abstract argumentation. In Proc. IJCAI, pages 1216–1222. IJCAI/AAAI Press. Wallner, J. P., Niskanen, A., and J¨ arvisalo, M. (2016). Complexity results and algorithms for extension enforcement in abstract argumentation. In

  • Proc. AAAI, pages 1088–1094. AAAI Press.

Niskanen (HIIT, UH) Pakota November 10, 2016 16 / 17

slide-27
SLIDE 27

Thank you for your attention!

Niskanen (HIIT, UH) Pakota November 10, 2016 17 / 17