Computing Inconsistency Measurements under Multi-Valued Semantics by - - PowerPoint PPT Presentation

computing inconsistency measurements under multi valued
SMART_READER_LITE
LIVE PREVIEW

Computing Inconsistency Measurements under Multi-Valued Semantics by - - PowerPoint PPT Presentation

Computing Inconsistency Measurements under Multi-Valued Semantics by Partial Max-SAT Solvers Guohui Xiao 1 , 2 Zuoquan Lin 1 Yue Ma 3 Guilin Qi 4 1 Department of Information Science, Peking University, China 2 Knowledge Based Systems Group,


slide-1
SLIDE 1

Computing Inconsistency Measurements under Multi-Valued Semantics by Partial Max-SAT Solvers

Guohui Xiao1,2 Zuoquan Lin1 Yue Ma3 Guilin Qi4

1Department of Information Science, Peking University, China 2Knowledge Based Systems Group, Institute of Information Systems, Vienna University of Technology

Laboratoire d’Informatique de l’universit´ e Paris-Nord, Universit´ e Paris Nord - CNRS, France

4School of Computer Science and Engineering, Southeast University, China

xiao@kr.tuwien.ac.at, yue.ma@lipn.univ-paris13.fr, gqi@seu.edu.cn, lz@is.pku.edu.cn

P E K I N G U N I V E R S I T Y 1 8 9 8

February 8, 2011

slide-2
SLIDE 2

Empty Head

Outline

➤ Motivation ➤ Inconsistency Measures under Multi-Valued Semantics ➤ Relationship among Different Measurements ➤ Encoding Algorithms ➤ Conclusion and Future Work

1/24

slide-3
SLIDE 3

Empty Head

Motivation

➤ Consistent KBs serve as useful knowledge resources v.s. inconsistent KBs imply any conclusion (meaningless!) ➤ For handling inconsistent KBs:

  • paraconsistent reasoning (1960s)
  • knowledge diagnose and repair (1980s)
  • Which approach should we take?

inconsistency measurement: a guidance to choose different approaches (2000s)

2/24

slide-4
SLIDE 4

Empty Head

Motivation

➤ Consistent KBs serve as useful knowledge resources v.s. inconsistent KBs imply any conclusion (meaningless!) ➤ For handling inconsistent KBs:

  • paraconsistent reasoning (1960s)
  • knowledge diagnose and repair (1980s)
  • Which approach should we take?

inconsistency measurement: a guidance to choose different approaches (2000s) ➤ Problem

  • Relationship among different measurements
  • Efficient algorithms

2/24

slide-5
SLIDE 5

Empty Head

Definitions

3/24

slide-6
SLIDE 6

Empty Head

Definitions

➤ Multi-Valued Semantics

  • 4-valued, 3-valued, LPm, Quasi-Classical, . . .
  • I : Var(K) → {t, f , Both, None}

3/24

slide-7
SLIDE 7

Empty Head

Definitions

➤ Multi-Valued Semantics

  • 4-valued, 3-valued, LPm, Quasi-Classical, . . .
  • I : Var(K) → {t, f , Both, None}

➤ ID of K respect to I under i-semantics (i = 3, 4, LPm, Q) IDi(K, I) = |{p | pI = B, p ∈ Var(K)}| |Var(K)| , if I | =i K

3/24

slide-8
SLIDE 8

Empty Head

Definitions

➤ Multi-Valued Semantics

  • 4-valued, 3-valued, LPm, Quasi-Classical, . . .
  • I : Var(K) → {t, f , Both, None}

➤ ID of K respect to I under i-semantics (i = 3, 4, LPm, Q) IDi(K, I) = |{p | pI = B, p ∈ Var(K)}| |Var(K)| , if I | =i K ➤ ID of K under under i-semantics (i = 3, 4, LPm, Q) IDi(K) = min

I| =K IDi(K, I)

3/24

slide-9
SLIDE 9

Empty Head

Inconsistency Degree under 4-valued Semantics

Truth values: {t, f , B, N} 4-model I:

K → {t, B} Figure: FOUR

➤ ID4(K, I) = |{p|pI =B,p∈Var(K)}|

