/
Natural Language Understanding for Rosie Natural Language Understanding for Rosie

Natural Language Understanding for Rosie - PowerPoint Presentation

callie
callie . @callie
Follow
27 views
Uploaded On 2024-02-02

Natural Language Understanding for Rosie - PPT Presentation

John E Laird University of Michigan June 2015 1 2 3 Interactive Task Learning An agent that learns new task specifications objects features relations goals and subgoals possible actions physical and conceptual situational constraints on behavior policy for behavior and when task ID: 1044195

wordprevious structure constructions type structure wordprevious type constructions word block pantry task green bucketkick words offkick language worddrop offdrop

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Natural Language Understanding for Rosie" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

1. Natural Language Understanding for RosieJohn E. LairdUniversity of MichiganJune, 20151

2. 2

3. 3

4. Interactive Task LearningAn agent that learns new task specificationsobjects, features, relations, goals and subgoals, possible actions (physical and conceptual), situational constraints on behavior, policy for behavior, and when task is appropriate;using natural interaction: language, gestures, demonstrations;comprehends task description and uses its cognitive and physical capabilities to perform task;learns fast (small numbers of experiences);learns native representation (assimilate, fast execution).NotProgrammed to handle new tasks, conditions, situationsLimited to a specific set or type of tasksReliant on offline batch processingUsing pseudocode-like language specifications4

5. Application Areas of ITLGames and Puzzles (for research)Collaborative Robots: Personal, commercial, military, …Personal Assistants Siri, Cortana, Google NowConstructive Agents and Virtual HumansCognitive Science Research5

6. Rosie an ITL AgentJames Kirk, Shiwali Mohan, Aaron Mininger6Tabletop robotRobotic arm for manipulationKinect sensor for visionSpeech (Google) and recognition (CMU sphinx)Learns through situated interactive instruction using limited natural languageLearns concepts aboutSpatial prepositions (on, right of, near)Object attributes (red, rectangle)Actions (move, store)Games (tic-tac-toe, tower of hanoi)

7. 7

8. Extract internal representation of objects in the worldBig Picture8Acquire task description via languageConstruct internal task representationGameA1C1Tic-Tac-ToeP1blocklocationC11C12placemoveReason over objects, relationships to determine available actionsManipulate environment based on discovered solutionSearch for solution by internally simulating actions

9. Language Processing GoalsFlexible, extendable parser for interactive task learningUse word by word, incremental repair-based parsingInspired by NL-Soar, XNL-Soar Extend to constructions, word retrieval ambiguity resolution, and real-world referent groundingIncorporates syntax, semantics, and pragmatic processingUse Construction GrammarTheory of complex language usage and connections between form (syntax) and meaning (semantics and pragmatics).Syntax and semantics are associated with words, phrases, constructions9

10. Parsing Knowledge in SoarSymbolic Long-Term MemoriesSymbolic Working MemoryProceduralParsing KnowledgeLanguage independentDecision ProcedureChunkingReinforcementLearningActionSemanticWords, ConstructionsSyntax and SemanticsSemanticLearningEpisodicEpisodicLearningSpatial Visual SystemObject-based continuous metric spacePerception10

11. Example SentencesRed is a color.The large one is red.This is a big triangle.Store the green block.What is inside the pantry?It is on the big green block.Move the green block to the left of the large green block to the pantry.Stack the red triangle, the medium block, and the large block.Move forward until you see a doorway.11

12. Basic Processing Idea“The green block …”For each wordFind related structure from semantic memory and retrieve into working memorySyntactic and semantic information about wordPossibly expectations (assigners) for other words/structuresEvery word and structure has an S-typeSame as word sense for wordsMerge assigners with retrieved structuresBuilds up parse tree connecting structures. Detect end of phrasesBuild up associated semantics12Spelling: theS-type: D Converts-to DP: …THES-type: ADJS-type: NSpelling: greenS-type: ADJ Spelling: blockS-type: N

13. How to Represent Complex Syntactic Structures?Standard approach is to associate syntax structure and semantics with individual words (lexical items).Most “structure” is in the verb.Difficult to have contextualized structure (idioms) and associate semantics.Constructions provide more complex structures for organizing semantics and syntax.13

14. 14IS-VNPADJNPPPADVU

