40
Click to edit Master subtitle style www.le.ac.uk/departments/psychology/ppl/kbp3 Quantifier Processing: Approaches to Natural Language Quantification Kevin Paterson University of Leicester ESSLLI 2010

Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Click to edit Master subtitle style

www.le.ac.uk/departments/psychology/ppl/kbp3

Quantifier Processing:

Approaches to Natural Language Quantification

Kevin Paterson

University of Leicester

ESSLLI 2010

Page 2: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Lecture 1 topics:

o Approaches in formal semantics.

o Psychological approaches.

1. Psychometric approaches

2. Truth verification procedures

3. Quantifiers in human reasoning

4. Quantifiers and discourse comprehension

5. Acquisition of quantification

Page 3: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

What are Quantifiers?

o everything, nothing, three books, the ten

professors, John, John and Mary, only John,

firemen, every, at least five, most, all but ten,

less than half of the, John's, some student's,

more male than female, usually, never, each

other, few, some, many, not all, seven, exactly

three, a significant number.

Page 4: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Syllogisms & Logical Quantifiers

o Provides account of reasoning with premises that

include the quantifiers all, some, none, not all.

Major premise: All mortals die.

Minor premise: All men are mortals.

Conclusion: All men die.

o Research on syllogistic reasoning remains a dominant

approach in study of human reasoning. (e.g., Johnson-

Laird & Byrne, 1991)

Page 5: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Syllogisms & Logical Quantifiers

o First-order logic uses universal quantifier and

existential quantifier as operators that bind

individual variables.

o Following Piaget, there has been considerable interest

in developmental psycholinguistics in how quantifiers

(particularly universals) are acquired – see Lecture 5.

o Also interest in understanding how children and adults

deal with order problems and ambiguities introduced

by quantifiers in the predicate logic (and higher order

logics) – see Lectures 4 & 5.

Page 6: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Quantifier Order

Page 7: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Generalised Quantifier Theory

o Provides account of natural language quantifiers.

o Quantifiers denote sets of sets.

o “Every man runs.”

­ Every man is the set of subsets that include men

­ (i.e., properties associated with set of all men).

­ “Every man runs” denotes set of all men who run.

o Solution enables a set-theoretic approach to

quantification that is compositional.

Barwise & Cooper (1981), Keenan & Stavi (1986), Montague (1973)

Page 8: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Generalised Quantifier Theory

o To verify truth of “Every man runs.” it is necessary to:

­ Identify set of all men.

­ Identify set of all entities that run.

­ Identify set of sets that intersect with set of all

men.

­ Verify that set of runners belongs to that set.

o This is intractable in processing terms, so B&C argue

that verification involves the identification of a

“witness set” – i.e., set of men who run.

Barwise & Cooper (1981), see also Koster-Moeller, Varvoutis, & Hackl (2008)

Page 9: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Key axioms

o Conservativity

o Extensionality

o Isomorphism

o Symmetry

o Monotonicity

Barwise & Cooper (1981), Montague (1974)

Page 10: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Symmetry

o Symmetrical quantifiers permit the conversion of

statements as follows:

If some lawyers are crooks then some crooks are lawyers.

If no lawyers are crooks then no crooks are lawyers.

o Other quantifiers don‟t:

If all lawyers are crooks then all crooks are lawyers.

If most lawyers are crooks then most crooks are lawyers.

o Some, all, three are symmetric. All, most, every, each

are non-symmetrical.

Page 11: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Symmetry

o Existential there-sentences admit only symmetrical

quantifiers. (see also Lecture 5)

There are some dolphins in the bath.

There are no dolphins in the bath.

There are three dolphins in the bath.

There are all dolphins in the bath.

There are most dolphins in the bath.

There are every dolphins in the bath.

Page 12: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Monotonicity

o Many quantifiers give rise to directional patterns of

inference.

o Monotone-increasing (upwards entailing):

– Permits inferences from subset to set.

Every man runs fast -> Every man runs

o Monotone-decreasing (upwards entailing):

– Permits inferences from set to subset.

No man runs -> No man runs fast

– (see Lecture 2 for discussion of processing consequences)

Page 13: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Monotonicity

