Almost All Complex Quantifiers are Simple Jakub Szymanik MoL 2009 - - PowerPoint PPT Presentation

almost all complex quantifiers are simple
SMART_READER_LITE
LIVE PREVIEW

Almost All Complex Quantifiers are Simple Jakub Szymanik MoL 2009 - - PowerPoint PPT Presentation

Almost All Complex Quantifiers are Simple Jakub Szymanik MoL 2009 Outline Introduction Mathematical Preliminaries Complexity of Polyadic Quantifiers Some Complex GQs are Intractable Branching Quantifiers Strong Reciprocity But Most of Them


slide-1
SLIDE 1

Almost All Complex Quantifiers are Simple

Jakub Szymanik MoL 2009

slide-2
SLIDE 2

Outline

Introduction Mathematical Preliminaries Complexity of Polyadic Quantifiers Some Complex GQs are Intractable

Branching Quantifiers Strong Reciprocity

But Most of Them Are Tractable

Weak Reciprocals Boolean combinations Iteration Cumulation Resumption

Summary

slide-3
SLIDE 3

Outline

Introduction Mathematical Preliminaries Complexity of Polyadic Quantifiers Some Complex GQs are Intractable

Branching Quantifiers Strong Reciprocity

But Most of Them Are Tractable

Weak Reciprocals Boolean combinations Iteration Cumulation Resumption

Summary

slide-4
SLIDE 4

Generalized Quantifier Theory

◮ Quantifiers occur whenever we speak. ◮ They influence language expressivity. ◮ Classical GQT studies definability issues.

slide-5
SLIDE 5

Computational Complexity of Quantifiers

◮ How much resources is needed for processing?

slide-6
SLIDE 6

Computational Complexity of Quantifiers

◮ How much resources is needed for processing? ◮ Model-checking is a part of comprehension.

slide-7
SLIDE 7

Computational Complexity of Quantifiers

◮ How much resources is needed for processing? ◮ Model-checking is a part of comprehension. ◮ Input: M, ϕ. Output: ϕM.

slide-8
SLIDE 8

Computational Complexity of Quantifiers

◮ How much resources is needed for processing? ◮ Model-checking is a part of comprehension. ◮ Input: M, ϕ. Output: ϕM. ◮ W.r.t. to model size.

slide-9
SLIDE 9

Computational Complexity of Quantifiers

◮ How much resources is needed for processing? ◮ Model-checking is a part of comprehension. ◮ Input: M, ϕ. Output: ϕM. ◮ W.r.t. to model size. ◮ Restriction to finite models.

slide-10
SLIDE 10

Background motivations

◮ Computational approach to cognition.

◮ Cognitive task is a computational task.

slide-11
SLIDE 11

Background motivations

◮ Computational approach to cognition.

◮ Cognitive task is a computational task.

◮ Algorithmic theory of meaning.

◮ Meaning = procedure computing denotation.

slide-12
SLIDE 12

Monadic GQs

  • 1. They are easy to compute: FA, PDA.
  • 2. Computational model is neuropsychologically plausible.
slide-13
SLIDE 13

Monadic GQs

  • 1. They are easy to compute: FA, PDA.
  • 2. Computational model is neuropsychologically plausible.

Question

What about computational complexity of polyadic quantifiers?

slide-14
SLIDE 14

Outline

Introduction Mathematical Preliminaries Complexity of Polyadic Quantifiers Some Complex GQs are Intractable

Branching Quantifiers Strong Reciprocity

But Most of Them Are Tractable

Weak Reciprocals Boolean combinations Iteration Cumulation Resumption

Summary

slide-15
SLIDE 15

GQs

Definition

Let t = (n1, . . . , nk) be a k-tuple of positive integers. A generalized quantifier of type t is a class Q of models of a vocabulary τt = {R1, . . . , Rk}, such that Ri is ni-ary for 1 ≤ i ≤ k, and Q is closed under isomorphisms.

slide-16
SLIDE 16

GQs

Definition