|Var(K)|

ID4(K) = minI|

=4KID4(K),

K = {p, ¬q, ¬p ∨ q, r ∨ s} I1 : pI1 = B, qI1 = f , rI1 = t, sI1 = t, I2 : pI2 = B, qI2 = B, rI2 = t, sI2 = t I3 : pI3 = B, qI3 = B, rI3 = t, sI3 = N ID4(K, I1) = 1

4, ID4(K, I2) = 2 4

ID4(K, I3) = 2

4

ID4(K) = 1

4

4/24

slide-10
SLIDE 10

Empty Head

Inconsistency Degree under 3-valued Semantics

Truth values: {t, f , B} 3-model I:

K → {t, B} Figure: Three

➤ ID3(K, I) = |{p|pI =B,p∈Var(K)}|

|Var(K)|

ID3(K) = minI|

=3KID3(K),

K = {p, ¬q, ¬p ∨ q, r ∨ s} I1 : pI1 = B, qI1 = f , rI1 = t, sI1 = t I2 : pI2 = B, qI2 = B, rI2 = t, sI2 = t ———————————————– I3 : pI3 = B, qI3 = B, rI3 = t, sI3 = N ID3(K, I1) = 1

4, ID3(K, I2) = 2 4

——————- ID3(K, I3) = 2

4

ID3(K) = 1

4

5/24

slide-11
SLIDE 11

Empty Head

Inconsistency Degree under LPm Semantics

LPm interpretation: ➤ 3-valued interpretation ➤ only “most classical”

  • nes are considered

➤ IDLPm(K, I) = |{p|pI =B,p∈Var(K)}|

|Var(K)|

IDLPm(K) = minI|

=LPmKIDLPm(K),

K = {p, ¬q, ¬p ∨ q, r ∨ s} I1 : pI1 = B, qI1 = f , rI1 = t, sI1 = t, ———————————————– I2 : pI2 = B, qI2 = B, rI2 = t, sI2 = t ———————————————– I3 : pI3 = B, qI3 = B, rI3 = t, sI3 = N IDLPm(K, I1) = 1

4, ————————

IDLPm(K, I2) = 2

4

———————– IDLPm(K, I3) = 2

4

IDLPm(K) = 1

4

6/24

slide-12
SLIDE 12

Empty Head

Inconsistency Degree under Quasi-Classical Semantics

Quasi-Classical (Q) interpretation: ➤ 4-valued interpretation ➤ Resolution laws are satisfied I | =Q α ∨ β, I | =Q ¬β ∨ γ ⇒ I | =Q α ∨ γ ➤ IDQ(K, I) = |{p|pI =B,p∈Var(K)}|

|Var(K)|

IDQ(K) = minI|

=QKIDQ(K),

K = {p, ¬q, ¬p ∨ q, r ∨ s} ———————————————- I1 : pI1 = B, qI1 = f , rI1 = t, sI1 = t I2 : pI2 = B, qI2 = B, rI2 = t, sI2 = t I3 : pI3 = B, qI3 = B, rI3 = t, sI3 = N ——————– IDQ(K, I1) = 1

4, IDQ(K, I2) = 2 4

IDQ(K, I3) = 2

4

IDQ(K) = 2

4

7/24

slide-13
SLIDE 13

Empty Head

Relationship

8/24

slide-14
SLIDE 14

Empty Head

Relationship

Theorem

Given a knowledge base K, then ID3(K) = ID4(K) = IDLPm(K) ≤ IDQ(K).

8/24

slide-15
SLIDE 15

Empty Head

Relationship

Theorem

Given a knowledge base K, then ID3(K) = ID4(K) = IDLPm(K) ≤ IDQ(K). Proof Hints:

8/24

slide-16
SLIDE 16

Empty Head

Relationship

Theorem

Given a knowledge base K, then ID3(K) = ID4(K) = IDLPm(K) ≤ IDQ(K). Proof Hints: ➤ ID3(K) ≥ ID4(K) : Trivial since I | =3 K ⇒ I | =4 K

8/24

slide-17
SLIDE 17

Empty Head

Relationship

Theorem