o Classify the following in terms of monotonicity:

Few

A few

Many

Some

Not many

None

Most

Only

At least five

Exactly three

Page 14: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Monotonicity

o Non-monotone quantifiers do not permit directional

inferences

Exactly three men run fast -> Exactly three men run

Exactly three men run -> Exactly three men run fast

o Monotone-decreasing licence negative polarity items

Some men ever run backwards.

Not many men ever run backwards.

Every boy has any friends.

No boy has any friends.

(see Lecture 2 for further discussion)

Page 15: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Psychological Approaches

Page 16: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Psychometric Approaches

o How many is many? How much is a lot?

o General observation that people prefer to respond to

questionnaires using vague quantifiers rather than

specific amounts.

o Consequently, large effort put into mapping

quantifiers onto amounts or proportions, or at least

establishing the rank ordering of quantifiers.

o For instance, Bass et al. (1974) found in a

psychophysical estimation study that “many” was

approximately twice as much as “some”.

For discussion, see Moxey & Sanford (1993)

Page 17: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Context and Estimation

o Hormann (1983) showed that interpretation of

quantifiers einige (some), mehrere (several), and ein

paar (a few) is a function of size of objects and spatial

situation of objects.

A few people standing...before a hut.

...before the house.

...before the city hall.

...before the building.

Quantifiers receive higher estimates for

situations farther done the list.

Denotations of non-logical quantifiers is

context dependent.For discussion, see Moxey & Sanford (1993)

Page 18: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Context and Estimation

o Moxey & Sanford (1993) showed that denotation of a

quantifier depends on the listeners expectations.

Number of people who might enjoy a party.

Proportion of audience influenced by a political speech.

Proportion of female doctors in a local hospital.

Collected base-line estimations, then

evaluated amount denoted by quantifiers.

Baseline estimations affected number

attributed to high-denoting qs (quite a

few, many, a lot) only – but no differences

for low-denoting qs (very few, few).

For discussion, see Moxey & Sanford (1993)

Page 19: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Truth Verification Approaches

o Considerable interest in 1970s in using sentence-picture

comparison task to uncover component processes of

truth verification. (for overview, see Just & Carpenter, 1975,

1976; Tanenhaus, Carroll, & Bever, 1976; Wason, 1959)

o Many studies compared evaluation of affirmative and

negative sentences.

The star is above the square.

The star is not above the square.

o (Negative sentences typically have longer verification

times).

For discussion, see Moxey & Sanford (1993)

Page 20: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Truth Verification Approaches

o Just & Carpenter (1971) also examined explicit and

implicit negative quantificational expressions

(compared to affirmatives & semantic negatives).

– Explicit: None of the dots are red.

– Implicit: Scarcely any / Hardly any / Few of the

dots are red.

– Semantic: A minority of the dots are red.

– Affirmatives: Many of the dots are red.

o All 3 negatives took longer to verify than affirmatives.

For discussion, see Moxey & Sanford (1993)

Page 21: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Many of the dots are red.

Page 22: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Few of the dots are red.

Page 23: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Truth Verification Approaches

o Just & Carpenter (1972) examined eye movements

when verifying affirmative and negative statements.

– Syntactic Affirmative : Some of the dots are red.

– Semantic Affirmative : The majority of the dots are red.

– Syntactic Negative: Few of the dots are red.

– Negative: The minority of the dots are red.

o For affirmatives, fixation made on red dots first.

o For negatives, fixations made on black dots first.

o Evidence that negatives focus attention onto different

parts of information (see Lecture 2 for further discussion).

Page 24: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Reasoning with Quantifiers

Johnson-Laird, Byrne, Tabossi (1989)

o Key explanations of the causes of error.– Conversion errors (Chapman & Chapman, 1959; Newstead &

Griggs, 1983)

Some A are BTherefore some B are A

No A are BTherefore no B are A

All A are BTherefore all B are A

Some A are not BTherefore some B are not A

Page 25: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

o Key explanations of the causes of error.

– Figural Effects– Order of mention influences performance

A – BB – CTherefore A – C

B – AC – DTherefore C – A

Page 26: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