Let t = (n1, . . . , nk) be a k-tuple of positive integers. A generalized quantifier of type t is a class Q of models of a vocabulary τt = {R1, . . . , Rk}, such that Ri is ni-ary for 1 ≤ i ≤ k, and Q is closed under isomorphisms.

Definition

If in the above definition for all i: ni ≤ 1, then we say that a quantifier is monadic, otherwise we call it polyadic.

slide-17
SLIDE 17

GQs as classes of models

∀ = {(M, P) | P = M}. ∃ = {(M, P) | P ⊆ M & P = ∅}. even = {(M, P) | P ⊆ M & card(P) is even}. most = {(M, P, S) | P, S ⊆ M & card(P ∩ S) > card(P − S)}. some = {(M, P, S) | P, S ⊆ M & P ∩ S = ∅}.

slide-18
SLIDE 18

Quantifiers in finite models

◮ Finite models can be encoded as strings. ◮ GQs as classes of such finite strings are languages.

slide-19
SLIDE 19

Quantifiers in finite models

◮ Finite models can be encoded as strings. ◮ GQs as classes of such finite strings are languages.

Definition

By the complexity of a quantifier Q we mean the computational complexity of the corresponding class of finite models.

Question

M ∈ Q? equivalently M | = Q?

slide-20
SLIDE 20

Outline

Introduction Mathematical Preliminaries Complexity of Polyadic Quantifiers Some Complex GQs are Intractable

Branching Quantifiers Strong Reciprocity

But Most of Them Are Tractable

Weak Reciprocals Boolean combinations Iteration Cumulation Resumption

Summary

slide-21
SLIDE 21

Possibly Branching Sentences

  • 1. Most villagers and most townsmen hate each other.
  • 2. One third of villagers and half of townsmen hate each other.
  • 3. 5 villagers and 7 townsmen hate each other.
slide-22
SLIDE 22

Branching Reading

◮ Most girls and most boys hate each other.

most x : G(x) most y : B(y) H(x, y). ∃A∃A′[most(G, A) ∧ most(B, A′) ∧ ∀x ∈ A ∀y ∈ A′ H(x, y)].

slide-23
SLIDE 23

Illustration

◮ Most girls and most boys hate each other.

♀ ♀ ♀ ♂ ♂ ♂

slide-24
SLIDE 24

Branching Readings are Intractable

Theorem

Proportional branching sentences are NP-complete.

slide-25
SLIDE 25

Potentially Strong Reciprocal Sentences

  • 1. Andi, Jarmo and Jakub laughed at one another.
  • 2. 15 men are hitting one another.
  • 3. Most of the PMs refer to each other.
slide-26
SLIDE 26

Strong Reading

◮ Most of the PMs refer to each other.

slide-27
SLIDE 27

Strong Reciprocity is Intractable

Theorem

Model-checking for strong reciprocal sentences with proportional quantifiers is NP-complete.

slide-28
SLIDE 28

Intermediate Reading

◮ Most Boston pitchers sat alongside each other.

slide-29
SLIDE 29

Weak Reading

◮ Some pirates were staring at each other in surprise.

slide-30
SLIDE 30

Complexity Dichotomy

As opposed to the strong case:

slide-31
SLIDE 31

Complexity Dichotomy

As opposed to the strong case:

Theorem

If Q is PTIME, then also RamI(Q) and RamW(Q) are in PTIME.

slide-32
SLIDE 32

Boolean Combinations

  • 1. At least 5 or at most 10 departments can win EU grants.
  • 2. Between 100 and 200 students run in the marathon.
  • 3. Not all students passed.
  • 4. All students did not pass.
slide-33
SLIDE 33

Boolean Combinations

Definition

Let Q, Q′ be generalized quantifiers, both of type (n1, . . . , nk). We define: (Q ∧ Q′)M[R1, . . . , Rk] ⇐ ⇒ QM[R1, . . . , Rk] and Q′

M[R1, . . . , Rk]

(Q ∨ Q′)M[R1, . . . , Rk] ⇐ ⇒ QM[R1, . . . , Rk] or Q′