15. Different “is” ConstructionsDP-is-ADJ/DP/PP/U “The blue sphere is in the pantry.”ADJ-is-DP: “Green is a color.”N-is-DP: “Sphere is a shape.”This-is-DP/ADJ/PP: “This is in the pantry.”What-is-PP-?: “What is in the pantry?”Where-is-DP-?: “Where is the red block?”15

16. IS ConstructionDP-is-ADV-ADJ/DP/PP/U “The blue sphere is not in the pantry.”(<x> ^structure-type CP ^current-word IS-V ^prior-word DP ^message-type object-description ^assigners <DP> <IS> <ADV> <ADJ> <DP> <PP> <U>)(<DP> ^structure-type DP ^syntactic-structure head ^semantic-structure object ^required true)(<IS-V> ^structure-type IS-V ^semantic-structure assignment ^required true ^referent.id soar-assignment)(<ADV> ^structure-type ADV ... ^optional true)(<ADJ> ^structure-type ADJ ^exclusive <DP> <PP> <U> ...) 16

17. Different “is” ConstructionsDP-is-ADJ/DP/PP/U “The blue sphere is in the pantry.”ADJ-is-DP: “Green is a color.”N-is-DP: “Sphere is a shape.”This-is-DP/ADJ/PP: “This is in the pantry.”What-is-PP-?: “What is in the pantry?”Where-is-DP-?: “Where is the red block?”17

18. AchievementsProcess sentences necessary for Rosie.Chunking.Connected to Rosie and extend for Mobile Rosie.Systematize semanticsOther stuff I don’t remember.18

19. 19

20. Biggest Problem with Language?AmbiguityWord meaning?Phrase attachment? Anaphoric reference… With Construction Grammars:Which construction is the best given the sentence processed so far?Assume constructions are data structures in semantic memory!20

21. 21Semantic MemoryKick the bucketKick the canV NPS V O1 O2Kick up your heelsThe <Xer> the <Yer> Jog <person>’s memory

22. 22Semantic MemorykickKick the bucketV NP thebucketcurrent-wordprevious-2-wordprevious-worddrop in the bucketKick <NP> offKick offdrop in the oceanDeathbucket listbucketnounkickverbthedeterminerWorking Memorybucket

23. 23Semantic MemorykickKick the bucketV NP thebucketcurrent-wordprevious-2-wordprevious-worddrop in the bucketKick <NP> offKick offdrop in the oceanDeathbucket listbucketnounkickverbthedeterminerWorking Memorybucket

24. Need context to pick a construction.Single word: Many constructions share the same words.Two words: Still not enough: “Kick the …” or “the can/bucket.”“give the Devil his due”Not just words: Jog <someone>’s memory. Subject V O1 O2 -> Ditransitive Verb structure 24

25. HypothesisNeed prior context as soft constraints when attempting retrieval on current word.Use spreading activation to provide context to bias retrieval.25

26. 26Semantic MemorykickKick the bucketV NP thebucketcurrent-wordprevious-2-wordprevious-worddrop in the bucketKick <NP> offKick offdrop in the oceanDeathbucket listbucketnounkickverbthedeterminerWorking Memorybucket

27. 27Semantic MemorykickKick the bucketV NP thebucketcurrent-wordprevious-2-wordprevious-worddrop in the bucketKick <NP> offKick offdrop in the oceanDeathbucket listbucketnounkickverbthedeterminerWorking Memorykick

28. 28Semantic MemorykickKick the bucketV NP thebucketcurrent-wordprevious-2-wordprevious-worddrop in the bucketKick <NP> offKick offdrop in the oceanDeathbucket listbucketnounkickverbthedeterminerWorking Memorykickthe

29. 29Semantic MemorykickKick the bucketV NP thebucketcurrent-wordprevious-2-wordprevious-worddrop in the bucketKick <NP> offKick offdrop in the oceanDeathbucket listbucketnounkickverbthedeterminerWorking Memorykickthebucket

30. More Complex Constructions?Most constructions are not just strings of words.Spread should move through sub-constructions.Kick <person> off <np>. (Kick Joe off the island.)30

31. Nuggets & CoalNuggetsIntegrated with RosieChunkingIdeas for selecting constructions!!Constituents of constructions funnel activation.CoalNeed more complex constructionsNeed implementation of spreading for construction selection Sure to be lots of devils in the details31