Given a knowledge base K, then ID3(K) = ID4(K) = IDLPm(K) ≤ IDQ(K). Proof Hints: ➤ ID3(K) ≥ ID4(K) : Trivial since I | =3 K ⇒ I | =4 K ➤ ID3(K) ≤ ID4(K) : Every 4-model can be modified to a 3-model by changing N to t while preserving the inconsistency degree.

8/24

slide-18
SLIDE 18

Empty Head

Relationship

Theorem

Given a knowledge base K, then ID3(K) = ID4(K) = IDLPm(K) ≤ IDQ(K). Proof Hints: ➤ ID3(K) ≥ ID4(K) : Trivial since I | =3 K ⇒ I | =4 K ➤ ID3(K) ≤ ID4(K) : Every 4-model can be modified to a 3-model by changing N to t while preserving the inconsistency degree. ➤ ID3(K) ≥ IDLPm(K) : Assume that ID3(K) < IDLPm(K). Then we can find a contradiction.

8/24

slide-19
SLIDE 19

Empty Head

Relationship

Theorem

Given a knowledge base K, then ID3(K) = ID4(K) = IDLPm(K) ≤ IDQ(K). Proof Hints: ➤ ID3(K) ≥ ID4(K) : Trivial since I | =3 K ⇒ I | =4 K ➤ ID3(K) ≤ ID4(K) : Every 4-model can be modified to a 3-model by changing N to t while preserving the inconsistency degree. ➤ ID3(K) ≥ IDLPm(K) : Assume that ID3(K) < IDLPm(K). Then we can find a contradiction. ➤ ID3(K) ≤ IDLPm(K) : Trivial since I | =LPm K ⇒ I | =3 (K).

8/24

slide-20
SLIDE 20

Empty Head

Relationship

Theorem

Given a knowledge base K, then ID3(K) = ID4(K) = IDLPm(K) ≤ IDQ(K). Proof Hints: ➤ ID3(K) ≥ ID4(K) : Trivial since I | =3 K ⇒ I | =4 K ➤ ID3(K) ≤ ID4(K) : Every 4-model can be modified to a 3-model by changing N to t while preserving the inconsistency degree. ➤ ID3(K) ≥ IDLPm(K) : Assume that ID3(K) < IDLPm(K). Then we can find a contradiction. ➤ ID3(K) ≤ IDLPm(K) : Trivial since I | =LPm K ⇒ I | =3 (K). ➤ ID4(K) ≤ IDQ(K) : Trivial since I | =Q K ⇒ I | =4 (K).

8/24

slide-21
SLIDE 21

Empty Head

Partial Max-SAT Problem

9/24

slide-22
SLIDE 22

Empty Head

Partial Max-SAT Problem

➤ Partial Max-SAT Problem:

  • Optimized Version of SAT problem
  • P = (H, S)
  • H : hard clauses, all must be satisfied
  • S : soft clauses, should be satisfied as many as possible
  • ˆ

I = arg maxI|{γ | γ ∈ S, I | = γ, I | = H}|.

9/24

slide-23
SLIDE 23

Empty Head

Partial Max-SAT Problem

➤ Partial Max-SAT Problem:

  • Optimized Version of SAT problem
  • P = (H, S)
  • H : hard clauses, all must be satisfied
  • S : soft clauses, should be satisfied as many as possible
  • ˆ

I = arg maxI|{γ | γ ∈ S, I | = γ, I | = H}|. ➤ Solvers:

  • SAT4j MaxSAT, MSUnCore, Clone, MiniMaxSAT, . . .

9/24

slide-24
SLIDE 24

Empty Head

Partial Max-SAT Problem

➤ Partial Max-SAT Problem:

  • Optimized Version of SAT problem
  • P = (H, S)
  • H : hard clauses, all must be satisfied
  • S : soft clauses, should be satisfied as many as possible
  • ˆ

I = arg maxI|{γ | γ ∈ S, I | = γ, I | = H}|. ➤ Solvers:

  • SAT4j MaxSAT, MSUnCore, Clone, MiniMaxSAT, . . .

➤ Max-SAT Competition

  • http://www.maxsat.udl.cat/09/
  • http://www.maxsat.udl.cat/10/

9/24

