(A New GOFAI Theory: How Language Works) (Wai Yeap/albert) What is - - PowerPoint PPT Presentation

a new gofai theory how language works
SMART_READER_LITE
LIVE PREVIEW

(A New GOFAI Theory: How Language Works) (Wai Yeap/albert) What is - - PowerPoint PPT Presentation

(A New GOFAI Theory: How Language Works) (Wai Yeap/albert) What is GOFAI? a gentle reminder A GOFAI method Marrs approach Intermediate representations Higher Input R1 R2. Rn level knowledge X A GOFAI Theory of Human


slide-1
SLIDE 1

(A New GOFAI Theory: How Language Works)

(Wai Yeap/albert)

slide-2
SLIDE 2

What is GOFAI? – a gentle reminder

slide-3
SLIDE 3

A GOFAI method – Marr’s approach

Intermediate representations

Higher level knowledge

Input R1 R2…. Rn

X

slide-4
SLIDE 4

A GOFAI Theory of Human Language

slide-5
SLIDE 5

John and Jane Men bite dogs

slide-6
SLIDE 6

We fed her chicken McNuggets. They seem to enjoy boiling champagne.

Crain and Thornton 1998

slide-7
SLIDE 7

Psycholinguistic Theories of Language

No negative evidence - Baker’s Paradox Chomsky’s universal grammar Pinker’s semantic bootstrapping

slide-8
SLIDE 8

What do children do when they learn their first language?

Concepts Names Objects Actions

slide-9
SLIDE 9
slide-10
SLIDE 10

The significance of the split of the names into objects and actions lies not just in knowing how to distinguish words but more importantly knowing how different kinds of words are combined.

slide-11
SLIDE 11

Consider a simple phrase: Mama Give What could the algorithm be?

slide-12
SLIDE 12

A straightforward method: Mama [mama*]

Give [give* (:actor ?L)]

slide-13
SLIDE 13

A more refined algorithm at a later stage:

Mama [mama*]

Give [give* (:actor ?L) (:object-of-desire ?R)]

slide-14
SLIDE 14

OK, a simple algorithm

Advantages – no use of rules that explicitly required the identification of categories. Categories (?L, ?R) are learned from meanings. No rigid formal rules.

Problem – can the algorithm be developed, powerful enough, to handle the full complexity of language use?

slide-15
SLIDE 15

The man the police wanted took the money

slide-16
SLIDE 16

How could the basic algorithm be extended to handle the complex variations in language and in ways which do not require information not made available as input to the (child’s) process?

slide-17
SLIDE 17

The solution lies in one’s ability to extend the initial ?L/?R labels for more sophisticated processing of semantics

  • bjects….or more appropriately, Mental

Sketches.

slide-18
SLIDE 18

The language process: Mental Sketches Mental Picture Words

slide-19
SLIDE 19

Input: w1 w2 w3 w4

?L+

Mental Sketches:

slide-20
SLIDE 20

The first step: taking the mental sketch from the left (?L+) and from the right (?R+)

Eat [eat* (:actor ?L+) (:what ?R+)]

slide-21
SLIDE 21

?R-

Input: w1 w2 w3…….

Mental Sketches:

An extension: passing the information to the right

slide-22
SLIDE 22

3 kinds of ?R-

Adjectives: (?R- (:modifier big*)) Determiners: (?R-* (:modifier the*)) Pre-determiners: (?R-** (:modifier both*))

slide-23
SLIDE 23

?L+

Input: w1 w2 w3…….

Mental Sketches:

slide-24
SLIDE 24

Input: w1 w2 w3…….

Mental Sketches: ?L-

Another extension: passing the information to the left

slide-25
SLIDE 25

a

?L+ ?L-

I answered the question foolishly I foolishly answered the question

[answered* (:actor (I* (:noun)) (:what (questions* (:noun) (:modifier (the*)))) (:manner (foolishly*))] [answered* (:actor (I* (:noun) (:manner (foolishly*)))) (:what (questions* (:noun) (:modifier (the*))))]

(?L#)

slide-26
SLIDE 26

?L-

Input: w1 w2 w3…….

?R+

Mental Sketches:

slide-27
SLIDE 27

?L+/?R+ ?L-/?R+

I saw the car of John

[SAW* (:ACTOR (I* (:NOUN))) (:WHAT (CAR* (:NOUN) (:MODIFIER (THE*)) (:OF* (JOHN* (:PERSON (:NAME (JOHN*)))))))]

slide-28
SLIDE 28

?L+/?R+ ?L-/?R+

Connectives: (?L- (and* ?R+)) Prepositions: (?L- (of* ?R+)) Wh-words: (?L- (who* ?R+)) Be-verbs: (?L- (am* ?R+))

slide-29
SLIDE 29

Connectives: (?L- (and* ?R+)) Prepositions: (?L- (of* ?R+)) Wh-words: (?L- (who* ?R+)) Be-verbs: (?L- (am* ?R+))

How do we distinguish between them?

slide-30
SLIDE 30

An example: I saw John in the car park

Dictionary entries: (defword I (I1) (I* (:role (speaker*)) (:word (I)))) (defword saw (saw1) (saw* (:actor ?L+) (:what ?R+))) (defword park (park1 park2) (park** (:noun)) (park* (:actor ?L+) (:what ?R+))) (defword in (in1 in2) (?L- (:in ?R+)) (?L# (:manner (in*))))

slide-31
SLIDE 31

An example: I saw John in the car park

[I* (:ROLE (:SPEAKER)) (:WORD (I))]

slide-32
SLIDE 32

An example: I saw John in the car park

[I* (:ROLE (:SPEAKER)) (:WORD (I))] [SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT ?R+)]

slide-33
SLIDE 33

An example: I saw John in the car park

[SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT ?R+)] [SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT (JOHN* (:PERSON (:NAME (JOHN)))))]

slide-34
SLIDE 34

An example: I saw John in the car park

[SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT ?R+)] [JOHN* (:PERSON (:NAME (JOHN)))] [SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT ?R+)]