M[R1, . . . , Rk]

(¬Q)M[R1, . . . , Rk] ⇐ ⇒ not QM[R1, . . . , Rk] (Q¬)M[R1, . . . , Rk] ⇐ ⇒ QM[R1, . . . , Rk−1, M − Rk]

slide-34
SLIDE 34

Boolean Operations are Tractable

Theorem

Let Q and Q′ be generalized quantifiers computable in polynomial time with respect to the size of a universe. Then the quantifiers: (1) ¬Q; (2) Q¬; (3) Q ∧ Q′ are PTIME computable.

slide-35
SLIDE 35

Iteration

  • 1. Most logicians criticized some papers.
  • 2. It(most, some)[Logicians, Papers, Criticized].

Definition

Let Q and Q′ be generalized quantifiers of type (1, 1). Let A, B be subsets of the universe and R a binary relation over the

  • universe. Suppressing the universe, we will define the iteration
  • perator as follows:

It(Q, Q′)[A, B, R] ⇐ ⇒ Q[A, {a | Q′[B, R(a)]}], where R(a) = {b | R(a, b)}.

slide-36
SLIDE 36

Illustration

◮ Most girls and most boys hate each other.

♀ ♀ ♀ ♂ ♂ ♂

slide-37
SLIDE 37

Iteration is easy

Theorem

Let Q and Q′ be generalized quantifiers computable in PTIME with respect to the size of a universe. Then the quantifier It(Q, Q′) is also PTIME computable.

slide-38
SLIDE 38

Cumulation

◮ Eighty professors taught sixty courses at ESSLLI’08.

Definition

Cum(Q, Q′)[A, B, R] ⇐ ⇒ It(Q, some)[A, B, R] ∧ It(Q′, some)[B, A, R−1]

slide-39
SLIDE 39

Illustration

◮ Most girls and most boys hate each other.

♀ ♀ ♀ ♂ ♂ ♂

slide-40
SLIDE 40

Cumulation is easy

Theorem

Let Q and Q′ be generalized quantifiers computable in PTIME with respect to the size of a universe. Then the quantifier Cum(Q, Q′) is PTIME computable.

slide-41
SLIDE 41

Resumption

◮ Most twins never seperate.

Definition

Let Q be any monadic quantifier with n arguments, U a universe, and R1, . . . , Rn ⊆ Uk for k ≥ 1. We define the resumption operator as follows: Resk(Q)U[R1, . . . , Rn] ⇐ ⇒ (Q)Uk[R1, . . . , Rn].

slide-42
SLIDE 42

Resumption is easy

Theorem

Let Q and Q′ be generalized quantifiers computable in PTIME with respect to the size of a universe. Then the quantifier Res(Q, Q′) is PTIME computable.

slide-43
SLIDE 43

Outline

Introduction Mathematical Preliminaries Complexity of Polyadic Quantifiers Some Complex GQs are Intractable

Branching Quantifiers Strong Reciprocity

But Most of Them Are Tractable

Weak Reciprocals Boolean combinations Iteration Cumulation Resumption

Summary

slide-44
SLIDE 44

Basic Operations are Tractable

Theorem

Let Q and Q′ be generalized quantifiers computable in polynomial time with respect to the size of a universe. Then the quantifiers: (1) ¬Q; (2) Q¬; (3) Q ∧ Q′; (4) It(Q, Q′); (5) Cum(Q, Q′); (6) Res(Q) are PTIME computable.

slide-45
SLIDE 45

Take home message

Everyday simple determiners in NL are in PTIME.

slide-46
SLIDE 46

Take home message

Everyday simple determiners in NL are in PTIME. PTIME quantifiers are closed under the common polyadic lifts.

slide-47
SLIDE 47

Take home message

Everyday simple determiners in NL are in PTIME. PTIME quantifiers are closed under the common polyadic lifts. Common polyadic quantifiers in NL are tractable.

slide-48
SLIDE 48

Thank you for attention. Questions?