slide-25
SLIDE 25

Empty Head

Computing Inconsistency Degrees

➤ only KB as a set of clauses (CNF) considered ➤ consider ID4 and IDQ (Since ID3(K) = ID4(K) = IDLPm(K) ≤ IDQ(K))

10/24

slide-26
SLIDE 26

Empty Head

Computing Inconsistency Degrees

➤ only KB as a set of clauses (CNF) considered ➤ consider ID4 and IDQ (Since ID3(K) = ID4(K) = IDLPm(K) ≤ IDQ(K))

Road Map

1 Multi-valued semantics ⇒ 2-valued semantics. 2 Represent IDi by 2-valued semantics. 3 IDi ⇒ partial Max-SAT problem.

10/24

slide-27
SLIDE 27

Empty Head

4-valued Logic to 2-valued Logic

K = {γ1, γ2, . . . , γn} γ = l1 ∨ . . . ∨ lk l = p l = ¬p ⇒ 4(K) = {4(γ1), 4(γ2), . . . , 4(γn)} 4(γ) = 4(l1) ∨ . . . ∨ 4(lk) 4(p) = +p 4(¬p) = −p

11/24

slide-28
SLIDE 28

Empty Head

4-valued Logic to 2-valued Logic

K = {γ1, γ2, . . . , γn} γ = l1 ∨ . . . ∨ lk l = p l = ¬p ⇒ 4(K) = {4(γ1), 4(γ2), . . . , 4(γn)} 4(γ) = 4(l1) ∨ . . . ∨ 4(lk) 4(p) = +p 4(¬p) = −p

Example

K = {¬p, p ∨ q, ¬q, r} ⇒ 4(K) = {−p, +p ∨ +q, −q, +r}

11/24

slide-29
SLIDE 29

Empty Head

4-valued Logic to 2-valued Logic

K = {γ1, γ2, . . . , γn} γ = l1 ∨ . . . ∨ lk l = p l = ¬p ⇒ 4(K) = {4(γ1), 4(γ2), . . . , 4(γn)} 4(γ) = 4(l1) ∨ . . . ∨ 4(lk) 4(p) = +p 4(¬p) = −p

Example

K = {¬p, p ∨ q, ¬q, r} ⇒ 4(K) = {−p, +p ∨ +q, −q, +r}

Remark

➤ 4(K) is a knowledge base over variables {+p, −p | p ∈ Var(K)} ➤ A 4-valued interpretation I can also be seen as a 2-valued interpretation on {+p, −p | p ∈ Var(K)}.

11/24

slide-30
SLIDE 30

Empty Head

4-valued Logic to 2-valued Logic

Theorem ([?])

I | =4 K ⇔ I | = 4(K)

12/24

slide-31
SLIDE 31

Empty Head

4-valued Logic to 2-valued Logic

Theorem ([?])

I | =4 K ⇔ I | = 4(K)

Example

12/24

slide-32
SLIDE 32

Empty Head

4-valued Logic to 2-valued Logic

Theorem ([?])

I | =4 K ⇔ I | = 4(K)

Example

➤ K = {¬p, p ∨ q, ¬q, r} ⇒ 4(K) = {−p, +p ∨ +q, −q, +r}

12/24

slide-33
SLIDE 33

Empty Head

4-valued Logic to 2-valued Logic

Theorem ([?])

I | =4 K ⇔ I | = 4(K)

Example

➤ K = {¬p, p ∨ q, ¬q, r} ⇒ 4(K) = {−p, +p ∨ +q, −q, +r} ➤ I1 = {+p, −p, −q, +r}

12/24

slide-34
SLIDE 34

Empty Head

4-valued Logic to 2-valued Logic

Theorem ([?])

I | =4 K ⇔ I | = 4(K)

Example

➤ K = {¬p, p ∨ q, ¬q, r} ⇒ 4(K) = {−p, +p ∨ +q, −q, +r} ➤ I1 = {+p, −p, −q, +r} ➤ As 4-interpretation over {p, q, r}: pI1 = B, qI1 = f , rI1 = t.

12/24

slide-35
SLIDE 35

Empty Head

4-valued Logic to 2-valued Logic