slide-35
SLIDE 35

An example: I saw John in the car park

[SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT ?R+)] [JOHN* (:PERSON (:NAME (JOHN)))]+ [SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT ?R+)]

slide-36
SLIDE 36

An example: I saw John in the car park

Current Mental Sketches Next inputs

[JOHN*] [] [SAW* (:ACTOR (I* …..)) (:WHAT (JOHN*))] [JOHN*]+ []

(?L- (:in* ?R+)) (?L- (:manner (in*)))

slide-37
SLIDE 37

An example: I saw John in the car park

Current Mental Sketches Next inputs

[JOHN*] [] [SAW* (:ACTOR (I* …..)) (:WHAT (JOHN*))] [JOHN*]+ []

(?L- (:in* ?R+)) (?L- (:manner (in*)))

slide-38
SLIDE 38

An example: I saw John in the car park

Current Mental Sketches Next inputs

[JOHN*] [] [SAW* (:ACTOR (I* …..)) (:WHAT (JOHN*))]

(?L- (:in* ?R+)) (?L- (:manner (in*)))

slide-39
SLIDE 39

An example: I saw John in the car park

Current Mental Sketches Next inputs

[JOHN*] [] [SAW* (:ACTOR (I* …..)) (:WHAT (JOHN*))]

(?L- (:in* ?R+)) (?L- (:manner (in*)))

slide-40
SLIDE 40

An example: I saw John in the car park

[JOHN* (:PERSON (:NAME (JOHN))) (:IN* ?R+)] [SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT ?R+)] [SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT (JOHN* (:PERSON (:NAME (JOHN))))) (:MANNER (IN*))]

slide-41
SLIDE 41

An example: I saw John in the car park

[JOHN* (:PERSON (:NAME (JOHN))) (:IN* ?R+)] [SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT ?R+)] [SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT (JOHN* (:PERSON (:NAME (JOHN))))) (:MANNER (IN*))]

slide-42
SLIDE 42

An example: I saw John in the car park

[SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT (JOHN* (:PERSON (:NAME (JOHN))))) (:MANNER (IN*))] [JOHN* (:PERSON (:NAME (JOHN))) (:IN* ?R+)] [SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT ?R+)]

slide-43
SLIDE 43

An example: I saw John in the car park

[?R-* (:MODIFIER (THE*))] [JOHN* (:PERSON (:NAME (JOHN))) (:IN* ?R+)] [SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT ?R+)]

slide-44
SLIDE 44

An example: I saw John in the car park

[CAR* (:NOUN)]+ [?R-* (:MODIFIER (THE*))] [JOHN* (:PERSON (:NAME (JOHN))) (:IN* ?R+)] [SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT ?R+)] [CAR* (:NOUN) (:MODIFIER (THE*))] [JOHN* (:PERSON (:NAME (JOHN))) (:IN* ?R+)] [SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT ?R+)]

slide-45
SLIDE 45

An example: I saw John in the car park

[SAW* (:ACTOR (I* (:ROLE (:SPEAKER)) (:WORD (I)))) (:WHAT (JOHN* (:PERSON (:NAME (JOHN))) (:IN* (CAR* (:NOUN) (:MODIFIER (THE*))))]

slide-46
SLIDE 46

An example: I saw John in the car park

Current Mental Sketches Next inputs

[CAR* (:NOUN) (:MODIFIER (THE*))] [] [SAW* (:ACTOR (I* ….) (:WHAT (JOHN*)….)] [CAR*]+ []

(PARK* (:NOUN))

slide-47
SLIDE 47

An example: I saw John in the car park

Current Mental Sketches Next inputs

[CAR* (:NOUN) (:MODIFIER (THE*))] [] [SAW* (:ACTOR (I* ….) (:WHAT (JOHN*)….)] [CAR*]+ []

(PARK* (:NOUN))

slide-48
SLIDE 48

The set of labels created in my system:

?L+/?R+ ?L- ?L+ ?R+ ?L-/?R+ ?L+/?R+/?R++ Higher order: MS: ?R+ ?R- ?R-* ?R-**

slide-49
SLIDE 49

Summary

We offer a new theory of language. It has 3 components: A set of ?L/?R labels (as opposed to formal categories) A stack A procedure for manipulating each set of labels (as

  • pposed to formal rules). Each procedure has 2 distinct

phases – an elimination phase and a construction phase

slide-50
SLIDE 50

Discussion: So, how does language work?

It begins by realizing that sounds/symbols have meanings. When meanings of phrases are learned, one pays attention to positional information. The latter tells us how words meanings are moved between words. Knowing the meanings of each phrase then helps one to develop a set of routines to re-construct meanings of phrases. I propose a labeling scheme and demonstrate that it is powerful enough to capture the grammar of the (English) language

slide-51
SLIDE 51

Categorial Grammar John likes Jane n (n\s)/n n Chris gave a fish to Tigger np ((s\np)/pp)/np np pp

slide-52
SLIDE 52

Future Work

Can this method be extended as a basis for describing all languages – is this a new universal grammar? Can this method explain many of the interesting

  • bservations about language use?

Will this approach be a more powerful method for practical applications?

slide-53
SLIDE 53

Thank you for accepting this paper and of course for listening