o Approaches to syllogistic reasoning

1. Mental models (e.g., Johnson-Laird, 1983)

- People create mental tableaux representing instances of premises

- “Read-off” putative conclusion from initial model.- Attempt to create alternative models that falsify this

conclusion- Accept as valid conclusions that cannot be falsified

- Errors occur due to parsimonious representation of initial model and failures to construct alternative models.

Page 27: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

All of the athletes are bakers.[A] B[A] B…

(where [ ] indicates exhaustive representation and … indicates that the model can be further elaborated).

Fully explicit model:[A] B[A] B[¬A] [B][¬A] [¬B]

Page 28: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

All of the athletes are bakers.[A] B[A] B…

All of the bakers are canoeists[[A] B] C[[A] B] C…

Invites conclusion: All of the athletes are canoeists.

Could check validity of this conclusion by elaborating the model representation.

Page 29: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Reasoning with Quantifiers

1. Mental Models approach also provides an explanation

to reasoning with multiple quantifiers, which in rule-

based accounts is based on predicate logic.

Premises

None of the painters is in the same place as any of the musicians.

All of the musicians are in the same place as all of the authors.

Conclusion:

None of the painters is in the same place as any of the authors.

Johnson-Laird, Byrne, Tabossi (1989)

Page 30: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Johnson-Laird, Byrne, Tabossi (1989)

None of the painters is in the same place as any of the musicians.

| [P] [P] [P] | [M] [M] [M] |

(Where | demarcates locations)

All of the musicians are in the same place as all of the authors.

| [P] [P] [P] | [M] [M] [M] [A] [A] [A] |

Invites conclusion:

None of the painters is in the same place as any of the authors.

Page 31: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Reasoning with Quantifiers

o Some criticisms of the approach

– Generally criticised because it‟s not clear how

much of the work is achieved by the notation, and

whether this is psychologically real.

– Also concerns about whether approach can be

extended to incorporate non-logical quantifiers.

– For instance, how would it represent most, or 2, or

60? (Geurts, 2003).

Page 32: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

1. Mental Logic accounts – Rips (1994), Braine & O’Brien (1998)– Reasoners have mental rules akin to those found in formal logic.

1. Heuristic/Analytic Approaches (Evans, 2006).

­ Dual process account based on processing heuristics.

1. Probabilistic Approaches (Chater & Oaksford, 1999; Oaskford & Chater, 2001).