Theorem ([?])

I | =4 K ⇔ I | = 4(K)

Example

➤ K = {¬p, p ∨ q, ¬q, r} ⇒ 4(K) = {−p, +p ∨ +q, −q, +r} ➤ I1 = {+p, −p, −q, +r} ➤ As 4-interpretation over {p, q, r}: pI1 = B, qI1 = f , rI1 = t. ➤ As 2-interpretation over {+p, −p, +q, −q, +r, −r}: +pI1 = t, −pI1 = t, −qI1 = t, +rI1 = t, +qI1 = f , −rI1 = f .

12/24

slide-36
SLIDE 36

Empty Head

4-valued Logic to 2-valued Logic

Theorem ([?])

I | =4 K ⇔ I | = 4(K)

Example

➤ K = {¬p, p ∨ q, ¬q, r} ⇒ 4(K) = {−p, +p ∨ +q, −q, +r} ➤ I1 = {+p, −p, −q, +r} ➤ As 4-interpretation over {p, q, r}: pI1 = B, qI1 = f , rI1 = t. ➤ As 2-interpretation over {+p, −p, +q, −q, +r, −r}: +pI1 = t, −pI1 = t, −qI1 = t, +rI1 = t, +qI1 = f , −rI1 = f . ➤ We have I1 | =4 K and I1 | = 4(K).

12/24

slide-37
SLIDE 37

Empty Head

Representing ID4 by 2-valued logic

ID4(K, I) = |{p | pI = B, p ∈ Var(K)}| |Var(K)| , ID4(K) = min

I| =4K ID4(K, I)

13/24

slide-38
SLIDE 38

Empty Head

Representing ID4 by 2-valued logic

ID4(K, I) = |{p | pI = B, p ∈ Var(K)}| |Var(K)| , ID4(K) = min

I| =4K ID4(K, I)

13/24

slide-39
SLIDE 39

Empty Head

Representing ID4 by 2-valued logic

ID4(K, I) = |{p | pI = B, p ∈ Var(K)}| |Var(K)| , ID4(K) = min

I| =4K ID4(K, I)

⇓ ID4(K, I) = |{p | +pI = t ∧ −pI = t, p ∈ Var(K)}| |Var(K)| ; ID4(K) = min

I| =4(K) ID4(K, I) .

13/24

slide-40
SLIDE 40

Empty Head

ID4 ⇒ Partial Max-SAT Problem

minI|

=4(K)|{p | p ∈ Var(K), +pI = t ∧ −pI = t}|

=minI|

=4(K)|{p | p ∈ Var(K), (¬ + p ∨ ¬ − p)I = f }|

=maxI|

=4(K)|{p | p ∈ Var(K), (¬ + p ∨ ¬ − p)I = t}|.

I | = 4(K) ⇒ Hard constraints max|...| ⇒ Soft Constraints

14/24

slide-41
SLIDE 41

Empty Head

ID4 ⇒ Partial Max-SAT Problem

minI|

=4(K)|{p | p ∈ Var(K), +pI = t ∧ −pI = t}|

=minI|

=4(K)|{p | p ∈ Var(K), (¬ + p ∨ ¬ − p)I = f }|

=maxI|

=4(K)|{p | p ∈ Var(K), (¬ + p ∨ ¬ − p)I = t}|.

I | = 4(K) ⇒ Hard constraints max|...| ⇒ Soft Constraints

Definition

Given K = {γ1, . . . , γn}, the corresponding partial Max-SAT problem for ID4, written P4(K) = (H4(K), S4(K)), is defined as follows: H4(K) = {4(γ) | γ ∈ K}; S4(K) = {¬ +p ∨ ¬ −p | p ∈ Var(K)}.

14/24

slide-42
SLIDE 42

Empty Head

ID4 ⇒ Partial Max-SAT Problem

Theorem

Suppose I is a solution to the partial Max-SAT problem P4(K). Let b = |{p | +pI = t ∧ −pI = t}| and m = |Var(K)|. Then ID4(K) = b/m.

15/24

slide-43
SLIDE 43

Empty Head

ID4 ⇒ Partial Max-SAT Problem

Theorem

Suppose I is a solution to the partial Max-SAT problem P4(K). Let b = |{p | +pI = t ∧ −pI = t}| and m = |Var(K)|. Then ID4(K) = b/m.

Example

15/24

slide-44
SLIDE 44

Empty Head

ID4 ⇒ Partial Max-SAT Problem

Theorem

Suppose I is a solution to the partial Max-SAT problem P4(K). Let b = |{p | +pI = t ∧ −pI = t}| and m = |Var(K)|. Then ID4(K) = b/m.

Example

➤ K = {¬p, p ∨ q, ¬q, r}

15/24

slide-45
SLIDE 45

Empty Head

ID4 ⇒ Partial Max-SAT Problem

Theorem

Suppose I is a solution to the partial Max-SAT problem P4(K). Let b = |{p | +pI = t ∧ −pI = t}| and m = |Var(K)|. Then ID4(K) = b/m.

Example

➤ K = {¬p, p ∨ q, ¬q, r} ➤ 4(K) = {−p, +p ∨ +q, −q, +r}

15/24

slide-46
SLIDE 46

Empty Head

ID4 ⇒ Partial Max-SAT Problem

Theorem

Suppose I is a solution to the partial Max-SAT problem P4(K). Let b = |{p | +pI = t ∧ −pI = t}| and m = |Var(K)|. Then ID4(K) = b/m.

Example

➤ K = {¬p, p ∨ q, ¬q, r} ➤ 4(K) = {−p, +p ∨ +q, −q, +r} ➤ P4(K) = (H4(K), S4(K)) H4(K) = {−p, +p ∨ +q, −q, +r} S4(K) = {¬ + p ∨ ¬ − p, ¬ + q ∨ ¬ − q, ¬ + r ∨ ¬ − r}

15/24

slide-47
SLIDE 47

Empty Head

ID4 ⇒ Partial Max-SAT Problem

Theorem

Suppose I is a solution to the partial Max-SAT problem P4(K). Let b = |{p | +pI = t ∧ −pI = t}| and m = |Var(K)|. Then ID4(K) = b/m.

Example

➤ K = {¬p, p ∨ q, ¬q, r} ➤ 4(K) = {−p, +p ∨ +q, −q, +r} ➤ P4(K) = (H4(K), S4(K)) H4(K) = {−p, +p ∨ +q, −q, +r} S4(K) = {¬ + p ∨ ¬ − p, ¬ + q ∨ ¬ − q, ¬ + r ∨ ¬ − r} ➤ One optimized solution I: +pI = t, −pI = t, +qI = f , −qI = t, +rI = t, −rI = f .

15/24

slide-48
SLIDE 48

Empty Head

ID4 ⇒ Partial Max-SAT Problem

Theorem

Suppose I is a solution to the partial Max-SAT problem P4(K). Let b = |{p | +pI = t ∧ −pI = t}| and m = |Var(K)|. Then ID4(K) = b/m.

Example

➤ K = {¬p, p ∨ q, ¬q, r} ➤ 4(K) = {−p, +p ∨ +q, −q, +r} ➤ P4(K) = (H4(K), S4(K)) H4(K) = {−p, +p ∨ +q, −q, +r} S4(K) = {¬ + p ∨ ¬ − p, ¬ + q ∨ ¬ − q, ¬ + r ∨ ¬ − r} ➤ One optimized solution I: +pI = t, −pI = t, +qI = f , −qI = t, +rI = t, −rI = f . ➤ Corresponding 4-model : pI = B, qI = f , rI = t.

15/24

slide-49
SLIDE 49

Empty Head

ID4 ⇒ Partial Max-SAT Problem

Theorem

Suppose I is a solution to the partial Max-SAT problem P4(K). Let b = |{p | +pI = t ∧ −pI = t}| and m = |Var(K)|. Then ID4(K) = b/m.

Example

➤ K = {¬p, p ∨ q, ¬q, r} ➤ 4(K) = {−p, +p ∨ +q, −q, +r} ➤ P4(K) = (H4(K), S4(K)) H4(K) = {−p, +p ∨ +q, −q, +r} S4(K) = {¬ + p ∨ ¬ − p, ¬ + q ∨ ¬ − q, ¬ + r ∨ ¬ − r} ➤ One optimized solution I: +pI = t, −pI = t, +qI = f , −qI = t, +rI = t, −rI = f . ➤ Corresponding 4-model : pI = B, qI = f , rI = t. ➤ ID4(K) = 1/3