– Humans designed for reasoning with uncertainty– Can recast premises in terms of probabilities (i.e., All A are B is

P(B | A) = 1. – Conditional probabilities will often restrict possible conclusions,

leading to “logical” inference.

1. Monotonicity of quantifiers (Geurts, 2003a,b, but see also Newstead, 2003).

Page 33: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Reasoning with Quantifiers

o Little research on reasoning with non-logical

quantifiers.

o Johnson-Laird & Byrne (1989) examined “only”.

– Argued that only is implicitly negative and that this

can affect reasoning.

– In particular, because this negation is overtly

represented in model, reasoning should be easier

with A than B. A

Only bankers are authors.

Mark is not a banker.

Therefore, Mark is not an

author.

B

All authors are bankers.

Mark is not a banker.

Therefore, Mark is not an author.

Page 34: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Reasoning with Quantifiers

o Geurts (2003) reports studies using „at least n‟ & „at

most n‟.

– Surprisingly easy to reason with many syllogisms

(see example below).

At least 3 reporters played against more than 2 foresters.

All foresters were communists.

Therefore, at least 3 reporters played against more than 2

communists.

Page 35: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Language Comprehension

o Growing interest in understanding process of assigning

a semantic interpretation to a sentence.

o That is, how do readers and listeners combine lexical

semantic information and syntactic information (and

context) to determine the meaning of a sentence.

- What aspects of sentence meaning are computed

during comprehension?

- What mechanisms underlie ambiguity resolution?

o Processing of quantifiers is a central issue in this

research – See Lectures 2, 3, and 4.

Page 36: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Acquisition

o Longstanding interest in the acquisition of

quantification, originating in Piaget‟s groundbreaking

research on children‟s comprehension & reasoning.

o Piaget observed non-adult performance in children‟s

reasoning with quantifiers.

- What are the nature of this non-adult performance?

- Can accounts of language acquisition explain these

differences?

o Continuing interest in acquisition of quantification

reveals substantial differences between child and

adult performance – see Lecture 5.

Page 37: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

Challenges

o Generalized Quantifier Theory provides a powerful

framework for the formal analysis of natural language

semantics.

– To what extend does its approach and principles

provide a framework for understanding natural

language processing?

– Similarly, can this formal framework provide

insights into human reasoning?

o Following lectures focus on psychological /

psycholinguistic research on the acquisition and

processing of natural language quantifiers.

Page 38: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

References

• Braine, M. D. S., & O‟Brien, D. P. (1998b). The theory of mental propositional logic:

Description and illustration. In M. D. S. Braine & D. P. O‟Brien (Eds.), Mental logic

(pp. 79-89). Mahway, NJ: Erlbaum.

• Carpenter, P. A., & Just, M. A. (1972). Semantic control of eye movements during

picture scanning in a sentence-picture verification task. Perception &•

Psychophysics, 12, 61-64.

• Chater, N., & Oaksford, M. (1999). The probability heuristics model of syllogistic

reasoning. Cognitive Psychology, 38, 191–258.

• Barwise, J., & Cooper, R. (1981). Generalized quantifiers and natural language.

Linguistics and Philosophy, 4, 159-219.

• Geurts, B. (2003). Reasoning with quantifiers. Cognition, 86, 223–251.

• Hörmann , H. (1983). The calculating listener or how many are einige, mehrere, and

ein paar (some, several, and a few)? In R. Baurle, C. Shwarze, & A. Van Stechow

(Eds.), Meaning, use, and interpretation of language. Walter de Gruyter.

Page 39: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

References

• Johnson-Laird, P.N. (1983). Mental Models: Towards a Cognitive Science of Language,

Inference, and Consciousness. Cambridge: Cambridge University Press. Johnson-Laird,

P. N., & Byrne, R. M. J. (1991). Deduction. Hove: Lawrence Erlbaum.

• Johnson-Laird, P. N., & Byrne, R. M. J. (1989). Only Reasoning. Journal of Memory

and Language, 28, 313-330.

• Johnson-Laird, P. N., Byrne, R. M. J., & Tabossi, P. (1989). Reasoning by model: the

case of multiple quantification. Psychological Review, 96, 658–673.

• Just, M. A., & Carpenter, P. A. (1971). Comprehension of negation with

quantification. Journal of Verbal Learning and Verbal Behavior, 10, 244-253.

• Keenan, E., & Stavi, J. (1986). A semantic characterization of natural language

determiners, Linguistics and Philosophy, 9, 253-326.

• Montague, R. (1974). The proper treatment of quantification in English. in R.

Montague, Formal Philosophy, ed. by R. Thomason (New Haven).

Page 40: Quantifier Processing: Approaches to Natural Language ... · Reasoning with Quantifiers 1. Mental Models approach also provides an explanation to reasoning with multiple quantifiers,

References

• Moxey, L. M., & Sanford, A. L. (1993). Communicating quantities. LEA.

• Moxey, L. M., & Sanford, A. L. (1993). Prior expectation and the interpretation of

quantifiers. European Journal of Cognitive Psychology, 5, 73-91.

• Newstead, S. E. (2003). Can natural language semantics explain syllogistic reasoning.

Cognition, 90, 193-199.

• Newstead, S. E., & Griggs, R. A. (1983). Drawing inferences from quantified

statements: a study of the square of oppositions. Journal of Verbal Learning and

Verbal Behavior, 22, 535–546.

• Oaksford, M., & Chater, N. (2001). The probabilistic approach to human reasoning.

Trends in Cognitive Sciences, 5, 349–357. Rips, L. J. (1994). The psychology of proof:

deductive reasoning in human thinking. Cambridge, MA: MIT Press.

• Rips, L. J. (1994). The psychology of proof. Cambridge, MA: MIT Press.

• Wason, P. C. (1959). The processing of positive and negative information. Quarterly

Journal of Experimental Psychology, 11, 92-107.