15/24

slide-50
SLIDE 50

Empty Head

Algorithm 1 Computing ID4 by Partial MAX-SAT Solver

1: procedure ID4(K) 2:

P ← {}

3:

m ← |Var(K)|

4:

for all Clause γ ∈ K do

5:

P.addHardClause(4(γ))

6:

end for

7:

for all Variable p ∈ Var(K) do

8:

P.addSoftClause(¬ + p ∨ ¬ − p)

9:

end for

10:

I ← PartialMaxSATSolver(P)

11:

b = |{p|+pI = t ∧ −pI = t}|

12:

return b/m

13: end procedure

16/24

slide-51
SLIDE 51

Empty Head

Computing IDQ

1 QC semantics ⇒ 2-valued semantics. 2 Represent IDQ by 2-valued semantics. 3 IDQ ⇒ partial Max-SAT problem.

17/24

slide-52
SLIDE 52

Empty Head

Computing IDQ

1 QC semantics ⇒ 2-valued semantics. Q(l1 ∨ . . . ∨ ln) = n

i=1(+li ∧ ¬ − li) ∨ n i=1(+li ∧ −li) [?]

2 Represent IDQ by 2-valued semantics. 3 IDQ ⇒ partial Max-SAT problem.

17/24

slide-53
SLIDE 53

Empty Head

Computing IDQ

1 QC semantics ⇒ 2-valued semantics. Q(l1 ∨ . . . ∨ ln) = n

i=1(+li ∧ ¬ − li) ∨ n i=1(+li ∧ −li) [?]

2 Represent IDQ by 2-valued semantics. IDQ(K) = minI|

=Q(K) IDQ(K, I) .

3 IDQ ⇒ partial Max-SAT problem.

17/24

slide-54
SLIDE 54

Empty Head

Computing IDQ

1 QC semantics ⇒ 2-valued semantics. Q(l1 ∨ . . . ∨ ln) = n

i=1(+li ∧ ¬ − li) ∨ n i=1(+li ∧ −li) [?]

2 Represent IDQ by 2-valued semantics. IDQ(K) = minI|

=Q(K) IDQ(K, I) .

3 IDQ ⇒ partial Max-SAT problem. Problem: Q(l1 ∨ . . . ∨ ln) can not keep CNF!

17/24

slide-55
SLIDE 55

Empty Head

Computing IDQ

1 QC semantics ⇒ 2-valued semantics. Q(l1 ∨ . . . ∨ ln) = n

i=1(+li ∧ ¬ − li) ∨ n i=1(+li ∧ −li) [?]

2 Represent IDQ by 2-valued semantics. IDQ(K) = minI|

=Q(K) IDQ(K, I) .

3 IDQ ⇒ partial Max-SAT problem. Problem: Q(l1 ∨ . . . ∨ ln) can not keep CNF! Solution: Introduce new variables and convert it to CNF

17/24

slide-56
SLIDE 56

Empty Head

Algorithm 2 Computing IDQ by Partial Max-SAT Solver

1: procedure IDQ(K) 2:

P ← {}

3:

m ← |Var(K)|

4:

for all Clause γ = {l1, . . . , ln} ∈ K do

5:

P.addHardClause(y1 ∨ . . . ∨ yn ∨ z)

6:

for i = 1 to n do

7:

P.addHardClause(¬yi ∨ +li)

8:

P.addHardClause(¬yi ∨ ¬ − li)

9:

P.addHardClause(¬z ∨ +li)

10:

P.addHardClause(¬z ∨ −li)

11:

end for

12:

end for

13:

for all p ∈ Var(K) do

14:

P.addSoftClause(¬ +p ∨ ¬ −p)

15:

end for

16:

I ← PartialMaxSATSolver(P)

17:

b = |{p | +pI = t ∧ −pI = t}|

18:

return b/m

19: end procedure

18/24

slide-57
SLIDE 57

Empty Head

Evaluation

➤ Data Set:

  • SAT benchmark SATLIB http://www.satlib.org
  • automotive product configuration

19/24

slide-58
SLIDE 58

Empty Head

Evaluation

➤ Data Set:

  • SAT benchmark SATLIB http://www.satlib.org
  • automotive product configuration

➤ Partial Max-SAT Solvers:

  • SAT4j MaxSAT
  • MsUncore
  • Clone

19/24

slide-59
SLIDE 59

Empty Head

Instance Encoding Algorithm name #V #C ID4 sat4j MsUncore clone uuf50-0101 50 218 0.02000 0.396 0.026 1.119 uuf50-0102 50 218 0.02000 0.398 0.020 1.121 uuf50-0103 50 218 0.02000 0.450 0.044 1.142 uuf50-0104 50 218 0.02000 0.397 0.027 1.279 uuf75-011 75 325 0.01330 0.496 0.031 1.379 uuf75-012 75 325 0.01330 0.447 0.030 1.355 uuf75-013 75 325 0.01330 0.443 0.033 1.333 uuf75-014 75 325 0.01333 0.494 0.029 1.372 uuf100-0101 100 430 0.01000 0.545 0.045 1.748 uuf100-0102 100 430 0.01000 0.918 0.053 2.088 uuf100-0103 100 430 0.02000 3.951 2.592 * C168 FW SZ 107 1698 5401 0.00059 0.698 0.120 * C168 FW SZ 128 1698 5422 0.00059 0.601 0.090 13.191 C168 FW SZ 41 1698 7489 0.00059 0.849 0.085 11.939

Table: Computing ID4 by Encoding Algorithm

20/24

slide-60
SLIDE 60

Empty Head

Instance Encoding Algorithm name #V #C IDQ sat4j MSUnCore clone uuf50-0101 50 218 1.000 0.445 * 0.428 uuf50-0102 50 218 1.000 0.444 * 0.446 uuf50-0103 50 218 1.000 0.449 * 0.246 uuf50-0104 50 218 1.000 0.494 * 0.433 uuf75-011 75 325 1.000 0.544 * 0.434 uuf75-012 75 325 1.000 0.548 * 0.435 uuf75-013 75 325 1.000 0.455 * 1.338 uuf75-014 75 325 1.000 0.646 * 0.437 uuf100-0101 100 430 1.000 0.709 * 0.478 uuf100-0102 100 430 1.000 0.803 * 0.438 uuf100-0103 100 430 1.000 0.749 * 0.445 C168 FW SZ 107 1698 5401 0.124 9.269 * 1.487 C168 FW SZ 128 1698 5422 0.107 9.916 * 0.792 C168 FW SZ 41 1698 7489 0.117 13.627 * 0.738

Table: Computing IDQ by Encoding Algorithm

21/24

slide-61
SLIDE 61

Empty Head

Conclusion & Future Work

22/24

slide-62
SLIDE 62

Empty Head

Conclusion & Future Work

Conclusion:

  • ID4(K) = IDLPm(K) = ID3(K) ≤ IDQ(K)
  • ID4 ⇒ Partial Max-SAT
  • IDQ ⇒ Partial Max-SAT

22/24

slide-63
SLIDE 63

Empty Head

Conclusion & Future Work

Conclusion:

  • ID4(K) = IDLPm(K) = ID3(K) ≤ IDQ(K)
  • ID4 ⇒ Partial Max-SAT
  • IDQ ⇒ Partial Max-SAT

Future Work:

  • approximating inconsistency degrees
  • Other encoding: Pseudo Problem for IDQ
  • Measure inconsistent Description Logic and Logic Program.

22/24

slide-64
SLIDE 64

Empty Head

References I

Cadoli, M. and Schaerf, M. (1996). On the complexity of entailment in propositional multivalued logics. Annals of Mathematics and Artificial Intelligence, 18(1):29–50. Marquis, P. and Porquet, N. (2001). Computational aspects of quasi-classical entailment. Journal of Applied Non-Classical Logics, 11(3–4):295–312.

23/24

slide-65
SLIDE 65

Empty Head

Questions?

24/24